/*
 * Da Chapada · dc-global.css
 * Tokens, reset mínimo e tipografia — carregado em TODAS as páginas.
 * Mantém tamanho mínimo: sem componentes, sem classes de layout.
 */

/* ── Fontes locais ─────────────────────────────────────────────────── */
@font-face {
  font-family: "DaChapada";
  src: url("../fonts/DaChapada.otf") format("opentype");
  font-weight: normal; font-display: swap;
}
@font-face {
  font-family: "HWT Artz";
  src: url("../fonts/HWT_Artz.otf") format("opentype");
  font-weight: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --dc-sage:          #5b7359;
  --dc-sage-deep:     #455a44;
  --dc-sage-soft:     #8a9c81;
  --dc-cacau:         #5a3a26;
  --dc-cacau-deep:    #3d2718;
  --dc-cacau-soft:    #8a6748;
  --dc-cream:         #f1e9d6;
  --dc-cream-soft:    #faf4e6;
  --dc-cream-deep:    #e2d6b9;
  --dc-ink:           #2b2118;
  --dc-fg2:           #594b3d;
  --dc-fg3:           #8b7c6c;
  --dc-pacoca:        #c98a4d;
  --dc-tropical:      #e88a2d;
  --dc-acai:          #4d3e7a;
  --dc-cranberry:     #7a1f2c;
  --dc-cerrado:       #3f6b3a;
  --dc-salgada:       #708a3a;
  --dc-border:        rgba(90,58,38,.16);
  --dc-shadow-1:      0 1px 2px rgba(90,58,38,.08);
  --dc-shadow-2:      0 6px 18px -8px rgba(90,58,38,.22);
  --dc-shadow-3:      0 18px 40px -16px rgba(90,58,38,.28);
  --dc-font-display:  "HWT Artz","Bowlby One",Georgia,serif;
  --dc-font-brand:    "HWT Artz",system-ui,sans-serif;
  --dc-font-wm:       "Barlow Condensed","Oswald",system-ui,sans-serif;
  --dc-font-body:     "Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
  --dc-r-sm:  8px;
  --dc-r-md:  14px;
  --dc-r-lg:  22px;
  --dc-r-xl:  32px;
  --dc-r-pill:999px;
  --dc-ease:  cubic-bezier(.2,.7,.2,1);
  --dc-fast:  140ms;
  --dc-base:  220ms;

  /* ── Aliases de compatibilidade (single-product.css / taxonomy CSS) ── */
  --brand-cream:      var(--dc-cream);
  --brand-cream-soft: var(--dc-cream-soft);
  --brand-cream-deep: var(--dc-cream-deep);
  --brand-cacau:      var(--dc-cacau);
  --brand-cacau-deep: var(--dc-cacau-deep);
  --brand-sage:       var(--dc-sage);
  --brand-sage-deep:  var(--dc-sage-deep);
  --brand-tropical:   var(--dc-tropical);
  --brand-acai:       var(--dc-acai);
  --brand-cranberry:  var(--dc-cranberry);
  --brand-cerrado:    var(--dc-cerrado);
  --brand-pacoca:     var(--dc-pacoca);
  --font-display:     var(--dc-font-display);
  --font-wordmark:    var(--dc-font-wm);
  --font-body:        var(--dc-font-body);
  --fg-1:             var(--dc-ink);
  --fg-2:             var(--dc-fg2);
  --fg-3:             var(--dc-fg3);
  --flavor-tropical:  var(--dc-tropical);
  --flavor-cranberry: var(--dc-cranberry);
  --flavor-acai:      var(--dc-acai);
  --flavor-cerrado:   var(--dc-cerrado);
  --flavor-pacoca:    var(--dc-pacoca);
  --flavor-cacau:     var(--dc-cacau);

  /* Utilitários genéricos usados nos novos templates */
  --bg-1:             var(--dc-cream-soft);
  --border-1:         var(--dc-border);
  --r-md:             var(--dc-r-md);
  --r-lg:             var(--dc-r-lg);
  --r-xl:             var(--dc-r-xl);
  --r-pill:           var(--dc-r-pill);
  --shadow-1:         var(--dc-shadow-1);
  --shadow-2:         var(--dc-shadow-2);
  --shadow-3:         var(--dc-shadow-3);
  --dur-fast:         var(--dc-fast);
  --dur-base:         var(--dc-base);
  --dur-slow:         400ms;
  --ease-out:         cubic-bezier(.2,.7,.2,1);
  --ease-bounce:      cubic-bezier(.34,1.56,.64,1);
  --tracking-display: 0.05em;
}

/* ── Container global ─────────────────────────────────────────────── */
.dc-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px)  { .dc-container { padding-inline: 32px; } }
@media (min-width: 1024px) { .dc-container { padding-inline: 48px; } }

/* ── Reset mínimo ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color: var(--dc-ink); background: var(--dc-cream); scroll-behavior: smooth; }
body {
  font-family: var(--dc-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--dc-ink);
  background: var(--dc-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--dc-tropical); color: var(--dc-cream); }
:focus-visible { outline: 2px solid var(--dc-sage); outline-offset: 2px; border-radius: 4px; }

/* ── Ícone sol via CSS mask ────────────────────────────────────────── */
.dc-sun {
  display: inline-block; flex-shrink: 0;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: url("../brand/logo-sol.svg") center/contain no-repeat;
          mask: url("../brand/logo-sol.svg") center/contain no-repeat;
}

