/* ============================================================
   STORE STONE PERÚ — Maqueta de tienda (sin base de datos)
   Tema oscuro premium · verde / blanco / negro
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700;1,800&display=swap');

:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-soft: #0b0b10;
  --card: #101016;
  --card-2: #14141b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f5f5f7;
  --muted: #9a9aa8;
  --muted-2: #6f6f7e;
  --brand: #45ff2a;
  --brand-soft: #8dff7a;
  --brand-deep: #0f7a33;
  --brand-mid: #2bd45a;
  --green: #22c55e;
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
  --container: 1240px;
  --shadow-brand: 0 14px 44px rgba(69, 255, 42, .32);
  --shadow-brand-deep: 0 14px 44px rgba(15, 122, 51, .3);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(15, 122, 51, .17), transparent 62%),
    radial-gradient(760px 520px at 6% 18%, rgba(69, 255, 42, .1), transparent 60%),
    radial-gradient(700px 500px at 50% 105%, rgba(15, 122, 51, .1), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: var(--brand); color: #061006; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

[id] { scroll-margin-top: 96px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #08080c; }
::-webkit-scrollbar-thumb { background: #26262f; border-radius: 8px; border: 2px solid #08080c; }
::-webkit-scrollbar-thumb:hover { background: #3a3a47; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Barra de anuncios ---------- */
.announcement {
  position: relative;
  z-index: 60;
  height: 36px;
  overflow: hidden;
  background: linear-gradient(90deg, #031006, #0b5d20 35%, #0f7a33 50%, #0b5d20 65%, #031006);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.announcement__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  height: 100%;
  padding-left: 44px;
  animation: marquee 42s linear infinite;
}

.announcement__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #f2fff0;
  white-space: nowrap;
}

.announcement__track span::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #b8ffab;
  box-shadow: 0 0 10px #8dff7a;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(7, 7, 10, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 10, .94);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }

.logo__mark {
  width: 54px; height: 54px;
  filter: drop-shadow(0 0 14px rgba(69, 255, 42, .55));
}

.logo__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }

.logo__text b {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: .07em;
}

.logo__text small {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .42em;
  color: var(--brand);
}

.nav { display: flex; align-items: center; gap: 34px; }

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease;
}

.nav a:hover, .nav a.active { color: var(--text); }

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.icon-btn:hover {
  color: var(--text);
  border-color: rgba(69, 255, 42, .55);
  background: rgba(69, 255, 42, .08);
  transform: translateY(-1px);
}

.icon-btn svg { width: 16px; height: 16px; }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #061006;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(69, 255, 42, .7);
}

.mobile-toggle { display: none; }

.mobile-nav {
  display: none;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 13, .98);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .25s ease, background .2s, border-color .2s, color .2s;
}

.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(100deg, #8dff7a, var(--brand));
  color: #061006;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover { box-shadow: 0 18px 54px rgba(69, 255, 42, .45); }

.btn--ghost {
  border-color: rgba(69, 255, 42, .55);
  background: rgba(15, 122, 51, .1);
  color: #eaffea;
  box-shadow: inset 0 0 24px rgba(15, 122, 51, .18);
}

.btn--ghost:hover {
  background: rgba(15, 122, 51, .2);
  box-shadow: inset 0 0 30px rgba(15, 122, 51, .3), var(--shadow-brand-deep);
}

.btn--dark {
  background: #17171f;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 44px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 56px;
}

.hero__copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.hero h1 {
  margin: 18px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(50px, 6.8vw, 94px);
  font-weight: 400;
  line-height: .93;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.hero h1 .accent {
  color: var(--brand);
  text-shadow: 0 0 46px rgba(69, 255, 42, .35);
}

.hero__lead {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__meta div { display: flex; flex-direction: column; gap: 2px; }

.hero__meta b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .04em;
}

.hero__meta span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

.hero__media { position: relative; z-index: 2; }

.showcase {
  position: relative;
  padding: 26px 26px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(69, 255, 42, .18), transparent 58%),
    radial-gradient(100% 90% at 90% 100%, rgba(15, 122, 51, .22), transparent 60%),
    linear-gradient(160deg, #16161e, #0a0a0f);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 76%);
}

.showcase__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.showcase__head span:last-child { color: var(--brand); }

.showcase__img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 4px 0 2px;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55));
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(12, 12, 18, .82);
  backdrop-filter: blur(10px);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e7e7ee;
}

.float-chip i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

.float-chip--a { top: 27%; left: 16px; }
.float-chip--b { top: 55%; right: 16px; }

.price-tag {
  position: absolute;
  z-index: 3;
  left: 26px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid rgba(69, 255, 42, .32);
  border-radius: 14px;
  background: rgba(10, 10, 14, .82);
  backdrop-filter: blur(12px);
}

.price-tag small { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.price-tag b { font-size: 24px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.price-tag s { font-size: 11px; color: var(--muted-2); }

.sticker {
  position: absolute;
  z-index: 4;
  top: 78px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  padding: 8px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #8dff7a, #45ff2a, #2bd45a, #8dff7a);
  color: #061006;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(9deg);
  box-shadow: 0 0 30px rgba(69, 255, 42, .45);
}

.sticker span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #0c0c11; color: #d8ffd0; }

.web {
  position: absolute;
  top: -30px; right: -60px;
  width: 420px;
  opacity: .13;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.orb--brand { width: 320px; height: 320px; left: -120px; top: 80px; background: rgba(69, 255, 42, .2); }
.orb--brand-deep { width: 380px; height: 380px; right: -140px; bottom: -80px; background: rgba(15, 122, 51, .22); }

/* ---------- Barra de confianza ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(69, 255, 42, .14), rgba(15, 122, 51, .12));
  color: var(--brand-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.trust-item__icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 auto !important;
  flex-shrink: 0;
}

.trust-item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-item b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.25;
}

/* ---------- Secciones ---------- */
.section { padding: 74px 0; }
.section--tight { padding: 52px 0; }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }

.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--brand), transparent); }

.section-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.section-title em { font-style: italic; color: var(--brand); }

.section-sub { margin: 12px auto 0; max-width: 520px; color: var(--muted); font-size: 13.5px; }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-link svg { width: 14px; height: 14px; transition: transform .2s; }
.section-link:hover svg { transform: translateX(4px); }

/* ---------- Productos ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.products--three { grid-template-columns: repeat(3, 1fr); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #101016, #0c0c11);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 255, 42, .42);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(69, 255, 42, .08);
}

/* Animación de deslizamiento de derecha a izquierda al hacer scroll */
.product-card.slide-reveal {
  opacity: 0;
  transform: translateX(55px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
              transform .7s cubic-bezier(0.16, 1, 0.3, 1),
              border-color .28s ease,
              box-shadow .28s ease;
  will-change: transform, opacity;
}

.product-card.slide-reveal.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.product-card.slide-reveal.is-revealed:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 255, 42, .42);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(69, 255, 42, .08);
}

@media (prefers-reduced-motion: reduce) {
  .product-card.slide-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(110% 100% at 50% 0%, #1e1e29, #0b0b10 70%);
  overflow: hidden;
}

.card-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0;
  filter: brightness(1.12) contrast(1.04);
}

.product-card:hover .card-media img { transform: none; }

