/* ---------- Base ---------- */
:root {
  --bg: #FAF6F0;
  --surface: #FFFFFF;
  --border: #E8DFD2;
  --text: #2B241D;
  --text-muted: #8A7C6C;
  --accent: #9C4F63;
  --accent-dark: #7A3A4B;
  --accent-soft: #F3E1E5;
  --danger: #B3493B;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(43, 36, 29, 0.06);
  --shadow-lg: 0 12px 32px rgba(43, 36, 29, 0.16);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; }

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons / inputs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled {
  background: #D9CFC2;
  color: #fff;
  cursor: not-allowed;
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn-block { width: 100%; }

.icon-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 8px;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--text); }

.select {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
}

/* ---------- Site alert ---------- */
.site-alert {
  background: var(--danger);
  color: #fff;
}
.site-alert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 44px 9px 16px;
  position: relative;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
}
.site-alert-inner strong { font-weight: 700; }
#siteAlertClose {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  opacity: .8;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}
#siteAlertClose:hover { opacity: 1; }
.site-alert.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  flex-shrink: 0;
}
.brand-mark.small { width: 34px; height: 34px; margin-bottom: 10px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 1.02rem; }
.brand-text small { color: var(--text-muted); font-size: 0.72rem; letter-spacing: .04em; text-transform: uppercase; }

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
  min-width: 260px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  flex: 1;
  max-width: 360px;
  color: var(--text-muted);
}
.search-box input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  width: 100%;
  background: transparent;
  color: var(--text);
}

.cart-count {
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 1px 7px;
  font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 44px 0 0;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 420px;
  height: 420px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: .9;
}
.hero::after {
  width: 380px;
  height: 380px;
  top: 40px;
  right: -140px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 72%);
  opacity: .16;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  letter-spacing: -0.01em;
}
.hero h1 em {
  color: var(--accent-dark);
  font-family: 'Playfair Display', 'Poppins', serif;
  font-style: italic;
  font-weight: 400;
  position: relative;
}
.hero-sub {
  margin: 14px 0 0;
  max-width: 460px;
  color: var(--text-muted);
  font-size: 1rem;
}
.disclaimer {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 0.76rem;
  color: var(--text-muted);
  opacity: .85;
}

/* ---------- Hero split layout ---------- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px) rotate(var(--rot, 0deg)); }
  to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 34px;
}
.hero-content {
  animation: heroRise .7s cubic-bezier(.2,.7,.3,1) both;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-content .hero-sub,
.hero-content .hero-disclaimer {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 20px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroRise .8s cubic-bezier(.2,.7,.3,1) .12s both;
}
.hero-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 22% 12%, rgba(255,255,255,.22) 0%, transparent 55%),
    linear-gradient(150deg, var(--accent) 0%, #7A3A4B 45%, #3D2430 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 48px -16px rgba(74, 37, 48, .45), var(--shadow-lg);
  overflow: hidden;
}
.hero-spotlight {
  position: absolute;
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28) 0%, transparent 68%);
  pointer-events: none;
}
.hero-slider {
  position: relative;
  width: 88%;
  height: 90%;
  border-radius: 16px;
  overflow: hidden;
  background: #FDFBF8;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
  animation: heroRise 1s cubic-bezier(.2,.7,.3,1) .18s both;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  background: #fff;
}
.hero-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  padding: 10px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  z-index: 2;
}
.hero-slide-caption strong {
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-slide-caption span {
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .2s ease, transform .2s ease;
}
.hero-slide-caption:hover span,
.hero-slide-caption:focus-visible span {
  opacity: .9;
  transform: translateY(0);
}
.hero-slider-dots {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-slider-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
  transition: opacity .2s ease, background .2s ease;
}
.hero-panel:hover .hero-slider-arrow,
.hero-slider-arrow:focus-visible {
  opacity: 1;
}
.hero-slider-arrow:hover { background: rgba(0,0,0,.65); }
.hero-slider-arrow.prev { left: 4%; }
.hero-slider-arrow.next { right: 4%; }
@media (hover: none) {
  .hero-slider-arrow { display: none; }
}

.stats-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 110px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: var(--border);
}
.stat strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
}
.stat span {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 24px; }
  .hero-content .hero-sub,
  .hero-content .hero-disclaimer { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 6px; }
  .hero-panel { max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content, .hero-visual, .hero-slide { animation: none !important; transition: none !important; }
}

/* ---------- Brand chips ---------- */
.brand-strip { padding: 22px 0 6px; }
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* ---------- Toolbar ---------- */
.toolbar { padding: 22px 0 10px; }
.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.result-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .02em;
}
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.family-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-sm {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-muted);
}
.chip-sm:hover { border-color: var(--accent); color: var(--text); }
.chip-sm.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 600;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  padding: 24px 0 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-highlight { animation: cardPulse 1.6s ease; }
@keyframes cardPulse {
  0%, 100% { box-shadow: var(--shadow); }
  20%, 60% { box-shadow: 0 0 0 3px var(--accent), var(--shadow-lg); }
}