/* ── Wave ──────────────────────────────────────────────────────────── */
.dc-wave {
  display:block;
  width:100%;
  line-height:0;
  overflow:hidden;
  position: relative;
  z-index: 2;
  margin-bottom: -3px;
}
.dc-wave-cap { position:absolute; bottom:0; left:0; right:0; height:4px; }
.dc-wave svg {
  display:block;
  width:100%;
  height:84px;
  vertical-align: bottom;
}
@media (max-width:767px) {
  .dc-wave svg {
    height:38px !important;
  }
}

/* ── Tipografia utilitária ─────────────────────────────────────────── */
.dc-display {
  font-family: var(--dc-font-display);
  font-weight: 400; letter-spacing: -.005em; line-height: .95;
}
.dc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--dc-font-wm);
  font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dc-sage-deep);
}
.dc-on-dark .dc-eyebrow { color: var(--dc-tropical); }
.dc-display em, h1 em, h2 em { font-style: normal; color: var(--dc-tropical); }

/* ── Animações globais ─────────────────────────────────────────────── */
@keyframes dc-marquee  { to { transform: translateX(-50%); } }
@keyframes dc-float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes dc-spin     { to { transform:rotate(360deg); } }
@keyframes dc-blink    { 0%,100%{opacity:1} 50%{opacity:.25} }

.dc-marquee-track { display:flex; animation: dc-marquee 10s linear infinite; }
.dc-float         { animation: dc-float 6s ease-in-out infinite; }
.dc-spin-slow     { animation: dc-spin 90s linear infinite; }

/* Reveal ao scroll */
.dc-reveal-ready [data-reveal] {
  opacity:0; transform:translateY(28px);
  transition: opacity .7s var(--dc-ease), transform .7s var(--dc-ease);
}
.dc-reveal-ready [data-reveal].is-in { opacity:1; transform:none; }
[data-reveal-delay="1"].is-in { transition-delay:80ms; }
[data-reveal-delay="2"].is-in { transition-delay:160ms; }
[data-reveal-delay="3"].is-in { transition-delay:240ms; }
[data-reveal-delay="4"].is-in { transition-delay:320ms; }

@media (prefers-reduced-motion:reduce) {
  .dc-marquee-track,.dc-float,.dc-spin-slow { animation:none!important; }
  [data-reveal] { opacity:1!important; transform:none!important; }
}

/* ── Botões globais ────────────────────────────────────────────────── */
.dc-btn-primary {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--dc-sage-deep); color:var(--dc-cream);
  font-family:var(--dc-font-wm); font-weight:700; font-size:13px;
  letter-spacing:.16em; text-transform:uppercase;
  padding:16px 28px; border-radius:var(--dc-r-pill);
  box-shadow:var(--dc-shadow-2);
  transition:all var(--dc-base) var(--dc-ease);
}
.dc-btn-primary:hover { background:var(--dc-sage); transform:translateY(-1px); box-shadow:var(--dc-shadow-3); }

.dc-btn-ghost {
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--dc-cacau-deep);
  border:1.5px solid var(--dc-cacau);
  font-family:var(--dc-font-wm); font-weight:700; font-size:13px;
  letter-spacing:.16em; text-transform:uppercase;
  padding:14.5px 26px; border-radius:var(--dc-r-pill);
  transition:all var(--dc-base) var(--dc-ease);
}
.dc-btn-ghost:hover { background:var(--dc-cacau-deep); color:var(--dc-cream); }

.dc-btn-warm {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--dc-tropical); color:var(--dc-cream);
  font-family:var(--dc-font-wm); font-weight:700; font-size:12px;
  letter-spacing:.18em; text-transform:uppercase;
  padding:14px 24px; border-radius:var(--dc-r-pill);
  transition:all var(--dc-base) var(--dc-ease);
}
.dc-btn-warm:hover { transform:translateY(-1px); opacity:.92; }

/* ── Utilitários ───────────────────────────────────────────────────── */
.dc-no-scrollbar::-webkit-scrollbar { display:none; }
.dc-no-scrollbar { -ms-overflow-style:none; scrollbar-width:none; }
.dc-card { transition:transform var(--dc-base) var(--dc-ease), box-shadow var(--dc-base) ease; will-change:transform; }
.dc-card:hover { transform:translateY(-3px); box-shadow:var(--dc-shadow-2); }
.dc-zoom > img { transition:transform .6s var(--dc-ease); }
.dc-zoom:hover > img { transform:scale(1.05); }

/* Feedback add-to-cart */
.dc-product-add.dc-adding {
  transform: scale(1.2);
  background: var(--dc-sage-deep);
  transition: all .15s ease;
}

/* ==========================================================================
   TOPBAR — aparece em todas as páginas
   ========================================================================== */
