:root {
  --black: #07070a;
  --black-soft: #111218;
  --dark-card: #13151f;
  --white: #ffffff;
  --surface-light: #f6f6fa;
  --border-light: #e6e7ef;
  --border-dark: rgba(255, 255, 255, 0.12);
  --text-dark: #101218;
  --text-muted: #5b6172;
  --text-light: #f8fafc;
  --text-light-muted: #a1a8b8;
  --cobalt: #0052ff;
  --cobalt-hover: #0041cc;
  --violet: #6d28d9;
  --lavender-soft: #eeecff;
  --emerald: #10b981;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

a {
  color: inherit;
}

/* ================= HEADER STOREFRONT ================= */
.site-header {
  background: var(--black);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--text-light-muted);
  padding: 7px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar-right a:hover {
  color: #ffffff;
}

.navbar-main {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-link img {
  height: 44px;
  width: auto;
  display: block;
}

.brand-company-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light-muted);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 10px;
  line-height: 1.2;
}

.brand-company-tag strong {
  display: block;
  color: #ffffff;
  font-size: 12px;
}

.search-pill {
  flex: 1;
  max-width: 540px;
  background: #ffffff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 16px;
  gap: 10px;
  color: var(--text-dark);
}

.search-pill-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  padding-right: 12px;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.search-pill input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
  min-width: 0;
}

.search-pill input::placeholder {
  color: #64748b;
}

.search-pill button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--cobalt);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(0, 82, 255, 0.35);
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.status-pill:hover {
  background: var(--cobalt-hover);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.nav-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Pestañas de navegación */
.subnav {
  background: var(--black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
}

.subnav-links::-webkit-scrollbar {
  display: none;
}

.subnav-links a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.subnav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.subnav-links a.active {
  color: #ffffff;
  background: rgba(0, 82, 255, 0.26);
  border: 1px solid rgba(96, 165, 250, 0.45);
  font-weight: 600;
}

/* ================= BOTONES ================= */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--black);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #eef2ff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-cobalt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cobalt);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cobalt:hover {
  background: var(--cobalt-hover);
  transform: translateY(-1px);
}

/* ================= BENTO HERO ================= */
.section-space {
  padding: 26px 0 40px;
}

.bento-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 74% 50%, rgba(56, 189, 248, 0.24) 0%, rgba(37, 99, 235, 0.18) 34%, transparent 64%),
    radial-gradient(circle at 12% 88%, rgba(109, 40, 217, 0.22) 0%, transparent 48%),
    linear-gradient(125deg, #02081b 0%, #071949 56%, #0d2b73 100%);
  color: #ffffff;
  padding: clamp(26px, 3.6vw, 44px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 28px;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.16);
  box-shadow: 0 24px 60px rgba(2, 8, 27, 0.35);
}

.hero-left {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Escenario orbital animado a la derecha del banner */
.hero-orbit-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}

.hero-orbit-glow {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.34) 0%, rgba(37, 99, 235, 0.18) 45%, transparent 72%);
  filter: blur(18px);
  animation: heroGlowPulse 4s ease-in-out infinite alternate;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(103, 232, 249, 0.65);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45), inset 0 0 14px rgba(56, 189, 248, 0.22);
}

.orbit-ring.r1 {
  width: 380px;
  height: 155px;
  transform: rotate(-18deg);
  animation: heroOrbitTilt1 14s linear infinite;
}

.orbit-ring.r2 {
  width: 340px;
  height: 135px;
  border-color: rgba(147, 197, 253, 0.45);
  border-width: 1.5px;
  transform: rotate(22deg);
  animation: heroOrbitTilt2 18s linear infinite reverse;
}

.orbit-ring.r3 {
  width: 280px;
  height: 280px;
  border-style: dashed;
  border-width: 1.5px;
  border-color: rgba(125, 211, 252, 0.32);
  box-shadow: none;
  animation: heroOrbitSpin 24s linear infinite;
}

.orbit-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: 0 0 12px #38bdf8, 0 0 22px #38bdf8;
  animation: heroSparkle 3.2s ease-in-out infinite;
}

