/* ==========================================================
   BREW HAVEN COFFEE CO. — Estilos
   Tokens → base → layout → componentes → seções → utilitários
   ========================================================== */

:root {
  color-scheme: dark;

  /* Paleta: café, crema, bege e terrosos */
  --bg: #110c09;
  --bg-2: #17110d;
  --surface: #1f1712;
  --surface-2: #2a1f18;
  --surface-3: #35281f;
  --line: rgba(239, 222, 197, 0.1);
  --line-strong: rgba(239, 222, 197, 0.2);
  --text: #f3e9d9;
  --muted: #bba993;
  --faint: #8c7a66;
  --accent: #c8955f;
  --accent-strong: #ddae7a;
  --accent-soft: rgba(200, 149, 95, 0.14);
  --accent-ink: #1b120b;
  --cream: #efe2cc;
  --danger: #e38b78;
  --success: #a8c69a;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, 0.8);

  --header-h: 64px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.center { text-align: center; }

/* ---------- Tipografia de apoio ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.section { padding-block: 72px; }

.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-top: 4px; }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 46ch; }
.section-head.center .section-sub { margin-inline: auto; }

.ornament {
  display: block;
  width: 96px;
  height: 10px;
  margin: 16px auto 0;
  background:
    radial-gradient(circle, var(--accent) 2.5px, transparent 3px) center / 10px 10px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) left center / 38px 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) right center / 38px 1px no-repeat;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(17, 12, 9, 0.35); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.btn-whatsapp { background: #2f8f5b; color: #fff; }
.btn-whatsapp:hover { background: #37a468; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(31, 23, 18, 0.6);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  position: relative;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-strong); }

.link-btn {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}
.link-btn:hover { color: var(--text); }

/* ---------- Aviso de dados pendentes ---------- */
.pending-notice {
  position: relative;
  z-index: 41;
  padding: 7px var(--gutter);
  background: #3a2a1c;
  color: var(--cream);
  font-size: 0.78rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(17, 12, 9, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; gap: 16px; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.logo-mark { width: 38px; height: 38px; color: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.02em; }
.logo-text small { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; gap: 8px; }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cart-badge[hidden] { display: none; }
.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25); } 100% { transform: none; } }

/* Menu mobile */
.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: 12px var(--gutter) 24px;
  background: rgba(17, 12, 9, 0.97);
  border-bottom: 1px solid var(--line);
  animation: fadeDown 0.25s var(--ease);
}
.main-nav.is-open a {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--line);
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 900px) {
  :root { --header-h: 76px; --gutter: 32px; }
  .menu-toggle { display: none; }
  .main-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    font-size: 0.92rem;
  }
  .main-nav a { position: relative; color: var(--muted); padding: 6px 0; transition: color 0.2s; }
  .main-nav a::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
  }
  .main-nav a:hover, .main-nav a.is-active { color: var(--text); }
  .main-nav a.is-active::after, .main-nav a:hover::after { transform: scaleX(1); }
  .header-actions { margin-left: 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
}
/* Cena: foto real da xícara + vapor animado no mesmo SVG (alinhamento garantido) */
.hero-scene {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64svh;
  min-height: 420px;
  z-index: -1;
  overflow: hidden;
  /* Dissolve a foto no fundo (sem borda visível embaixo). */
  -webkit-mask-image: linear-gradient(#000 60%, transparent 98%);
  mask-image: linear-gradient(#000 60%, transparent 98%);
}
@media (min-width: 900px) {
  .hero-scene { -webkit-mask-image: linear-gradient(#000 78%, transparent 100%); mask-image: linear-gradient(#000 78%, transparent 100%); }
}
.hero-scene-svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: slowZoom 20s var(--ease) both;
}
.hero-scene::after {
  content: '';
  position: absolute; inset: 0 0 -2px;
  background:
    linear-gradient(180deg, rgba(17, 12, 9, 0.55) 0%, rgba(17, 12, 9, 0) 22%, rgba(17, 12, 9, 0) 50%, var(--bg) 90%);
  pointer-events: none;
}
@keyframes slowZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

.hero-inner { position: relative; z-index: 1; padding-block: 40px 56px; }

/* ---------- Vapor realista (anima sobre a foto) ---------- */
.puff {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: puff 8s cubic-bezier(0.35, 0.1, 0.4, 1) infinite;
}
.puff.p2 { animation-duration: 9s; animation-delay: -1.8s; }
.puff.p3 { animation-duration: 7.5s; animation-delay: -3.4s; }
.puff.p4 { animation-duration: 8.5s; animation-delay: -5.1s; }
.puff.p5 { animation-duration: 9.5s; animation-delay: -6.6s; }

@keyframes puff {
  0% { opacity: 0; transform: translate(0, 40px) scale(0.6, 0.7); }
  18% { opacity: 0.5; }
  55% { opacity: 0.32; }
  100% { opacity: 0; transform: translate(-18px, -250px) scale(1.7, 1.25) rotate(-4deg); }
}

.hero-scene.is-paused .puff,
.hero-scene.is-paused .hero-scene-svg { animation-play-state: paused; }

@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: calc(50svh - 40px); }
}

/* Fumaça discreta no logo */
.logo-steam { animation: logoSteam 3.2s ease-in-out infinite; }
@keyframes logoSteam {
  0%, 100% { opacity: 0.5; transform: translateY(1px); }
  50% { opacity: 1; transform: translateY(-1.5px); }
}
.hero-title {
  font-size: clamp(3rem, 13vw, 5.6rem);
  margin: 8px 0 18px;
  max-width: 11ch;
  color: var(--cream);
}
.hero-title em { font-style: normal; color: var(--accent); display: block; }
.hero-intro { color: var(--muted); max-width: 40ch; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 160px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 32px; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); line-height: 1.25; }
.badge-ico {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--accent);
}
.badge-ico .icon { width: 18px; height: 18px; }

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-scene { inset: 0; height: auto; }
  .hero-scene::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(17, 12, 9, 0.85) 28%, rgba(17, 12, 9, 0.15) 58%, rgba(17, 12, 9, 0.1) 100%),
      linear-gradient(180deg, rgba(17, 12, 9, 0.5) 0%, transparent 20%, transparent 78%, var(--bg) 100%);
  }
  .hero-inner { padding-block: 80px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- Cards de produto ---------- */
.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s;
}
.product-card:hover { border-color: rgba(200, 149, 95, 0.4); background: var(--surface-2); }

