/* ============ Zasspa — tema morado moderno ============ */
:root {
  --purple-900: #2e1065;
  --purple-800: #3b1a86;
  --purple-700: #5b21b6;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --purple-200: #ddd6fe;
  --purple-100: #ede9fe;
  --purple-50:  #f6f3ff;
  --ink: #221833;
  --ink-soft: #5d5470;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(46, 16, 101, 0.10);
  --shadow-lg: 0 24px 60px rgba(46, 16, 101, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--purple-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
button, .btn, a, .mobile-menu-link, .chip, .page-btn, .add-btn, .chatbot-launcher, .product-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  padding: 0.85rem 1.8rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple-600); color: var(--white); box-shadow: 0 8px 20px rgba(124, 58, 237, .35); }
.btn-primary:hover { background: var(--purple-700); }
.btn-dark { background: var(--purple-900); color: var(--white); }
.btn-dark:hover { background: var(--purple-800); }
.btn-light { background: var(--white); color: var(--purple-700); }
.btn-outline { background: transparent; color: var(--purple-700); border: 2px solid var(--purple-600); }
.btn-outline:hover { background: var(--purple-600); color: var(--white); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 0.95rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.78rem; }
.btn-block { width: 100%; }
.text-link { color: var(--purple-600); font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.center { text-align: center; margin-top: 2rem; }

/* ---------- Barra de anuncios ---------- */
.announcement-bar {
  background: var(--purple-900);
  color: var(--purple-100);
  font-size: 0.8rem;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-flex;
  gap: 4rem;
  padding: 0.55rem 0;
  animation: marquee 28s linear infinite;
}
.announcement-track span { padding-left: 4rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  isolation: isolate;
  background: rgba(246, 243, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--purple-200);
}
.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
}
.nav-left { display: flex; gap: 1.4rem; align-items: center; }
.nav-right { display: flex; gap: 1.4rem; align-items: center; justify-content: flex-end; }
.nav-link {
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover { color: var(--purple-600); border-color: var(--purple-600); }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(124, 58, 237, .35);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--purple-900);
  letter-spacing: -0.02em;
}

.cart-button { position: relative; }
.cart-count {
  position: absolute;
  top: -6px; right: -10px;
  background: var(--purple-600);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
}

/* ---------- Mega menú ---------- */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--purple-200);
  box-shadow: var(--shadow-lg);
  z-index: 70;
}
.mega-menu.open { display: block; }
.mega-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.mega-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-600);
  margin-bottom: 0.8rem;
}
.mega-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.mega-col a:hover { color: var(--purple-600); }
.mega-quiz-link {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 0.6rem;
  padding: 0.6rem 0 0.3rem !important;
  border: none;
  border-top: 1px dashed var(--purple-200);
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-700) !important;
  cursor: pointer;
}
.mega-quiz-link:hover { color: var(--purple-600) !important; }
.mega-feature-card.js-open-quiz { cursor: pointer; }
.mega-feature-card.js-open-quiz:hover { filter: brightness(1.05); }
.footer-link-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.25rem 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: inherit;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--white); }