.orbit-spark.s1 { top: 14%; left: 16%; animation-delay: 0s; }
.orbit-spark.s2 { top: 20%; right: 12%; width: 9px; height: 9px; animation-delay: 0.7s; }
.orbit-spark.s3 { bottom: 18%; left: 14%; width: 5px; height: 5px; animation-delay: 1.3s; }
.orbit-spark.s4 { bottom: 14%; right: 18%; width: 8px; height: 8px; animation-delay: 1.9s; }
.orbit-spark.s5 { top: 52%; left: 6%; width: 5px; height: 5px; animation-delay: 0.4s; }
.orbit-spark.s6 { top: 46%; right: 6%; width: 6px; height: 6px; animation-delay: 1.6s; }

.orbit-device {
  position: absolute;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 18px 34px rgba(2, 8, 27, 0.85)) drop-shadow(0 0 22px rgba(56, 189, 248, 0.34));
}

.orbit-device.main-phone {
  width: 196px;
  height: 268px;
  z-index: 4;
  margin-right: 22px;
  animation: heroFloatMain 4.8s ease-in-out infinite;
}

.orbit-device.side-headphones {
  width: 176px;
  height: 176px;
  top: 8px;
  right: 8px;
  z-index: 5;
  animation: heroFloatA 4.2s ease-in-out 0.4s infinite;
}

.orbit-device.side-watch {
  width: 112px;
  height: 140px;
  bottom: 24px;
  left: 6px;
  z-index: 5;
  animation: heroFloatB 4.6s ease-in-out 0.9s infinite;
}

.orbit-device.side-earbuds {
  width: 116px;
  height: 108px;
  bottom: 18px;
  right: 18px;
  z-index: 5;
  animation: heroFloatC 4.4s ease-in-out 1.4s infinite;
}

