/* ============================================
   DOCES TACHO DE COBRE — Sistema Visual
   ============================================ */

:root {
  /* Cores — Paleta brasileira artesanal */
  --leaf: #173c2d;
  --leaf-deep: #0e2a1e;
  --leaf-soft: #d8ead1;
  --leaf-glass: rgba(23, 60, 45, 0.94);

  --banana: #f2c94c;
  --banana-bright: #ffd95c;
  --banana-soft: #fbeec3;

  --copper: #8f4724;
  --copper-deep: #6b3318;
  --copper-soft: #f0d2bd;

  --guava: #a93432;
  --guava-soft: #f4d7d4;
  --guava-bright: #d94f4c;

  --paper: #fff7e8;
  --milk: #f7ead8;
  --milk-warm: #f0e0c4;

  --ink: #2b1b14;
  --ink-soft: #3d2920;
  --muted: #6f5a4a;
  --whisper: #9b8775;

  --white: #ffffff;
  --line: rgba(43, 27, 20, 0.12);
  --line-strong: rgba(43, 27, 20, 0.22);

  /* Sombras suaves, sem efeito plástico */
  --shadow-sm: 0 2px 8px rgba(43, 27, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 27, 20, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 27, 20, 0.18);
  --shadow-leaf: 0 24px 60px rgba(23, 60, 45, 0.28);

  /* Tipografia */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Raios */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Container */
  --container: 1320px;
  --gutter: clamp(18px, 4vw, 54px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--banana);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--banana); color: var(--ink); }

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.1; }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow.no-line::before { display: none; }
.eyebrow.on-dark { color: var(--banana); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* ============================================
   CONTAINERS & SECTIONS
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.section-tight { padding-block: clamp(48px, 7vw, 88px); }

.section-head {
  max-width: 800px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head .lead {
  margin-top: 18px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--leaf-glass);
  backdrop-filter: blur(16px);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 247, 232, 0.10);
  transition: box-shadow 200ms ease, padding 200ms ease;
}

.site-header[data-elevated="true"] {
  box-shadow: 0 12px 32px rgba(14, 42, 30, 0.32);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  height: 56px;
  padding: 6px 14px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  flex: 0 0 auto;
}

.brand-mark img {
  width: auto;
  height: 44px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* O novo logo já contém o wordmark — escondemos o texto duplicado ao lado */
.brand .brand-text { display: none; }

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 247, 232, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  justify-self: center;
}

.nav-links a {
  position: relative;
  padding: 22px 4px;
  color: rgba(255, 247, 232, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 16px;
  height: 2px;
  background: var(--banana);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--banana);
}

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: var(--r-pill);
  background: rgba(255, 247, 232, 0.05);
  color: var(--paper);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.icon-btn:hover {
  background: rgba(255, 247, 232, 0.14);
  border-color: rgba(255, 247, 232, 0.32);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-btn {
  position: relative;
  background: var(--banana);
  color: var(--ink);
  border-color: var(--banana);
}

.cart-btn:hover {
  background: var(--banana-bright);
  border-color: var(--banana-bright);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--guava);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  font-feature-settings: "tnum";
}

.menu-toggle { display: none; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--banana);
  color: var(--ink);
  border-color: var(--banana);
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.32);
}

.btn-primary:hover {
  background: var(--banana-bright);
  border-color: var(--banana-bright);
  box-shadow: 0 12px 28px rgba(242, 201, 76, 0.42);
}

.btn-copper {
  background: var(--copper);
  color: var(--paper);
  border-color: var(--copper);
}

.btn-copper:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 247, 232, 0.36);
}

.btn-ghost-light:hover {
  background: rgba(255, 247, 232, 0.10);
  border-color: var(--banana);
  color: var(--banana);
}

.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.85rem; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 1.05rem; }

/* ============================================
   BADGES & PILLS
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-leaf { background: var(--leaf-soft); color: var(--leaf); }
.badge-banana { background: var(--banana-soft); color: var(--copper-deep); }
.badge-guava { background: var(--guava-soft); color: var(--guava); }
.badge-copper { background: var(--copper-soft); color: var(--copper-deep); }
.badge-ink { background: var(--ink); color: var(--paper); }
.badge-dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Selo "Sem Glúten" / "0 Açúcar" — destaque circular */
.seal {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--banana);
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(242, 201, 76, 0.4), inset 0 0 0 4px rgba(23, 60, 45, 0.18);
  transform: rotate(-8deg);
}

.seal small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seal-guava { background: var(--guava); color: var(--paper); box-shadow: 0 6px 18px rgba(169, 52, 50, 0.4), inset 0 0 0 4px rgba(255, 247, 232, 0.18); }
.seal-copper { background: var(--copper); color: var(--paper); }

/* ============================================
   FORMS
   ============================================ */

.field {
  display: grid;
  gap: 6px;
}

.field label,
.field-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select,
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-soft);
}

.field textarea { min-height: 110px; resize: vertical; }

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper-soft);
}

.product-card .pc-image {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.6), transparent 60%),
    linear-gradient(135deg, var(--banana-soft) 0%, var(--milk) 100%);
  overflow: hidden;
}

.product-card .pc-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(143, 71, 36, 0.10), transparent 50%);
  pointer-events: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 400ms ease;
}

.product-card:hover img {
  transform: scale(1.05) rotate(-1deg);
}