.dc-topbar {
  background: var(--dc-cacau-deep);
  overflow: hidden;
  border-bottom: 1px solid rgba(241,233,214,.1);
}
.dc-topbar-track {
  display: flex;
  gap: 40px;
  padding: 14px 0;
  white-space: nowrap;
  font-family: var(--dc-font-wm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dc-cream);
  animation: dc-marquee 20s linear infinite; /* Balanced intermediate marquee speed */
}
.dc-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.dc-topbar-item .dc-sun { color: var(--dc-tropical); width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   HEADER — aparece em todas as páginas
   ========================================================================== */
.dc-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(241,233,214,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dc-border);
}
.dc-header-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 20px; height: 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
@media (min-width: 1024px) { .dc-header-inner { padding: 0 40px; height: 78px; } }
.dc-header-logo img { height: 48px; width: auto; display: block; }
.dc-header-logo:hover { opacity: .8; }
.dc-header-nav { display: none; align-items: center; gap: 36px; }
@media (min-width: 768px) { .dc-header-nav { display: flex; } }
.dc-header-nav a {
  font-family: var(--dc-font-wm);
  font-weight: 700; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dc-cacau-deep);
  transition: color var(--dc-fast) var(--dc-ease);
}
.dc-header-nav a:hover { color: var(--dc-sage-deep); }
.dc-header-utils { display: flex; align-items: center; gap: 4px; }
.dc-icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--dc-cacau-deep);
  transition: background var(--dc-fast) ease;
}
.dc-icon-btn:hover { background: var(--dc-cream-deep); }
.dc-icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.dc-icon-btn.dc-icon-btn--hidden { display: none; }
@media (min-width: 768px) { .dc-icon-btn.dc-icon-btn--hidden { display: inline-flex; } } /* Changed from 640px to 768px for clean mobile view */
.dc-cart-btn { position: relative; }
.dc-cart-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--dc-r-pill);
  background: var(--dc-tropical); color: var(--dc-cream);
  font-family: var(--dc-font-wm); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.dc-hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--dc-cacau-deep);
  transition: background var(--dc-fast) ease;
}
@media (min-width: 768px) { .dc-hamburger { display: none; } }
.dc-hamburger:hover { background: var(--dc-cream-deep); }
.dc-hamburger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }

/* ── Mobile-Only Header Redesign (Logo centered & enlarged, Hamburger left, Cart right) ── */
@media (max-width: 767px) {
  .dc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 16px;
    height: 88px; /* Slightly taller header to fit the larger logo comfortably */
  }
  .dc-hamburger {
    display: inline-flex !important;
    position: relative;
    z-index: 10;
    width: 52px !important;
    height: 52px !important;
    color: var(--dc-sage-deep) !important; /* Harmonizado com o logo verde mais escuro */
  }
  .dc-hamburger svg {
    width: 32px !important;
    height: 32px !important;
  }
  .dc-header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    margin: 0;
    line-height: 0;
  }
  .dc-header-logo img {
    height: 68px !important; /* Enlarged further as requested */
    width: auto !important;
  }
  .dc-header-utils {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    z-index: 10;
  }
  .dc-cart-btn {
    display: inline-flex !important;
    width: 52px !important;
    height: 52px !important;
    color: var(--dc-sage-deep) !important; /* Harmonizado com o logo verde mais escuro */
  }
  .dc-cart-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
  .dc-cart-count {
    top: 2px !important;
    right: 2px !important;
    min-width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }
}
/* Menu Mobile Lateral (Slide Drawer) */
@media (max-width: 767px) {
  .dc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    display: block;
  }
  .dc-mobile-menu.is-open {
    pointer-events: auto;
  }

  /* Overlay de escurecimento */
  .dc-mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 33, 24, 0.45);
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
  }
  .dc-mobile-menu.is-open .dc-mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* Painel deslizável da gaveta */
  .dc-mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    height: 100dvh;
    background: rgba(255, 253, 250, 0.85); /* Fundo cream suave semi-transparente */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(90, 58, 38, 0.08);
    box-shadow: -10px 0 40px rgba(45, 33, 24, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .dc-mobile-menu.is-open .dc-mobile-menu-panel {
    transform: translateX(0);
  }

  /* Botão de Fechar */
  .dc-mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--dc-cacau-deep);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: background 200ms ease;
  }
  .dc-mobile-menu-close:active {
    background: var(--dc-cream-deep);
  }

  .dc-mobile-menu-inner {
    padding: 64px 20px 24px; /* Espaço para o botão de fechar */
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .dc-mobile-menu a {
    font-family: var(--dc-font-display); font-size: 24px;
    color: var(--dc-cacau-deep); padding: 10px 0;
    border-bottom: 1px solid rgba(90,58,38,.12);
  }
  .dc-mobile-menu a:last-of-type { border-bottom: none; }
}

body.dc-menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .dc-mobile-menu { display: none; }
}

/* Busca Mobile */
.dc-mobile-search-form {
  position: relative;
  margin-bottom: 16px;
  width: 100%;
}
.dc-mobile-search-input {
  width: 100%;
  height: 44px;
  padding: 10px 48px 10px 16px;
  border-radius: var(--dc-r-pill);
  border: 1.5px solid var(--dc-border);
  background: var(--dc-cream-soft);
  color: var(--dc-ink);
  font-family: var(--dc-font-body);
  font-size: 15px;
  transition: border-color var(--dc-fast) ease, box-shadow var(--dc-fast) ease;
  outline: none;
}
.dc-mobile-search-input:focus {
  border-color: var(--dc-sage);
  box-shadow: 0 0 0 3px rgba(91, 115, 89, 0.15);
}
.dc-mobile-search-submit {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dc-cacau);
  transition: background var(--dc-fast) ease;
}
.dc-mobile-search-submit:active {
  background: var(--dc-cream-deep);
}
.dc-mobile-search-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* Rodapé do Menu Mobile (Minha Conta) */
.dc-mobile-menu-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1.5px solid var(--dc-border);
}
.dc-mobile-menu-account {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--dc-font-wm) !important;
  font-size: 15px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--dc-sage-deep) !important;
  border-bottom: none !important;
  padding: 8px 18px !important;
  background: rgba(91, 115, 89, 0.08);
  border-radius: var(--dc-r-pill);
  transition: background var(--dc-fast) ease, transform var(--dc-fast) ease;
  width: fit-content;
}
.dc-mobile-menu-account:active {
  background: rgba(91, 115, 89, 0.15);
  transform: translateY(1px);
}
.dc-mobile-menu-account svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* ==========================================================================
   FOOTER — carregado em todas as páginas
   ========================================================================== */