/* Menú hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: none;
  background: var(--purple-100);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--purple-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(34, 24, 51, 0.45);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--white);
  z-index: 58;
  padding: 5.5rem 1.4rem 2rem;
  flex-direction: column;
  gap: 0.2rem;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.9rem 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  border: none;
  background: none;
  border-bottom: 1px solid var(--purple-100);
  font-family: inherit;
}
.mobile-menu-link:hover { color: var(--purple-600); }

body.menu-open { overflow: hidden; }
.mega-feature-card {
  width: 100%;
  border: none;
  text-align: left;
  font-family: inherit;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  cursor: pointer;
}
.mega-feature-badge {
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mega-feature-title { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.mega-feature-cta {
  display: inline-block;
  background: var(--white);
  color: var(--purple-700);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--purple-200) 0%, var(--purple-100) 45%, var(--purple-50) 100%);
  padding: 7rem 1.5rem 9rem;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob-1 { width: 420px; height: 420px; background: var(--purple-400); top: -120px; left: -100px; }
.blob-2 { width: 360px; height: 360px; background: var(--purple-300); bottom: -80px; right: -60px; }
.blob-3 { width: 260px; height: 260px; background: #d8b4fe; top: 30%; right: 18%; }
.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; }
.hero-content { position: relative; max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-700);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--purple-900);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}
.hero-footnote { margin-top: 1.4rem; font-size: 0.75rem; color: var(--ink-soft); }

/* ---------- Secciones ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--purple-900);
  letter-spacing: -0.01em;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
}

/* ---------- Filtros ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1.5px solid var(--purple-300);
  background: var(--white);
  color: var(--purple-700);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--purple-600); }
.chip.active { background: var(--purple-600); border-color: var(--purple-600); color: var(--white); }
.products-count { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.6rem; }

/* ---------- Productos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--purple-900);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.product-badge.badge-new { background: var(--purple-500); }
.product-visual {
  aspect-ratio: 1 / 0.85;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background: linear-gradient(160deg, #ffffff 65%, var(--purple-100));
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .25s ease;
}
.product-card:hover .product-visual img { transform: scale(1.06) rotate(-2deg); }
.product-info { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple-500); }
.product-name { font-size: 0.95rem; font-weight: 600; line-height: 1.35; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.product-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--purple-900); }
.product-shipping { font-size: 0.7rem; font-weight: 700; color: var(--purple-600); }
.add-btn {
  border: none;
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all .15s ease;
}
.add-btn:hover { background: var(--purple-600); color: var(--white); }

/* ---------- Banner claim ---------- */
.claim-banner {
  background: linear-gradient(120deg, var(--purple-800), var(--purple-600));
  color: var(--white);
  text-align: center;
  padding: 5.5rem 1.5rem;
}
.claim-banner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  max-width: 880px;
  margin: 0 auto 2.2rem;
  line-height: 1.25;
}
.claim-banner .btn-dark { background: var(--white); color: var(--purple-800); }
.claim-banner .btn-dark:hover { background: var(--purple-100); }
.claim-footnote { margin-top: 1.6rem; font-size: 0.75rem; opacity: 0.75; }

/* ---------- Quiz ---------- */
.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
}
.quiz-text { padding: 3.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; justify-content: center; }
.quiz-text h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--purple-900); }
.quiz-text p { color: var(--ink-soft); }
.tag {
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}
.quiz-visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.quiz-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Testimonios ---------- */
.testimonials { text-align: center; }
.testimonials .section-title { margin-bottom: 2.4rem; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial.featured { background: var(--purple-900); color: var(--white); }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.5;
  flex: 1;
}
.testimonial figcaption { font-weight: 700; font-size: 0.85rem; color: var(--purple-500); }
.testimonial.featured figcaption { color: var(--purple-300); }

/* ---------- Guía ---------- */
.guide-section .section-title { margin-bottom: 2.4rem; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.guide-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}
.guide-card:hover { transform: translateY(-4px); }
.guide-img {
  height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.3rem;
  position: relative;
  overflow: hidden;
}
.guide-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.guide-card:hover .guide-img img { transform: scale(1.05); }
.guide-img span { position: relative; z-index: 1; }
.guide-img span {
  background: rgba(255,255,255,.85);
  color: var(--purple-800);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}
