/* Sistema visual do Zdmix — tipografia, escala, raio e botões portados do
   design system do Afiplace (afiplace.site), com a paleta própria do Zdmix
   (azul marinho + laranja) no lugar do lilás. Fonte única, carregada em toda
   página (loja + admin). Não editar a paleta aqui achando que é do Afiplace —
   isso já é a versão adaptada. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/geist-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/geist-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Tipografia */
  --zd-font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --zd-font-body: 'Geist', system-ui, -apple-system, sans-serif;

  /* Paleta própria do Zdmix (não é a do Afiplace) */
  --zd-navy: #103070;
  --zd-orange: #ff6500;
  --zd-ink: #16181d;
  --zd-ink-2: #4a4a52;
  --zd-line: rgba(16,48,112,.14);

  /* Raio — mesma proporção do Afiplace: botão/campo 12, cartão 20-24, pill 999 */
  --zd-r-field: 12px;
  --zd-r-btn: 12px;
  --zd-r-card: 24px;
  --zd-r-pill: 999px;
}

/* !important é necessário aqui: o site tem dezenas de seletores por classe
   (Quicksand/Inter) espalhados em CSS inline por página, todos mais
   específicos que "body"/"h1-h4" sozinhos — sem forçar, a cascata nunca
   chegava neles e a fonte nova não aparecia em nada visível. Ícones (Font
   Awesome / Tabler) não são afetados: eles aplicam font-family na própria
   classe do ícone (.fa-solid, .ti etc.), que tem especificidade maior que
   "body *" e vence mesmo com !important dos dois lados. */
body, body * {
  font-family: var(--zd-font-display) !important;
  -webkit-font-smoothing: antialiased;
}

/* Ícones (Font Awesome / Tabler) — a regra acima quebrava os glifos (viravam
   quadradinho) porque força Geist em cima da fonte-ícone. "revert" não
   resolve (volta pro default do browser, não pro CSS do Font Awesome, que é
   da mesma origem "author"): precisa declarar a fonte-ícone certa de volta,
   explicitamente, por cima. */
