/* =========================================================
   Sex Tienda Perú - Tienda virtual
   Paleta tomada del logo: rosado #ff68c0 · celeste #38b8ff
   Estructura: variables · base · topbar · header · slider ·
   accesos · secciones/productos · promos · categorías ·
   beneficios · newsletter · footer · whatsapp · carrito ·
   buscador · aviso +18 · toast · responsive
   ========================================================= */

:root {
  /* Rosado (color principal del logo) */
  --pink: #ff68c0;
  --primary: #e8409a;        /* rosado más intenso para botones (mejor lectura) */
  --primary-dark: #c92a80;
  --primary-soft: #ffe8f5;
  /* Celeste (segundo color del logo) */
  --blue: #38b8ff;
  --blue-dark: #1494dc;
  --blue-soft: #e4f5ff;

  --text: #2a1f33;
  --muted: #7a6f82;
  --bg: #fdf7fb;
  --card: #ffffff;
  --line: #f1e4ee;
  --danger: #e5484d;
  --success: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(120, 40, 90, .07);
  --shadow-lg: 0 18px 40px rgba(120, 40, 90, .16);
  --header-h: 76px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 30px;
  font-size: 14px; font-weight: 600; letter-spacing: .2px;
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(232, 64, 154, .3); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--blue { background: var(--blue-dark); color: #fff; box-shadow: 0 8px 18px rgba(20, 148, 220, .3); }
.btn--blue:hover { background: #0b7fc2; transform: translateY(-1px); }
.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--danger); }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); }

/* ---------- Topbar ---------- */
.topbar { background: linear-gradient(90deg, var(--pink), var(--blue)); color: #fff; font-size: 12px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links li { display: flex; align-items: center; gap: 6px; }
.topbar__links a:hover { text-decoration: underline; }
.topbar__links svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(120, 40, 90, .1); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header__burger { display: none; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 24px; font-weight: 700; letter-spacing: -.5px; color: var(--blue-dark); }
.logo__name b { color: var(--pink); font-weight: 700; }
.logo small { margin-top: 3px; font-size: 11px; color: var(--muted); letter-spacing: .2px; }

.nav { margin: 0 auto; }
.nav__head { display: none; }
.nav__list { display: flex; gap: 8px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: color .2s;
}
.nav__link:hover { color: var(--primary); }
.chev { width: 14px; height: 14px; transition: transform .2s; }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  padding: 8px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover .chev { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 4px; }
.cart-btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 24px; transition: background .2s; }
.cart-btn:hover { background: var(--primary-soft); }
.cart-btn__icon { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.cart-btn__count {
  position: absolute; top: -6px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-btn__count.bump { animation: bump .4s ease; }
.cart-btn__total { font-size: 14px; font-weight: 600; }
@keyframes bump { 50% { transform: scale(1.35); } }

.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(42, 31, 51, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.overlay.is-visible { opacity: 1; visibility: visible; }

/* ---------- Slider ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 104, 192, .18), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(56, 184, 255, .2), transparent 42%),
    linear-gradient(135deg, #fff0f8 0%, #eef8ff 100%);
}
.hero__inner { position: relative; padding-top: 24px; padding-bottom: 24px; }
.hero__slides {
  position: relative; overflow: hidden;
  aspect-ratio: 1170 / 500;
  border-radius: 20px; background: #111;
  box-shadow: 0 20px 40px rgba(120, 40, 90, .18);
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: scale(1.03);
  transition: opacity .7s ease, transform 1.2s ease, visibility .7s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--text); box-shadow: var(--shadow);
  transition: background .2s, color .2s;
}
.hero__arrow:hover { background: var(--primary); color: #fff; }
.hero__arrow--prev { left: 32px; }
.hero__arrow--next { right: 32px; }
.hero__dots { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button {
  width: 10px; height: 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .6); transition: all .3s;
}
.hero__dots button.is-active { background: var(--pink); width: 28px; }

/* ---------- Accesos rápidos ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.feature {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature strong { display: block; font-size: 16px; font-weight: 600; }
.feature small { color: var(--primary); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; }
.feature__icon svg { width: 22px; height: 22px; }
.feature__icon--pink { background: linear-gradient(135deg, #ff9bd6, var(--primary)); }
.feature__icon--blue { background: linear-gradient(135deg, #7fd3ff, var(--blue-dark)); }

/* ---------- Secciones ---------- */
.section { margin-top: 44px; }
.section__grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; }
.section__main { min-width: 0; }
.section__head { display: flex; align-items: center; gap: 12px 20px; margin-bottom: 16px; flex-wrap: wrap; }
.section__head h2 { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.link-more { color: var(--primary); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.link-more:hover { text-decoration: underline; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 6px 14px; border-radius: 20px; white-space: nowrap;
  font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line);
  transition: all .2s;
}
.tab:hover { color: var(--primary); border-color: var(--pink); }
.tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.arrows { display: flex; gap: 6px; margin-left: auto; }
.arrow {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: all .2s;
}
.arrow svg { width: 16px; height: 16px; }
.arrow:hover { background: var(--primary); color: #fff; }

/* Carrusel (scroll horizontal con snap) */
.track {
  --cols: 4;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * 16px) / var(--cols));
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 2px 12px;
}
.track::-webkit-scrollbar { display: none; }
.track--3 { --cols: 3; }
.track > * { scroll-snap-align: start; }
.track__empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--radius); }