.grad-1 { background: linear-gradient(135deg, #7c3aed, #c4b5fd); }
.grad-2 { background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.grad-3 { background: linear-gradient(135deg, #a78bfa, #ede9fe); }
.guide-card h3 { font-family: var(--font-display); font-size: 1.2rem; padding: 1.2rem 1.3rem 0.4rem; color: var(--purple-900); }
.guide-card p { padding: 0 1.3rem; color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.guide-card .text-link { padding: 1rem 1.3rem 1.4rem; font-size: 0.88rem; }

/* ---------- Info ---------- */
.info-section { background: var(--white); max-width: none; }
.info-inner { max-width: 1240px; margin: 0 auto; }
.info-inner .section-title { margin-bottom: 1.4rem; }
.info-inner > p { max-width: 860px; color: var(--ink-soft); margin-bottom: 1rem; }
.info-cards {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.info-card {
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.info-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--purple-600);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.info-card h3 { font-family: var(--font-display); color: var(--purple-900); margin-bottom: 0.5rem; }
.info-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-section .section-title { margin-bottom: 2rem; text-align: center; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 3.2rem 1.2rem 1.5rem;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--purple-600);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Nosotros ---------- */
.about-card {
  background: var(--purple-900);
  border-radius: var(--radius-lg);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  overflow: hidden;
}
.about-visual { display: grid; place-items: center; padding: 3rem; background: radial-gradient(circle at 30% 30%, var(--purple-700), var(--purple-900)); }
.about-circle {
  width: 190px; height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-300));
  display: grid; place-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.about-z { font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: var(--white); }
.about-text { padding: 3.5rem; display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; justify-content: center; }
.about-text h2 { font-family: var(--font-display); font-size: 2.2rem; }
.about-text p { color: var(--purple-200); }

/* ---------- Ventajas ---------- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  text-align: center;
}
.perk { padding: 1.5rem 1rem; }
.perk-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.perk h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--purple-900); }
.perk p { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--purple-600), var(--purple-400));
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.5rem;
}
.newsletter h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
.newsletter p { opacity: 0.9; margin-bottom: 1.8rem; }
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
  font-family: inherit;
}
.newsletter-form input:focus { outline: 3px solid var(--purple-900); }
.newsletter-ok { margin-top: 1.2rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-900); color: var(--purple-200); padding: 4rem 1.5rem 2rem; }
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col a { display: block; padding: 0.25rem 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-phone { font-weight: 600; color: var(--white); }
.logo-footer .logo-text { color: var(--white); }
.footer-bottom {
  max-width: 1240px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--purple-800);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
}

/* ---------- Carrito ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(34, 24, 51, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--purple-100);
}
.cart-head h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--purple-900); }
.cart-close { background: none; border: none; font-size: 1.1rem; color: var(--ink-soft); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart-empty { text-align: center; color: var(--ink-soft); margin-top: 3rem; line-height: 2; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--purple-100);
}
.cart-item-visual {
  width: 56px; height: 56px;
  background: #ffffff;
  border: 1px solid var(--purple-100);
  border-radius: 12px;
  display: grid; place-items: center;
  overflow: hidden;
}
.cart-item-visual img { width: 90%; height: 90%; object-fit: contain; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.cart-item-price { font-size: 0.8rem; color: var(--ink-soft); }
.cart-qty { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.3rem; }
.cart-qty button {
  width: 22px; height: 22px;
  border: 1px solid var(--purple-300);
  background: var(--white);
  border-radius: 6px;
  color: var(--purple-700);
  font-weight: 700;
  line-height: 1;
}
.cart-qty span { font-size: 0.85rem; font-weight: 600; min-width: 16px; text-align: center; }
.cart-item-total { font-weight: 700; font-size: 0.9rem; color: var(--purple-900); }
.cart-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 6px;
  margin-left: 0.3rem;
  transition: all .15s ease;
}
.cart-remove:hover { color: #dc2626; background: #fee2e2; }
.cart-remove svg { pointer-events: none; }
.cart-foot { padding: 1.2rem 1.5rem 1.6rem; border-top: 1px solid var(--purple-100); }
.cart-shipping { font-size: 0.8rem; color: var(--purple-600); font-weight: 600; margin-bottom: 0.8rem; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.cart-total-row strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--purple-900); }

/* ---------- Paginación ---------- */
.pagination {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.8rem;
  border: 1.5px solid var(--purple-300);
  background: var(--white);
  color: var(--purple-700);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all .15s ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--purple-600); background: var(--purple-100); }
.page-btn.active { background: var(--purple-600); border-color: var(--purple-600); color: var(--white); }
.page-btn:disabled { opacity: 0.4; cursor: default; }
.page-dots { color: var(--ink-soft); padding: 0 0.2rem; }
.page-info { width: 100%; text-align: center; font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- Ofertas ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}
.offer-card {
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: var(--shadow);
}
.offer-promo { background: linear-gradient(120deg, var(--purple-800), var(--purple-600)); color: var(--white); }
.offer-sub { background: var(--white); color: var(--ink); border: 2px dashed var(--purple-400); }
.offer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  background: rgba(255,255,255,.2);
}
.offer-sub .offer-badge { background: var(--purple-100); color: var(--purple-700); }
.offer-card h3 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; }
.offer-promo p { color: var(--purple-200); }
.offer-sub p { color: var(--ink-soft); }
.offer-card .btn { margin-top: 0.4rem; }

/* ---------- Packs ---------- */
.packs-sub { color: var(--ink-soft); margin: 0.4rem 0 2rem; }
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}
.pack-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pack-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pack-discount {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--purple-600);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
}
.pack-head h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--purple-900); margin-bottom: 0.4rem; padding-right: 3.4rem; }
.pack-head p { font-size: 0.88rem; color: var(--ink-soft); }
.pack-thumbs { display: flex; gap: 0.6rem; }
.pack-thumb {
  flex: 1;
  aspect-ratio: 1;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  cursor: pointer;
  transition: border-color .15s ease;
}
.pack-thumb:hover { border-color: var(--purple-400); }
.pack-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pack-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.pack-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--purple-100);
  padding-bottom: 0.35rem;
}
.pack-item-price { white-space: nowrap; }
.pack-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.pack-prices { display: flex; flex-direction: column; }
.price-old { text-decoration: line-through; color: var(--ink-soft); font-size: 0.82rem; }
.pack-price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--purple-900); }