.fa, .fas, .fa-solid { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.far, .fa-regular    { font-family: "Font Awesome 6 Free" !important; font-weight: 400 !important; }
.fab, .fa-brands     { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.ti, [class*="ti-"]  { font-family: "tabler-icons" !important; }

body { line-height: 1.62; letter-spacing: -.006em; }

h1, h2, h3, h4,
.category-section-title, .products-title-ml,
.department-name, .category-name-shopee,
.mega-nav-link, .sec-title, .section-title {
  font-family: var(--zd-font-display) !important;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
}

/* Botão padrão Zdmix — mesmo sistema do PAINEL do Afiplace (não a landing):
   contorno reto, hierarquia por preenchimento, não por brilho. Sem halo, sem
   crescer no hover, sem sombra. Canto de 12px = "bordas retangulares", não
   pílula. */
.zd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--zd-r-btn);
  border: 1.5px solid var(--zd-orange);
  background: var(--zd-orange);
  color: #fff;
  font-family: var(--zd-font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.zd-btn:hover { background: #e05a00; border-color: #e05a00; }
.zd-btn:focus-visible { outline: 2px solid var(--zd-navy); outline-offset: 2px; }
.zd-btn:disabled { color: #999; background: #eee; border-color: #eee; cursor: not-allowed; }

.zd-btn-secondary {
  background: transparent;
  color: var(--zd-navy);
  border-color: var(--zd-line);
}
.zd-btn-secondary:hover {
  background: transparent;
  border-color: var(--zd-navy);
}

.zd-btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.zd-btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.zd-btn-block { width: 100%; }

/* Cards/badges quadrados, sem cápsula nem círculo — mesmo padrão do painel
   do Afiplace (.card, .perfil-theme-card, .mkt-card: contorno fino,
   cantos 12-24px, sem halo/sombra/zoom). Aplicado por cima do que já existe
   em cada página, sem precisar editar HTML. */
.category-section-title {
  border: none !important;
  padding: 0 !important;
}

/* site-store-chrome.css original ainda tem "transform:translateY(-5px)" no
   hover do card — some override anterior só pegava a imagem/nome de dentro,
   não o card em si. Isso aqui mata na raiz, pra sempre, em toda página. */
.department-card:hover { transform: none !important; }

/* Nome da categoria embaixo do ícone: sem fundo/caixa no hover, só cor. */
.department-card:hover .department-name,
.department-card:focus .department-name,
.department-card:focus-visible .department-name {
  background: transparent !important;
  color: var(--zd-navy) !important;
}

.department-image-container, .category-icon-shopee {
  border-radius: var(--zd-r-btn) !important;
  box-shadow: none !important;
  border: 1.5px solid var(--zd-line) !important;
}
.department-card:hover .department-image-container,
.category-item-shopee:hover .category-icon-shopee {
  box-shadow: none !important;
  transform: none !important;
  border-color: var(--zd-navy) !important;
  background: #fff !important;
}

.btn-favorite, .modal-close-btn {
  border-radius: var(--zd-r-field) !important;
  box-shadow: none !important;
}
.btn-favorite:hover {
  transform: none !important;
}

/* Setas de carrossel — mesmo padrão do Afiplace (loja.html): ícone solto,
   sem círculo/caixa, sem sombra. Opacidade baixa em repouso, força no hover
   (só opacidade + leve escala, nada de fundo aparecendo). */
[class*="nav-btn"] {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  opacity: .55;
  transition: opacity .2s ease, transform .2s ease !important;
}
[class*="nav-btn"]:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.12) !important;
}
/* site-store-chrome.css original tem ".carousel-nav-btn:hover{color:#fff}"
   sem !important — sem isso aqui, a seta fica branca (invisível) no hover
   assim que o fundo/borda somem. Preto sempre, parado e no hover. */
[class*="nav-btn"], [class*="nav-btn"]:hover, [class*="nav-btn"]:focus, [class*="nav-btn"]:active {
  color: #000 !important;
}

/* Setas do carrossel de PRODUTOS pra fora do card, igual já é no carrossel
   de categorias — mesmo raciocínio: sem isso, "overflow:hidden" do wrapper
   corta a seta se ela tentar sair, então a seta fica encavalada em cima do
   card em vez de fora dele. */
.category-section .products-carousel-wrapper,
.related-products-section .products-carousel-wrapper {
  overflow: visible !important;
}
.category-section .products-carousel-wrapper .carousel-nav-btn,
.related-products-section .products-carousel-wrapper .carousel-nav-btn {
  top: 87px !important;
  transform: none !important;
}
.category-section .products-carousel-wrapper .carousel-nav-btn:hover,
.related-products-section .products-carousel-wrapper .carousel-nav-btn:hover {
  transform: scale(1.12) !important;
}
.category-section .products-carousel-wrapper .carousel-nav-btn.prev,
.related-products-section .products-carousel-wrapper .carousel-nav-btn.prev {
  left: -28px !important;
}
.category-section .products-carousel-wrapper .carousel-nav-btn.next,
.related-products-section .products-carousel-wrapper .carousel-nav-btn.next {
  right: -28px !important;
}

/* Sem moldura na caixa "Veja também em..." da página de produto. */
.related-products-section.category-section,
.related-products-section {
  border: none !important;
}

/* Títulos preto em vez de azul marinho — card de categoria e título de
   produto, parado e no hover/focus. */
.product-name,
.department-name, .category-name-shopee,
.category-item-shopee:hover .category-name-shopee,
.department-card:hover .department-name,
.department-card:focus .department-name,
.department-card:focus-visible .department-name {
  color: #000 !important;
}

/* Preço centralizado no card — "justify-content: space-between" do CSS
   original só fazia sentido quando tinha "NO PIX" do lado (removido).
   Sobrando 1 item só, "space-between" jogava tudo pra esquerda. */
.price-row, .price-info {
  justify-content: center !important;
  text-align: center !important;
  width: 100%;
}

/* Card de produto: cantos retangulares (arredondado leve), não quina viva. */
.product-card {
  border-radius: var(--zd-r-field) !important;
  overflow: hidden;
}
/* product-page-related.css tem uma regra mais específica zerando o raio
   só nos cards do carrossel "Veja também" — precisa bater na mesma
   especificidade (ou maior) pra vencer, "!important" sozinho não basta
   quando os dois lados têm !important. */
.related-products-section.category-section .products-carousel .product-card {
  border-radius: var(--zd-r-field) !important;
}