/* ---------- Tarjeta de producto ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 14px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  animation: fadeUp .45s ease both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 3px 9px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #fff;
}
.badge--hot { background: var(--primary); }
.badge--new { background: var(--blue-dark); }
.badge--top { background: #8b5cf6; }
.badge--sale { background: var(--danger); }

.card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--text); transition: all .2s;
}
.card__fav svg { width: 18px; height: 18px; }
.card__fav:hover { background: var(--primary-soft); color: var(--primary); }
.card__fav.is-active { color: var(--primary); }
.card__fav.is-active svg { fill: var(--primary); }

.card__img { display: grid; place-items: center; aspect-ratio: 1 / 1; margin: 8px 0 12px; overflow: hidden; border-radius: 12px; background: #fff; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card__img img { transform: scale(1.06); }

.card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.card__rating svg { width: 13px; height: 13px; fill: #fbbf24; stroke: #fbbf24; }
.card__cat { margin-left: auto; color: var(--blue-dark); font-weight: 500; }
.card__title {
  margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__sub { margin-top: 2px; font-size: 12px; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.card__price strong { font-size: 18px; font-weight: 600; color: var(--primary-dark); }
.card__price del { display: block; font-size: 12px; color: #a99fb0; line-height: 1; }
.card__add {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary); transition: all .2s; flex-shrink: 0;
}
.card__add svg { width: 18px; height: 18px; }
.card__add:hover { background: var(--primary); color: #fff; }
.card__add.added { background: var(--success); color: #fff; }

/* ---------- Banners promocionales ---------- */
.promo {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 22px 0; border-radius: var(--radius); color: var(--text);
  background: linear-gradient(165deg, #ffe3f3 0%, #ffd0ea 55%, #ffc2e3 100%);
  min-height: 100%;
}
.promo--blue { background: linear-gradient(165deg, #e3f5ff 0%, #c9ecff 55%, #b4e3ff 100%); }
.promo h3 { font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.5px; }
.promo__sub { margin-top: 8px; font-size: 13px; color: var(--muted); }
.promo__from { margin-top: 16px; font-size: 13px; color: var(--muted); }
.promo__price { font-size: 32px; font-weight: 700; line-height: 1.1; margin-bottom: 16px; color: var(--primary-dark); }
.promo__price del { font-size: 15px; font-weight: 500; color: #a99fb0; }
.promo .btn { position: relative; z-index: 1; margin-top: 4px; }
.promo img {
  width: 100%; margin-top: auto; padding-top: 16px;
  mix-blend-mode: multiply; pointer-events: none;   /* el fondo blanco de la foto se funde con el banner */
}
.promo__chip {
  align-self: flex-end; margin: -10px -6px 10px 0; padding: 4px 12px; border-radius: 20px;
  background: #fff; color: var(--primary); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.promo--blue .promo__chip { color: var(--blue-dark); }

/* ---------- Categorías ---------- */
.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.category {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 20px 22px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(120deg, #fff 40%, var(--primary-soft) 100%);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.category--blue { background: linear-gradient(120deg, #fff 40%, var(--blue-soft) 100%); }
.category:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.category h3 { font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.category p { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.category img { width: 42%; max-height: 120px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.category:hover img { transform: scale(1.08) rotate(-3deg); }
.chip-btn {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.category--blue .chip-btn { background: var(--blue-dark); }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.benefit img { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.benefit strong { display: block; font-size: 14px; }
.benefit span { font-size: 12px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 48px 0 56px; padding: 32px 36px; border-radius: var(--radius);
  background: linear-gradient(110deg, var(--primary) 0%, var(--pink) 45%, var(--blue) 100%); color: #fff;
}
.newsletter h2 { font-size: 24px; font-weight: 600; }
.newsletter p { opacity: .95; font-size: 14px; }
.newsletter__form { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: 260px; }
.newsletter__form input {
  flex: 1; min-width: 0; padding: 12px 18px; border: 0; border-radius: 30px; outline: none; color: var(--text);
}

/* ---------- Footer ---------- */
.footer { background: #241a2c; color: #d9cfe0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 52px; padding-bottom: 40px; }
.footer__brand p { margin: 14px 0 18px; color: #a99fb0; max-width: 330px; }
.logo--light .logo__name { color: var(--blue); }
.logo--light small { color: #a99fb0; }
.footer h4 { margin-bottom: 14px; color: #fff; font-size: 15px; font-weight: 600; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: var(--pink); }
.footer__contact li { color: #a99fb0; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #34283e; transition: background .2s; }
.socials a:hover { background: var(--primary); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.payments span { padding: 4px 9px; border-radius: 5px; background: #34283e; font-size: 11px; font-weight: 600; color: #f1e8f5; }
.footer__bottom { border-top: 1px solid #34283e; padding: 18px 0; font-size: 13px; color: #8a7f92; text-align: center; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Carrito (drawer) ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; flex-direction: column;
  width: 400px; max-width: 100%; background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .35s ease;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 18px; font-weight: 600; }
.drawer__head span { color: var(--muted); font-weight: 400; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__empty { display: grid; place-items: center; height: 100%; text-align: center; color: var(--muted); }
.drawer__empty svg { width: 54px; height: 54px; margin: 0 auto 10px; color: #e6cfe0; stroke-width: 1.4; }

.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; padding: 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.cart-item h4 { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-item__price { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line); border-radius: 20px; }
.qty button { display: grid; place-items: center; width: 28px; height: 28px; }
.qty button:hover { color: var(--primary); }
.qty svg { width: 14px; height: 14px; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__side strong { font-size: 14px; }
.cart-item__remove { color: #b8aebf; }
.cart-item__remove:hover { color: var(--danger); }
.cart-item__remove svg { width: 17px; height: 17px; }

.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer__row { display: flex; justify-content: space-between; font-size: 14px; }
.drawer__row--muted { color: var(--muted); }
.drawer__row--total { margin: 4px 0 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 17px; }

/* ---------- Buscador ---------- */
.search {
  position: fixed; inset: 0; z-index: 110;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 80px 16px 16px; background: rgba(42, 31, 51, .55);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__box { width: 100%; max-width: 640px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-12px); transition: transform .25s; }
.search.is-open .search__box { transform: none; }
.search__field { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.search__field > svg { color: var(--muted); }
.search__field input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: none; font-size: 16px; }
.search__results { max-height: 60vh; overflow-y: auto; }
.search__hint { padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.search-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 18px; transition: background .2s; }
.search-item:hover { background: var(--bg); }
.search-item img { width: 52px; height: 52px; padding: 3px; border-radius: 8px; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.search-item h4 { font-size: 14px; font-weight: 600; }
.search-item p { font-size: 13px; color: var(--muted); }

/* ---------- Aviso +18 ---------- */
.age {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 16px;
  background: rgba(42, 31, 51, .75); backdrop-filter: blur(10px);
}
.age__box {
  width: 100%; max-width: 420px; padding: 32px 28px; border-radius: 20px;
  background: #fff; text-align: center; box-shadow: var(--shadow-lg);
  animation: fadeUp .4s ease both;
}
.age__box img { margin: 0 auto 14px; border-radius: 50%; }
.age__box h2 { font-size: 22px; font-weight: 700; }
.age__box p { margin: 10px 0 22px; font-size: 14px; color: var(--muted); }
.age__actions { display: grid; gap: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 30px;
  background: var(--text); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .section__grid { grid-template-columns: 1fr; }
  .promo { min-height: 240px; padding: 26px 22px; padding-right: 46%; }
  .promo img { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 40%; max-height: 85%; object-fit: contain; padding: 0; margin: 0; }
  .promo__chip { position: absolute; top: 14px; right: 14px; margin: 0; z-index: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header__inner { gap: 8px; }
  .header__burger { display: inline-grid; }
  .logo { margin-right: auto; }
  .logo img { width: 44px; height: 44px; }
  .logo__name { font-size: 21px; }

  .nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    width: 300px; max-width: 85%; margin: 0; padding: 16px;
    background: #fff; overflow-y: auto;
    transform: translateX(-100%); transition: transform .35s ease;
  }
  .nav.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { justify-content: space-between; padding: 12px; font-size: 15px; }
  .dropdown {
    position: static; display: none; min-width: 0; padding: 0 0 6px 12px;
    box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none;
  }
  .has-drop.is-open .dropdown { display: block; }
  .has-drop.is-open .chev { transform: rotate(180deg); }
  .has-drop:hover .chev { transform: none; }
  .has-drop.is-open:hover .chev { transform: rotate(180deg); }

  .hero__arrow { width: 36px; height: 36px; }
  .hero__arrow--prev { left: 24px; }
  .hero__arrow--next { right: 24px; }
  .hero__dots { bottom: 34px; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .track, .track--3 { --cols: 2.3; }
  .categories { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .topbar__links .topbar__hide-sm { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .topbar__welcome { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 14px; font-size: 11px; }
  .header__hide-sm { display: none; }
  .cart-btn__total { display: none; }
  .logo small { display: none; }
  .logo img { width: 40px; height: 40px; }
  .logo__name { font-size: 20px; }

  .hero__inner { padding: 12px 10px 14px; }
  .hero__slides { border-radius: 14px; }
  .hero__arrow { display: none; }
  .hero__dots { bottom: 22px; }
  .hero__dots button { width: 8px; height: 8px; }
  .hero__dots button.is-active { width: 20px; }

  .features { gap: 10px; margin-top: 20px; }
  .feature { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .feature strong { font-size: 14px; }

  .section { margin-top: 36px; }
  .section__head { gap: 10px; }
  .section__head h2 { font-size: 19px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; flex-basis: calc(100% + 32px); }
  .track, .track--3 { --cols: 1.7; gap: 12px; grid-auto-columns: calc((100% - 12px) / 1.7); }
  .card { padding: 10px; }
  .card__price strong { font-size: 16px; }
  .card__add { width: 36px; height: 36px; }

  .promo { padding: 22px 18px; padding-right: 42%; min-height: 230px; }
  .promo h3 { font-size: 22px; }
  .promo__price { font-size: 26px; }

  .category { padding: 18px; }
  .benefits { grid-template-columns: 1fr; }
  .newsletter { padding: 26px 20px; margin: 36px 0 40px; }
  .newsletter__form { flex-direction: column; min-width: 0; max-width: none; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