.product-open {
  position: absolute; inset: 0;
  border: 0; background: none;
  border-radius: inherit;
  z-index: 1;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-3);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }

.product-info { display: flex; flex-direction: column; min-width: 0; padding-block: 2px; }
.product-info h3 { font-size: 1.35rem; line-height: 1.1; }
.product-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 700; color: var(--cream); font-size: 1rem; letter-spacing: 0.01em; }
.price.is-muted { color: var(--muted); font-weight: 500; font-size: 0.88rem; }

.add-btn {
  position: relative;
  z-index: 2;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(200, 149, 95, 0.45);
  background: var(--accent-soft);
  color: var(--accent-strong);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.add-btn:hover { background: var(--accent); color: var(--accent-ink); }
.add-btn:active { transform: scale(0.92); }
.add-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.product-media .tag { position: absolute; top: 8px; left: 8px; background: rgba(17, 12, 9, 0.75); }
.product-card.is-unavailable .product-media img { filter: grayscale(0.8) brightness(0.6); }

/* Variante vertical (carrossel e desktop) */
.product-card.is-vertical,
.carousel .product-card {
  grid-template-columns: 1fr;
  padding: 14px 14px 16px;
  gap: 14px;
}
.carousel .product-media { aspect-ratio: 4 / 3.4; }

@media (min-width: 760px) {
  .menu-grid .product-card { grid-template-columns: 1fr; padding: 14px 14px 16px; }
  .menu-grid .product-media { aspect-ratio: 4 / 3.2; }
  .product-card:hover { transform: translateY(-4px); }
}

/* ---------- Carrossel "Mais pedidos" ---------- */
.carousel { position: relative; margin-bottom: 32px; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 280px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 12px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { scroll-snap-align: start; }
.carousel-track > li > .product-card { height: 100%; }
.carousel-btn { display: none; }

@media (min-width: 900px) {
  .carousel-track { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; margin-inline: 0; padding-inline: 0; }
  .carousel-btn {
    display: grid; place-items: center;
    position: absolute; top: 42%;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--text);
    z-index: 3;
    transition: border-color 0.2s, opacity 0.2s;
  }
  .carousel-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
  .carousel-btn.prev { left: -62px; }
  .carousel-btn.next { right: -62px; }
  .carousel-btn[disabled] { opacity: 0.3; pointer-events: none; }
}
@media (min-width: 900px) and (max-width: 1340px) {
  .carousel-btn.prev { left: -14px; }
  .carousel-btn.next { right: -14px; }
}

/* ---------- Benefícios ---------- */
.benefits-band { padding-block: 8px 24px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 14px;
  background: var(--bg-2);
}
.benefits strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--cream); line-height: 1.3; }
.benefits div > span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.benefits .badge-ico { width: 38px; height: 38px; }
@media (min-width: 900px) {
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefits li { padding: 24px 22px; align-items: center; }
}