/* ---------- Modales ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 24, 51, 0.55);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 120;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 0.95rem;
  font-weight: 700;
}
.modal-close:hover { background: var(--purple-600); color: var(--white); }

/* Ficha de producto */
.product-modal-grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.product-modal-visual {
  background: linear-gradient(160deg, #ffffff 65%, var(--purple-100));
  display: grid;
  place-items: center;
  padding: 2.4rem;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.product-modal-visual img { max-height: 360px; object-fit: contain; mix-blend-mode: multiply; }
.product-modal-info { padding: 2.6rem 2.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.product-modal-info h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--purple-900); line-height: 1.25; }
.product-modal-desc { color: var(--ink-soft); font-size: 0.93rem; }
.product-modal-perks { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: var(--purple-700); font-weight: 600; }

.plan-options { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.3rem; }
.plan-title { font-weight: 700; font-size: 0.85rem; }
.plan-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px solid var(--purple-200);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  transition: all .15s ease;
  font-size: 0.88rem;
}
.plan-option:hover { border-color: var(--purple-400); }
.plan-option.selected { border-color: var(--purple-600); background: var(--purple-50); }
.plan-option input { accent-color: var(--purple-600); }
.plan-label { flex: 1; font-weight: 600; }
.plan-price { font-weight: 700; color: var(--purple-900); }
.plan-price em { font-style: normal; font-size: 0.75rem; color: var(--purple-600); }

.product-modal-buy { display: flex; gap: 0.8rem; align-items: center; margin-top: 0.5rem; }
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1.5px solid var(--purple-300);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}
.qty-stepper button {
  border: none;
  background: none;
  color: var(--purple-700);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.qty-stepper span { min-width: 18px; text-align: center; font-weight: 700; }
.product-modal-buy .btn { flex: 1; }

/* Carrito: plan y promo */
.cart-item-plan { font-size: 0.74rem; font-weight: 700; color: var(--purple-600); }
.cart-item-promo { font-size: 0.74rem; font-weight: 700; color: #0d9488; }

/* Test de piscina */
.quiz-modal { max-width: 640px; padding: 2.6rem 2.4rem; }
.quiz-progress { height: 6px; background: var(--purple-100); border-radius: 999px; overflow: hidden; margin-bottom: 1.2rem; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--purple-600), var(--purple-400)); border-radius: 999px; transition: width .3s ease; }
.quiz-step-count { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple-600); margin-bottom: 0.4rem; }
.quiz-question { font-family: var(--font-display); font-size: 1.6rem; color: var(--purple-900); margin-bottom: 1.4rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.6rem; }
.quiz-option {
  text-align: left;
  border: 1.5px solid var(--purple-200);
  background: var(--white);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all .15s ease;
}
.quiz-option:hover { border-color: var(--purple-600); background: var(--purple-50); transform: translateX(4px); }
.quiz-results { display: flex; flex-direction: column; gap: 0.7rem; }
.quiz-result-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--purple-100);
  border-radius: 14px;
  padding: 0.7rem;
}
.quiz-result-img {
  width: 76px; height: 76px;
  background: var(--purple-50);
  border-radius: 10px;
  display: grid; place-items: center;
  padding: 0.4rem;
  cursor: pointer;
}
.quiz-result-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.quiz-result-name { font-size: 0.88rem; font-weight: 600; line-height: 1.3; margin: 0.15rem 0 0.35rem; }
.quiz-result-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.quiz-actions { display: flex; gap: 0.7rem; justify-content: flex-end; margin-top: 1.4rem; flex-wrap: wrap; }