.badge {
  position: absolute;
  z-index: 2;
  top: 12px; left: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.badge--new { background: #ffffff; color: #061006; }
.badge--sale { background: var(--brand); color: #061006; }
.badge--out { background: #26262f; color: #8f8f9e; }

.badge--out ~ .card-cta { display: none; }

.card-cta {
  position: absolute;
  z-index: 2;
  left: 50%; bottom: 14px;
  transform: translate(-50%, 10px);
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(10, 10, 14, .78);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
}

.product-card:hover .card-cta { opacity: 1; transform: translate(-50%, 0); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 20px; }

.card-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.card-name {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
  color: #ececf1;
}

.card-name a:hover { color: var(--brand-soft); }

.card-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 14px; }

.card-price b { font-size: 17px; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.card-price s { font-size: 11.5px; color: var(--muted-2); }

.card-add {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  margin-left: auto;
  border: 1px solid rgba(69, 255, 42, .4);
  border-radius: 50%;
  background: rgba(69, 255, 42, .09);
  color: var(--brand);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

.card-add:hover {
  background: var(--brand);
  color: #061006;
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(69, 255, 42, .5);
}

.card-stock { margin-top: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.card-stock.out { color: #9ca3af; }

/* ---------- Banner de oferta ---------- */
.offer {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
  padding: 44px 48px;
  border: 1px solid rgba(69, 255, 42, .3);
  border-radius: 26px;
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(15, 122, 51, .32), transparent 58%),
    radial-gradient(80% 120% at 0% 100%, rgba(69, 255, 42, .16), transparent 55%),
    linear-gradient(120deg, #07130a, #070d08);
  overflow: hidden;
  position: relative;
}

.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 80% 40%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 80% 40%, #000, transparent 70%);
  pointer-events: none;
}

.offer__copy { position: relative; z-index: 1; }

.offer__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--brand);
  color: #061006;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.offer h2 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.offer p { margin: 0 0 20px; max-width: 420px; color: var(--muted); font-size: 13.5px; }

.offer__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.offer__price b { font-size: 34px; font-weight: 800; color: var(--brand); }
.offer__price s { font-size: 15px; color: var(--muted-2); }
.offer__price small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

.offer__media { position: relative; z-index: 1; }
.offer__media img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }

/* ---------- Categorías ---------- */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0d120e, #0b0b10);
  overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 255, 42, .4);
  background: linear-gradient(160deg, #0c1a0f, #0b0b10);
}

.cat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(69, 255, 42, .08);
  color: var(--brand);
}

.cat-card__icon svg {
  display: block;
  width: 22px; height: 22px;
  margin: 0 auto;
}
.cat-card b { font-size: 15px; }
.cat-card span { font-size: 11px; color: var(--muted-2); }

.cat-card__arrow {
  position: absolute;
  top: 24px; right: 22px;
  color: var(--muted-2);
  transition: transform .25s, color .25s;
}

.cat-card:hover .cat-card__arrow { transform: translate(3px, -3px); color: var(--brand); }
.cat-card__arrow svg { width: 16px; height: 16px; }

/* ---------- Marcas ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.brand-card {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .018);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .1em;
  color: #85858f;
  text-align: center;
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}

.brand-card:hover {
  color: #fff;
  border-color: rgba(69, 255, 42, .4);
  background: rgba(69, 255, 42, .06);
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr 1fr 1fr;
  gap: 40px;
  
}

.footer-brand p { max-width: 300px; margin: 18px 0 22px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }

.socials { display: flex; gap: 10px; }

.socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}

.socials a:hover { color: var(--brand); border-color: rgba(69, 255, 42, .5); background: rgba(69, 255, 42, .07); }
.socials svg { width: 16px; height: 16px; }

.footer-col h4 {
  margin: 4px 0 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e7e7ee;
}

.footer-col a, .footer-col span {
  display: block;
  margin-bottom: 11px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color .2s;
}

.footer-col a:hover { color: var(--brand-soft); }

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted-2);
}

.footer-legal > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted-2);
  transition: color .18s ease;
}

.footer-legal a:hover { color: var(--brand-soft); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted-2);
}

.footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5b5b68;
  transition: color .2s ease;
}

.footer-admin svg { width: 12px; height: 12px; }
.footer-admin:hover { color: var(--brand); }

.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--brand-soft); }

/* ---------- Barra de oferta fija ---------- */
.deal-bar {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 18px 9px 16px;
  border: 1px solid rgba(69, 255, 42, .45);
  border-radius: 999px;
  background: rgba(4, 16, 7, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 44px rgba(15, 122, 51, .38), inset 0 1px 0 rgba(255, 255, 255, .08);
  white-space: nowrap;
}

.deal-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #eaffea;
}

.deal-bar__label svg { width: 15px; height: 15px; color: var(--brand-soft); }

.deal-timer { display: flex; gap: 6px; }

.t-box {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: rgba(3, 10, 4, .8);
}

.t-box b { font-size: 15px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.t-box small { margin-top: 3px; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Carrito lateral ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 3, 6, .68);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  background: #0b0b10;
  border-left: 1px solid var(--line-strong);
  transform: translateX(104%);
  transition: transform .36s cubic-bezier(.2, .8, .2, 1);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.drawer-head h3 span { color: var(--brand); }

.drawer-close { width: 34px; height: 34px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }

.cart-empty { display: grid; place-items: center; gap: 14px; padding: 70px 10px; text-align: center; color: var(--muted-2); }
.cart-empty svg { width: 42px; height: 42px; opacity: .5; }
.cart-empty b { font-size: 13px; color: var(--text); }
.cart-empty span { font-size: 11.5px; max-width: 220px; }

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.cart-item__img {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: radial-gradient(circle at 50% 30%, #1c1c26, #0a0a0f);
  overflow: hidden;
}

.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item__info { min-width: 0; }
.cart-item__info b { display: block; font-size: 12.5px; line-height: 1.4; }
.cart-item__info small { display: block; margin-top: 2px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.cart-item__price { margin-top: 7px; font-size: 13px; font-weight: 800; color: var(--brand); }

.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty button {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  transition: background .2s, color .2s;
}

.qty button:hover { background: rgba(69, 255, 42, .14); color: var(--brand); }
.qty span { min-width: 22px; text-align: center; font-size: 11.5px; font-weight: 700; }

.cart-remove { border: 0; background: transparent; color: var(--muted-2); padding: 0; }
.cart-remove svg { width: 13px; height: 13px; }
.cart-remove:hover { color: #9ca3af; }

.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: #09090d; }
.drawer-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.drawer-row + .drawer-row { margin-top: 8px; }
.drawer-row.total { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--text); }
.drawer-row.total b { font-size: 22px; font-weight: 800; color: var(--brand); }
.drawer-note { margin: 12px 0 14px; font-size: 10.5px; line-height: 1.6; color: var(--muted-2); }

/* ---------- Buscador ---------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: start center;
  padding: 14vh 20px 20px;
  background: rgba(3, 3, 6, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.search-modal.open { opacity: 1; pointer-events: auto; }

.search-panel {
  width: min(620px, 100%);
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0d0d13;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7);
}

.search-panel form { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.search-panel svg { width: 18px; height: 18px; color: var(--muted-2); flex: none; }

.search-panel input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  outline: none;
}

.search-hint { margin: 14px 6px 6px; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 4px; }

.search-tags a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.search-tags a:hover { color: var(--brand-soft); border-color: rgba(69, 255, 42, .45); }

/* ---------- Catálogo ---------- */
.page-head { padding: 52px 0 28px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10.5px; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--brand-soft); }
.breadcrumb span { opacity: .5; }

.page-head h1 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.page-head p { margin: 0; max-width: 560px; color: var(--muted); font-size: 13px; }

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: start;
  gap: 36px;
  padding-bottom: 40px;
}

.catalog-layout > section {
  min-width: 0;
}

.catalog-results {
  min-width: 0;
}

.filters {
  position: sticky;
  top: 100px;
  padding: 24px 22px !important;
  border: 1px solid rgba(16, 45, 25, 0.12) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(16, 45, 25, 0.1);
}

.filters__head h3 {
  margin: 0;
  font-size: 19px !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  color: #0f172a !important;
  text-transform: capitalize !important;
}

.filters__clear {
  border: 0;
  background: transparent;
  font-size: 12px !important;
  font-weight: 750 !important;
  color: #1a8f3a !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.filters__clear:hover {
  color: #0b5d24 !important;
}

.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 45, 25, 0.08);
}

.filter-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  margin: 0 0 14px;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  color: #0f172a !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group h4::after {
  content: '▾';
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  color: #1e293b !important;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.check:last-child {
  margin-bottom: 0;
}

.check:hover {
  color: #1a8f3a !important;
}

.check input {
  width: 16px !important;
  height: 16px !important;
  border-radius: 3px;
  accent-color: #1a8f3a !important;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.check__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 750 !important;
}

.filter-group select,
.toolbar select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0c0c12;
  color: var(--text);
  font-size: 12px;
  outline: none;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.toolbar__count { font-size: 11.5px; color: var(--muted); }
.toolbar__count b { color: var(--text); }
.toolbar select { width: auto; min-width: 180px; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.no-results {
  display: none;
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.no-results.show { display: block; }

.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

.pagination__ellipsis {
  display: grid;
  place-items: center;
  width: 28px;
  height: 38px;
  font-size: 15px;
  color: var(--muted);
  user-select: none;
}

.pagination a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}

.pagination a:hover,
.pagination a.active,
.pagination a.is-active,
.pagination a[aria-current="page"] {
  color: #061006 !important;
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(69, 255, 42, 0.45) !important;
}

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; padding: 26px 0 20px; }

.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(110% 100% at 50% 0%, #1d1d28, #0a0a0f 72%);
  overflow: hidden;
}

.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 8px; filter: brightness(1.1); }
.gallery__main:hover img { transform: none; }

.gallery__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }

.thumbs { display: grid; grid-template-columns: repeat(4, 76px); gap: 10px; margin-top: 12px; }

.thumb {
  width: 76px;
  aspect-ratio: 1 / 1;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0e0e14;
  opacity: .65;
  overflow: hidden;
  transition: border-color .2s, opacity .2s;
}

.thumb img { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.1); }
.thumb.active, .thumb:hover { border-color: var(--brand); opacity: 1; }

.pdp-info { padding-top: 6px; }
.pdp-info .eyebrow { font-size: 9.5px; }

.pdp-info h1 {
  margin: 12px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.03;
  text-transform: uppercase;
}

.rating { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--brand); }
.stars svg { width: 13px; height: 13px; }
.rating a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; }