.dc-footer {
  background: var(--dc-cacau-deep);
  color: rgba(241,233,214,.7);
  padding: 48px 20px 40px;
}
@media (min-width: 768px) { .dc-footer { padding: 80px 40px 40px; } }

.dc-footer-inner { max-width: 1440px; margin: 0 auto; }

/* Desktop: 4 colunas */
.dc-footer-grid { display: none; }
@media (min-width: 768px) {
  .dc-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

/* Logo: brightness(0) transforma tudo preto, invert(1) vira branco */
.dc-footer-brand img {
  height: 64px; width: auto; display: block;
  filter: brightness(0) invert(1); opacity: .9;
}
.dc-footer-brand p {
  font-size: 14px; line-height: 1.6;
  color: rgba(241,233,214,.65); max-width: 280px; margin-top: 20px;
}
.dc-footer-social { display: flex; gap: 10px; margin-top: 20px; }

/* Botão social (círculo) */
.dc-footer-social-btn {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(241,233,214,.25);
  color: rgba(241,233,214,.8);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dc-fast) ease, border-color var(--dc-fast) ease;
  flex-shrink: 0;
}
.dc-footer-social-btn:hover { background: var(--dc-sage-deep); border-color: var(--dc-sage-deep); }
.dc-footer-social-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }

.dc-footer-col-title {
  font-family: var(--dc-font-wm);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dc-cream); margin-bottom: 16px;
}
.dc-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.dc-footer-col a { font-size: 14px; color: rgba(241,233,214,.7); transition: color var(--dc-fast) ease; }
.dc-footer-col a:hover { color: var(--dc-tropical); }

/* Mobile: logo + accordion */
.dc-footer-mobile-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(241,233,214,.12);
}
@media (min-width: 768px) { .dc-footer-mobile-top { display: none; } }
.dc-footer-mobile-top img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1); opacity: .9;
}

.dc-footer-accordion { display: flex; flex-direction: column; }
@media (min-width: 768px) { .dc-footer-accordion { display: none; } }

.dc-accord-item { border-bottom: 1px solid rgba(241,233,214,.12); }
.dc-accord-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--dc-font-wm);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dc-cream); background: none; border: none; cursor: pointer;
}
.dc-accord-icon {
  font-size: 22px; line-height: 1; color: var(--dc-tropical);
  transition: transform var(--dc-base) ease;
  flex-shrink: 0;
}
.dc-accord-item.is-open .dc-accord-icon { transform: rotate(45deg); }
.dc-accord-body { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.dc-accord-item.is-open .dc-accord-body { max-height: 300px; }
.dc-accord-body ul { padding-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.dc-accord-body a { font-size: 15px; color: rgba(241,233,214,.7); transition: color var(--dc-fast) ease; }
.dc-accord-body a:hover { color: var(--dc-tropical); }

/* Legal */
.dc-footer-legal {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(241,233,214,.12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px;
  font-family: var(--dc-font-wm);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(241,233,214,.55);
}
@media (min-width: 768px) { .dc-footer-legal { margin-top: 56px; } }

/* Copyright — linha abaixo do legal */
/* Copyright — linha abaixo do legal */
.dc-footer-copyright {
  margin-top: 12px;
  font-family: var(--dc-font-wm);
  font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(241,233,214,.3);
  text-align: center;
  /* Garante espaço para o botão flutuante não cobrir o texto no mobile */
  padding-bottom: 80px;
}
@media (min-width: 768px) {
  .dc-footer-copyright { padding-bottom: 24px; }
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO FIXA NO BOTTOM (MOBILE)
   ========================================================================== */
.dc-mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(241, 233, 214, 0.98); /* Native light cream matching header */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid var(--dc-border); /* Standard brand border */
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: content-box;
  box-shadow: 0 -8px 32px rgba(90, 58, 38, 0.08); /* Soft cocoa shadow */
}

@media (min-width: 768px) {
  .dc-mobile-bottom-bar {
    display: none !important;
  }
}

.dc-m-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--dc-fg2); /* Elegant cocoa text */
  transition: color var(--dc-fast) ease, transform var(--dc-fast) ease;
  position: relative;
  text-decoration: none;
}

.dc-m-nav-item:active,
.dc-m-nav-item.is-active {
  color: var(--dc-sage-deep); /* Native brand sage green active state */
}

.dc-m-nav-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 4px;
  stroke-width: 2px;
}

.dc-m-nav-label {
  font-family: var(--dc-font-wm);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
}

/* Quick Buy button projecting upward (brand tropical style) */
.dc-m-nav-item--quick {
  overflow: visible;
  height: auto;
  align-self: flex-end;
}

.dc-m-quick-btn {
  width: 50px;
  height: 50px;
  background: var(--dc-tropical); /* Native vibrant tropical orange */
  color: var(--dc-cream-soft);
  border-radius: 16px 16px 4px 4px; /* Projects like a premium upward card */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 16px rgba(232, 138, 45, 0.3); /* Tropical-orange glow */
  margin-top: -24px; /* Upward projection */
  margin-bottom: 2px;
  transition: transform var(--dc-fast) var(--dc-ease), background var(--dc-fast) ease;
}