/* Artículos de la guía */
.guide-card { cursor: pointer; }
.guide-card .text-link { padding: 1rem 1.3rem 1.4rem; font-size: 0.88rem; display: block; }
.article-modal { max-width: 760px; }
.article-hero {
  height: 230px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 2.4rem;
  position: relative;
  overflow: hidden;
}
.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero span { position: relative; z-index: 1; }
.article-credit {
  font-size: 0.68rem;
  color: var(--ink-soft);
  opacity: 0.75;
  margin-bottom: 0.8rem;
}
.article-hero span {
  background: rgba(255,255,255,.85);
  color: var(--purple-800);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}
.article-body { padding: 2rem 2.4rem 2.6rem; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--purple-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-intro {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
  border-left: 4px solid var(--purple-400);
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--purple-800);
  margin: 1.6rem 0 0.6rem;
}
.article-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.7rem; }
.article-body ul {
  margin: 0.4rem 0 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.article-body li::marker { color: var(--purple-500); }
.article-related {
  margin-top: 2rem;
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.article-related h3 { margin-top: 0; }
.article-related .quiz-results { margin-top: 0.8rem; }
.article-related .quiz-result-card { background: var(--white); }

/* Detalle de pack */
.pack-modal { max-width: 640px; }
.pack-modal-body { padding: 2.6rem 2.4rem; }
.pack-modal-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--purple-900);
  margin: 0.8rem 0 0.5rem;
}
.pack-modal-desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.2rem; }
.pack-modal-count { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.7rem; }
.pack-modal-summary {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--purple-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pack-modal-totals { display: flex; flex-direction: column; }
.pack-summary-line { font-size: 0.82rem; color: var(--ink-soft); }
.pack-summary-save { color: #0d9488; font-weight: 700; }
.pack-modal-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--purple-900);
}