.product-card .pc-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.product-card .pc-quickview {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 247, 232, 0.95);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, background 160ms ease;
  z-index: 2;
}

.product-card .pc-quickview:hover { background: var(--banana); }

.product-card:hover .pc-quickview {
  opacity: 1;
  transform: translateY(0);
}

.product-card .pc-quickview svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.product-card .pc-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 0;
  flex-grow: 1;
}

.product-card .pc-category {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card .pc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

.product-card .pc-desc {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.product-card .pc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

.product-card .pc-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 18px 18px;
}

.product-card .pc-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--leaf);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 160ms ease;
}

.product-card .pc-add:hover { background: var(--leaf-deep); }

.product-card .pc-add svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.product-card .pc-detail-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--milk);
  color: var(--copper);
  border: 0;
}

.product-card .pc-detail-link:hover { background: var(--copper-soft); }

.product-card .pc-detail-link svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================
   CART DRAWER
   ============================================ */

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(14, 42, 30, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(460px, 100%);
  height: 100%;
  background: var(--paper);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.25,.8,.3,1);
  box-shadow: -16px 0 60px rgba(0,0,0,0.25);
}

.cart-drawer.open .cart-panel { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header h3 {
  font-size: 1.8rem;
  margin-top: 4px;
}

.cart-items {
  padding: 18px 24px;
  overflow-y: auto;
}

.cart-empty {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 12px;
  color: var(--muted);
  gap: 12px;
}

.cart-empty svg {
  width: 64px; height: 64px;
  fill: none; stroke: var(--whisper);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child { border-bottom: 0; }

.cart-line .cl-img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: var(--milk);
  display: grid;
  place-items: center;
  padding: 6px;
}

.cart-line .cl-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.cart-line .cl-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--ink);
}

.cart-line .cl-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-line .cl-remove {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  margin-top: 6px;
}

.cart-line .cl-remove:hover { background: var(--guava-soft); color: var(--guava); }

.cart-line .cl-remove svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.qty {
  display: inline-grid;
  grid-template-columns: 32px 38px 32px;
  align-items: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  overflow: hidden;
  margin-top: 6px;
}

.qty button {
  height: 100%;
  border: 0;
  background: transparent;
  font-weight: 800;
  color: var(--ink);
}

.qty button:hover { background: var(--milk); }

.qty .qty-val {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
  display: grid;
  gap: 12px;
}

.cart-footer .total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.cart-footer .total-line strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 14px;
  background: #25d366;
  color: white;
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
  animation: waPulse 2.4s ease-in-out infinite;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 22px; height: 22px;
  fill: currentColor;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; padding: 12px; }
  .wa-float span { display: none; }
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */

.quick-view {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 42, 30, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.quick-view.open {
  opacity: 1;
  pointer-events: auto;
}

.qv-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 92vh;
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.96) translateY(20px);
  transition: transform 320ms cubic-bezier(.25,.8,.3,1);
  box-shadow: var(--shadow-lg);
}

.quick-view.open .qv-panel { transform: scale(1) translateY(0); }

.qv-image {
  display: grid;
  place-items: center;
  padding: 40px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, var(--banana-soft), var(--milk));
  position: relative;
}

.qv-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.qv-body {
  padding: 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 247, 232, 0.95);
  color: var(--ink);
  z-index: 3;
}

.qv-close:hover { background: var(--banana); }

.qv-close svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.qv-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.qv-desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.qv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qv-detail-rows {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.qv-detail-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.qv-detail-rows dt {
  color: var(--muted);
  font-weight: 600;
}

.qv-detail-rows dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-feature-settings: "tnum";
}

.qv-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--leaf-deep);
  color: var(--paper);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(242, 201, 76, 0.18), transparent 50%),
    radial-gradient(ellipse at 10% 120%, rgba(143, 71, 36, 0.30), transparent 50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 56px;
  position: relative;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255, 247, 232, 0.72);
  line-height: 1.55;
  font-size: 0.95rem;
}

.footer-social {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.08);
  border: 1px solid rgba(255, 247, 232, 0.14);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.footer-social .social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social .social-link:hover {
  background: rgba(255, 222, 145, 0.15);
  border-color: rgba(255, 222, 145, 0.45);
  color: var(--banana);
  transform: translateY(-1px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--banana);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 247, 232, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-col a:hover { color: var(--banana); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 247, 232, 0.12);
  color: rgba(255, 247, 232, 0.5);
  font-size: 0.82rem;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   ANIMATIONS — Scroll reveal
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.25,.8,.3,1), transform 700ms cubic-bezier(.25,.8,.3,1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 65;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    color: var(--ink);
    padding: 14px 16px;
    border-radius: var(--r-md);
  }

  .nav-links a:hover {
    background: var(--milk);
    color: var(--ink);
  }

  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] {
    background: var(--leaf);
    color: var(--banana);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qv-panel {
    grid-template-columns: 1fr;
    max-height: 96vh;
    overflow-y: auto;
  }

  .qv-image { padding: 28px; }
  .qv-image img { max-height: 280px; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 64px; }
  .brand-mark { height: 44px; padding: 4px 10px; flex-basis: auto; }
  .brand-mark img { height: 34px; max-width: 150px; }
  .nav-links { top: 64px; }
  .icon-btn { width: 40px; height: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cart-panel { width: 100%; }

  .qv-body { padding: 24px; }
}