/* ---------- Cardápio ---------- */
.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding-block: 12px 10px;
  background: rgba(17, 12, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 6px 0 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.search:focus-within { border-color: var(--accent); }
.search .icon { color: var(--faint); }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  font-size: 1rem; /* evita zoom no iOS */
}
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 8px; }
.search-clear[hidden] { display: none; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 10px calc(var(--gutter) * -1) 0;
  padding: 2px var(--gutter);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip[aria-selected='true'] { background: var(--cream); border-color: var(--cream); color: var(--accent-ink); font-weight: 600; }

.menu-group + .menu-group { margin-top: 44px; }
.menu-group-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.menu-group-head h3 { font-size: 1.8rem; }
.menu-group-head p { color: var(--faint); font-size: 0.85rem; }
@media (min-width: 760px) {
  .menu-group-head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
}

.menu-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }

.empty-state {
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-state strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--text); margin-bottom: 6px; }
.empty-state .btn { margin-top: 16px; }

/* ---------- Premium Blend ---------- */
.blend { position: relative; overflow: hidden; }
.blend::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 25% 50%, rgba(200, 149, 95, 0.16), transparent 70%);
  pointer-events: none;
}
.blend-inner { position: relative; display: grid; gap: 32px; align-items: center; }
.blend-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  background: var(--surface);
}
.blend-media .blend-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45) saturate(0.9); }
.blend-media .blend-pack { position: absolute; inset: 8% 18% 6%; width: 64%; height: 86%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); transition: transform 0.8s var(--ease); }
.blend-media:hover .blend-pack { transform: translateY(-6px) rotate(-1deg); }
.blend-text h2 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 6px 0 14px; }
.blend-text > p { color: var(--muted); max-width: 46ch; }
.blend-details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.blend-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 26px; }
.blend-price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--cream); line-height: 1; }
.blend-price small { display: block; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 6px; }
.blend-hint { color: var(--faint); font-size: 0.82rem; margin-top: 12px; }
@media (min-width: 900px) {
  .blend-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ---------- Sobre ---------- */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.about-inner { display: grid; gap: 32px; align-items: center; }
.about-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--surface); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 6px 0 18px; }
.about-text h2 em { font-style: normal; color: var(--accent); }
.about-text p:not(.eyebrow) { color: var(--muted); margin-bottom: 14px; max-width: 52ch; }
.about-secondary { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--cream) !important; margin-top: 10px; }
@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1.05fr 1fr; gap: 72px; }
  .about-media { aspect-ratio: 4 / 4.4; }
}

.pillars { display: grid; gap: 12px; margin-top: 48px; }
.pillars li { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillars h3 { font-size: 1.45rem; margin: 14px 0 6px; }
.pillars p { color: var(--muted); font-size: 0.9rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
a.contact-card:hover { border-color: var(--accent); }
.contact-card small { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.contact-card span { display: block; color: var(--cream); margin-top: 2px; word-break: break-word; }
.contact-card .hours-list { color: var(--muted); font-size: 0.9rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; } }

.social { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.social:empty { display: none; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.social a:hover { color: var(--accent-strong); border-color: var(--accent); }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 calc(110px + var(--safe-bottom)); background: var(--bg-2); }
.footer-inner { display: grid; gap: 22px; }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--cream); }
.footer-logo span { color: var(--accent); }
.footer-brand p:last-child { color: var(--faint); font-size: 0.88rem; font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--faint); font-size: 0.8rem; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }
}

/* ---------- Barra flutuante do pedido ---------- */
.cart-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 10px;
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  color: var(--accent-ink);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.75);
  font-weight: 700;
  animation: rise 0.35s var(--ease);
}
.cart-bar[hidden] { display: none; }
.cart-bar-count { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--accent-ink); color: var(--cream); font-size: 0.9rem; }
.cart-bar-count .icon { width: 18px; height: 18px; }
.cart-bar-label { flex: 1; text-align: left; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 900px) {
  .cart-bar { left: auto; right: 28px; bottom: 28px; width: 360px; }
}