@media (max-width: 720px) {
  .pack-modal-body { padding: 1.8rem 1.4rem; }
  .article-body { padding: 1.6rem 1.3rem 2rem; }
  .article-hero { padding: 1rem 1.3rem; height: 120px; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-visual { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 1.6rem; }
  .product-modal-visual img { max-height: 220px; }
  .product-modal-info { padding: 1.8rem 1.4rem; }
  .quiz-modal { padding: 2rem 1.4rem; }
}

/* ---------- Chatbot ---------- */
.chatbot {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  /* La ventana cerrada ocupa ~460px: sin esto bloquea toques en móvil */
  pointer-events: none;
}
.chatbot-launcher {
  pointer-events: auto;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(124, 58, 237, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chatbot-launcher:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(124, 58, 237, .55); }
.chatbot-launcher .ico-close { display: none; font-size: 1.2rem; font-weight: 700; }
.chatbot.open .chatbot-launcher .ico-chat { display: none; }
.chatbot.open .chatbot-launcher .ico-close { display: block; }

.chatbot-window {
  width: min(360px, calc(100vw - 44px));
  height: 480px;
  max-height: calc(100vh - 130px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chatbot.open { pointer-events: auto; }
.chatbot.open .chatbot-window { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chatbot-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(120deg, var(--purple-700), var(--purple-500));
  color: var(--white);
}
.chatbot-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.chatbot-title { font-weight: 700; font-size: 0.95rem; }
.chatbot-status { font-size: 0.72rem; opacity: 0.85; display: flex; align-items: center; gap: 0.35rem; }
.chatbot-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.chatbot-minimize {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.8;
  padding: 0.2rem 0.5rem;
}
.chatbot-minimize:hover { opacity: 1; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--purple-50);
}
.chatbot-msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
}
.chatbot-msg.bot {
  background: var(--white);
  border: 1px solid var(--purple-100);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chatbot-msg.user {
  background: var(--purple-600);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chatbot-chip {
  border: 1.5px solid var(--purple-300);
  background: var(--white);
  color: var(--purple-700);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 600;
  transition: all .15s ease;
}
.chatbot-chip:hover { background: var(--purple-600); border-color: var(--purple-600); color: var(--white); }

.chatbot-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: 1px solid var(--purple-100);
  background: var(--white);
}
.chatbot-input input {
  flex: 1;
  border: 1.5px solid var(--purple-200);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  font-family: inherit;
}
.chatbot-input input:focus { outline: none; border-color: var(--purple-500); }
.chatbot-input button {
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.chatbot-input button:hover { background: var(--purple-700); }

@media (max-width: 560px) {
  .chatbot { bottom: 14px; right: 14px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--purple-900);
  color: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: all .3s ease;
  z-index: 110;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mega-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none !important; }
  .nav-item.has-mega { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
  }
  .nav-left { gap: 0; }
  .logo { justify-self: center; }
  .nav-right { gap: 0.5rem; }

  .mega-menu {
    position: fixed;
    top: var(--header-h, 64px);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h, 64px));
    overflow-y: auto;
    z-index: 59;
  }
  .mega-inner {
    grid-template-columns: 1fr 1fr;
    padding: 1.2rem 1rem;
    gap: 1rem;
  }
  .mega-feature { grid-column: 1 / -1; }

  .hero { padding: 4.5rem 1.2rem 6rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .claim-banner { padding: 3.5rem 1.2rem; }

  .quiz-card, .about-card { grid-template-columns: 1fr; }
  .quiz-visual { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .filter-chips {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .product-info { padding: 0.9rem; }
  .product-name { font-size: 0.82rem; }
  .add-btn { padding: 0.45rem 0.8rem; font-size: 0.72rem; }

  .packs-grid, .offers-grid, .guide-grid, .testimonial-grid, .perks-grid {
    grid-template-columns: 1fr;
  }
  .pack-foot { flex-direction: column; align-items: stretch; }
  .pack-foot .btn { width: 100%; }

  .cart-drawer { width: 100vw; max-width: 100vw; }
  .modal { max-height: 95vh; border-radius: 16px; }
  .product-modal-grid { grid-template-columns: 1fr; }

  .pagination { gap: 0.3rem; }
  .page-btn { min-width: 34px; height: 34px; font-size: 0.78rem; padding: 0 0.5rem; }
  .page-nav { font-size: 0.75rem; }

  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input, .newsletter-form .btn { width: 100%; }

  .chatbot { bottom: 16px; right: 16px; }
  .chatbot-window { height: min(460px, calc(100vh - 100px)); }
  .toast { bottom: 80px; max-width: calc(100vw - 32px); text-align: center; }
}

@media (max-width: 560px) {
  .main-nav { padding: 0.55rem 0.8rem; }
  .logo-mark { width: 34px; height: 34px; font-size: 1.1rem; }
  .logo-text { font-size: 1.2rem; }

  .announcement-track { font-size: 0.72rem; }
  .section { padding: 2.5rem 0.9rem; }
  .section-title { font-size: 1.55rem; }

  .hero { padding: 3.5rem 1rem 5rem; }
  .hero .btn-lg { width: 100%; }

  .mega-inner { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 100%; }

  .quiz-text, .about-text { padding: 1.8rem 1.2rem; }
  .quiz-text h2, .about-text h2 { font-size: 1.65rem; }
  .quiz-text .btn, .about-text .btn { width: 100%; }

  .product-modal-info { padding: 1.4rem 1rem; }
  .product-modal-buy { flex-direction: column; align-items: stretch; }
  .product-modal-buy .btn { width: 100%; }

  .quiz-result-card { grid-template-columns: 64px 1fr; }
  .quiz-result-meta { flex-wrap: wrap; gap: 0.4rem; }

  .cart-item { grid-template-columns: 48px 1fr; }
  .cart-item-total { grid-column: 2; text-align: right; font-size: 0.85rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .offer-card { padding: 2rem 1.4rem; }
  .offer-card .btn { width: 100%; }

  .article-body { padding: 1.4rem 1rem 2rem; }
  .article-body h2 { font-size: 1.45rem; }
  .article-hero { height: 160px; }

  .pack-modal-body, .quiz-modal { padding: 1.6rem 1rem; }
  .pack-modal-summary { flex-direction: column; align-items: stretch; }
  .pack-modal-summary .btn { width: 100%; }

  .quiz-actions { flex-direction: column; }
  .quiz-actions .btn { width: 100%; }
}