.dc-m-quick-btn .dc-m-nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0;
  fill: currentColor;
  stroke: none;
}

.dc-m-nav-item--quick:active .dc-m-quick-btn {
  transform: scale(0.92) translateY(-2px);
  background: var(--dc-sage-deep); /* Switch to Sage green on active for visual richness */
  box-shadow: 0 -4px 16px rgba(69, 90, 68, 0.3);
}

/* Ensure body doesn't hide behind the bar on mobile */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Hide conflicting third-party floating buttons (like Join.chat, dynamic WhatsApp FABs) on mobile */
@media (max-width: 767px) {
  .joinchat, 
  .joinchat--mobile, 
  #wa-widget-send-button, 
  .wa-chat-box, 
  [class*="whatsapp-float"], 
  [id*="whatsapp-float"], 
  .wa-chat-btn, 
  .wa-button,
  .dc-pedido-btn {
    display: none !important;
  }
}

/* ==========================================================================
   SLEEK GEL-GLASS SEARCH OVERLAY
   ========================================================================== */
.dc-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  visibility: hidden;
  transition: visibility var(--dc-base) ease;
}

.dc-search-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
}

.dc-search-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 33, 24, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--dc-base) ease;
}

.dc-search-overlay.is-open .dc-search-overlay-bg {
  opacity: 1;
}

.dc-search-overlay-panel {
  position: relative;
  width: 100%;
  background: rgba(241, 233, 214, 0.95); /* brand cream with opacity */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 2px solid var(--dc-border);
  padding: 24px 20px 32px;
  box-shadow: var(--dc-shadow-3);
  transform: translateY(-100%);
  transition: transform var(--dc-base) var(--dc-ease);
  box-sizing: border-box;
}

.dc-search-overlay.is-open .dc-search-overlay-panel {
  transform: translateY(0);
}

.dc-search-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dc-search-title {
  font-family: var(--dc-font-brand);
  font-size: 20px;
  color: var(--dc-cacau);
}

.dc-search-title em {
  font-family: var(--dc-font-display);
  font-style: normal;
  color: var(--dc-tropical);
}

.dc-search-close {
  background: none;
  border: none;
  color: var(--dc-cacau);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--dc-r-pill);
  transition: background var(--dc-fast) ease, color var(--dc-fast) ease;
}

.dc-search-close:active {
  background: var(--dc-cream-deep);
  color: var(--dc-ink);
}

.dc-search-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.dc-search-input {
  width: 100%;
  height: 52px;
  background: var(--dc-cream-soft);
  border: 2px solid var(--dc-border);
  border-radius: var(--dc-r-md);
  padding: 0 54px 0 20px;
  font-family: var(--dc-font-body);
  font-size: 16px;
  color: var(--dc-ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--dc-fast) ease, box-shadow var(--dc-fast) ease;
}

.dc-search-input:focus {
  border-color: var(--dc-sage);
  box-shadow: 0 0 0 3px rgba(91, 115, 89, 0.15);
}

.dc-search-submit {
  position: absolute;
  right: 6px;
  width: 40px;
  height: 40px;
  background: var(--dc-sage);
  color: var(--dc-cream-soft);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dc-fast) ease;
}

.dc-search-submit:active {
  background: var(--dc-sage-deep);
}

/* ==========================================================================
   PÁGINA DE COMPRA RÁPIDA
   ========================================================================== */

/* 1. Intro Screen / Overlay */
.dc-cr-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dc-cream-soft);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
  overflow-y: auto;
  transition: opacity 0.4s var(--dc-ease), transform 0.4s var(--dc-ease);
}

.dc-cr-intro.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.dc-cr-intro-logo {
  margin-bottom: 24px;
}

.dc-cr-intro-title {
  font-family: var(--dc-font-brand);
  font-size: 28px;
  color: var(--dc-cacau);
  text-align: center;
  margin-bottom: 8px;
}

.dc-cr-intro-subtitle {
  font-family: var(--dc-font-body);
  font-size: 14px;
  color: var(--dc-fg2);
  text-align: center;
  margin-bottom: 32px;
  max-width: 280px;
}

.dc-cr-intro-steps {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.dc-cr-intro-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(241, 233, 214, 0.5);
  border: 1px solid var(--dc-border);
  padding: 16px;
  border-radius: var(--dc-r-md);
  transition: transform var(--dc-fast) var(--dc-ease);
}