@keyframes heroGlowPulse {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes heroOrbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes heroOrbitTilt1 {
  0% { transform: rotate(-18deg) scale(1); }
  50% { transform: rotate(-12deg) scale(1.04); }
  100% { transform: rotate(-18deg) scale(1); }
}

@keyframes heroOrbitTilt2 {
  0% { transform: rotate(22deg) scale(1); }
  50% { transform: rotate(16deg) scale(0.96); }
  100% { transform: rotate(22deg) scale(1); }
}

@keyframes heroSparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes heroFloatMain {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes heroFloatA {
  0%, 100% { transform: translateY(0px) rotate(6deg); }
  50% { transform: translateY(-10px) rotate(11deg); }
}

@keyframes heroFloatB {
  0%, 100% { transform: translateY(0px) rotate(-8deg); }
  50% { transform: translateY(-9px) rotate(-3deg); }
}

@keyframes heroFloatC {
  0%, 100% { transform: translateY(0px) rotate(4deg); }
  50% { transform: translateY(-11px) rotate(-2deg); }
}

.hero-logo-inline {
  height: 76px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(196, 181, 253, 0.22));
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #e2e8f0;
}

.hero-main-body .slogan-tag {
  display: inline-block;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-main-body h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.hero-main-body h1 span {
  background: linear-gradient(90deg, #60a5fa, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-main-body p {
  color: #cbd5e1;
  font-size: 0.98rem;
  max-width: 520px;
  margin-bottom: 12px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Bento inferior de 4 tarjetas destacadas */
.bento-right-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bento-tile {
  position: relative;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 75% 40%, rgba(0, 82, 255, 0.18) 0%, transparent 65%),
    linear-gradient(155deg, #0b0e18 0%, #171c2e 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 212px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.bento-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.5);
}

.bento-pill {
  display: inline-block;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
}

.bento-cutout {
  position: absolute;
  right: 8px;
  top: 10px;
  width: 132px;
  height: 152px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s ease;
}

.bento-tile[data-product-id="forros-magsafe-colores"] .bento-cutout {
  width: 168px;
  height: 178px;
  right: 2px;
  top: 2px;
}

.bento-tile:hover .bento-cutout {
  transform: scale(1.06) translateY(-2px);
}

.bento-tile-text {
  position: relative;
  z-index: 2;
  max-width: 56%;
  margin-top: auto;
}

.bento-tile-text small {
  display: block;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 3px;
}

.bento-tile-text h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.bento-price-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bento-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #e11d48 100%);
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.bento-bcv {
  font-size: 10px;
  font-weight: 700;
  color: #fecdd3;
}

/* ================= SPLIT BANNER EMPRESA ================= */
.split-banner {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.company-banner {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(10, 12, 20, 0.96) 35%, rgba(17, 24, 39, 0.88) 100%),
    url("bg-ondas.webp") center/cover;
  color: #ffffff;
  padding: clamp(28px, 3.6vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.company-banner .eyebrow-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 10px;
}

.company-banner h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 720px;
}

.company-banner p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 740px;
}

.company-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.company-pills span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 500;
}

.split-stack {
  display: grid;
  gap: 16px;
}

.stack-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 164px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.stack-card.dark {
  background: linear-gradient(135deg, #121524 0%, #1c2238 100%);
  color: #ffffff;
}

.stack-card.lavender {
  background:
    linear-gradient(135deg, rgba(238, 236, 255, 0.94), rgba(224, 220, 255, 0.88)),
    url("bg-ondas.webp") center/cover;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.stack-card small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.8;
}

.stack-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  margin: 6px 0;
}

.stack-card p {
  font-size: 0.9rem;
  opacity: 0.88;
}

/* ================= TIRA DE 6 PILARES ================= */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trust-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.trust-item strong {
  display: block;
  color: var(--text-dark);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 1px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lavender-soft);
  color: var(--violet);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ================= BANNERS DOBLES ================= */
.dual-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.promo-banner {
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 196px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.promo-banner.left {
  background: linear-gradient(135deg, #0b1022 0%, #172554 100%);
}

.promo-banner.right {
  background: linear-gradient(135deg, #160e2a 0%, #2e1065 100%);
}

.promo-banner h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.promo-banner p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 16px;
  max-width: 320px;
}

.promo-cutout {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
}

/* ================= CABECERAS DE SECCIÓN ================= */
.section-block {
  padding: 46px 0 14px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.eyebrow-accent {
  display: block;
  color: var(--violet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.section-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-top: 4px;
}

.section-link {
  color: var(--violet);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

/* ================= CATEGORÍAS CON RECORTES ================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-3px);
  border-color: var(--cobalt);
  box-shadow: 0 10px 26px rgba(0, 82, 255, 0.12);
}

.category-card.active {
  background: var(--lavender-soft);
}

.cat-visual {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: var(--surface-light);
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
}

.cat-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cat-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.cat-arrow {
  color: var(--text-muted);
  font-size: 15px;
}

/* ================= TARJETAS DE PRODUCTOS ESTILO STORE ================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab {
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--cobalt);
}

.filter-tab.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #ffffff;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.product-card {
  flex: 0 1 calc(25% - 14px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.product-card.hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 82, 255, 0.45);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
}

.product-media {
  aspect-ratio: 1 / 1;
  background: var(--surface-light);
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-info {
  padding: 15px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  flex: 1;
}

.product-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-cat-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--cobalt);
  background: rgba(0, 82, 255, 0.08);
  padding: 3px 9px;
  border-radius: 999px;
}

.product-brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.product-info h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.product-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 6px;
}

.product-bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #e11d48 100%);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
  line-height: 1.25;
}

.product-price.consult {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--violet);
  background: var(--lavender-soft);
  box-shadow: none;
}

.product-bcv {
  font-size: 10.5px;
  font-weight: 700;
  color: #be123c;
  background: #ffe4e6;
  padding: 3px 7px;
  border-radius: 6px;
}

.product-cta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.product-actions-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-ml-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffe600;
  border: 1px solid #e5ce00;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.card-ml-icon:hover {
  transform: scale(1.1);
  background: #f5dc00;
}

.card-ml-icon svg,
.card-ml-icon img {
  width: 21px;
  height: auto;
  display: block;
}

.empty-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  background: var(--surface-light);
  border-radius: var(--radius-md);
  margin-top: 12px;
}

/* ================= BANNER ALARGADO MERCADO LIBRE ================= */
.ml-strip-wrap {
  margin: 34px 0 8px;
}

.ml-banner-container {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e5ce00;
  overflow: hidden;
  background: linear-gradient(90deg, #ffe600 0%, #fff159 50%, #ffe600 100%);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(45, 50, 119, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.ml-banner-container:hover {
  box-shadow: 0 8px 24px rgba(45, 50, 119, 0.16);
  transform: translateY(-2px);
}

.ml-banner-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-150%) skewX(-25deg);
  animation: mlShimmer 4.5s infinite ease-in-out;
  pointer-events: none;
}

.ml-banner-inner {
  position: relative;
  z-index: 2;
  padding: 13px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.ml-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ml-official-logo {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ml-banner-container:hover .ml-official-logo {
  transform: scale(1.04);
}

.ml-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.ml-brand-title {
  font-family: "Space Grotesk", sans-serif;
  color: #2d3277;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.ml-brand-sub {
  color: rgba(45, 50, 119, 0.82);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

.ml-divider {
  width: 1.5px;
  height: 28px;
  background: rgba(45, 50, 119, 0.16);
  border-radius: 999px;
}

.ml-promo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}

.ml-truck-badge {
  display: inline-flex;
  align-items: center;
  background: #00a650;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 166, 80, 0.25);
  animation: mlPulse 2s infinite;
  flex-shrink: 0;
}

.ml-speed-lines {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  margin-right: 4px;
}

.ml-speed-line {
  display: block;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  animation: mlSpeedLine 1.2s infinite linear;
}

.ml-speed-line.l1 { width: 8px; }
.ml-speed-line.l2 { width: 12px; animation-delay: 0.2s; }
.ml-speed-line.l3 { width: 6px; animation-delay: 0.4s; }

.ml-truck-icon {
  width: 22px;
  height: 22px;
  display: block;
  animation: mlTruckDrive 2.2s infinite ease-in-out;
}

.ml-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.ml-headline {
  font-family: "Space Grotesk", sans-serif;
  color: #2d3277;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.ml-couriers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ml-courier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(45, 50, 119, 0.12);
  padding: 3px 7px;
  border-radius: 6px;
  height: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ml-courier-badge img {
  height: 15px;
  width: auto;
  display: block;
  object-fit: contain;
}

.ml-float-box {
  color: rgba(45, 50, 119, 0.8);
  animation: mlFloatBox 3.2s infinite ease-in-out;
  display: grid;
  place-items: center;
}

.ml-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3483fa;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(52, 131, 250, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ml-banner-container:hover .ml-cta-btn {
  background: #2968c8;
  transform: translateX(2px);
}

@keyframes mlShimmer {
  0% { transform: translateX(-150%) skewX(-25deg); }
  45%, 100% { transform: translateX(380%) skewX(-25deg); }
}

@keyframes mlTruckDrive {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(3px) translateY(-1.5px); }
  50% { transform: translateX(6px) translateY(0); }
  75% { transform: translateX(2px) translateY(-1px); }
}

@keyframes mlSpeedLine {
  0% { transform: translateX(5px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(-7px); opacity: 0; }
}

@keyframes mlFloatBox {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}

@keyframes mlPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 166, 80, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(0, 166, 80, 0); }
}

/* ================= MARCAS Y RUTINA ================= */
.brands-strip {
  margin: 46px 0 12px;
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.brands-strip small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.brands-strip p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 52px);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: #1e293b;
  opacity: 0.85;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.routine-card {
  border-radius: 18px;
  padding: 24px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.routine-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.routine-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.routine-card:hover,
.routine-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 22px 42px rgba(0, 82, 255, 0.24);
}

.routine-card:hover::before,
.routine-card:focus-visible::before {
  transform: scale(1.22);
}

.routine-card:hover::after,
.routine-card:focus-visible::after {
  transform: translateX(110%);
}

.routine-card:nth-child(1) {
  background: linear-gradient(135deg, #0052ff 0%, #0ea5e9 55%, #1e1b4b 100%);
}
.routine-card:nth-child(2) {
  background: linear-gradient(135deg, #6d28d9 0%, #c026d3 55%, #312e81 100%);
}
.routine-card:nth-child(3) {
  background: linear-gradient(135deg, #4338ca 0%, #8b5cf6 52%, #2563eb 100%);
}
.routine-card:nth-child(4) {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 52%, #1d4ed8 100%);
}
.routine-card:nth-child(5) {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #a855f7 100%);
}
.routine-card:nth-child(6) {
  background: linear-gradient(135deg, #059669 0%, #10b981 52%, #0284c7 100%);
}

.routine-visual {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.routine-card:hover .routine-visual,
.routine-card:focus-visible .routine-visual {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.24);
}

.routine-visual svg {
  width: 38px;
  height: 38px;
  display: block;
}

/* Animaciones específicas por categoría al seleccionar/pasar cursor */
.routine-card:hover .anim-bolt,
.routine-card:focus-visible .anim-bolt {
  animation: chargeZap 0.75s ease-in-out infinite alternate;
}
.routine-card:hover .anim-charge-ring,
.routine-card:focus-visible .anim-charge-ring {
  animation: chargeRing 1.2s ease-out infinite;
}

@keyframes chargeZap {
  0% { transform: scale(0.95); filter: drop-shadow(0 0 2px #fff); }
  100% { transform: scale(1.12); filter: drop-shadow(0 0 12px #fef08a); }
}
@keyframes chargeRing {
  0% { stroke-opacity: 0.9; transform: scale(0.85); transform-origin: center; }
  100% { stroke-opacity: 0; transform: scale(1.3); transform-origin: center; }
}

.anim-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.routine-card:hover .anim-bar-1, .routine-card:focus-visible .anim-bar-1 { animation: eqWave 0.65s ease-in-out infinite alternate; }
.routine-card:hover .anim-bar-2, .routine-card:focus-visible .anim-bar-2 { animation: eqWave 0.5s ease-in-out 0.12s infinite alternate; }
.routine-card:hover .anim-bar-3, .routine-card:focus-visible .anim-bar-3 { animation: eqWave 0.6s ease-in-out 0.25s infinite alternate; }
.routine-card:hover .anim-bar-4, .routine-card:focus-visible .anim-bar-4 { animation: eqWave 0.48s ease-in-out 0.18s infinite alternate; }
.routine-card:hover .anim-bar-5, .routine-card:focus-visible .anim-bar-5 { animation: eqWave 0.7s ease-in-out 0.08s infinite alternate; }

@keyframes eqWave {
  0% { transform: scaleY(0.45); }
  100% { transform: scaleY(1.2); }
}

.routine-card:hover .anim-case-front,
.routine-card:focus-visible .anim-case-front {
  animation: caseFloat 0.9s ease-in-out infinite alternate;
}
.routine-card:hover .anim-case-back,
.routine-card:focus-visible .anim-case-back {
  animation: caseTilt 0.9s ease-in-out infinite alternate;
}
@keyframes caseFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(2px, -3px); }
}
@keyframes caseTilt {
  0% { transform: rotate(0deg); transform-origin: center bottom; }
  100% { transform: rotate(-6deg); transform-origin: center bottom; }
}

.routine-card:hover .anim-wifi-1, .routine-card:focus-visible .anim-wifi-1 { animation: wifiPing 1.2s ease-in-out 0s infinite; }
.routine-card:hover .anim-wifi-2, .routine-card:focus-visible .anim-wifi-2 { animation: wifiPing 1.2s ease-in-out 0.22s infinite; }
.routine-card:hover .anim-wifi-3, .routine-card:focus-visible .anim-wifi-3 { animation: wifiPing 1.2s ease-in-out 0.44s infinite; }
@keyframes wifiPing {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; filter: drop-shadow(0 0 6px #ffffff); }
}

.routine-card:hover .anim-orbit,
.routine-card:focus-visible .anim-orbit {
  animation: techOrbit 3.6s linear infinite;
  transform-origin: center;
}
.routine-card:hover .anim-spark,
.routine-card:focus-visible .anim-spark {
  animation: techPulse 0.8s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes techOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes techPulse {
  0% { transform: scale(0.88); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; }
}

.routine-card:hover .anim-dot-1, .routine-card:focus-visible .anim-dot-1 { animation: chatBounce 0.7s ease-in-out 0s infinite alternate; }
.routine-card:hover .anim-dot-2, .routine-card:focus-visible .anim-dot-2 { animation: chatBounce 0.7s ease-in-out 0.16s infinite alternate; }
.routine-card:hover .anim-dot-3, .routine-card:focus-visible .anim-dot-3 { animation: chatBounce 0.7s ease-in-out 0.32s infinite alternate; }
@keyframes chatBounce {
  0% { transform: translateY(0); opacity: 0.65; }
  100% { transform: translateY(-2.5px); opacity: 1; }
}

.routine-card h3,
.routine-card p,
.routine-cta {
  position: relative;
  z-index: 2;
}

.routine-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  max-width: 78%;
}

.routine-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.routine-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.routine-card:hover .routine-cta {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(3px);
}

/* ================= PÁGINAS INTERNAS (CABECERA Y CONTENIDO) ================= */
.page-hero {
  background:
    radial-gradient(circle at 80% 25%, rgba(0, 82, 255, 0.28), transparent 50%),
    linear-gradient(145deg, #070910 0%, #121628 100%);
  color: #ffffff;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero .eyebrow-pill {
  display: inline-block;
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 660px;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 46px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
}

.info-card h2,
.info-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 48px;
}

.contact-social-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-social-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt);
  box-shadow: 0 14px 32px rgba(0, 82, 255, 0.1);
}

.contact-social-card svg {
  width: 48px;
  height: 48px;
}

.contact-social-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-dark);
}

.contact-social-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ================= PRE-FOOTER Y FOOTER NEGRO ================= */
.prefooter {
  background: #0d0e14;
  color: #ffffff;
  text-align: center;
  padding: 44px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.prefooter h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.prefooter p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 22px;
}

.site-footer {
  background: #050507;
  color: var(--text-light);
  padding: 54px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-desc {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 310px;
  margin-bottom: 18px;
}

.social-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #12141e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  background: #1a1e2e;
  border-color: rgba(96, 165, 250, 0.45);
}

.social-icon-link svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col li,
.footer-col a {
  color: var(--text-light-muted);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #7c8599;
}

/* ================= MODAL DE DETALLE DE PRODUCTO ================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 120;
}

.modal.open {
  display: grid;
}

.modal-card {
  position: relative;
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 22px;
  max-width: 780px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.modal-media {
  background: var(--surface-light);
  padding: 28px;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.modal-media img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
}

.modal-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.modal-body h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-price-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-price-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #e11d48 100%);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.28);
}

.modal-price-note {
  font-size: 11.5px;
  font-weight: 700;
  color: #be123c;
  background: #ffe4e6;
  padding: 5px 11px;
  border-radius: 999px;
}

.modal-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.modal-specs {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 4px 0 8px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.modal-specs li::before {
  content: "✓ ";
  color: var(--cobalt);
  font-weight: 700;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #062b14;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.btn-ml {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffe600;
  color: #2d3277;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #e5ce00;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-ml:hover {
  background: #f5dc00;
  transform: translateY(-1px);
}

.btn-ml svg,
.btn-ml img {
  width: 24px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #052e16;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px);
  background: #20bd5a;
}

.wa-float svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }

  .wa-float span {
    display: none;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .bento-hero,
  .split-banner,
  .hero-main-card {
    grid-template-columns: 1fr;
  }

  .bento-right-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-orbit-stage {
    min-height: 290px;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card {
    flex: 0 1 calc(33.333% - 12px);
  }

  .about-cards-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: relative;
  }

  .navbar-main {
    flex-wrap: wrap;
    gap: 12px;
  }

  .search-pill {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .dual-banners,
  .routine-grid,
  .modal-card {
    grid-template-columns: 1fr;
  }

  .ml-divider,
  .ml-float-box {
    display: none;
  }

  .ml-banner-inner {
    padding: 13px 16px;
    gap: 10px 12px;
  }

  .ml-promo-center {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding-top: 10px;
    border-top: 1px solid rgba(45, 50, 119, 0.14);
  }

  .ml-copy {
    flex: 1;
    min-width: 0;
  }

  .modal-card {
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-media {
    min-height: 200px;
    padding: 20px;
  }

  .modal-media img {
    max-height: 190px;
  }

  .modal-body {
    padding: 22px 20px;
  }

  .product-card {
    flex: 0 1 calc(50% - 9px);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1240px, 92%);
  }

  .topbar {
    font-size: 11px;
    padding: 6px 0;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
    gap: 4px 12px;
  }

  .topbar-right {
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .navbar-main {
    padding: 10px 0;
    gap: 10px;
  }

  .brand-link img {
    height: 34px;
  }

  .brand-company-tag {
    font-size: 10px;
    letter-spacing: 1.2px;
    padding-left: 8px;
  }

  .brand-company-tag strong {
    font-size: 11px;
  }

  .status-pill {
    padding: 6px 11px;
    font-size: 10.5px;
    letter-spacing: 0.5px;
  }

  .search-pill {
    padding: 3px 5px 3px 12px;
  }

  .search-pill-label {
    display: none;
  }

  .section-space {
    padding: 18px 0 30px;
  }

  .hero-main-card {
    min-height: auto;
    padding: 22px 18px;
    gap: 18px;
  }

  .hero-orbit-stage {
    min-height: 230px;
  }

  .orbit-ring.r1 { width: 260px; height: 110px; }
  .orbit-ring.r2 { width: 235px; height: 96px; }
  .orbit-ring.r3 { width: 195px; height: 195px; }

  .orbit-device.main-phone { width: 138px; height: 188px; margin-right: 12px; }
  .orbit-device.side-headphones { width: 122px; height: 122px; top: 4px; right: 6px; }
  .orbit-device.side-watch { width: 78px; height: 98px; bottom: 10px; left: 4px; }
  .orbit-device.side-earbuds { width: 82px; height: 76px; bottom: 8px; right: 8px; }

  .hero-main-top {
    margin-bottom: 18px;
    gap: 10px;
  }

  .hero-logo-inline {
    height: 54px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 5px 10px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn-white,
  .hero-cta-row .btn-ghost,
  .company-banner .btn-white {
    width: 100%;
    justify-content: center;
  }

  .bento-right-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-tile {
    min-height: 165px;
    padding: 16px;
  }

  .bento-cutout {
    width: 110px;
    height: 124px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .bento-tile[data-product-id="forros-magsafe-colores"] .bento-cutout {
    width: 142px;
    height: 150px;
    right: 4px;
    top: 50%;
  }

  .bento-tile:hover .bento-cutout {
    transform: translateY(-52%) scale(1.04);
  }

  .bento-tile-text {
    max-width: 58%;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    min-height: auto;
  }

  .promo-banner p {
    max-width: 100%;
  }

  .promo-cutout {
    order: -1;
    width: 116px;
    height: 116px;
  }

  .section-block {
    padding: 32px 0 10px;
  }

  .trust-strip,
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cat-visual {
    width: 74px;
    height: 74px;
  }

  .cat-footer {
    font-size: 12px;
  }

  .product-card,
  .about-cards-grid,
  .contact-grid {
    flex: 0 1 100%;
    grid-template-columns: 1fr;
  }

  .product-media {
    aspect-ratio: 4 / 3;
    padding: 14px;
  }

  .routine-card {
    min-height: 175px;
    padding: 20px 18px;
  }

  .routine-visual {
    width: 54px;
    height: 54px;
    top: 14px;
    right: 14px;
    border-radius: 14px;
  }

  .routine-visual svg {
    width: 30px;
    height: 30px;
  }

  .routine-card h3 {
    max-width: 74%;
    font-size: 1.05rem;
  }

  .company-banner {
    padding: 24px 18px;
  }

  .ml-banner-inner {
    padding: 12px 14px;
    gap: 10px;
  }

  .ml-brand {
    gap: 8px;
  }

  .ml-official-logo {
    height: 36px;
  }

  .ml-brand-sub {
    font-size: 9.5px;
  }

  .ml-promo-center {
    gap: 10px;
  }

  .ml-headline {
    font-size: 14px;
  }

  .ml-courier-badge {
    height: 21px;
    padding: 2px 6px;
  }

  .ml-courier-badge img {
    height: 13px;
  }

  .ml-cta-btn {
    font-size: 12px;
    padding: 7px 12px;
  }

  .page-hero {
    padding: 32px 0;
  }

  .modal-actions .btn-whatsapp,
  .modal-actions .btn-cobalt,
  .modal-actions .btn-ml {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .social-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .social-icon-link {
    justify-content: center;
  }

  .site-footer {
    padding: 40px 0 84px;
  }

  .nav-social-btn {
    display: none;
  }
}

@media (max-width: 390px) {
  .brand-company-tag {
    display: none;
  }

  .bento-cutout {
    width: 94px;
    height: 108px;
  }

  .bento-tile[data-product-id="forros-magsafe-colores"] .bento-cutout {
    width: 122px;
    height: 128px;
    right: 2px;
  }

  .bento-tile-text {
    max-width: 62%;
  }

  .social-shortcuts {
    grid-template-columns: 1fr;
  }
}

/* ================= FASE 4: CATEGORÍAS Y FICHAS DE PRODUCTO ================= */
.product-media-link {
  display: block;
  text-decoration: none;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title-link:hover {
  color: var(--cobalt);
}

.quick-view-btn {
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quick-view-btn:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--cobalt);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero .breadcrumb {
  color: #94a3b8;
  margin-bottom: 14px;
}

.page-hero .breadcrumb a {
  color: #93c5fd;
}

.cat-subsection {
  margin-top: 34px;
}

.cat-subsection-head {
  margin-bottom: 18px;
}

.cat-subsection-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cat-subsection-head p {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
}

.cat-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.cat-guide-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cat-guide-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cat-guide-card p,
.cat-guide-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cat-guide-card ul {
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.product-detail-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.product-detail-media {
  background: var(--surface-light);
  padding: clamp(16px, 2.8vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 360px;
}

.product-media-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
  display: grid;
  place-items: center;
}

.product-detail-media img,
.product-media-stage img {
  width: 100%;
  max-width: 460px;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  display: block;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.product-media-stage img.is-hover-zoomed {
  transform: scale(1.9);
  transition: transform 0.18s ease-out;
}

.product-media img[src*="cargador-vmen-25w.webp"],
.product-detail-media img[src*="cargador-vmen-25w.webp"],
.modal-media img[src*="cargador-vmen-25w.webp"] {
  mix-blend-mode: multiply;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.product-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 2px solid var(--border-light);
  background: #ffffff;
  padding: 4px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--cobalt);
  transform: translateY(-1px);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Lightbox de producto */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(5, 7, 13, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  gap: 12px;
}

.lightbox.open {
  display: flex;
}

.lightbox-toolbar {
  width: min(960px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
}

.lightbox-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lightbox-btn,
.lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox-close {
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.lightbox-btn:hover,
.lightbox-close:hover {
  background: rgba(0, 82, 255, 0.85);
  border-color: rgba(147, 197, 253, 0.65);
}

.lightbox-counter {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

.lightbox-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 96vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lightbox-stage {
  max-width: 94vw;
  max-height: 84vh;
  overflow: auto;
  display: flex;
  border-radius: 14px;
  touch-action: pinch-zoom pan-x pan-y;
}

.lightbox-img {
  margin: auto;
  max-width: min(90vw, 860px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.lightbox-img.is-zoomed {
  flex-shrink: 0;
  width: min(155vw, 1360px);
  max-width: none;
  max-height: none;
  height: auto;
  cursor: zoom-out;
}

.lightbox-img.is-dragging {
  cursor: grabbing;
}

.lightbox-nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-nav.hidden {
  display: none;
}

.lightbox-caption {
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  max-width: 92vw;
}

.product-detail-info {
  padding: clamp(24px, 3.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-meta-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-condition-pill {
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 999px;
}

.product-detail-info h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}

.product-detail-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.product-specs-box {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.product-specs-box h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.product-specs-box ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.product-shipping-box {
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: grid;
  gap: 4px;
}

.related-section {
  margin-top: 44px;
}

@media (max-width: 900px) {
  .product-detail-card,
  .cat-guide-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 240px;
  }

  .product-detail-media img,
  .product-media-stage img {
    max-height: min(52vh, 340px);
  }
}

@media (max-width: 560px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox-stage-wrap {
    max-height: 80vh;
  }

  .lightbox-stage {
    max-width: 94vw;
    max-height: 80vh;
  }

  .lightbox-img {
    max-width: 92vw;
    max-height: 76vh;
  }

  .lightbox-img.is-zoomed {
    width: 175vw;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}