.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 20px 0 4px; }
.pdp-price b { font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.pdp-price s { font-size: 15px; color: var(--muted-2); }
.pdp-price em { padding: 4px 8px; border-radius: 5px; background: rgba(34, 197, 94, .14); color: #8dff7a; font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .1em; }

.pdp-price-tax-notes {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 4px 0 14px;
  font-size: 11.5px;
  font-style: italic;
  color: #64748b;
  line-height: 1.4;
}

.pdp-desc { margin: 14px 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* ---------- Selector de variantes / colores (Estilo SaaS & YoungLA) ---------- */
.pdp-variants {
  margin: 20px 0 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pdp-variants__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.pdp-variants__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pdp-variants__selected {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}

.pdp-colors-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.color-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.color-swatch__circle {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}

.color-swatch:hover:not(.is-active) {
  transform: scale(1.08);
  border-color: rgba(69, 255, 42, .4);
}

.color-swatch.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 16px rgba(69, 255, 42, .32);
}

.color-swatch.is-active .color-swatch__circle {
  transform: scale(0.96);
}

.color-swatch.is-out {
  opacity: .55;
}

.color-swatch.is-out::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 2px;
  background: #ef4444;
  border-radius: 1px;
  transform: rotate(-45deg);
  pointer-events: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, .8);
}

.pdp-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8dff7a; }
.pdp-stock i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.pdp-stock.out { color: #c7c7c7; }
.pdp-stock.out i { background: #9ca3af; box-shadow: 0 0 10px #9ca3af; }

.pdp-guarantee-badge {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin: 11px 0 0;
  padding: 6px 9px;
  border: 1px solid rgba(69, 255, 42, .28);
  border-radius: 6px;
  background: rgba(69, 255, 42, .055);
  color: var(--brand-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pdp-guarantee-badge svg { width: 14px; height: 14px; flex: none; }

.pdp-buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.pdp-buy .qty { border-radius: 999px; padding: 4px; background: #0d0d13; }
.pdp-buy .qty button { width: 34px; height: 34px; }
.pdp-buy .qty span { min-width: 30px; }
.pdp-buy .btn { flex: 1; min-width: 190px; }

.pdp-benefits { display: grid; gap: 10px; margin: 20px 0 26px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .015); }
.pdp-benefit { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.pdp-benefit svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* Botones de compra y WhatsApp */
.pdp-buy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 20px;
}

.pdp-buy-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.pdp-buy-row .qty {
  flex: none;
}

.pdp-buy-row .btn--add-cart {
  flex: 1;
}

.btn--whatsapp-buy {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius);
  background: #25d366 !important;
  color: #ffffff !important;
  font-weight: 850 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp-buy:hover {
  background: #20ba5a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5) !important;
  color: #ffffff !important;
}

.btn--whatsapp-buy svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* ---------- Sección Descripción y Especificaciones debajo del producto (estilo MM Store) ---------- */
.pdp-details-section {
  margin: 44px 0 64px;
}

.pdp-details-card {
  background: #ffffff;
  border: 1px solid rgba(16, 45, 25, 0.12);
  border-radius: 16px;
  padding: 38px 44px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pdp-details-title {
  margin: 0 0 22px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.pdp-details-prose {
  font-size: 14.5px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(16, 45, 25, 0.09);
}

.pdp-specs-wrap {
  overflow-x: auto;
}

.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #eef2f6;
}

.pdp-specs-table th {
  width: 280px;
  max-width: 40%;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f172a;
  border-bottom: 1px solid #eef2f6;
  text-align: left;
  vertical-align: middle;
  background: transparent;
}

.pdp-specs-table td {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  border-bottom: 1px solid #eef2f6;
  text-align: left;
  vertical-align: middle;
}

.pdp-specs-table tr:hover th,
.pdp-specs-table tr:hover td {
  background: #f8fafc;
}

@media (max-width: 720px) {
  .pdp-details-card {
    padding: 24px 20px;
  }
  .pdp-specs-table th {
    width: 140px;
    font-size: 11.5px;
    padding: 11px 12px;
  }
  .pdp-specs-table td {
    font-size: 12.5px;
    padding: 11px 12px;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  z-index: 130;
  left: 24px;
  bottom: 112px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border: 1px solid rgba(69, 255, 42, .4);
  border-radius: 12px;
  background: #0c120d;
  font-size: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hero__grid { gap: 34px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .offer { padding: 34px; }
  .pdp { gap: 30px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .mobile-toggle { display: grid; }
  .hero { padding-top: 44px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero h1 { font-size: clamp(46px, 9vw, 76px); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { justify-content: center; padding: 20px 14px; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { max-width: 640px; }
  .offer { grid-template-columns: 1fr; text-align: left; }
  .offer__media { max-width: 480px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 18px; }
  .header-inner { height: 76px; }
  .logo__text b { font-size: 21px; }
  .logo__custom-img { max-height: 60px; }
  .header-actions .icon-btn--social { display: none; }
  .hero { padding: 34px 0 34px; }
  .hero__meta { gap: 14px; }
  .hero__meta span { font-size: 9px; letter-spacing: .1em; }
  .hero__meta b { font-size: 19px; }
  .section { padding: 62px 0; }
  .products--three { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .offer { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .deal-bar { gap: 10px; padding: 8px 12px; bottom: 12px; }
  .deal-bar__label { font-size: 8px; }
  .t-box { width: 36px; height: 38px; }
  .float-chip--a { left: -6px; }
  .float-chip--b { right: -6px; }
  .price-tag { left: 16px; bottom: 16px; padding: 10px 14px; }
  .price-tag b { font-size: 20px; }
  .sticker { width: 70px; height: 70px; font-size: 7px; }
}

@media (max-width: 520px) {
  body { padding-bottom: 0; }
  .products, .products--three, .catalog-grid { grid-template-columns: 1fr; }
  .category, .brands { grid-template-columns: 1fr 1fr; }
  .categories { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; justify-content: center; padding: 18px 14px !important; }
  .trust-item + .trust-item { border-top: 1px solid var(--line) !important; }
  .hero__actions .btn { width: 100%; }
  .pdp-buy .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .deal-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .deal-bar__label span { display: none; }
  .toast { left: 12px; right: 12px; bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Catálogo conectado ---------------- */

.filter-search {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0c0c12;
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.filter-search::placeholder { color: #55555f; }
.filter-search:focus {
  border-color: rgba(69, 255, 42, .5);
  box-shadow: 0 0 0 3px rgba(69, 255, 42, .09);
}

.check small {
  margin-left: auto;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: rgba(16, 45, 25, 0.06) !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  flex-shrink: 0;
}

.filters__submit { margin-top: 18px; }

.catalog-results { position: relative; min-height: 160px; }
.catalog-results.is-loading { pointer-events: none; }

.no-results b { display: block; margin-bottom: 4px; color: var(--text); font-size: 14px; }
.no-results span { display: block; margin-bottom: 12px; font-size: 12px; }

.brands { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.cart-item__info b a:hover { color: var(--brand); }

/* ---------------- Promociones del inicio ---------------- */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: stretch;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(140deg, #121a12, #090b09);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 255, 42, .38);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}

.promo-card__media {
  display: grid;
  place-items: center;
  min-height: 200px;
  background: radial-gradient(100% 110% at 30% 20%, rgba(69, 255, 42, .12), transparent 60%), #080b08;
  overflow: hidden;
}

.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .4s;
}

.promo-card:hover .promo-card__media img { transform: scale(1.04); }

.promo-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 24px 22px;
}

.promo-card__tag {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(69, 255, 42, .1);
  color: var(--brand-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.promo-card__body h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.03;
  text-transform: uppercase;
}

.promo-card__body p { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.promo-card__cta { margin-top: 8px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-card__media { min-height: 160px; }
}

/* ---------------- Carrusel del hero ---------------- */

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 4px 0 2px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .showcase__img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 6px;
  object-fit: contain;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(8, 10, 8, .62);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: width .25s, background .25s, box-shadow .25s;
}

.hero-dot.is-active {
  width: 24px;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(69, 255, 42, .7);
}

@media (max-width: 520px) {
  .hero-slides { aspect-ratio: 1 / 1; }
}

/* ---------------- Checkout ---------------- */

.checkout-page { padding: 26px 0 60px; }
.checkout-body .deal-bar { display: none; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color .2s;
}
.back-link svg { width: 15px; height: 15px; }
.back-link:hover { color: var(--brand); }
.checkout-page .text-link { color: var(--brand); text-decoration: underline; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  font-size: 11.5px;
  line-height: 1.55;
  color: #dedee6;
}
.alert > svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
.alert--error { border-color: rgba(239, 68, 68, .35); background: rgba(127, 29, 29, .18); color: #fecaca; }
.checkout-head { max-width: 650px; margin-bottom: 24px; }
.checkout-head .back-link { margin-bottom: 16px; }
.checkout-head h1 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-head p { margin: 0; color: var(--muted); font-size: 13px; }

.checkout-errors { margin-bottom: 18px; }
.checkout-errors ul { margin: 4px 0 0; padding-left: 17px; }
.checkout-errors li { margin-top: 2px; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
  align-items: start;
  gap: 20px;
}

.checkout-form { display: grid; gap: 16px; min-width: 0; }
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, #101610, #090c09);
  overflow: hidden;
}

.checkout-panel .panel-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.checkout-panel .panel-head h2 { margin: 0 0 3px; font-size: 16px; font-weight: 800; }
.checkout-panel .panel-head p { margin: 0; font-size: 12.5px; color: var(--muted-2); }
.checkout-panel-body { display: grid; gap: 14px; padding: 18px 20px 20px; }

.checkout-page .form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.checkout-page .form-field { display: grid; gap: 7px; min-width: 0; }
.checkout-page .form-field label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b9b9c4;
}

.checkout-page .form-control {
  width: 100%;
  min-height: 45px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(4, 8, 4, .65);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.checkout-page .form-control::placeholder { color: #55555f; font-size: 13.5px; }
.checkout-page .form-control:focus { border-color: rgba(69, 255, 42, .5); box-shadow: 0 0 0 3px rgba(69, 255, 42, .09); }
.checkout-page textarea.form-control { resize: vertical; min-height: 70px; font-size: 14px; }
.checkout-page .field-hint { font-size: 11.5px; line-height: 1.45; color: var(--muted-2); }
.checkout-page .field-error { font-size: 11.5px; line-height: 1.4; color: #fca5a5; }
.checkout-page .form-field.has-error .form-control { border-color: rgba(239, 68, 68, .55); }

.checkout-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-method { position: relative; display: block; cursor: pointer; }
.checkout-method input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkout-method span {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .018);
  transition: border-color .2s, background .2s, color .2s;
}
.checkout-method b { font-size: 13.5px; }
.checkout-method small { font-size: 11.5px; color: var(--muted-2); }
.checkout-method input:checked + span {
  border-color: rgba(69, 255, 42, .55);
  background: rgba(69, 255, 42, .07);
  box-shadow: inset 0 0 20px rgba(69, 255, 42, .05);
}
.checkout-method input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.checkout-method input:checked + span b { color: var(--brand-soft); }

.checkout-qr-payment {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid rgba(69, 255, 42, .18);
  border-radius: 12px;
  background: rgba(69, 255, 42, .025);
}

.checkout-qr-payment__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.checkout-qr-payment__head b {
  display: block;
  font-size: 12px;
  color: var(--text);
}

.checkout-qr-payment__head span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--muted-2);
}

.checkout-qr-payment__head strong {
  flex: none;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
}

.checkout-qr-payment__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.checkout-qr-payment__item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .018);
}

.checkout-qr-payment__label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.checkout-qr-payment__media {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.checkout-qr-payment__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-qr-payment__missing {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 9px;
  text-align: center;
  color: var(--muted-2);
}

.checkout-qr-payment__item small {
  font-size: 9px;
  color: var(--muted-2);
}

.checkout-qr-payment .checkout-note {
  margin-top: 10px;
}

.shipping-panel { display: grid; gap: 13px; padding-top: 4px; }
.checkout-page [hidden] { display: none !important; }
.checkout-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted-2); }
.checkout-cutoff {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(69, 255, 42, .22);
  border-radius: 9px;
  background: rgba(69, 255, 42, .045);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.checkout-cutoff b { font-size: 13px; color: var(--brand-soft); }
.checkout-cutoff.is-late {
  border-color: rgba(251, 191, 36, .3);
  background: rgba(251, 191, 36, .07);
}
.checkout-cutoff.is-late b { color: #fbbf24; }
.checkout-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
}
.checkout-hours svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.checkout-hours b { color: var(--muted); }

.checkout-summary { position: sticky; top: 98px; }
.checkout-summary-card { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(170deg, #101610, #090c09); overflow: hidden; }
.checkout-items { display: grid; gap: 10px; max-height: 330px; overflow-y: auto; }
.checkout-empty { margin: 0; padding: 20px 0; text-align: center; font-size: 13px; color: var(--muted-2); }
.checkout-item { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; }
.checkout-item__img {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090c09;
  overflow: hidden;
}
.checkout-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.checkout-item__info { min-width: 0; }
.checkout-item__info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.checkout-item__info span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted-2); }
.checkout-item__price { font-size: 13px; font-weight: 800; color: var(--brand); white-space: nowrap; }

.checkout-totals { display: grid; gap: 8px; padding-top: 15px; border-top: 1px solid var(--line); }
.checkout-totals > div { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.checkout-totals b { color: #e7e7ee; font-size: 13.5px; }
.checkout-total { margin-top: 5px; padding-top: 10px; border-top: 1px dashed var(--line); }
.checkout-total span { font-size: 14px; color: var(--text); font-weight: 700; }
.checkout-total b { color: var(--brand); font-size: 25px !important; font-weight: 800; }

.checkout-consent {
  margin: 12px 0 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .018);
}

.checkout-consent.has-error {
  border-color: rgba(239, 68, 68, .5);
  background: rgba(239, 68, 68, .035);
}

.checkout-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.checkout-consent__label input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.checkout-consent__label a {
  color: var(--brand-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-consent .field-error {
  display: block;
  margin-top: 6px;
  padding-left: 24px;
}

.checkout-summary-card .btn {
  margin-top: 8px;
  font-size: 14.5px;
  padding: 14px 20px;
}
.checkout-summary-card .btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(.35);
  box-shadow: none;
  transform: none;
}
.checkout-back { display: inline-block; margin-top: 5px; font-size: 12px; color: var(--muted-2); }
.checkout-back:hover { color: var(--brand); }

/* Confirmación */
.order-success { padding: 34px 0 60px; }
.order-success-head { max-width: 680px; margin-bottom: 24px; }
.order-success-head .eyebrow { color: var(--brand); }
.order-success-head h1 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.order-success-head p { margin: 0; color: var(--muted); font-size: 13px; }
.order-success-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(69, 255, 42, .3);
  border-radius: 8px;
  background: rgba(69, 255, 42, .06);
  font-family: 'Consolas', monospace;
  font-size: 12px;
  color: var(--brand);
}
.order-success-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 18px; align-items: start; }
.order-success-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(170deg, #101610, #090c09); }
.order-success-card h2 { margin: 0 0 12px; font-size: 13px; font-weight: 800; }
.order-success-card dl { display: grid; gap: 8px; margin: 0; }
.order-success-card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.order-success-card dt { color: var(--muted-2); }
.order-success-card dd { margin: 0; text-align: right; color: #e7e7ee; overflow-wrap: anywhere; }
.order-success-totals { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.order-success-totals dl { margin-bottom: 2px; }
.order-success-items { display: grid; gap: 9px; margin-bottom: 14px; }
.order-success-item { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.order-success-item b { color: #ececf1; font-weight: 600; }
.order-success-item__tag {
  display: inline-flex;
  margin-right: 5px;
  padding: 2px 5px;
  border: 1px solid rgba(69, 255, 42, .28);
  border-radius: 4px;
  background: rgba(69, 255, 42, .08);
  color: var(--brand-soft);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.order-success-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.order-success-total b { color: var(--brand); font-size: 22px; }
.order-success-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.order-success-actions .btn { flex: 1; min-width: 180px; }
.order-success-qr { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.order-success-qr img { width: 120px; height: 120px; object-fit: contain; }
.order-success-qr span { font-size: 11px; color: #061006; }

@media (max-width: 900px) {
  .checkout-layout, .order-success-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

@media (max-width: 560px) {
  .checkout-page .form-grid-2, .checkout-methods { grid-template-columns: 1fr; }
  .checkout-head h1, .order-success-head h1 { font-size: 36px; }
  .checkout-panel-body { padding: 16px; }
  .order-success-qr { grid-template-columns: 90px 1fr; }
  .order-success-qr img { width: 90px; height: 90px; }
}

/* ---------------- Oferta adicional antes de confirmar ---------------- */

.upsell-open { overflow: hidden; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.upsell-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}
.upsell-modal[hidden] { display: none !important; }

.upsell-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 6, 2, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.upsell-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0a0e0a;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .85), 0 0 80px -35px rgba(69, 255, 42, .4);
  animation: modalIn .2s ease both;
}
.upsell-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 120% at 100% 0%, rgba(69, 255, 42, .1), transparent 60%), #0b100b;
}
.upsell-modal__head h2 {
  margin: 7px 0 5px;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.upsell-modal__head p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted-2); }
.upsell-modal__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.upsell-modal__close svg { width: 14px; height: 14px; }
.upsell-modal__close:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

.upsell-modal__body { display: grid; gap: 12px; padding: 18px 22px; }
.upsell-offers { display: grid; gap: 8px; }
.upsell-offer {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upsell-offer:hover,
.upsell-offer:has(input:checked) {
  border-color: rgba(69, 255, 42, .55);
  background: rgba(69, 255, 42, .06);
}
.upsell-offer input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upsell-offer__media {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b08;
  overflow: hidden;
}
.upsell-offer__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.upsell-offer__info { display: grid; gap: 2px; min-width: 0; }
.upsell-offer__info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.upsell-offer__info small { font-size: 9.5px; color: var(--muted-2); }
.upsell-offer__price { font-size: 14px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.upsell-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 14px 22px 19px;
  border-top: 1px solid var(--line);
}
.upsell-modal__actions .btn { padding: 12px 18px; }

@media (max-width: 560px) {
  .upsell-modal { padding: 0; }
  .upsell-modal__dialog { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; border: 0; }
  .upsell-modal__head, .upsell-modal__body, .upsell-modal__actions { padding-left: 16px; padding-right: 16px; }
  .upsell-modal__actions { flex-direction: column-reverse; }
  .upsell-modal__actions .btn { width: 100%; }
}

/* ---------------- Compras recientes ---------------- */

.social-proof {
  position: fixed;
  left: 20px;
  bottom: 92px;
  z-index: 75;
  width: min(360px, calc(100vw - 40px));
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.social-proof[hidden] { display: none !important; }
.social-proof.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.social-proof__card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(69, 255, 42, .25);
  border-radius: 13px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(69, 255, 42, .09), transparent 60%),
    rgba(7, 12, 7, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .65), 0 0 40px -25px rgba(69, 255, 42, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-proof__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8dff7a, var(--brand));
  color: #061006;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(69, 255, 42, .25);
}

.social-proof__content { flex: 1; min-width: 0; }
.social-proof__content p { margin: 0; font-size: 9px; line-height: 1.4; color: var(--muted-2); }
.social-proof__content p b { color: var(--text); }
.social-proof__content strong {
  display: block;
  margin: 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-soft);
}
.social-proof__content span { display: block; font-size: 9.5px; color: var(--muted); }

.social-proof__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted-2);
  transition: color .2s, border-color .2s;
}
.social-proof__close svg { width: 11px; height: 11px; }
.social-proof__close:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

@media (max-width: 520px) {
  .social-proof { left: 12px; right: 12px; bottom: 100px; width: auto; }
}

/* ---------------- Páginas legales ---------------- */

.legal-page {
  padding: 26px 0 76px;
}

.legal-head {
  max-width: 860px;
  margin: 22px 0;
}

.legal-head h1 {
  margin: 8px 0 7px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: .98;
  letter-spacing: -.04em;
}

.legal-head p {
  margin: 0;
  font-size: 11px;
  color: var(--muted-2);
}

.legal-card {
  max-width: 900px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, #111711, #090c09);
}

.legal-card > p:first-child {
  margin-top: 0;
  color: var(--text);
}

.legal-card h2 {
  margin: 28px 0 9px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}

.legal-card p,
.legal-card li {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.legal-card p { margin: 0 0 10px; }
.legal-card ul,
.legal-card ol { margin: 8px 0 14px; padding-left: 20px; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--brand-soft); text-decoration: underline; text-underline-offset: 2px; }
.legal-card b { color: #e9e9ef; }

.legal-card .legal-note {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted-2);
}

@media (max-width: 560px) {
  .legal-page { padding-bottom: 56px; }
  .legal-head { margin-top: 18px; }
  .legal-card { padding: 20px; }
  .legal-card h2 { font-size: 16px; }
  .legal-card p, .legal-card li { font-size: 11.5px; }
}

/* ============================================================
   TEMA CLARO · rama feature/tienda-virtual-blanca
   Se mantiene el verde de la marca; fondo, tarjetas y textos
   cambian a una paleta clara.
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #f4f7f2;
  --bg-soft: #edf3ea;
  --card: #ffffff;
  --card-2: #f8fbf6;
  --line: rgba(16, 45, 25, .11);
  --line-strong: rgba(16, 45, 25, .2);
  --text: #111a13;
  --muted: #56665a;
  --muted-2: #7b8a7e;
  --brand: #1a8f3a;
  --brand-soft: #0f7a33;
  --brand-deep: #0b5d24;
  --brand-mid: #22c55e;
  --green: #16a34a;
  --shadow-brand: 0 14px 44px rgba(34, 197, 94, .22);
  --shadow-brand-deep: 0 14px 44px rgba(15, 122, 51, .14);
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

body::before {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(15, 122, 51, .08), transparent 62%),
    radial-gradient(760px 520px at 6% 18%, rgba(69, 255, 42, .06), transparent 60%),
    radial-gradient(700px 500px at 50% 105%, rgba(15, 122, 51, .06), transparent 65%);
}

body::after {
  opacity: .42;
  background-image:
    linear-gradient(rgba(16, 45, 25, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 45, 25, .045) 1px, transparent 1px);
}

::-webkit-scrollbar-track { background: #eef3ec; }
::-webkit-scrollbar-thumb { background: #c4d0c7; border-color: #eef3ec; }
::-webkit-scrollbar-thumb:hover { background: #aab9ad; }

.site-header {
  background:
    radial-gradient(85% 120% at 50% -20%, rgba(69, 255, 42, 0.14), transparent 70%),
    radial-gradient(45% 90% at 5% 50%, rgba(15, 122, 51, 0.22), transparent 75%),
    linear-gradient(180deg, #0e1117 0%, #08090d 100%) !important;
  border-bottom: 1px solid rgba(69, 255, 42, 0.2) !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px -8px rgba(69, 255, 42, 0.15) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.site-header.is-scrolled {
  background:
    radial-gradient(85% 130% at 50% -25%, rgba(69, 255, 42, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(14, 17, 23, 0.96) 0%, rgba(8, 9, 13, 0.98) 100%) !important;
  backdrop-filter: blur(22px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(200%) !important;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.85), 0 0 25px -6px rgba(69, 255, 42, 0.22) !important;
  border-bottom: 1px solid rgba(69, 255, 42, 0.28) !important;
}

.site-header .logo__text b {
  color: #ffffff !important;
}

/* ---------- Fila 1: Header Principal ---------- */
.header-main {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding 0.24s ease;
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-main__left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-main__left .logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.header-main__left .logo__custom-img {
  height: 110px !important;
  max-height: 115px !important;
  width: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(69, 255, 42, 0.4));
  transition: all 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-main__left .logo:hover .logo__custom-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 22px rgba(69, 255, 42, 0.65));
}

.header-main__left .logo__mark {
  width: 66px !important;
  height: 66px !important;
}

.header-main__left .logo__text b {
  font-size: 32px !important;
  letter-spacing: .08em !important;
}

.header-main__left .logo__text small {
  font-size: 10px !important;
  letter-spacing: .45em !important;
}

.header-main__center {
  flex: 1;
  max-width: 560px;
  min-width: 260px;
  margin: 0 10px;
}

/* Buscador Amplio en Cabecera (estilo MM Store) */
.header-search-bar {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-search-bar input {
  width: 100%;
  height: 46px;
  padding: 0 52px 0 22px;
  background: #12161f !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.22s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-search-bar input::placeholder {
  color: #8b98a8;
  font-size: 13.5px;
}

.header-search-bar input:focus {
  background: #171d28 !important;
  border-color: #45ff2a !important;
  box-shadow: 0 0 18px rgba(69, 255, 42, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.header-search-bar button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-search-bar button svg {
  width: 19px;
  height: 19px;
}

.header-search-bar button:hover {
  color: #45ff2a;
  transform: translateY(-50%) scale(1.12);
}

.header-main__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Redes Sociales con Icono y Texto */
.header-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-social-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.header-social-pill:hover {
  background: rgba(69, 255, 42, 0.12);
  border-color: rgba(69, 255, 42, 0.45);
  color: #45ff2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(69, 255, 42, 0.25);
}

/* Contacto WhatsApp con Texto */
.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.45);
}

.header-contact-icon svg {
  width: 17px;
  height: 17px;
}

.header-contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-contact-info__sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-contact-info__phone {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.header-contact-link:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

/* Botón de Carrito con Texto estilo MM Store */
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(69, 255, 42, 0.16) 0%, rgba(15, 122, 51, 0.28) 100%);
  border: 1.5px solid rgba(69, 255, 42, 0.45);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-cart-icon svg {
  width: 19px;
  height: 19px;
  stroke: #45ff2a;
}

.header-cart-icon .cart-count {
  background: #45ff2a;
  color: #040c05;
  font-size: 11px;
  font-weight: 850;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 5px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cart-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.header-cart-btn:hover {
  background: linear-gradient(135deg, rgba(69, 255, 42, 0.3) 0%, rgba(15, 122, 51, 0.45) 100%);
  border-color: #45ff2a;
  box-shadow: 0 0 20px rgba(69, 255, 42, 0.45);
  transform: translateY(-1px);
}

/* ---------- Fila 2: Barra de Navegación por Categorías ---------- */
.header-nav-strip {
  background: rgba(10, 13, 18, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(69, 255, 42, 0.22);
  padding: 10px 0;
  position: relative;
  transition: padding 0.24s ease;
}

.header-nav-strip .nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 1.8vw, 30px);
  white-space: nowrap;
}

.header-nav-strip .nav a {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  color: #cbd5e1 !important;
  text-transform: uppercase;
}

.header-nav-strip .nav a:hover,
.header-nav-strip .nav a.active {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(69, 255, 42, 0.6);
}

.site-header .nav a:hover,
.site-header .nav a.active {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(69, 255, 42, 0.5);
}

.site-header .nav a.active::after {
  bottom: -6px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background: var(--brand) !important;
  box-shadow: 0 0 10px #45ff2a, 0 0 16px rgba(69, 255, 42, 0.8) !important;
}

/* ---------- Mega Menú Redragon Gamer en Cabecera ---------- */
.nav-item--dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}

.nav-link-dropdown .dropdown-arrow {
  width: 13px;
  height: 13px;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  stroke: currentColor;
}

.nav-item--dropdown:hover .nav-link-dropdown .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--brand);
}

.nav-dropdown-menu--megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-35%) translateY(10px);
  width: 820px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(69, 255, 42, 0.08), transparent 75%),
    linear-gradient(180deg, rgba(14, 17, 23, 0.985) 0%, rgba(7, 8, 11, 0.995) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(69, 255, 42, 0.28) !important;
  box-shadow: 0 26px 60px -10px rgba(0, 0, 0, 0.95), 0 0 32px -5px rgba(69, 255, 42, 0.22) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 120;
}

/* Puente invisible para que el cursor no pierda el hover */
.nav-dropdown-menu--megamenu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

/* Triángulo indicador superior centrado hacia el link Productos */
.nav-dropdown-menu--megamenu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 285px;
  width: 10px;
  height: 10px;
  background: #0e1117;
  border-left: 1px solid rgba(69, 255, 42, 0.28);
  border-top: 1px solid rgba(69, 255, 42, 0.28);
  transform: rotate(45deg);
}

.nav-item--dropdown:hover .nav-dropdown-menu--megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-35%) translateY(0);
}

/* ---------- Menús Desplegables de Categorías (Mouse, Teclados, Audífonos, etc.) ---------- */
.nav-dropdown-menu--simple {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-radius: 10px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(69, 255, 42, 0.08), transparent 75%),
    linear-gradient(180deg, rgba(17, 21, 28, 0.985) 0%, rgba(10, 13, 18, 0.995) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(69, 255, 42, 0.25) !important;
  box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.85), 0 0 25px -4px rgba(69, 255, 42, 0.18) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.2s ease;
  z-index: 120;
}

/* Puente invisible para mantener el hover */
.nav-dropdown-menu--simple::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

/* Flechita / Triángulo indicador superior centrado apuntando a la categoría */
.nav-dropdown-menu--simple::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -5px;
  width: 9px;
  height: 9px;
  background: #11151c;
  border-left: 1px solid rgba(69, 255, 42, 0.28);
  border-top: 1px solid rgba(69, 255, 42, 0.28);
  transform: rotate(45deg);
}

.nav-item--dropdown:hover .nav-dropdown-menu--simple {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #e2e8f0 !important;
  text-decoration: none;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: #45ff2a !important;
  background: rgba(69, 255, 42, 0.08) !important;
  padding-left: 22px !important;
  text-shadow: 0 0 10px rgba(69, 255, 42, 0.45);
}

.nav-dropdown-item.nav-dropdown-item--all {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  padding-top: 11px !important;
  color: #45ff2a !important;
  font-weight: 800 !important;
  font-size: 11px !important;
}

.nav-dropdown-item.nav-dropdown-item--all:hover {
  background: rgba(69, 255, 42, 0.14) !important;
}

.nav-dropdown-item.nav-dropdown-item--all svg {
  transition: transform 0.2s ease;
}

.nav-dropdown-item.nav-dropdown-item--all:hover svg {
  transform: translateX(4px);
}

.nav-link--offers {
  color: #ffb830 !important;
}

.nav-link--offers:hover {
  color: #ffdd40 !important;
  text-shadow: 0 0 12px rgba(255, 184, 48, 0.6) !important;
}

@media (min-width: 981px) and (max-width: 1240px) {
  .site-header .header-inner {
    gap: 12px;
  }
  .site-header .nav {
    gap: 9px;
  }
  .site-header .nav a {
    font-size: 11.5px !important;
    letter-spacing: 0.03em !important;
  }
}

.megamenu-panel {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Lado Izquierdo: Visual Gamer estilo Redragon */
.megamenu-visual {
  display: flex;
}

.megamenu-visual__card {
  position: relative;
  width: 100%;
  min-height: 290px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.megamenu-visual__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.megamenu-visual__card:hover img {
  transform: scale(1.05);
}

.megamenu-visual__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(69, 255, 42, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.25) 0%, rgba(7, 8, 11, 0.92) 100%);
  pointer-events: none;
}

.megamenu-visual__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.megamenu-visual__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .16em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(69, 255, 42, 0.2);
  color: #45ff2a;
  border: 1px solid rgba(69, 255, 42, 0.45);
}

.megamenu-visual__title {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .08em;
  color: #ffffff;
}

.megamenu-visual__desc {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #cbd5e1;
}

.megamenu-visual__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #45ff2a;
  color: #07090b !important;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(69, 255, 42, 0.35);
  transition: all 0.2s ease;
}

.megamenu-visual__btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.megamenu-visual__btn:hover {
  background: #5eff42;
  box-shadow: 0 6px 18px rgba(69, 255, 42, 0.55);
}

.megamenu-visual__btn:hover svg {
  transform: translateX(3px);
}

/* Lado Derecho: Categorías en 2 Columnas con "+" estilo Redragon */
.megamenu-categories {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 4px 4px 8px;
}

.megamenu-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 18px;
  align-content: start;
}

.megamenu-cat-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px !important;
  border-radius: 8px;
  text-decoration: none;
  color: #e2e8f0 !important;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease !important;
}

.megamenu-cat-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.megamenu-cat-plus {
  font-size: 16px;
  font-weight: 700;
  color: #45ff2a;
  line-height: 1;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.megamenu-cat-item:hover {
  background: rgba(69, 255, 42, 0.1) !important;
  border-color: rgba(69, 255, 42, 0.25) !important;
  color: #45ff2a !important;
  padding-left: 18px !important;
  text-shadow: 0 0 10px rgba(69, 255, 42, 0.5);
}

.megamenu-cat-item:hover .megamenu-cat-plus {
  transform: rotate(90deg) scale(1.2);
  text-shadow: 0 0 8px #45ff2a;
}

.megamenu-all-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px 14px !important;
  border-radius: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(69, 255, 42, 0.04);
  color: #45ff2a !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease !important;
}

.megamenu-all-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.megamenu-all-link:hover {
  background: rgba(69, 255, 42, 0.14) !important;
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(69, 255, 42, 0.7);
}

.megamenu-all-link:hover svg {
  transform: translateX(4px);
}

/* Mobile Nav Categorías */
.mobile-nav-heading {
  padding: 14px 20px 6px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
}

.mobile-nav-sub {
  padding-left: 32px !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
}

.mobile-nav-sub:hover {
  color: #45ff2a !important;
}

.mobile-nav {
  background: linear-gradient(180deg, #0e1117, #08090d) !important;
  border-bottom: 1px solid rgba(69, 255, 42, 0.22) !important;
}

.mobile-nav a {
  color: #e2e8f0 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--brand) !important;
}

.site-header .icon-btn {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.site-header .icon-btn:hover {
  background: rgba(69, 255, 42, 0.16) !important;
  border-color: rgba(69, 255, 42, 0.45) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(69, 255, 42, 0.35) !important;
}

.cart-count {
  background: #45ff2a;
  color: #061006;
}

.btn--primary {
  background: linear-gradient(100deg, #8dff7a, #45ff2a);
  color: #061006;
}

.btn--ghost {
  border-color: rgba(34, 197, 94, .42);
  background: rgba(34, 197, 94, .06);
  color: var(--brand-deep);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(34, 197, 94, .11);
  box-shadow: 0 8px 22px rgba(15, 122, 51, .1);
}

.btn--dark {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--text);
}

.showcase {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(69, 255, 42, .14), transparent 58%),
    radial-gradient(100% 90% at 90% 100%, rgba(15, 122, 51, .1), transparent 60%),
    linear-gradient(160deg, #ffffff, #eef5eb);
  box-shadow: 0 34px 80px -44px rgba(20, 55, 30, .35), inset 0 1px 0 #ffffff;
}

.showcase::before {
  background-image:
    linear-gradient(rgba(16, 45, 25, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 45, 25, .055) 1px, transparent 1px);
}

.float-chip {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .9);
  color: var(--text);
}

.price-tag {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(34, 197, 94, .3);
}

.sticker span {
  background: #ffffff;
  color: var(--brand-deep);
}

.trust {
  background: rgba(255, 255, 255, .55);
}

.trust-item__icon {
  background: linear-gradient(160deg, rgba(69, 255, 42, .13), rgba(15, 122, 51, .08));
  box-shadow: inset 0 1px 0 #ffffff;
}

.product-card {
  background: linear-gradient(180deg, #ffffff, #f8fbf6);
  border-color: var(--line);
  box-shadow: 0 12px 30px -24px rgba(20, 55, 30, .28);
}

.product-card:hover,
.product-card.slide-reveal.is-revealed:hover {
  border-color: rgba(34, 197, 94, .42);
  box-shadow: 0 24px 50px -28px rgba(20, 55, 30, .28), 0 0 0 1px rgba(34, 197, 94, .06);
}

.card-media {
  background: radial-gradient(110% 100% at 50% 0%, #ffffff, #edf4ea 72%);
}

.card-media img {
  filter: none;
}

.card-cta {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .92);
  color: var(--text);
}

.badge--sale {
  background: #45ff2a;
  color: #061006;
}

.badge--out {
  background: #e7eee7;
  color: #657267;
}

.offer {
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(69, 255, 42, .13), transparent 58%),
    linear-gradient(120deg, #ffffff, #eef6eb);
}

.offer::before {
  background-image:
    linear-gradient(rgba(16, 45, 25, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 45, 25, .05) 1px, transparent 1px);
}

.offer__tag {
  background: #45ff2a;
  color: #061006;
}

.offer__media img {
  filter: drop-shadow(0 24px 36px rgba(20, 55, 30, .22));
}

.cat-card {
  background: linear-gradient(160deg, #ffffff, #f5faf2);
}

.cat-card:hover {
  background: linear-gradient(160deg, #ffffff, #eaf6e7);
}

.brand-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 96px !important;
  padding: 16px 20px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.brand-card:hover {
  transform: translateY(-3px) !important;
  border-color: #45ff2a !important;
  box-shadow: 0 12px 28px -8px rgba(69, 255, 42, 0.35) !important;
}

.brand-card__logo {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: all 0.25s ease;
}

.brand-card:hover .brand-card__logo {
  transform: scale(1.06);
}

.brand-card__name {
  font-family: var(--font-display, inherit);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .08em;
  color: #1e293b;
  text-align: center;
  transition: color 0.2s ease;
}

.brand-card:hover .brand-card__name {
  color: #0f7a33;
}

/* Footer Negro Grafito con Degradado Verde Neón (Estilo MM Store / Store Stone) */
.site-footer {
  margin-top: 50px;
  background:
    radial-gradient(85% 120% at 50% -10%, rgba(69, 255, 42, 0.12), transparent 70%),
    radial-gradient(50% 90% at 90% 40%, rgba(15, 122, 51, 0.18), transparent 75%),
    linear-gradient(180deg, #0e1117 0%, #07080c 100%) !important;
  border-top: 1px solid rgba(69, 255, 42, 0.22) !important;
  box-shadow: 0 -16px 36px -12px rgba(0, 0, 0, 0.7), 0 0 25px -8px rgba(69, 255, 42, 0.15) !important;
  padding: 68px 0 115px !important;
}

.site-footer .footer-brand .logo__text b {
  color: #ffffff !important;
}

.site-footer .footer-brand p {
  color: #94a3b8 !important;
}

.site-footer .socials a {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  transition: all 0.22s ease !important;
}

.site-footer .socials a:hover {
  background: rgba(69, 255, 42, 0.18) !important;
  border-color: rgba(69, 255, 42, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(69, 255, 42, 0.35) !important;
}

.site-footer .footer-col h4 {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: .2em;
}

.site-footer .footer-col a {
  color: #45ff2a !important;
  transition: all 0.2s ease !important;
}

.site-footer .footer-col a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(69, 255, 42, 0.7) !important;
}

.site-footer .footer-col span {
  color: #cbd5e1 !important;
}

/* Bloque de Contacto Estilo MMStore con Verde Neón Stone Perú */
.footer-contact-item {
  margin-bottom: 14px;
}
.footer-contact-item:last-child {
  margin-bottom: 0;
}
.footer-contact-label {
  display: block;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffff !important;
  margin-bottom: 4px;
}
.footer-contact-link {
  display: inline-block !important;
  color: #45ff2a !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(69, 255, 42, 0.45) !important;
  text-underline-offset: 3px;
  font-size: 12.5px !important;
  line-height: 1.5;
  transition: all 0.2s ease !important;
}
.footer-contact-link:hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
  text-shadow: 0 0 14px rgba(69, 255, 42, 0.8) !important;
}
.footer-contact-text {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8 !important;
}


.site-footer .footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-footer .footer-legal > span {
  color: #64748b !important;
}

.site-footer .footer-legal a {
  color: #45ff2a !important;
}

.site-footer .footer-legal a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(69, 255, 42, 0.6);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #64748b !important;
}

.site-footer .footer-bottom span {
  color: #64748b !important;
}

.site-footer .footer-admin,
.site-footer .footer-admin a {
  color: #64748b !important;
}

.site-footer .footer-admin:hover,
.site-footer .footer-admin a:hover {
  color: #45ff2a !important;
}

.deal-bar {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(34, 197, 94, .42);
  box-shadow: 0 12px 35px rgba(20, 55, 30, .16), inset 0 1px 0 #ffffff;
}

.deal-bar__label {
  color: var(--text);
}

.t-box {
  border-color: var(--line-strong);
  background: #f7fbf5;
}

.overlay {
  background: rgba(20, 35, 22, .32);
}

.drawer {
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(20, 55, 30, .14);
}

.drawer-foot {
  background: #f7fbf5;
}

.cart-item {
  border-bottom-color: var(--line);
}

.cart-item__img {
  background: radial-gradient(circle at 50% 30%, #ffffff, #edf4ea);
}

.search-modal {
  background: rgba(20, 35, 22, .28);
}

.search-panel {
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(20, 55, 30, .18);
}

.search-panel input {
  color: var(--text);
}

.filters {
  background: #ffffff;
}

.filter-group select,
.toolbar select,
.filter-search {
  background: #ffffff;
  color: var(--text);
}

.filter-search::placeholder {
  color: #8b988d;
}

.gallery__main {
  background: radial-gradient(110% 100% at 50% 0%, #ffffff, #edf4ea 72%);
}

.pdp-price em {
  background: rgba(34, 197, 94, .12);
  color: var(--brand-deep);
}

.pdp-stock {
  color: var(--brand-deep);
}

.pdp-stock.out {
  color: #7b8a7e;
}

.pdp-guarantee-badge {
  background: rgba(34, 197, 94, .07);
  color: var(--brand-deep);
}

.pdp-buy .qty {
  background: #ffffff;
}

.pdp-benefits {
  background: #ffffff;
}

.promo-card {
  background: linear-gradient(140deg, #ffffff, #f1f8ee);
}

.promo-card__media {
  background: radial-gradient(100% 110% at 30% 20%, rgba(69, 255, 42, .1), transparent 60%), #f4faf1;
}

.promo-card__tag {
  color: var(--brand-deep);
}

.alert {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line-strong);
}

.alert--error {
  background: #fff1f1;
  color: #991b1b;
  border-color: rgba(239, 68, 68, .3);
}

.checkout-panel,
.checkout-summary-card,
.order-success-card,
.legal-card {
  background: linear-gradient(170deg, #ffffff, #f7fbf5);
}

.checkout-page .form-field label {
  color: #3b473e;
  font-weight: 800;
}

.checkout-page .form-control {
  background: #ffffff;
  color: var(--text);
}

.checkout-page .form-control::placeholder {
  color: #8b988d;
}

.checkout-method span {
  background: #ffffff;
}

.checkout-qr-payment {
  border-color: rgba(34, 197, 94, .24);
  background: #f4faf1;
}

.checkout-qr-payment__item {
  background: #ffffff;
}

.checkout-consent {
  background: #ffffff;
}

.checkout-consent.has-error {
  background: #fff5f5;
}

.checkout-totals b,
.checkout-total,
.order-success-card dd,
.order-success-item b,
.order-success-total b {
  color: var(--text);
}

.order-success-qr {
  background: #ffffff;
}

.upsell-modal__backdrop {
  background: rgba(20, 35, 22, .35);
}

.upsell-modal__dialog {
  background: #ffffff;
}

.upsell-modal__head {
  background: radial-gradient(90% 120% at 100% 0%, rgba(69, 255, 42, .09), transparent 60%), #f7fbf5;
}

.upsell-offer {
  background: #ffffff;
}

.upsell-offer__media {
  background: #f4faf1;
}

.upsell-modal__actions {
  background: #ffffff;
}

.social-proof__card {
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(69, 255, 42, .08), transparent 60%),
    rgba(255, 255, 255, .97);
  box-shadow: 0 18px 44px rgba(20, 55, 30, .16), 0 0 30px -24px rgba(69, 255, 42, .5);
}

.social-proof__close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.legal-card b {
  color: var(--text);
}

.legal-card .legal-note {
  color: var(--muted-2);
}

.footer-col h4 {
  color: var(--text);
}

.card-name,
.card-name a {
  color: var(--text);
}

.pagination a:hover,
.pagination a.active,
.pagination a.is-active,
.pagination a[aria-current="page"] {
  background: #45ff2a !important;
  border-color: #45ff2a !important;
  color: #061006 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(69, 255, 42, 0.45) !important;
}

.badge--new {
  border: 1px solid var(--line-strong);
}

.toast {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 18px 42px rgba(20, 55, 30, .16);
}

.upsell-modal__close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

/* Logo de la empresa administrable */
.logo__custom-img {
  max-height: 80px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.logo:hover .logo__custom-img {
  transform: scale(1.03);
}

.footer-brand .logo__custom-img {
  max-height: 84px;
  max-width: 340px;
}

/* ============================================================
   MEJORAS VISUALES Y ANIMACIONES ULTRA PREMIUM
   ============================================================ */

/* 1. Tarjetas con Perspectiva 3D y Reflejo Glare */
.product-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card.is-tilting {
  transition: none !important;
  box-shadow: 0 30px 60px -25px rgba(20, 55, 30, 0.35), 0 0 25px -5px rgba(69, 255, 42, 0.2) !important;
  z-index: 10;
}

.product-card__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

/* 2. Fly to Cart con Elevación 3D del Card & Carrito Rebotante */
.product-card.is-purchasing {
  animation: cardPurchasingPop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
}

@keyframes cardPurchasingPop {
  0% { transform: scale(1); }
  35% { transform: translateY(-7px) scale(1.025); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(69, 255, 42, 0.3); }
  100% { transform: scale(1); }
}

.fly-to-cart-item {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0e13;
  border: 2px solid var(--brand);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(69, 255, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform, left, top, opacity, border-radius;
  transition:
    left 0.7s cubic-bezier(0.25, 0.9, 0.2, 1),
    top 0.7s cubic-bezier(0.25, 0.9, 0.2, 1),
    transform 0.7s cubic-bezier(0.25, 0.9, 0.2, 1),
    opacity 0.7s ease,
    border-radius 0.7s ease;
}

.fly-to-cart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fly-to-cart-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
}

.cart-bump {
  animation: cartIconBounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  position: relative;
}

.cart-bump::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: cartShockwave 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes cartShockwave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes cartIconBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); color: var(--brand); filter: drop-shadow(0 0 12px rgba(69, 255, 42, 0.85)); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); filter: none; }
}

/* 3. Destello Neón en Botones Principales (Shimmer / Glow Sweep) */
.btn--primary,
.card-add,
.btn-cta,
.btn-add-cart {
  position: relative;
  overflow: hidden;
}

.btn--primary::after,
.card-add::after,
.btn-cta::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: btnGlowSweep 5.5s infinite ease-in-out;
}

@keyframes btnGlowSweep {
  0%, 75% {
    left: -70%;
    opacity: 0;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* 5. Transición suave de colores y pulso en variantes */
.color-swatch {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--brand), 0 0 16px rgba(69, 255, 42, 0.45) !important;
  animation: swatchPulse 2s infinite ease-in-out;
}

@keyframes swatchPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* 6. Cabecera con Vidrio Esmerilado Dinámico */
.site-header {
  transition: padding 0.28s ease, background 0.28s ease, backdrop-filter 0.28s ease, box-shadow 0.28s ease;
}

.site-header .header-inner {
  transition: padding 0.28s ease;
}

.site-header.is-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header.is-scrolled {
  background:
    radial-gradient(85% 130% at 50% -25%, rgba(69, 255, 42, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(14, 17, 23, 0.96) 0%, rgba(8, 9, 13, 0.98) 100%) !important;
  backdrop-filter: blur(22px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(200%) !important;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.9), 0 0 25px -6px rgba(69, 255, 42, 0.25) !important;
  border-bottom: 1px solid rgba(69, 255, 42, 0.3) !important;
}

/* ============================================================
   7. ANIMACIÓN ROMPECABEZAS / ENSAMBLADO MAGNÉTICO DEL CARRITO
   ============================================================ */
.drawer.is-assembling .cart-item {
  animation: puzzleItemDrop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  animation-delay: var(--puzzle-delay, 0ms);
  will-change: transform, opacity;
}

@keyframes puzzleItemDrop {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* La imagen cae como ficha de rompecabezas con rebote magnético */
.drawer.is-assembling .cart-item .cart-item__img {
  animation: puzzleImgSnap 0.48s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--puzzle-delay, 0ms) + 40ms);
  will-change: transform, opacity;
}

@keyframes puzzleImgSnap {
  0% {
    opacity: 0;
    transform: translateY(-26px) rotate(-8deg) scale(0.8);
    box-shadow: 0 0 0 rgba(69, 255, 42, 0);
  }
  65% {
    transform: translateY(4px) rotate(1.5deg) scale(1.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(69, 255, 42, 0.35);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
    box-shadow: none;
  }
}

/* Título y detalles se deslizan a los lados para encajar */
.drawer.is-assembling .cart-item .cart-item__info b,
.drawer.is-assembling .cart-item .cart-item__info small {
  animation: puzzleInfoSlide 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) both;
  animation-delay: calc(var(--puzzle-delay, 0ms) + 70ms);
}

@keyframes puzzleInfoSlide {
  0% {
    opacity: 0;
    transform: translateX(18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* El precio cae como moneda brillante y rebota en su lugar */
.drawer.is-assembling .cart-item .cart-item__price {
  animation: puzzlePriceDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--puzzle-delay, 0ms) + 100ms);
}

@keyframes puzzlePriceDrop {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(1.25);
    color: #8dff7a;
    text-shadow: 0 0 10px rgba(69, 255, 42, 0.8);
  }
  60% {
    transform: translateY(2px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: none;
  }
}

/* Controles de cantidad encajan desde la derecha */
.drawer.is-assembling .cart-item .cart-item__side {
  animation: puzzleSideSnap 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) both;
  animation-delay: calc(var(--puzzle-delay, 0ms) + 90ms);
}

@keyframes puzzleSideSnap {
  0% {
    opacity: 0;
    transform: translateX(16px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Base del carrito (Total y botón) se bloquea con subida suave */
.drawer.is-assembling .drawer-foot {
  animation: puzzleFootLock 0.48s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  animation-delay: 140ms;
}

@keyframes puzzleFootLock {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer.is-assembling .drawer-row.total b {
  animation: puzzleTotalPop 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 240ms;
}

@keyframes puzzleTotalPop {
  0% {
    transform: scale(0.85);
    color: #8dff7a;
  }
  60% {
    transform: scale(1.12);
    color: var(--brand);
    text-shadow: 0 0 14px rgba(69, 255, 42, 0.6);
  }
  100% {
    transform: scale(1);
    text-shadow: none;
  }
}

/* ============================================================
   8. SKELETON SHIMMER LOADING (SILUETAS LUMINOSAS DE CARGA)
   ============================================================ */
.skeleton-grid {
  pointer-events: none;
}

.skeleton-card {
  background: var(--surface, #0d0e14);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 330px;
  animation: skeletonFadeIn 0.28s ease both;
  animation-delay: var(--sk-delay, 0ms);
}

@keyframes skeletonFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.05));
}

.skeleton-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.skeleton-line {
  border-radius: 6px;
}

.skeleton-line--cat {
  width: 35%;
  height: 11px;
}

.skeleton-line--title {
  width: 82%;
  height: 17px;
  margin-bottom: 4px;
}

.skeleton-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.skeleton-line--price {
  width: 44%;
  height: 22px;
}

.skeleton-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

/* Efecto Shimmer Metálico Fluido */
.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.skeleton-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.09) 35%,
    rgba(69, 255, 42, 0.14) 50%,
    rgba(255, 255, 255, 0.09) 65%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmerSweep 1.5s infinite ease-in-out;
}

@keyframes shimmerSweep {
  100% {
    transform: translateX(100%);
  }
}

.site-header.is-scrolled .header-main {
  padding: 8px 0;
}

.site-header.is-scrolled .header-main__left .logo__custom-img {
  height: 82px !important;
  max-height: 85px !important;
}

.site-header.is-scrolled .header-nav-strip {
  padding: 8px 0;
}

@media (max-width: 980px) {
  .header-main {
    padding: 8px 0;
  }
  .header-main__left .logo__custom-img {
    height: 68px !important;
    max-height: 72px !important;
  }
  .header-main__center {
    display: none;
  }
  .header-social-pill {
    display: none !important;
  }
  .header-contact-link {
    display: none !important;
  }
  .header-nav-strip {
    display: none !important;
  }
  .site-header .mobile-toggle {
    display: grid !important;
  }
  .header-cart-label {
    display: none;
  }
  .mobile-search-form {
    display: flex;
    position: relative;
    margin-bottom: 16px;
  }
  .mobile-search-form input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 16px;
    border-radius: 999px;
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
  }
  .mobile-search-form input:focus {
    border-color: #45ff2a;
  }
  .mobile-search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #45ff2a;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}

/* ---------------- Botón Flotante WhatsApp con Mascota Robot ---------------- */
.wa-float-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.wa-float-bubble {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 10px 14px 10px 16px;
  animation: waBubbleFadeIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid #ffffff;
}

.wa-float-bubble__link {
  text-decoration: none;
  color: #111827;
  font-family: var(--font-body, system-ui);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  display: block;
  letter-spacing: -0.01em;
}

.wa-float-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(69, 255, 42, 0.35);
}

.wa-float-bubble__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  padding: 0 0 0 8px;
  margin-left: 6px;
  border-left: 1px solid #e5e7eb;
  transition: color 0.2s ease;
}

.wa-float-bubble__close:hover {
  color: #ef4444;
}

.wa-float-btn {
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.wa-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.wa-float-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(69, 255, 42, 0.45);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-float-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.wa-float-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #25d366;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.5);
}

.wa-float-badge svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
}

@keyframes waBubbleFadeIn {
  from {
    opacity: 0;
    transform: translateX(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 768px) {
  .wa-float-widget {
    bottom: 18px;
    right: 16px;
    gap: 8px;
  }
  .wa-float-avatar {
    width: 54px;
    height: 54px;
  }
  .wa-float-bubble {
    padding: 8px 10px 8px 12px;
  }
  .wa-float-bubble__link {
    font-size: 12px;
  }
}