.dc-cr-intro-step-num {
  width: 28px;
  height: 28px;
  background: var(--dc-sage);
  color: var(--dc-cream-soft);
  font-family: var(--dc-font-display);
  font-size: 14px;
  border-radius: var(--dc-r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dc-cr-intro-step-text {
  font-family: var(--dc-font-body);
}

.dc-cr-intro-step-title {
  font-family: var(--dc-font-wm);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dc-cacau);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.dc-cr-intro-step-desc {
  font-size: 12px;
  color: var(--dc-fg2);
  line-height: 1.4;
}

.dc-cr-intro-btn {
  width: 100%;
  max-width: 320px;
  height: 54px;
  background: var(--dc-tropical);
  color: var(--dc-cream-soft);
  border: none;
  border-radius: var(--dc-r-md);
  font-family: var(--dc-font-wm);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232, 138, 45, 0.25);
  transition: background var(--dc-fast) ease, transform var(--dc-fast) var(--dc-ease);
}

.dc-cr-intro-btn:active {
  transform: scale(0.98);
  background: var(--dc-sage-deep);
  box-shadow: none;
}


/* 2. Category Quick Links Sub-Header Navigation */
.dc-cr-header {
  position: sticky;
  top: 0;
  background: rgba(241, 233, 214, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1.5px solid var(--dc-border);
  padding: 12px 16px;
  box-sizing: border-box;
}

.dc-cr-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
}

.dc-cr-nav-scroll::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.dc-cr-nav-btn {
  white-space: nowrap;
  background: var(--dc-cream-soft);
  border: 1px solid var(--dc-border);
  color: var(--dc-fg2);
  padding: 8px 16px;
  border-radius: var(--dc-r-pill);
  font-family: var(--dc-font-wm);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--dc-fast) ease;
}

.dc-cr-nav-btn.is-active {
  background: var(--dc-cacau);
  color: var(--dc-cream-soft);
  border-color: var(--dc-cacau);
}


/* 3. Catalog Layout & Categories */
.dc-cr-catalog-wrap {
  padding: 16px 16px 180px; /* Abundant bottom padding to clear BOTH buy bar and footer bar */
  max-width: 600px;
  margin: 0 auto;
}

.dc-cr-cat-section {
  scroll-margin-top: 70px; /* aligns smooth-scroll under sticky cat bar */
  margin-bottom: 28px;
}

.dc-cr-cat-title {
  font-family: var(--dc-font-brand);
  font-size: 22px;
  color: var(--dc-cacau);
  border-bottom: 2px solid var(--dc-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}


/* 4. Compact Product Cards */
.dc-cr-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-cr-product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dc-cream-soft);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-r-md);
  padding: 10px 12px;
  position: relative;
  transition: transform var(--dc-fast) ease, box-shadow var(--dc-fast) ease;
}

.dc-cr-product-card:active {
  transform: scale(0.99);
}

.dc-cr-thumb-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--dc-r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dc-cream-deep);
  border: 1px solid var(--dc-border);
}

.dc-cr-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-cr-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* allows text truncation if needed */
}

.dc-cr-title {
  font-family: var(--dc-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--dc-cacau);
  margin: 0 0 2px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* Explicitly allow line wrapping to prevent parent/global nowrap overriding */
}

.dc-cr-meta {
  font-family: var(--dc-font-body);
  font-size: 11px;
  color: var(--dc-fg3);
  margin-bottom: 4px;
}

.dc-cr-price {
  font-family: var(--dc-font-wm);
  font-size: 14px;
  font-weight: 700;
  color: var(--dc-tropical);
}


/* 5. Sleek Quantity Stepper (- N +) */
.dc-cr-actions {
  flex-shrink: 0;
}

.dc-cr-stepper {
  display: flex;
  align-items: center;
  background: var(--dc-cream-deep);
  border-radius: var(--dc-r-pill);
  height: 48px; /* Increased from 44px for ideal mobile touch target height */
  padding: 2px;
  box-sizing: border-box;
  transition: opacity var(--dc-fast) ease;
}

.dc-cr-stepper-btn {
  width: 44px; /* Increased from 40px to ensure standard accessible touch targets */
  height: 44px; /* Increased from 40px */
  border: none;
  background: none;
  color: var(--dc-cacau);
  font-size: 22px; /* Increased from 20px for better visibility and readability */
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--dc-r-pill);
  transition: background var(--dc-fast) ease;
}

.dc-cr-stepper-btn:active {
  background: rgba(90, 58, 38, 0.15);
}

.dc-cr-qty {
  width: 36px; /* Increased from 32px to complement larger button sizes */
  text-align: center;
  font-family: var(--dc-font-wm);
  font-size: 18px; /* Increased from 16px */
  font-weight: 700;
  color: var(--dc-cacau);
}

/* Loading/sync state for steppers */
.dc-cr-product-card.is-syncing .dc-cr-stepper {
  opacity: 0.6;
  pointer-events: none;
}

/* Pulse animation on card while syncing */
@keyframes dc-sync-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.995); opacity: 0.85; }
  100% { transform: scale(1); }
}

.dc-cr-product-card.is-syncing {
  animation: dc-sync-pulse 0.8s infinite ease-in-out;
}


/* 6. Sticky Checkout Summary Bar */
.dc-cr-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px)); /* Exactly above the mobile bottom bar */
  background: rgba(90, 58, 38, 0.96); /* Elegant dark cocoa glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid rgba(241, 233, 214, 0.2);
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  z-index: 998; /* just below navigation menu */
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  transform: translateY(0);
  transition: transform 0.3s var(--dc-ease);
}

.dc-cr-buy-bar-shipping-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 6px;
}

.dc-cr-buy-bar-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.dc-cr-buy-bar.is-hidden {
  transform: translateY(120%);
}

.dc-cr-summary {
  display: flex;
  flex-direction: column;
  color: var(--dc-cream-soft);
}