/* ---------- Sheets / Dialogs ---------- */
dialog.sheet {
  padding: 0;
  border: 0;
  background: var(--bg-2);
  color: var(--text);
  max-width: 100%;
  max-height: 100%;
}
dialog.sheet::backdrop { background: rgba(5, 3, 2, 0.7); backdrop-filter: blur(3px); }

/* Mobile: folha que sobe de baixo */
dialog.sheet {
  width: 100%;
  margin: auto 0 0;
  border-radius: 22px 22px 0 0;
  max-height: 92svh;
  border-top: 1px solid var(--line-strong);
}
dialog.sheet[open] { animation: sheetUp 0.35s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }

.product-sheet .sheet-body { overflow-y: auto; max-height: 92svh; }
.ps-media { position: relative; aspect-ratio: 16 / 11; background: var(--surface); }
.ps-media img { width: 100%; height: 100%; object-fit: cover; }
.ps-media .icon-btn { position: absolute; top: 12px; right: 12px; background: rgba(17, 12, 9, 0.7); backdrop-filter: blur(6px); }
.ps-content { padding: 22px 20px calc(20px + var(--safe-bottom)); }
.ps-content h2 { font-size: 2.2rem; }
.ps-cat { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.ps-desc { color: var(--muted); margin-top: 8px; }
.ps-price { font-size: 1.3rem; font-weight: 700; margin-top: 14px; color: var(--cream); }
.ps-provisional { font-size: 0.75rem; color: var(--faint); font-weight: 500; margin-left: 6px; }

.field { display: block; margin-top: 18px; }
.field-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: 0.8rem; margin-top: 6px; }
.field-error:empty { display: none; }

