:root {
  --bordo-escuro: #2b0b11;
  --bordo: #4a1420;
  --vinho: #6e1d2b;
  --vinho-claro: #8a2a3a;
  --dourado: #d9a86a;
  --dourado-escuro: #8a5a1e;
  --creme: #faf6ef;
  --creme-2: #f3ead9;
  --areia: #e3d9c6;
  --texto: #3d2b1a;
  --texto-suave: #7a6347;
  --tag: #9a7b4f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { background: #fff; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--creme);
  color: var(--texto);
  line-height: 1.6;
  max-width: 1600px;
  margin: 0 auto;
  box-shadow: 0 0 36px rgba(74, 20, 32, .10);
}

/* ---------- Decoração lateral (contornos dourados) ---------- */
.deco {
  position: fixed; top: 0; bottom: 0;
  width: 130px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
/* Coladas no CONTEÚDO (emoldurando o bordô), não na borda da tela: numa tela
   larga o conteúdo tem 1240px fixos e sobra margem — colar na borda deixaria um
   vão entre a raposa e a loja. Aqui a borda interna da raposa encosta na loja. */
.deco-left { left: calc(50% - 800px - 138px); }
.deco-right { right: calc(50% - 800px - 138px); transform: scaleX(-1); }
.deco-svg { width: 130px; height: 595px; flex-shrink: 0; opacity: .85; }
/* Raposas só quando há margem pra elas (conteúdo 1600 + ~138px de cada lado). */
@media (max-width: 1875px) { .deco { display: none; } }

h1, h2, h3, .footer-brand { font-family: 'Playfair Display', serif; }

button { cursor: pointer; font-family: inherit; }

/* ---------- Verificação de idade ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(43, 11, 17, 0.96);
  /* Mesma correção dos modais: rolável quando a caixa não cabe (celular deitado). */
  display: flex; justify-content: center;
  overflow-y: auto;
  padding: 20px;
}
.age-gate-box {
  background: var(--bordo);
  border: 1px solid var(--dourado);
  border-radius: 12px;
  padding: 40px 36px;
  max-width: 420px;
  text-align: center;
  color: var(--creme);
  margin: auto;
  height: fit-content;
}
.age-gate-box h2 { color: #f8efdd; font-size: 26px; margin: 14px 0 6px; }
.age-gate-box p { color: #e8cdb2; font-size: 14px; margin-bottom: 22px; }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.age-gate-box small { color: #a87f6a; font-size: 11px; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--bordo);
  color: #f3e2c8;
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
}

/* ---------- Cabeçalho ---------- */
.header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 5%;
  background: var(--creme);
  border-bottom: 1px solid var(--areia);
  position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--bordo);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 38px; height: 38px; }