.dc-cr-summary-items {
  font-family: var(--dc-font-wm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(241, 233, 214, 0.7);
}

.dc-cr-summary-total {
  font-family: var(--dc-font-brand);
  font-size: 20px;
}

.dc-cr-summary-total span {
  font-family: var(--dc-font-wm);
  font-weight: 700;
  color: var(--dc-tropical);
}

.dc-cr-checkout-btn {
  background: var(--dc-tropical);
  color: var(--dc-cream-soft);
  border: none;
  padding: 10px 24px;
  height: 44px;
  border-radius: var(--dc-r-md);
  font-family: var(--dc-font-wm);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(232, 138, 45, 0.3);
  transition: background var(--dc-fast) ease, transform var(--dc-fast) var(--dc-ease);
}

.dc-cr-checkout-btn svg {
  transition: transform var(--dc-fast) ease;
}

.dc-cr-checkout-btn:active {
  transform: scale(0.96);
  background: var(--dc-sage);
  box-shadow: none;
}

.dc-cr-checkout-btn:active svg {
  transform: translateX(4px);
}

/* Frete Grátis na Barra de Compra Rápida */
.dc-cr-ship-progress-wrap {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(241, 233, 214, 0.15);
  border-radius: var(--dc-r-pill, 99px);
  overflow: hidden;
}

.dc-cr-ship-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--dc-tropical);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.dc-cr-summary-shipping {
  font-family: var(--dc-font-wm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(241, 233, 214, 0.85);
  display: block;
}

.dc-cr-summary-shipping strong {
  font-weight: 800;
}

/* 7. Extremely Narrow Mobile Viewports Optimization (<380px) */
@media (max-width: 380px) {
  .dc-cr-product-card {
    gap: 8px !important;
    padding: 8px 10px !important;
  }
  .dc-cr-thumb-wrap {
    width: 56px !important;
    height: 56px !important;
  }
  .dc-cr-stepper {
    height: 42px !important;
  }
  .dc-cr-stepper-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
  .dc-cr-qty {
    width: 28px !important;
    font-size: 15px !important;
  }
}

/* ── Promocional / Preços de-por ───────────────────────────────────────── */
.dc-price--old {
  display: block;
  font-size: 0.62em;
  color: var(--dc-fg3);
  text-decoration: line-through;
  opacity: 0.75;
  font-weight: 500;
  line-height: 1;
}

.dc-price--sale {
  display: block;
  color: var(--dc-tropical); /* Cor laranja oficial para destacar a oferta */
  font-weight: 700;
  line-height: 1.1;
}

/* Tratamento em fundos escuros para manter excelente legibilidade */
.dc-on-dark .dc-price--old,
.dc-product-body--kit .dc-price--old,
.dc-kit-banner .dc-price--old,
.dc-creme-bar .dc-price--old {
  color: rgba(242, 234, 215, 0.45);
}

/* Preço do Kit Banner (Display grande) */
.dc-kit-price {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  line-height: 1.1;
}
.dc-kit-price .dc-price--old {
  margin-top: 2px;
  margin-bottom: 0;
}

/* Preço dos cards normais no grid */
.dc-product-price {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  line-height: 1.1;
}
.dc-product-price .dc-price--old {
  margin-top: 2px;
  margin-bottom: 0;
}

/* Preço dos cremes */
.dc-creme-price {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: flex-end; /* Alinhados à direita */
  line-height: 1.1;
}
.dc-creme-price .dc-price--old {
  margin-top: 2px;
  margin-bottom: 0;
}

/* Responsividade de preços no Desktop: exibe lado a lado (horizontal) para otimizar espaço */
@media (min-width: 768px) {
  .dc-product-price,
  .dc-kit-price,
  .dc-creme-price {
    flex-direction: row-reverse;
    align-items: baseline;
    gap: 8px;
  }
  
  .dc-product-price .dc-price--old,
  .dc-kit-price .dc-price--old,
  .dc-creme-price .dc-price--old {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* ── REVIEW / COMMENT FORM (WooCommerce & WordPress) ────────────────── */

#review_form_wrapper,
.comment-respond,
#respond {
  margin: 56px auto 0;
  max-width: 680px;
  background: var(--dc-cream-soft);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-r-xl);
  padding: 28px;
  box-shadow: var(--dc-shadow-1);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  #review_form_wrapper,
  .comment-respond,
  #respond {
    padding: 44px;
  }
}

/* Evita duplicação de estilos de card caso estejam aninhados */
#review_form_wrapper #respond,
#review_form_wrapper .comment-respond {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  display: flex !important;
}

.comment-respond,
#respond {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-reply-title,
#reply-title {
  font-family: var(--dc-font-display);
  font-size: 24px;
  color: var(--dc-cacau-deep);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comment-notes {
  font-size: 13px;
  color: var(--dc-fg3);
  margin-top: -12px;
  margin-bottom: 8px;
}

.logged-in-as {
  font-size: 13px;
  color: var(--dc-fg3);
  grid-column: 1 / -1;
  margin-top: -12px;
  margin-bottom: 8px;
}

.logged-in-as a {
  color: var(--dc-tropical);
  font-weight: 600;
}

.logged-in-as a:hover {
  text-decoration: underline;
}

#commentform,
.comment-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  #commentform,
  .comment-form {
    grid-template-columns: 1fr 1fr;
  }
  .comment-notes,
  .comment-form-rating,
  .comment-form-comment,
  .comment-form-cookies-consent,
  .form-submit,
  .comment-form-url,
  .logged-in-as {
    grid-column: 1 / -1;
  }
}

.comment-form-rating,
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-form-rating label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  font-family: var(--dc-font-wm);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dc-cacau-deep);
}