.segmented { display: grid; gap: 8px; border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.segmented legend { padding: 0; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.segmented span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; transition: 0.2s; }
.segmented input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.segmented input:checked + span::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

.ps-actions { display: flex; gap: 12px; margin-top: 22px; }
.ps-actions .btn { flex: 1; white-space: nowrap; padding-inline: 14px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.stepper button { width: 44px; height: 46px; border: 0; background: none; color: var(--text); display: grid; place-items: center; border-radius: 12px; }
.stepper button:hover { color: var(--accent-strong); }
.stepper button[disabled] { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.stepper.is-small button { width: 36px; height: 36px; }
.stepper.is-small .icon { width: 16px; height: 16px; }

/* Drawer do pedido */
.drawer { display: none; }
.drawer[open] { display: flex; flex-direction: column; height: 92svh; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { flex: 1; font-size: 1.8rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 20px calc(16px + var(--safe-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.drawer-foot:empty { display: none; }

@media (min-width: 760px) {
  dialog.sheet.drawer {
    width: 440px;
    height: 100%;
    max-height: 100%;
    margin: 0 0 0 auto;
    border-radius: 0;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }
  .drawer[open] { height: 100svh; animation: slideIn 0.35s var(--ease); }
  @keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }

  dialog.sheet.product-sheet {
    width: min(520px, calc(100% - 48px));
    margin: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
  }
  .product-sheet .sheet-body { max-height: 88svh; }
}

.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.cart-line-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; line-height: 1.3; }
.cart-line-note { font-size: 0.8rem; color: var(--faint); margin-top: 2px; font-style: italic; }
.cart-line-unit { font-size: 0.8rem; color: var(--muted); }
.cart-line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-line-total { font-weight: 700; }
.remove-btn { border: 0; background: none; color: var(--faint); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; margin: -8px -8px 0 0; }
.remove-btn:hover { color: var(--danger); }
.remove-btn .icon { width: 18px; height: 18px; }

.summary { display: grid; gap: 6px; font-size: 0.92rem; }
.summary-row { display: flex; justify-content: space-between; color: var(--muted); }
.summary-row.total { color: var(--cream); font-weight: 700; font-size: 1.1rem; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.drawer-foot .btn { margin-top: 14px; }

.progress { margin: 18px 0 4px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.progress-track { height: 5px; border-radius: 99px; background: var(--surface-3); margin-top: 10px; overflow: hidden; }
.progress-fill { height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-strong)); border-radius: inherit; transition: width 0.5s var(--ease); }
.progress.is-done { color: var(--success); }

.note-box { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); display: flex; gap: 10px; }
.note-box .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.note-box.is-warning { border-color: rgba(227, 139, 120, 0.4); }
.note-box.is-warning .icon { color: var(--danger); }

.message-preview {
  white-space: pre-wrap;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 14px;
  max-height: 260px;
  overflow: auto;
}

.drawer-empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.drawer-empty .badge-ico { width: 64px; height: 64px; margin: 0 auto 18px; }
.drawer-empty .badge-ico .icon { width: 28px; height: 28px; }
.drawer-empty strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--text); margin-bottom: 6px; }
.drawer-empty .btn { margin-top: 22px; }

.success { text-align: center; padding: 40px 8px 16px; }
.success .badge-ico { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--success); border-color: rgba(168, 198, 154, 0.4); }
.success .badge-ico .icon { width: 28px; height: 28px; }
.success strong { display: block; font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.success p { color: var(--muted); }

/* ---------- Toast ---------- */
.toast-region { position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 10px); z-index: 60; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  animation: toastIn 0.3s var(--ease);
}
.toast .icon { color: var(--success); width: 18px; height: 18px; }
.toast.is-leaving { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- Revelação ao rolar ---------- */
/* Usa animation (não transition) para não brigar com os efeitos de hover. */
.reveal { opacity: 0; }
.reveal.is-visible { animation: revealUp 0.85s var(--ease) var(--d, 0ms) both; }
@keyframes revealUp {
  from { opacity: 0; translate: 0 26px; scale: 0.98; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

/* ==========================================================
   ANIMAÇÕES EXTRAS (celular e desktop)
   ========================================================== */

/* Entrada do hero em cascata */
.hero-inner > * { animation: heroIn 1s var(--ease) both; }
.hero-inner > :nth-child(1) { animation-delay: 0.15s; }
.hero-inner > :nth-child(2) { animation-delay: 0.3s; }
.hero-inner > :nth-child(3) { animation-delay: 0.5s; }
.hero-inner > :nth-child(4) { animation-delay: 0.65s; }
.hero-inner > :nth-child(5) { animation-delay: 0.8s; }
@keyframes heroIn { from { opacity: 0; translate: 0 28px; filter: blur(6px); } }

/* Brilho dourado passando no "Never Before." */
.hero-title em {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 42%, #ffe2b8 50%, var(--accent) 58%, var(--accent) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5.5s ease-in-out 1.8s infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  40%, 100% { background-position: 0% 0; }
}

/* Selos do hero entram um a um */
.hero-badges li { animation: heroIn 0.8s var(--ease) both; }
.hero-badges li:nth-child(1) { animation-delay: 1s; }
.hero-badges li:nth-child(2) { animation-delay: 1.12s; }
.hero-badges li:nth-child(3) { animation-delay: 1.24s; }
.hero-badges li:nth-child(4) { animation-delay: 1.36s; }
.hero-badges .badge-ico { transition: transform 0.4s var(--ease), border-color 0.3s; }
.hero-badges li:hover .badge-ico { transform: rotate(-12deg) scale(1.1); border-color: var(--accent); }
.hero-rating { color: var(--cream); font-weight: 600; }
.hero-rating .badge-ico { color: #f2c46d; }

/* Indicador de rolagem */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  animation: heroIn 1s var(--ease) 1.6s both;
}
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after {
  content: '';
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; translate: 0 -2px; } 30% { opacity: 1; } 80%, 100% { opacity: 0; translate: 0 10px; } }
@media (max-width: 899px) { .scroll-cue { display: none; } }

/* Botão principal com brilho */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px auto -2px -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  translate: 0 0;
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover::after { animation: btnShine 0.9s var(--ease); }
.hero-actions .btn-primary::after,
.review-submit::after { animation: btnShine 1.1s var(--ease) 2.4s, btnShineLoop 5s var(--ease) 4s infinite; }
@keyframes btnShine { to { translate: 380% 0; } }
@keyframes btnShineLoop { 0% { translate: 0 0; } 25%, 100% { translate: 380% 0; } }

/* Ornamento que se desenha */
.ornament { background-size: 10px 10px, 0 1px, 0 1px; transition: background-size 1s var(--ease) 0.3s; }
.is-visible .ornament,
.is-visible.ornament { background-size: 10px 10px, 38px 1px, 38px 1px; }
.ornament-left { margin: 16px 0 0; }

/* Ícones: desenho do traço + flutuar */
.pillars li.is-visible .badge-ico .icon,
.benefits li.is-visible .badge-ico .icon {
  stroke-dasharray: 90;
  animation: draw 1.6s var(--ease) calc(var(--d, 0ms) + 0.2s) both;
}
@keyframes draw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
.pillars li.is-visible .badge-ico,
.benefits li.is-visible .badge-ico { animation: iconFloat 4.5s ease-in-out calc(var(--d, 0ms) + 1.6s) infinite; }
@keyframes iconFloat { 50% { translate: 0 -4px; box-shadow: 0 8px 18px -8px rgba(200, 149, 95, 0.55); } }
.pillars li { transition: border-color 0.3s, background 0.3s; }
.pillars li:hover { border-color: rgba(200, 149, 95, 0.4); background: var(--surface-2); }

/* Cards: brilho na foto e "+" girando */
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  translate: -120% 0;
  pointer-events: none;
}
.product-card:hover .product-media::after { animation: cardShine 1s var(--ease); }
@keyframes cardShine { to { translate: 120% 0; } }
.add-btn .icon { transition: transform 0.35s var(--ease); }
.add-btn:hover .icon { transform: rotate(90deg); }
.add-btn.is-added { animation: addPop 0.5s var(--ease); background: var(--accent); color: var(--accent-ink); }
@keyframes addPop { 40% { transform: scale(1.25); } 100% { transform: none; } }

/* Produto voando para o carrinho */
.fly-dot {
  position: fixed;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  border: 2px solid var(--cream);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.fly-dot img { width: 100%; height: 100%; object-fit: cover; }

.cart-bar.is-pulsing { animation: barPulse 0.6s var(--ease); }
.cart-btn.is-pulsing { animation: barPulse 0.6s var(--ease); }
@keyframes barPulse { 35% { scale: 1.06; } 100% { scale: 1; } }
.cart-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(239, 226, 204, 0.5);
  animation: ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(239, 226, 204, 0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(239, 226, 204, 0); } }

/* Premium Blend: pacote flutuando + reflexo */
.blend-media .blend-bg { transform: translateY(var(--py, 0px)) scale(1.15); }
.blend-media .blend-pack { animation: packFloat 6s ease-in-out infinite; }
@keyframes packFloat { 50% { translate: 0 -12px; rotate: -1.5deg; } }
.blend-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 205, 0.16) 50%, transparent 65%);
  translate: -110% 0;
  animation: sweep 6s var(--ease) 1s infinite;
  pointer-events: none;
}
@keyframes sweep { 0% { translate: -110% 0; } 35%, 100% { translate: 110% 0; } }

