/* ============================================================
   front.css — vitrine pública da loja (minimalista, edge-to-edge)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --f-bg:     #ffffff;
  --f-text:   #111111;
  --f-muted:  #8a8a8a;
  --f-line:   #e4e4e4;
  --f-accent: #111111;
  --f-promo:  #c0392b;
  --f-pad:    60px;   /* margem geral em volta do site */
}

html, body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--f-text);
  background: var(--f-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body { padding: var(--f-pad); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   TOPO — pílulas | logo central | pílulas
   ============================================================ */
.store-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}
.nav-left-cell { display: flex; align-items: center; gap: 10px; justify-self: start; }
.nav-left  { display: flex; gap: 10px; position: relative; }
.nav-right { display: flex; gap: 10px; justify-self: end; align-items: center; }

/* botão hambúrguer (só mobile) */
.nav-toggle {
  display: none; width: 40px; height: 40px; flex-shrink: 0;
  border: 1.5px solid var(--f-text); border-radius: 50%; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--f-text); border-radius: 2px; }
.nav-toggle.on { background: var(--f-text); }
.nav-toggle.on span { background: #fff; }

/* menu mobile (dropdown) */
.nav-mobile { display: none; background: #fff; border: 1.5px solid var(--f-text); border-radius: 14px; padding: 14px 20px; margin-bottom: 24px; }
.nav-mobile a { display: block; padding: 9px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-mobile .nm-sub { color: inherit; }   /* categorias iguais aos demais itens */
/* subcategorias: logo abaixo da mãe, separadas por " / " em cinza */
.nav-mobile .nm-filhas { margin-top: -14px; padding: 0 0 8px; line-height: 1.2; }
.nav-mobile .nm-filhas a {
  display: inline; padding: 0;
  font-size: 12px; font-weight: 500; color: var(--f-muted);
}
.nav-mobile .nm-filhas a + a::before { content: " / "; color: var(--f-muted); }
/* itens com traço separador em cima (SOBRE, ACOMPANHAR PEDIDO...) */
.nav-mobile .nm-top { border-top: 1px solid var(--f-line); margin-top: 6px; padding-top: 12px; }
.nav-mobile .nm-top + .nm-top { margin-top: 0; }

/* Texto rotativo (Design) */
.marquee { overflow: hidden; width: 100%; }
.marquee-topo   { border-bottom: 1px solid var(--f-text); margin-bottom: 20px; }
.marquee-rodape { border-top: 1px solid var(--f-text); margin-top: 20px; }
.mq-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: mq-scroll linear infinite; }
.mq-item { padding: 10px 26px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--f-text); }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Banner fixo */
.banner-bloco { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.banner-item { flex: 1 1 220px; min-width: 0; display: block; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }

/* Produtos em destaque */
.destaque-grid { display: grid; gap: 18px; margin: 18px 0; }
@media (max-width: 640px) { .destaque-grid { grid-template-columns: repeat(2, 1fr) !important; } }

.brand-logo { justify-self: center; }
.brand-logo img { height: 56px; width: auto; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  border: 1.5px solid var(--f-text); border-radius: 999px;
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.pill:hover { background: var(--f-text); color: #fff; }
.pill-dark { background: var(--f-text); color: #fff; }
.pill-dark:hover { opacity: 0.82; background: var(--f-text); color: #fff; }
.pill[data-bag-show] { padding-right: 8px; }
.bag-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 8px; border-radius: 9px; background: #fff; color: var(--f-text); font-size: 11px; font-weight: 700; line-height: 1; }

/* botão PRODUTOS (mesma aparência da pílula) */
button.pill { background: none; font-family: inherit; color: var(--f-text); cursor: pointer; }
button.pill:hover { background: var(--f-text); color: #fff; }
#btn-produtos[aria-expanded="true"] { background: var(--f-text); color: #fff; }

/* mega-menu flutuante de categorias */
.mega {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 50;
  width: max-content; min-width: 240px; max-width: 92vw;
  background: #fff; border: 1.5px solid var(--f-text); border-radius: 18px;
  padding: 22px 28px; box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
.mega-row {
  display: flex; align-items: baseline; gap: 22px;
  padding: 12px 0; border-bottom: 1px solid var(--f-text);
}
.mega-row:last-child { border-bottom: none; }
.mega-mae {
  font-size: 18px; font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--f-text); white-space: nowrap;
}
.mega-mae:hover { text-decoration: underline; }
.mega-subs { display: flex; flex-wrap: wrap; gap: 18px; }
.mega-subs a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--f-muted);
}
.mega-subs a:hover { color: var(--f-text); text-decoration: underline; }

@media (max-width: 640px) {
  .mega { min-width: 0; width: 92vw; left: 50%; transform: translateX(-50%); padding: 16px 18px; }
  .mega-row { flex-direction: column; gap: 8px; }
}

/* ============================================================
   HOME — grade de produtos 3 por linha, full width
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 8px;
  row-gap: 30px;
}
/* categoria: 5 por linha (desktop) */
.cat-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cardp {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cardp-img {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: #000;
  overflow: hidden;
}
.cardp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cardp:hover .cardp-img img { transform: scale(1.03); }
.cardp-img.ph { display: flex; align-items: center; justify-content: center; color: #555; font-size: 40px; }

.cardp-body { width: 90%; padding: 18px 0 0; }
.cardp-nome {
  font-size: 16px; font-weight: 700; line-height: 1.1;
  text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.cardp-preco { font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.cardp-preco .old { color: var(--f-muted); text-decoration: line-through; font-weight: 400; margin-right: 8px; }
.cardp-preco .promo { color: var(--f-text); }
.cardp-rule { display: block; height: 2px; background: var(--f-text); width: 100%; }

.tag-esgotado {
  position: absolute; top: 14px; right: 14px;
  background: #fff; color: #111;
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}

.empty-front { text-align: center; padding: 80px 20px; color: var(--f-muted); }

/* ============================================================
   PRODUTO — galeria + infos
   ============================================================ */
.wrap { max-width: 1100px; margin: 0 auto; }

.prod {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  margin-bottom: 60px;
}

/* galeria: coluna de thumbs + imagem principal (fundo preto) */
.prod-gallery { display: flex; gap: 12px; align-items: flex-start; }
.thumbs-col { display: flex; flex-direction: column; gap: 12px; width: 86px; flex-shrink: 0; }
.thumbs-col img {
  width: 86px; height: 110px; object-fit: cover; background: #000;
  cursor: pointer; opacity: 0.55; transition: opacity 0.15s;
}
.thumbs-col img.active, .thumbs-col img:hover { opacity: 1; }
.prod-gallery .main-img {
  flex: 1; min-width: 0; overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
}
.prod-gallery .main-img img { width: 100%; height: auto; display: block; object-fit: contain; }
.prod-gallery .main-img.ph { aspect-ratio: 3 / 4; background: #000; color: #555; font-size: 48px; align-items: center; }

/* breadcrumb */
.breadcrumb { font-size: 15px; letter-spacing: 0.02em; color: var(--f-text); margin-bottom: 22px; text-transform: uppercase; }
/* traços em cima/embaixo só no breadcrumb da página do produto */
.prod-info .breadcrumb {
  padding: 16px 0; margin-bottom: 24px;
  border-top: 1px solid var(--f-line); border-bottom: 1px solid var(--f-line);
}
.breadcrumb a { color: var(--f-text); }
.breadcrumb a:hover { opacity: 0.6; }
/* último item (página atual) sempre em preto e bold, em todas as páginas */
.breadcrumb span, .breadcrumb strong { color: #000; font-weight: 700; }

.prod-info h1 { font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 8px; }
.prod-price { font-size: 17px; font-weight: 500; margin-bottom: 20px; }
.prod-price .old { color: var(--f-muted); text-decoration: line-through; font-weight: 400; margin-right: 8px; }
.prod-price .promo { color: var(--f-text); }

.prod-actions { display: flex; gap: 10px; margin-bottom: 30px; }

/* pílulas (comprar / calcular frete / tabela de medidas) */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border: 2px solid var(--f-text); border-radius: 999px; background: #fff; color: var(--f-text);
  cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-pill:hover { background: var(--f-text); color: #fff; }
.btn-pill.btn-dark { background: var(--f-text); color: #fff; }
.btn-pill.btn-dark:hover { background: #11480D; border-color: #11480D; color: #fff; }
.btn-pill:disabled { background: #bbb; border-color: #bbb; color: #fff; cursor: not-allowed; }
.btn-comprar-foot { margin-top: 24px; }
.btn-share { margin-top: 12px; gap: 8px; }
.btn-share svg { flex-shrink: 0; }
.btn-comprar-foot + .btn-share { margin-top: 12px; }
#share-toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--f-text); color: #fff; font-size: 13px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; z-index: 9999; max-width: 90vw;
  box-shadow: 0 6px 24px rgba(0,0,0,.25); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
#share-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* acordeões (escolha / descrição / detalhes) */
.acc { border-top: 1px solid var(--f-line); padding: 16px 0; }
.acc:first-of-type { margin-top: 22px; }
.acc-head { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.acc-caret { font-size: 10px; transition: transform 0.15s; }
.acc:not(.open) .acc-caret { transform: rotate(-90deg); }
.acc-body { display: none; padding-top: 14px; }
.acc.open .acc-body { display: block; }
.acc-text { font-size: 13.5px; line-height: 1.7; color: #333; }
.acc-text a { text-decoration: underline; }
.acc-text p { margin-bottom: 8px; }
.acc-text p:last-child { margin-bottom: 0; }

.escolha-row { display: flex; gap: 10px; flex-wrap: wrap; }
.medida-select {
  height: 42px; padding: 0 38px 0 18px; border: 2px solid var(--f-text); border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 600; min-width: 160px; cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.medida-select:focus, .medida-select:focus-visible { outline: none; border-color: var(--f-text); }

.video-embed { margin: 18px 0 0; }
.video-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }

/* ============================================================
   PÁGINA DE CATEGORIA
   ============================================================ */
.cat-page { margin-bottom: 36px; }
.cat-page .breadcrumb { margin-bottom: 24px; }
.cat-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--f-line);
  border-bottom: 1px solid var(--f-line);
}
.cat-head-info { max-width: 640px; }
.cat-title { font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 14px; }
.cat-desc { font-size: 13px; line-height: 1.7; letter-spacing: 0.02em; text-transform: uppercase; color: #222; }
.cat-desc p { margin-bottom: 10px; }
.cat-desc p:last-child { margin-bottom: 0; }
.cat-desc a { text-decoration: underline; }
.cat-head-img {
  width: 170px; aspect-ratio: 1 / 1; flex-shrink: 0; padding: 14px; background: #fff;
  border: 1px solid var(--f-text); border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
}
.cat-head-img img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 5px; }
.cat-grid { margin-top: 8px; }

/* ============================================================
   VEJA TAMBÉM — relacionados
   ============================================================ */
.veja-tambem { margin-top: 10px; padding-top: 40px; border-top: 1px solid var(--f-line); }
.vt-titulo { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 28px; }
.grid-rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ---- Botões ---- */
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px; font-size: 15px; font-weight: 600;
  background: var(--f-accent); color: #fff; border: none; border-radius: 8px; cursor: pointer;
  transition: opacity 0.15s;
}
.btn-buy:hover { opacity: 0.85; }
.btn-buy:disabled { background: #bbb; cursor: not-allowed; }
.btn-ghost {
  display: inline-block; margin-top: 14px; font-size: 13px; color: var(--f-muted);
}

/* ============================================================
   FINALIZAR — checkout
   ============================================================ */
.checkout { max-width: 520px; margin: 0 auto; padding: 44px 20px 70px; }
.checkout h1 { font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.resumo {
  display: flex; gap: 14px; align-items: center;
  border: 1px solid var(--f-line); border-radius: 10px; padding: 14px; margin-bottom: 24px;
}
.resumo img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #f4f4f4; flex-shrink: 0; }
.resumo .r-nome { font-weight: 500; }
.resumo .r-preco { color: var(--f-muted); font-size: 14px; }

.qtd-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.qtd-ctrl { display: flex; align-items: center; border: 1px solid var(--f-line); border-radius: 8px; overflow: hidden; }
.qtd-ctrl button { width: 38px; height: 38px; border: none; background: #fff; font-size: 18px; cursor: pointer; }
.qtd-ctrl button:hover { background: #f4f4f4; }
.qtd-ctrl span { width: 44px; text-align: center; font-weight: 600; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #444; }
.field input {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--f-line); border-radius: 8px; outline: none; transition: border-color 0.15s;
}
.field input:focus { border-color: var(--f-text); }

.entrega-box {
  border-top: 1px solid var(--f-line);
  margin-top: 22px; padding-top: 18px;
}
.entrega-titulo { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.grid2 { display: flex; gap: 12px; }
.grid2 .field { margin-bottom: 16px; }

/* ---- Frete ---- */
.frete-box { border-top: 1px solid var(--f-line); margin-top: 22px; padding-top: 18px; }
.btn-frete {
  padding: 10px 16px; border: 1.5px solid var(--f-text); border-radius: 8px;
  background: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-frete:hover { background: var(--f-text); color: #fff; }
.btn-frete:disabled { opacity: 0.5; cursor: not-allowed; }
.frete-calc { margin-top: 16px; margin-bottom: 30px; }
.frete-calc-row { display: flex; gap: 8px; align-items: stretch; max-width: 360px; }
.frete-calc-row input {
  flex: 1; padding: 10px 14px; border: 2px solid var(--f-line); border-radius: 999px;
  font-size: 14px; font-weight: 600; outline: none;
}
.frete-calc-row input:focus { border-color: var(--f-text); }
.frete-calc-row .btn-pill { white-space: nowrap; }
.frete-opcoes { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.frete-op {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--f-line); border-radius: 8px; cursor: pointer; font-size: 13px;
}
.frete-op:hover { border-color: var(--f-text); }
.frete-op span { flex: 1; }
.frete-op strong { font-weight: 700; }
.frete-info { font-size: 12px; color: var(--f-muted); font-weight: 400; margin-top: 2px; }
.frete-op input { width: auto; margin: 0; }

.total-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 18px; font-weight: 700; margin: 26px 0 18px;
  border-top: 1px solid var(--f-line); padding-top: 20px;
}
.co-msg { font-size: 13px; padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; display: none; }
.co-msg.err { background: #fceaea; color: #a32d2d; display: block; }
.co-note { font-size: 12px; color: var(--f-muted); text-align: center; margin-top: 14px; }

/* ============================================================
   Checkout em passos (finalizar.php)
   ============================================================ */
/* traço full-width (edge a edge, ignorando o padding do site) */
.full-divider { border-top: 1px solid #000; margin: 18px 0 22px; }

/* tela de manutenção (loja fechada) */
.manut { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; gap: 22px; }
.manut-logo { width: 220px; max-width: 70vw; height: auto; }
.manut-msg { font-size: 15px; color: var(--f-muted); max-width: 460px; line-height: 1.6; }
.co-bc { margin-bottom: 24px; }
.checkout2 { width: 100%; }
.co-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }

.co-side { display: flex; flex-direction: column; gap: 18px; }
.co-cart { border: 1px solid #000; border-radius: 14px; padding: 30px 28px; }
.co-secure { border: 1px solid #000; border-radius: 14px; padding: 18px 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.co-secure-txt { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: #000; }
.co-secure-logos { display: inline-flex; align-items: center; gap: 14px; }
.co-secure-logos img { height: 28px; width: auto; object-fit: contain; }
.co-cart-title { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 22px; }
.co-item { display: flex; gap: 14px; border: 1px solid #000; border-radius: 10px; padding: 14px; align-items: flex-start; }
.co-item + .co-item { margin-top: 10px; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-rm { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--f-line); background: #fff; color: #888; font-size: 15px; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s; }
.co-item-rm:hover { border-color: #d33; color: #d33; }
.co-item-img { width: 66px; height: 66px; border-radius: 8px; background: #e9e9e9; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.co-item-img img { width: 100%; height: 100%; object-fit: cover; }
.co-item-nome { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; }
a.co-item-img, a.co-item-nome { color: inherit; text-decoration: none; cursor: pointer; }
a.co-item-nome:hover { text-decoration: underline; }
.co-item-sub { font-size: 12px; color: var(--f-muted); text-transform: uppercase; margin-top: 3px; letter-spacing: .02em; }
.co-div { border: none; border-top: 1px solid var(--f-line); margin: 18px 0; }
.co-qtd { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 13px; color: #444; }
.co-cart-line { display: flex; justify-content: space-between; font-size: 14px; color: #444; margin-top: 12px; }
.co-cart-total { border-top: 1px solid var(--f-line); padding-top: 14px; margin-top: 16px; font-size: 18px; font-weight: 800; color: var(--f-text); }

.co-cupom { display: flex; gap: 8px; margin-top: 14px; }
.co-cupom input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #000; border-radius: 8px; font-size: 13px; text-transform: uppercase; }
.co-cupom button { padding: 10px 16px; border: none; border-radius: 8px; background: var(--f-text); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.co-cupom button:disabled { opacity: .6; cursor: default; }
.co-cupom-msg { font-size: 12px; margin-top: 6px; min-height: 14px; }
.co-cupom-msg.ok  { color: #1e7d34; }
.co-cupom-msg.erro { color: #c0392b; }
#desc-valor { color: #1e7d34; font-weight: 600; }
#desc-rm { color: #c0392b; text-decoration: none; font-weight: 700; margin-right: 6px; }

.co-steps { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.co-step-pill { padding: 10px 20px; border: 1px solid var(--f-line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; color: var(--f-muted); transition: background .15s, border-color .15s, color .15s; }
.co-step-pill.active { border-color: var(--f-text); color: var(--f-text); }
.co-step-pill.done { background: #175413; border-color: #175413; color: #fff; cursor: pointer; }
.co-step-pill.done:hover { opacity: .88; }
.co-step-pill:not(.active):not(.done) { cursor: default; }

.co-pane h1 { font-size: 30px; font-weight: 800; text-transform: uppercase; margin-bottom: 24px; }
.co-field { margin-bottom: 16px; }
.co-field label { display: block; font-size: 12px; text-transform: uppercase; color: var(--f-text); margin-bottom: 7px; }
.co-field input, .co-field select { width: 100%; padding: 13px 16px; border: 1px solid var(--f-line); border-radius: 10px; font-size: 14px; background: #fff; outline: none; transition: border-color .15s; }
.co-field input:focus, .co-field select:focus { border-color: var(--f-text); }
.co-row { display: flex; gap: 12px; }
.co-paymethods { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.co-pm { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--f-line); border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; flex: 1; min-width: 140px; }
.co-pm:has(input:checked) { border-color: var(--f-text); }
#cardBrick_container { margin-top: 4px; }
.co-continuar { padding: 13px 30px; border: none; border-radius: 999px; background: var(--f-text); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.co-continuar:hover { background: #11480D; }
.co-continuar:disabled { background: #bbb; cursor: not-allowed; }
.co-resumo { font-size: 15px; margin-bottom: 16px; }
.co-resumo strong { font-weight: 800; }

@media (max-width: 820px) {
  .co-grid { grid-template-columns: 1fr; gap: 28px; }
  .co-pane h1 { font-size: 24px; }
}

/* ============================================================
   ACOMPANHAR PEDIDO — rastreio (2 colunas)
   ============================================================ */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--f-line);
  border-bottom: 1px solid var(--f-line);
  min-height: 380px;
}
.track-form-col { padding: 40px 48px 48px 0; }
.track-result-col { padding: 40px 0 48px 48px; border-left: 1px solid var(--f-line); }

.track-title { font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.track-sub { color: var(--f-muted); font-size: 12.5px; letter-spacing: 0.02em; line-height: 1.6; margin-bottom: 26px; max-width: 460px; }

.track-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.track-form input {
  height: 44px; padding: 0 20px; font-size: 12px; letter-spacing: 0.04em; font-family: inherit;
  border: 1.5px solid var(--f-text); border-radius: 999px; outline: none; text-transform: uppercase;
}
.track-form input::placeholder { color: var(--f-text); opacity: 1; }
.track-form .btn-pill { align-self: flex-start; margin-top: 4px; }

.track-msg { font-size: 13px; padding: 14px 16px; border-radius: 10px; }
.track-msg.err { background: #fceaea; color: #a32d2d; }

.tk-ped { margin-bottom: 30px; }
.tk-ped-title { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.tk-ped-title.pago { color: #1e7d34; }
.tk-ped-title span { font-weight: 700; }
.tk-data { color: var(--f-muted); font-size: 12.5px; margin: 4px 0 14px; }

.tk-itens { margin-bottom: 20px; }
.tk-item { display: flex; align-items: center; gap: 14px; font-size: 13px; padding: 3px 0; }
.tk-q { font-weight: 500; }
.tk-line { flex: 1; border-top: 1px solid var(--f-line); }
.tk-preco { font-weight: 500; }

.tk-pendente { font-size: 12.5px; color: #8a6d1f; margin-bottom: 14px; letter-spacing: 0.02em; }

.tk-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-step {
  display: inline-flex; align-items: center; height: 30px; padding: 0 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  border: 1.5px solid var(--f-line); color: var(--f-muted); border-radius: 999px; white-space: nowrap;
}
.tk-step.on { background: #1e7d34; border-color: #1e7d34; color: #fff; }

.tk-rastreio { font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; margin-top: 16px; }
.tk-rastreio a { color: #1e7d34; text-decoration: underline; }

.tk-help { font-size: 12px; letter-spacing: 0.03em; color: var(--f-text); margin-top: 40px; }
.tk-help a { text-decoration: underline; }

/* ============================================================
   RODAPÉ — logo grande + bloco preto (igual em todas as páginas)
   ============================================================ */
.store-foot { margin-top: 150px; }

.foot-logo { display: block; }
.foot-logo img { width: 100%; height: auto; display: block; }

/* bloco preto vaza até as bordas (compensa o padding do body); base da logo encosta no topo */
.foot-dark {
  background: #000; color: #fff;
  margin: 0 calc(-1 * var(--f-pad)) calc(-1 * var(--f-pad));
  padding: 60px var(--f-pad) 26px;
  position: relative;
  text-transform: uppercase;
}
/* tira qualquer folga entre a imagem da logo e o bloco preto */
.foot-logo img { margin-bottom: -1px; }

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.foot-col p { font-size: 15px; font-weight: 500; line-height: 1.53; }
.foot-col a { color: #fff; }
.foot-col a:hover { opacity: 0.7; }
.foot-strong { font-weight: 700; }

.foot-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 12px; color: rgba(255,255,255,0.7);
}

/* ---- Responsivo ---- */
@media (max-width: 1100px) {
  :root { --f-pad: 32px; }
}
@media (max-width: 820px) {
  :root { --f-pad: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .store-top { margin-bottom: 36px; }
  .brand-logo img { height: 44px; }
  .prod { grid-template-columns: 1fr; gap: 24px; }
  .prod-gallery { flex-direction: column-reverse; }
  .thumbs-col { flex-direction: row; width: 100%; overflow-x: auto; }
  .thumbs-col img { width: 72px; height: 90px; flex-shrink: 0; }
  .grid-rel { grid-template-columns: repeat(2, 1fr); }
  .vt-titulo { font-size: 22px; }

  .cat-head { flex-direction: column-reverse; gap: 20px; }
  .cat-head-img { width: 140px; }
  .track-grid { grid-template-columns: 1fr; }
  .track-form-col { padding: 32px 0; }
  .track-result-col { padding: 32px 0; border-left: none; border-top: 1px solid var(--f-line); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }   /* categoria: 2 por linha */
  .cat-head-img { display: none; }                       /* esconde a logo da categoria */
  .prod-actions { flex-wrap: wrap; }
  .store-top {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }
  .nav-toggle { display: flex; width: 30px; height: 30px; gap: 3px; }
  .nav-toggle span { width: 13px; }
  .nav-left { display: none; }                 /* pílulas viram o menu mobile */
  .nav-left-cell { justify-self: start; }
  .brand-logo { justify-self: center; }
  .brand-logo img { height: 55px; }
  .nav-right { justify-self: end; }
  .nav-desktop { display: none; }              /* esconde ACOMPANHAR (está no menu) */
  .sacola-txt { display: none; }               /* só a bolinha com o número */
  .pill-bag[data-bag-show] { width: 30px; height: 30px; padding: 0; border-radius: 50%; }
  .pill-bag .bag-count { margin-left: 0; background: transparent; color: #fff; min-width: auto; height: auto; padding: 0; font-size: 12px; }
  .nav-mobile:not([hidden]) { display: block; }

  .foot-cols { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .foot-col:last-child { border-top: 1px solid rgba(255,255,255,0.35); padding-top: 22px; }
  .foot-bar { flex-direction: column; gap: 8px; align-items: center; text-align: center; }
}

/* Página fixa de texto */
.pagina-fixa { margin: 10px 0 40px; }
.pagina-fixa.tem-img { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pf-titulo { font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.pf-conteudo { font-size: 15px; line-height: 1.8; color: var(--f-text); }
.pf-conteudo p { margin-bottom: 14px; }
.pf-conteudo a { text-decoration: underline; }
.pf-img img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .pagina-fixa.tem-img { grid-template-columns: 1fr; gap: 28px; } }

/* Evita o zoom automático do iOS ao focar campos (acontece quando a fonte < 16px).
   Aplica só em dispositivos de toque, sem alterar o visual no desktop. */
@media (pointer: coarse) {
  input, select, textarea { font-size: 16px !important; }
}

/* Modal da tabela de medidas */
.tm-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.tm-overlay[hidden] { display: none; }
.tm-box { position: relative; max-width: min(680px, 94vw); max-height: 88vh; }
.tm-box img {
  display: block; max-width: 100%; max-height: 88vh; object-fit: contain;
  border-radius: 12px; background: #fff;
}
.tm-close {
  position: absolute; top: -14px; right: -14px; width: 34px; height: 34px;
  border-radius: 50%; border: none; background: #fff; color: #000;
  font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* Seletor de arte do compartilhamento */
.share-box {
  position: relative; background: #fff; border-radius: 16px;
  padding: 26px 26px 22px; max-width: min(560px, 94vw);
}
.share-titulo { font-size: 15px; font-weight: 800; letter-spacing: .04em; margin: 0 0 16px; }
.share-opts { display: flex; gap: 14px; justify-content: center; }
.share-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--f-text);
}
.share-thumb {
  display: block; width: 140px; aspect-ratio: 9 / 16; border-radius: 12px;
  overflow: hidden; background: #f2f2f2; border: 2px solid #e5e5e5;
  transition: border-color .15s, transform .15s;
}
.share-opt:hover .share-thumb { border-color: #000; transform: translateY(-2px); }
.share-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .25s; }
.share-thumb img.on { opacity: 1; }
@media (max-width: 560px) {
  .share-opts { gap: 10px; }
  .share-thumb { width: 27vw; }
}