.card-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--accent-soft);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.media-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.92);
}
.media-fallback svg { width: 34%; opacity: .9; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(43,36,29,.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .03em;
}
.badge.sold { background: var(--danger); }
.badge.discount { left: auto; right: 10px; background: var(--accent); }

.card-body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.card-brand {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.card-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}
.card-like {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  min-height: 1.1em;
}
.card-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card-price { display: flex; flex-direction: column; }
.price-usd { font-weight: 700; font-size: 1rem; }
.price-try { font-size: 0.72rem; color: var(--text-muted); }

.add-btn {
  border: none;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease;
}
.add-btn:hover { background: var(--accent); color: #fff; }
.add-btn.sold-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

.scroll-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 0 40px;
}
.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .3;
  animation: loading-pulse 1s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: .15s; }
.loading-dot:nth-child(3) { animation-delay: .3s; }
@keyframes loading-pulse {
  0%, 80%, 100% { opacity: .3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent-soft);
  padding: 34px 0;
  margin-top: 10px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 1.3rem; }
.cta-inner p { color: var(--text-muted); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2A2029;
  color: #DACDD3;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 40px 20px 24px;
}
.footer-col h3 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 10px;
}
.footer-col p { font-size: 0.84rem; color: #AC9CA4; margin-bottom: 6px; }
.footer-col a { color: #E0A2B4; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .disclaimer { color: #8A7A82; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 20px;
  font-size: 0.76rem;
  color: #8A7A82;
  text-align: center;
}

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 24, 18, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 50;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 100%);
  background: var(--bg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,.12);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 1.1rem; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-empty { color: var(--text-muted); text-align: center; padding: 30px 0; }

.cart-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.cart-item-thumb {
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.cart-item-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info .name { font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info .brand { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-control button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
.qty-control span { font-size: 0.82rem; min-width: 14px; text-align: center; }
.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}
.remove-btn:hover { color: var(--danger); }

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--text-muted); }
.field select, .field textarea, .field input {
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.86rem;
  color: var(--text);
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.field select:invalid, .field input.is-invalid { border-color: var(--danger); }
.field-row { display: flex; gap: 8px; }
.field-row .field { flex: 1; min-width: 0; }
.field-error { font-size: 0.72rem; color: var(--danger); margin-top: -6px; }
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  padding-top: 4px;
}
.cart-hint { font-size: 0.72rem; color: var(--text-muted); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 80;
  max-width: 90vw;
  text-align: center;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Scent quiz modal ---------- */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  width: min(420px, 90vw);
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
  box-shadow: var(--shadow-lg);
}
.modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; top: 10px; right: 10px; }
.quiz-step h3 { font-size: 1.1rem; margin-bottom: 14px; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-options button {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.quiz-options button:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-result { text-align: center; }
.quiz-result .emoji { font-size: 2.4rem; margin-bottom: 6px; }
.quiz-result h3 { margin-bottom: 6px; }
.quiz-result p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.88rem; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,.6);
  z-index: 40;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px -4px rgba(37,211,102,.75);
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(37,211,102,.6); }
  50% { box-shadow: 0 8px 24px -6px rgba(37,211,102,.9), 0 0 0 8px rgba(37,211,102,.15); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(43,36,29,.4);
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--accent-dark); }
.back-to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .header-inner { justify-content: space-between; }
  .search-box { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .toolbar-row { flex-direction: column; align-items: stretch; }
  .toolbar-actions { justify-content: space-between; }
  .wa-float { width: 48px; height: 48px; left: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
  .back-to-top { width: 42px; height: 42px; right: 14px; bottom: 14px; }
}