/* Sobre: parallax na foto */
.about-media { position: relative; }
.about-media img { transform: translateY(var(--py, 0px)) scale(1.14); }

/* Detalhe do produto: foto com zoom suave ao abrir */
dialog[open] .ps-media img { animation: psZoom 1.2s var(--ease) both; }
@keyframes psZoom { from { scale: 1.12; } }

/* ==========================================================
   AVALIAÇÕES
   ========================================================== */
.review { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.reviews-layout { display: grid; gap: 28px; }
@media (min-width: 980px) {
  .reviews-layout { grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
  .review-form-wrap { position: sticky; top: calc(var(--header-h) + 20px); }
}
.reviews-title { font-size: 1.9rem; margin-bottom: 16px; }

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 26px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.summary-score { display: grid; justify-items: center; gap: 6px; text-align: center; }
.score { font-family: var(--font-display); font-size: 3.6rem; line-height: 0.9; color: var(--cream); }
.score-count { font-size: 0.78rem; color: var(--muted); }
.summary-bars { display: grid; gap: 7px; }
.summary-bars li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); }
.bar-label { display: inline-flex; align-items: center; gap: 3px; }
.bar-label .icon { width: 12px; height: 12px; fill: #f2c46d; stroke: none; }
.bar-track { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), #f2c46d); animation: barGrow 1.4s var(--ease) 0.2s both; }
@keyframes barGrow { from { width: 0; } }
.bar-count { text-align: right; }

.stars-static { display: inline-flex; gap: 2px; }
.stars-static .icon { width: 16px; height: 16px; stroke: #6b5644; fill: none; }
.stars-static .on .icon { fill: #f2c46d; stroke: #f2c46d; }
.stars-static.is-big .icon { width: 28px; height: 28px; }
.stars-static.is-big span { animation: starIn 0.5s var(--ease) both; }
.stars-static.is-big span:nth-child(2) { animation-delay: 0.08s; }
.stars-static.is-big span:nth-child(3) { animation-delay: 0.16s; }
.stars-static.is-big span:nth-child(4) { animation-delay: 0.24s; }
.stars-static.is-big span:nth-child(5) { animation-delay: 0.32s; }
@keyframes starIn { from { opacity: 0; scale: 0.3; rotate: -40deg; } }

.review-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 340px);
  gap: 14px;
  margin: 16px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.review-list::-webkit-scrollbar { display: none; }
@media (min-width: 980px) {
  .review-list { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.review-item {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}
.review-item:hover { border-color: rgba(200, 149, 95, 0.4); background: var(--surface-2); }
.review-item.is-mine { border-style: dashed; border-color: rgba(200, 149, 95, 0.5); }
.review-item-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.review-item-head strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.review-item-head time { font-size: 0.75rem; color: var(--faint); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; border: 1px solid rgba(200, 149, 95, 0.35); }
.review-comment { color: var(--text); font-size: 0.92rem; line-height: 1.55; font-style: italic; }
.review-item-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mine-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--accent-strong); }
.mine-badge .icon { width: 14px; height: 14px; }

.review-empty { margin-top: 16px; text-align: center; padding: 34px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.review-empty .badge-ico { margin: 0 auto 12px; width: 52px; height: 52px; color: #f2c46d; animation: iconFloat 4s ease-in-out infinite; }
.review-empty strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }
.reviews-loading { color: var(--faint); padding: 20px 0; }

.review-card { padding: 24px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); }
.review-form-title { font-size: 1.7rem; text-align: center; margin-bottom: 10px; }
.stars { display: flex; justify-content: center; gap: 6px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.star { cursor: pointer; padding: 4px; border-radius: 10px; color: #6b5644; transition: color 0.2s, transform 0.2s var(--ease); }
.star .icon { width: 40px; height: 40px; stroke-width: 1.3; transition: fill 0.2s; }
.star:hover { transform: translateY(-3px) scale(1.08); }
.stars input:focus-visible + .star { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.stars[data-value='1'] .star:nth-of-type(-n + 1),
.stars[data-value='2'] .star:nth-of-type(-n + 2),
.stars[data-value='3'] .star:nth-of-type(-n + 3),
.stars[data-value='4'] .star:nth-of-type(-n + 4),
.stars[data-value='5'] .star:nth-of-type(-n + 5) { color: #f2c46d; }
.stars[data-value='1'] .star:nth-of-type(-n + 1) .icon,
.stars[data-value='2'] .star:nth-of-type(-n + 2) .icon,
.stars[data-value='3'] .star:nth-of-type(-n + 3) .icon,
.stars[data-value='4'] .star:nth-of-type(-n + 4) .icon,
.stars[data-value='5'] .star:nth-of-type(-n + 5) .icon { fill: currentColor; }
.stars.is-popping .star { animation: starPop 0.45s var(--ease) calc(var(--i) * 50ms); }
@keyframes starPop { 40% { transform: scale(1.3) rotate(-8deg); } 100% { transform: none; } }
.stars.has-error { animation: shake 0.4s; }
@keyframes shake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.stars-label { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 4px; min-height: 1.4em; }
.stars + .stars-label + .field-error { text-align: center; }
.review-fieldset { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.review-fieldset legend { padding: 0; }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.review-tags .chip[aria-pressed='true'] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-strong); }
.review-submit { margin-top: 20px; }
.review-note { margin-top: 12px; font-size: 0.78rem; color: var(--faint); text-align: center; }

.review-thanks { display: grid; justify-items: center; gap: 10px; text-align: center; }
.review-thanks > strong { font-family: var(--font-display); font-size: 1.9rem; }
.review-thanks > p { color: var(--muted); }
.review-thanks .message-preview { width: 100%; text-align: left; }
.thanks-ico { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); animation: addPop 0.6s var(--ease); }
.thanks-ico > .icon { width: 32px; height: 32px; fill: currentColor; }
.burst span { position: absolute; left: 50%; top: 50%; color: #f2c46d; animation: burst 1s var(--ease) both; }
.burst .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; margin: -7px; }
@keyframes burst {
  from { transform: rotate(var(--a)) translateY(0) scale(0.2); opacity: 1; }
  to { transform: rotate(var(--a)) translateY(-62px) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