.logo-mark.large { width: 84px; height: 84px; margin: 0 auto; }
.logo-mark.large svg { width: 62px; height: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--bordo); }
.brand-text small { font-size: 10px; letter-spacing: 2.5px; color: var(--tag); }
.nav { display: flex; gap: 26px; }
.nav a { color: #5c4a33; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--vinho); }
/* Item do menu correspondente à tela/categoria aberta fica em vinho (marcado pelo app.js). */
.nav a.ativo { color: var(--vinho); font-weight: 700; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; line-height: 1; color: var(--bordo); cursor: pointer; padding: 2px 6px; }
.icon-btn {
  background: none; border: none; font-size: 20px; color: var(--bordo);
  position: relative; padding: 8px;
  /* Área de toque ≥40px sem crescer o ícone (o padding faz o alvo) */
  min-width: 40px; min-height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count {
  position: absolute; top: 0; right: -2px;
  background: var(--vinho); color: #f3e2c8;
  font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ---------- Botões ---------- */
.btn {
  border: none; border-radius: 5px;
  font-size: 14px; font-weight: 500;
  padding: 12px 26px;
  transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--dourado); color: #3d1018; }
.btn-wine { background: var(--vinho); color: #f3e2c8; }
.btn-outline-gold { background: transparent; border: 1px solid var(--dourado); color: var(--dourado); }
.btn-outline-light { background: transparent; border: 1px solid #a87f6a; color: #e8cdb2; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  /* Fundo: adega de barris (traço dourado) + leve véu bordô à esquerda para o
     texto continuar legível sobre os barris. */
  background:
    linear-gradient(90deg, rgba(74,20,32,.62) 0%, rgba(74,20,32,.30) 38%, rgba(74,20,32,0) 66%),
    var(--vinho) url("imagens/adega-hero.jpg") center/cover no-repeat;
  display: flex; align-items: center; gap: 30px;
  padding: 60px 6%;
}
.hero-text { flex: 1; }
.eyebrow { font-size: 12px; letter-spacing: 3px; color: var(--dourado); }
.hero h1 { color: #f8efdd; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.2; margin: 12px 0; }
.hero p { color: #e8cdb2; font-size: 15px; max-width: 440px; margin-bottom: 24px; }
.hero-art {
  width: 220px; height: 220px;
  background: #5a1623; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-fox { width: 150px; height: 150px; }

/* ---------- Categorias ---------- */
.category-pills {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 22px 6%;
  background: var(--creme-2);
}
.category-pills button {
  flex: 1; min-width: 110px;
  background: var(--creme);
  border: 1px solid #e0cfae;
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 14px; color: var(--vinho); font-weight: 500;
  transition: background .15s, color .15s;
}
.category-pills button:hover { background: var(--vinho); color: #f3e2c8; }
.category-pills .pill-dark { background: var(--vinho); color: #f3e2c8; border-color: var(--vinho); }
.category-pills .pill-dark:hover { background: var(--bordo); }

/* ---------- Seções ---------- */
.section { padding: 36px 6%; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.section-head h2 { color: var(--bordo); font-size: 26px; }
.section-head a { color: var(--tag); font-size: 13px; text-decoration: none; }
.result-count { color: var(--tag); font-size: 13px; }

.catalog-hero {
  background: var(--vinho);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 20px;
}
.catalog-hero h2 { color: #f8efdd; font-size: 26px; margin-bottom: 4px; }
.catalog-hero p { color: #e8cdb2; font-size: 13.5px; margin-bottom: 6px; }
.catalog-hero .result-count { color: var(--dourado); }

/* ---------- Produtos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
/* Cross-sell ("Você também pode gostar"): auto-fit faz os poucos cards (3)
   esticarem e preencherem a largura toda, em vez de deixar buraco à direita. */
#relacionadosBox .product-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.product-card {
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  position: relative;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  /* Coluna flex: o preço/botão descem pro rodapé do card — botão "Adicionar"
     fica na MESMA altura em todos os cards da fileira (nomes de 1 ou 2 linhas). */
  display: flex;
  flex-direction: column;
}
.product-card .product-price { margin-top: auto; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(74, 20, 32, .12); }
.product-card.promo { border: 2px solid var(--dourado); }
.badge-promo {
  position: absolute; top: 12px; left: 12px;
  background: var(--dourado); color: #3d1018;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 12px;
}
.bottle {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
}
.bottle-art {
  max-height: 150px; max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
span.bottle-art.fallback { font-size: 64px; }
.product-tag { font-size: 10.5px; letter-spacing: 1.8px; color: var(--tag); margin: 10px 0 4px; text-transform: uppercase; }
.product-name { font-size: 15px; color: var(--texto); margin-bottom: 8px; font-weight: 500; }
.product-price { font-size: 17px; font-weight: 600; color: var(--vinho); }
.price-old { font-size: 12px; color: #b09a7a; text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.product-card .btn { margin-top: 12px; width: 100%; padding: 10px; font-size: 13px; }

/* ---------- Banner whisky ---------- */
.banner-whisky {
  background: #3d1018;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 32px 6%;
  flex-wrap: wrap;
}
.banner-whisky h3 { color: #f8efdd; font-size: 22px; margin-bottom: 4px; }
.banner-whisky p { color: #d8b894; font-size: 14px; }

/* ---------- Selos ---------- */
.trust-row {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px;
  padding: 22px 6%;
  font-size: 13px; color: var(--texto-suave);
  border-top: 1px solid var(--areia);
}

/* ---------- Catálogo ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  padding: 36px 5%;
  align-items: start;
}
.filters {
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 10px;
  padding: 20px;
  position: sticky; top: 90px;
}
.filters h3 { color: var(--bordo); font-size: 18px; margin-bottom: 16px; }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; font-size: 13px; color: var(--texto-suave); margin-bottom: 6px; }
.filter-group select, .filter-group input[type="text"], .filter-group input[type="range"] {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid var(--areia);
  border-radius: 6px;
  background: var(--creme);
  font-family: inherit;
  font-size: 16px; /* <16px faz o Safari/iOS dar zoom ao focar */
  color: var(--texto);
}
.filter-group input[type="range"] { padding: 0; accent-color: var(--vinho); }

/* ---------- Página de produto ---------- */
.btn-back {
  background: none; border: none;
  color: var(--tag); font-size: 14px;
  margin: 24px 5% 0;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px;
  padding: 24px 5% 50px;
  align-items: start;
}
.detail-art {
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 12px;
  min-height: 340px;
  padding: 20px;
  display: flex; align-items: center; justify-content: center;
}
.detail-img {
  max-height: 420px; max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
span.detail-img.fallback { font-size: 130px; }
.product-vol { font-size: 11.5px; color: var(--texto-suave); margin-bottom: 6px; }
.detail-info .product-tag { margin-top: 0; }
.detail-info h2 { color: var(--bordo); font-size: 32px; margin-bottom: 10px; }
.detail-info .product-price { font-size: 26px; display: block; margin: 14px 0; }
.detail-desc { font-size: 15px; color: var(--texto); margin-bottom: 18px; }
.harmonizacao {
  background: var(--creme-2);
  border-left: 3px solid var(--dourado);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 22px;
}
.harmonizacao strong { color: var(--dourado-escuro); display: block; margin-bottom: 4px; }
.detail-meta { font-size: 13px; color: var(--texto-suave); margin-bottom: 20px; }
.detail-meta span { margin-right: 18px; }

/* ---------- Sobre ---------- */
.about { max-width: 720px; margin: 0 auto; padding: 50px 5%; }
.about h2 { color: var(--bordo); font-size: 30px; margin-bottom: 18px; }
.about p { margin-bottom: 14px; font-size: 15px; }

/* ---------- Carrinho ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(43, 11, 17, .5);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(380px, 92vw);
  background: var(--creme);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,.2);
}
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--areia);
}
.cart-head h3 { color: var(--bordo); font-size: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-empty { color: var(--texto-suave); font-size: 14px; text-align: center; padding: 40px 0; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--areia);
}
.cart-item-emoji { font-size: 30px; }
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: 13.5px; font-weight: 500; }
.cart-item-info span { font-size: 13px; color: var(--vinho); font-weight: 600; }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-controls button {
  /* ≥38px: área de toque confortável no celular (antes 26px, fácil de errar) */
  width: 38px; height: 38px;
  border: 1px solid var(--areia); border-radius: 5px;
  background: #fff; color: var(--vinho); font-size: 17px;
}
.cart-foot { padding: 18px 20px; border-top: 1px solid var(--areia); }
.cart-total {
  display: flex; justify-content: space-between;
  font-size: 16px; margin-bottom: 14px;
}
.cart-total strong { color: var(--vinho); font-size: 20px; }

/* ---------- Frete ---------- */
.frete-box { margin-bottom: 14px; }
.frete-box > label { display: block; font-size: 13px; color: var(--texto-suave); margin-bottom: 6px; }
.frete-linha { display: flex; gap: 8px; }
.frete-linha input {
  flex: 1; min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--areia); border-radius: 6px;
  background: #fff; font-family: inherit; font-size: 16px; /* evita zoom do iOS */
}
.frete-linha .btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
.frete-endereco { font-size: 12px; color: var(--texto-suave); margin-top: 8px; }
.frete-opcoes { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.frete-opcao {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 4px 8px;
  background: #fff; border: 1px solid var(--areia); border-radius: 8px;
  padding: 8px 10px; font-size: 12.5px; cursor: pointer;
}
.frete-opcao:has(input:checked) { border-color: var(--dourado); background: var(--creme-2); }
.frete-opcao input { accent-color: var(--vinho); }
.frete-servico { font-weight: 500; color: var(--texto); }
.frete-prazo { grid-column: 2; color: var(--texto-suave); font-size: 11.5px; }
.frete-valor { grid-row: 1 / span 2; align-self: center; font-weight: 600; color: var(--vinho); font-size: 14px; }
.linha-sub { font-size: 13.5px; color: var(--texto-suave); margin-bottom: 6px !important; }

/* ---------- Carrinho: foto ---------- */
.cart-item-foto {
  width: 42px; height: 58px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}

/* ---------- Quantidade na página do produto ---------- */
.compra-linha { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.qty-grande { gap: 0; border: 1px solid var(--areia); border-radius: 6px; overflow: hidden; }
.qty-grande button { width: 38px; height: 42px; border: none; border-radius: 0; background: #fff; font-size: 18px; }
.qty-grande button:hover { background: var(--creme-2); }
.qty-grande span { min-width: 36px; text-align: center; font-weight: 500; }

/* ---------- Login ---------- */
.btn-conta { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.login-nome { font-size: 13px; font-weight: 500; color: var(--bordo); }
.modal-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(43, 11, 17, .55);
  /* Sem align-items:center: centralizar via flex cortava o topo de modais mais
     altos que a tela (checkout no celular). O overflow-y permite rolar o modal. */
  display: flex; justify-content: center;
  overflow-y: auto;
  padding: 20px;
}
.modal-box {
  background: var(--creme);
  border-radius: 12px;
  width: min(380px, 100%);
  padding: 22px 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  /* margin:auto re-centraliza quando o conteúdo é baixo e encosta no topo
     (rolável) quando é alto — o respiro vem do padding:20px do overlay. */
  margin: auto;
  height: fit-content;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h3 { color: var(--bordo); font-size: 20px; }
.modal-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.modal-tabs button {
  flex: 1; padding: 9px;
  border: 1px solid var(--areia); border-radius: 6px;
  background: #fff; font-size: 13.5px; color: var(--texto-suave);
}
.modal-tabs button.ativo { background: var(--vinho); border-color: var(--vinho); color: #f3e2c8; font-weight: 500; }
.modal-box .filter-group input {
  width: 100%; padding: 9px 10px;
  border: 1px solid var(--areia); border-radius: 6px;
  background: #fff; font-family: inherit; font-size: 16px; /* evita zoom do iOS */
}
.login-erro { color: #a32d2d; font-size: 13px; margin-bottom: 10px; }
.login-aviso { display: block; margin-top: 12px; color: var(--texto-suave); font-size: 11.5px; text-align: center; }
.perfil-ola { font-size: 15px; margin-bottom: 16px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--bordo-escuro); color: #e8cdb2; margin-top: 40px; }
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 36px 6%;
}
.footer-main strong { display: block; margin-bottom: 8px; color: #f8efdd; font-size: 15px; }
.footer-brand { font-size: 18px !important; }
.footer-main p { font-size: 13px; color: #c2937e; }
.footer-legal {
  text-align: center;
  font-size: 12px; color: #a87f6a;
  padding: 14px;
  border-top: 1px solid #3d1018;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--bordo); color: #f3e2c8;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 70;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; }
  .nav.aberto {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--creme); border-bottom: 1px solid var(--areia);
    box-shadow: 0 10px 24px rgba(74, 20, 32, .14);
    padding: 8px 5%; z-index: 49;
  }
  .nav.aberto a { padding: 11px 2px; border-bottom: 1px solid #efe7d8; font-size: 15px; }
  .nav.aberto a:last-child { border-bottom: none; }
  .hero { flex-direction: column; text-align: center; padding: 40px 6%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .banner-whisky { flex-direction: column; text-align: center; }
}

/* ===== Checkout ===== */
.chk-resumo { background: #f7f1e6; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.chk-resumo div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.chk-resumo .chk-total { border-top: 1px solid #e3d5bd; margin-top: 6px; padding-top: 6px; font-weight: 700; color: var(--bordo, #4a1420); }
.chk-maior { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 10px 0 4px; cursor: pointer; }
.esgotado { color: #a02828; font-weight: 600; margin: 14px 0; }
.estoque-baixo { color: #9a6b00; font-size: 13.5px; font-weight: 600; margin: 8px 0 2px; }

/* ===== Cupom no carrinho ===== */
.cupom-linha { display: flex; gap: 8px; margin: 10px 0 6px; }
.cupom-linha input { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid #d8c9b0; border-radius: 8px; font-size: 16px; text-transform: uppercase; } /* 16px evita zoom do iOS */
.cupom-linha button { white-space: nowrap; }
.cupom-tag { color: #1a7a44; font-weight: 700; }
.cupom-remover { font-size: 11px; color: #a02828; margin-left: 4px; }

/* opt-in de promoções no cadastro */
.campo-promo { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #5a4a4e; margin: 6px 0 2px; cursor: pointer; }

/* ===== Minha conta: CPF + histórico ===== */
.perfil-cpf { font-size: 13px; color: #5a4a4e; margin: -4px 0 10px; }
.perfil-titulo { color: #6e1d2b; font-size: 15px; margin: 6px 0 8px; }
.perfil-pedidos { max-height: 320px; overflow-y: auto; margin-bottom: 14px; }
.hist-vazio { color: #8a7a7e; font-size: 14px; }
.hist-item { border: 1px solid #ece2d2; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; background: #fdfaf4; }
.hist-topo { display: flex; justify-content: space-between; align-items: center; }
.hist-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #eee; }
.hist-status.PAGO { background: #e2f3e7; color: #176b3a; }
.hist-status.ENVIADO { background: #e3ecfb; color: #1d4f9e; }
.hist-status.AGUARDANDO_PAGAMENTO { background: #fff3cd; color: #7a5d00; }
.hist-status.CANCELADO { background: #fbe5e5; color: #a02828; }
.hist-itens { font-size: 13px; color: #5a4a4e; margin: 6px 0; }
.hist-rod { display: flex; justify-content: space-between; font-size: 13px; color: #4a1420; }
.hist-rastreio { font-size: 12px; color: #1d4f9e; margin-top: 4px; }

/* ===== Botão flutuante do WhatsApp ===== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); box-shadow: 0 8px 22px rgba(37, 211, 102, .6); }
@media (max-width: 640px) { .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* ===== Recuperar / editar conta ===== */
.link-esqueci { display: block; width: 100%; background: none; border: none; color: #6e1d2b; text-decoration: underline; font-size: 13px; cursor: pointer; margin-top: 10px; padding: 4px; }
.link-esqueci:hover { color: #4a1420; }
.editar-nota { font-size: 13px; color: #7a6347; margin: 10px 0 4px; }
.perfil-editar { border: 1px solid #ece2d2; border-radius: 8px; padding: 8px 12px; margin: 4px 0 14px; background: #fdfaf4; }
.perfil-editar summary { cursor: pointer; color: #6e1d2b; font-weight: 600; font-size: 14px; }
.perfil-editar[open] summary { margin-bottom: 6px; }
.perfil-editar .filter-group { margin-top: 8px; }