/* Inputs e Textarea */
#commentform input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
#commentform textarea,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dc-cream);
  border: 1.5px solid var(--dc-border);
  border-radius: var(--dc-r-md);
  font-family: var(--dc-font-body);
  font-size: 16px;
  color: var(--dc-ink);
  outline: none;
  transition: border-color var(--dc-fast) var(--dc-ease), box-shadow var(--dc-fast) var(--dc-ease);
  box-sizing: border-box;
}

#commentform input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
#commentform textarea:focus,
.comment-form textarea:focus {
  border-color: var(--dc-cacau);
  box-shadow: 0 0 0 3px rgba(90, 58, 38, 0.08);
}

#commentform textarea,
.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Estilização das estrelas do WooCommerce */
.comment-form-rating .stars span,
#commentform .stars span,
.comment-form .stars span {
  display: flex;
  gap: 4px;
}

.comment-form-rating .stars span a,
#commentform .stars span a,
.comment-form .stars span a {
  position: relative;
  width: 28px;
  height: 28px;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
}

.comment-form-rating .stars span a::before,
#commentform .stars span a::before,
.comment-form .stars span a::before {
  content: "★";
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 24px;
  color: var(--dc-cream-deep);
  transition: color var(--dc-fast) var(--dc-ease);
}

.comment-form-rating .stars span a:hover::before,
.comment-form-rating .stars span a:hover ~ a::before,
#commentform .stars span a:hover::before,
#commentform .stars span a:hover ~ a::before,
.comment-form .stars span a:hover::before,
.comment-form .stars span a:hover ~ a::before {
  color: var(--dc-cream-deep);
}

.comment-form-rating .stars span:hover a::before,
#commentform .stars span:hover a::before,
.comment-form .stars span:hover a::before {
  color: var(--dc-tropical);
}

.comment-form-rating .stars span a.active::before,
#commentform .stars span a.active::before,
.comment-form .stars span a.active::before {
  color: var(--dc-tropical) !important;
}

.comment-form-rating .stars span a.active ~ a::before,
#commentform .stars span a.active ~ a::before,
.comment-form .stars span a.active ~ a::before {
  color: var(--dc-cream-deep) !important;
}

/* Checkbox de consentimento de cookies */
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 4px;
}

.comment-form-cookies-consent input[type="checkbox"] {
  accent-color: var(--dc-tropical);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.comment-form-cookies-consent label {
  font-size: 13px;
  color: var(--dc-fg2);
  line-height: 1.45;
  cursor: pointer;
  text-transform: none;
  font-family: var(--dc-font-body);
  font-weight: 400;
  letter-spacing: normal;
}

/* Botão de envio */
.form-submit {
  margin-top: 12px;
  margin-bottom: 0;
}

#commentform input[type="submit"],
.comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dc-tropical);
  color: var(--dc-cream-soft);
  font-family: var(--dc-font-wm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--dc-r-pill);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: transform var(--dc-fast) var(--dc-ease), opacity var(--dc-fast) var(--dc-ease);
}

@media (min-width: 640px) {
  #commentform input[type="submit"],
  .comment-form input[type="submit"] {
    width: auto;
  }
}

#commentform input[type="submit"]:hover,
.comment-form input[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

#commentform input[type="submit"]:active,
.comment-form input[type="submit"]:active {
  transform: translateY(0);
}

/* ── SLIDE-OVER SIDE DRAWER FOR REVIEWS FORM ────────────────────────── */

/* Overlay */
.dc-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 33, 24, 0.45);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dc-drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Regras específicas para o modo Drawer (quando fixo na lateral) */
#review_form_wrapper.dc-drawer-mode,
.comment-respond.dc-drawer-mode,
#respond.dc-drawer-mode {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 520px;
  margin: 0 !important;
  z-index: 2000 !important;
  transform: translateX(100%);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(43, 33, 24, 0.18) !important;
  border-radius: 0 !important;
  border: none !important;
  border-left: 1px solid var(--dc-border) !important;
  height: 100% !important;
  height: 100dvh !important;
  padding: 40px 32px calc(40px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-y: auto !important;
}

#review_form_wrapper.dc-drawer-mode.dc-drawer--open,
.comment-respond.dc-drawer-mode.dc-drawer--open,
#respond.dc-drawer-mode.dc-drawer--open {
  transform: translateX(0);
}

@media (max-width: 640px) {
  #review_form_wrapper.dc-drawer-mode,
  .comment-respond.dc-drawer-mode,
  #respond.dc-drawer-mode {
    max-width: 100%;
    padding: 32px 20px calc(32px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Botão de Fechar */
.dc-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dc-cacau-deep);
  border: none;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  z-index: 2010;
  transition: background var(--dc-fast) var(--dc-ease), color var(--dc-fast) var(--dc-ease);
}

.dc-drawer-close:hover {
  background: var(--dc-cream-deep);
  color: var(--dc-tropical);
}

.dc-drawer-close:active {
  background: var(--dc-border);
}

/* Corpo com Drawer ativo */
body.dc-drawer-active {
  overflow: hidden !important;
}

/* Header Row das Avaliações */
.dc-pdp-reviews__header-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--dc-border);
  padding-bottom: 32px;
}

@media (min-width: 768px) {
  .dc-pdp-reviews__header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Escrever avaliação button */
.dc-write-review-btn {
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  height: 52px;
  padding: 0 32px !important;
}

.dc-pdp-reviews__no-reviews {
  font-family: var(--dc-font-display);
  font-size: 24px;
  color: var(--dc-cacau-deep);
  margin: 0;
  text-transform: uppercase;
}


