/* ==========================================================================
   GAMUZA STORE — Design tokens
   Paleta: gris metálico + blanco, acabado "aluminio cepillado"
   Display: Space Grotesk | Body: Inter | Datos/precios: IBM Plex Mono
   ========================================================================== */

:root {
  --white: #ffffff;
  --off-white: #f4f5f6;
  --steel-100: #e7e9eb;
  --steel-200: #d4d7da;
  --steel-300: #b3b8bd;
  --steel-400: #8b929a;
  --steel-600: #5a6067;
  --steel-800: #34383d;
  --graphite: #1d2023;
  --line: #dcdfe2;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(29, 32, 35, 0.06);
  --shadow-md: 0 8px 24px rgba(29, 32, 35, 0.10);
  --shadow-lg: 0 20px 48px rgba(29, 32, 35, 0.18);

  /* sheen metálico usado en cards, header, hero */
  --metal-sheen: linear-gradient(115deg, #e9ebec 0%, #ffffff 22%, #d7dade 38%, #f6f7f8 55%, #c9cdd1 72%, #ffffff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--steel-800);
  outline-offset: 2px;
}

/* ==========================================================================
   PROMO BAR — "6 cuotas sin interés solamente con DNI"
   Barra con shine metálico en movimiento + badge pulsante + ticker
   ========================================================================== */
.promo-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #1d2023 0%, #2c2f33 45%, #1d2023 100%);
  padding: 11px 16px;
}

.promo-bar__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.16) 52%,
    transparent 60%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: promo-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes promo-shine {
  0% { background-position: 140% 0; }
  55% { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}

.promo-bar__marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.promo-bar__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  animation: promo-ticker 20s linear infinite;
  will-change: transform;
}
.promo-bar__marquee:hover .promo-bar__track { animation-play-state: paused; }

.promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel-300);
}

.promo-bar__item--strong {
  color: var(--white);
  font-weight: 600;
  font-size: 12.5px;
}

.promo-bar__sep { color: var(--steel-600); font-size: 11px; }

.promo-bar__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7de08a;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(125, 224, 138, 0.6);
  animation: promo-dot-pulse 1.8s ease-out infinite;
}

@keyframes promo-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 224, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(125, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 224, 138, 0); }
}

@keyframes promo-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  background: linear-gradient(120deg, #4c4f52 0%, #6c6f72 30%, #9a9c9e 52%, #6c6f72 75%, #4c4f52 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.header__side { display: flex; align-items: center; }
.header__side--left { justify-content: flex-start; }
.header__side--right { justify-content: flex-end; }

.logo { display: flex; align-items: center; justify-content: center; }

.logo__img {
  height: 46px;
  width: 46px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.logo__medallion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  width: 96px;
  border-radius: 20px;
  padding: 5px;
  background: linear-gradient(145deg, #f4f5f6 0%, #c9cdd1 38%, #ffffff 58%, #b3b8bd 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo__medallion::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.55) 48%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.55) 52%, transparent 70%);
  background-size: 220% 100%;
  animation: logo-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logo-shine {
  0% { background-position: 160% 0; }
  60% { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

.logo:hover .logo__medallion {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.logo__img--brand {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  filter: contrast(1.05) brightness(1.03);
}

.header .btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.header .btn--ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255,255,255,0.5); }

.header .btn--cart {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.header .btn--cart:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255,255,255,0.5); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--graphite);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }

.btn--ghost {
  background: var(--white);
  color: var(--steel-800);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--steel-400); }

.btn--cart {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--graphite);
  padding: 10px 14px;
}
.btn--cart:hover { border-color: var(--steel-400); }

.btn--block { width: 100%; justify-content: center; }

.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--graphite);
  color: var(--white);
  font-size: 10.5px;
  font-family: var(--font-mono);
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--white);
  padding: 96px 24px 104px;
}

.hero__inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }

.hero__fade {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up 0.7s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 18px;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7de08a;
  box-shadow: 0 0 0 0 rgba(125, 224, 138, 0.6);
  animation: promo-dot-pulse 1.8s ease-out infinite;
}

.hero__title { line-height: 1.06; font-weight: 700; }

.hero__title-line {
  display: block;
  font-size: clamp(30px, 5vw, 50px);
}

.hero__title-line--accent {
  margin-top: 6px;
  background: linear-gradient(100deg, #d8fbdc 0%, #ffffff 25%, #7de08a 50%, #ffffff 75%, #d8fbdc 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-shine 5s ease-in-out infinite, hero-fade-up 0.7s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: .18s, .18s;
}

@keyframes hero-shine {
  0% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

.hero__sub {
  margin: 22px auto 0;
  max-width: 480px;
  color: var(--steel-200);
  font-size: 16px;
  line-height: 1.6;
}

.hero__chips {
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--steel-200);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 16px;
  white-space: nowrap;
  animation: hero-chip-float 4.5s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

.hero__chip svg { flex-shrink: 0; opacity: 0.85; }

.hero__chip--accent {
  color: #d8fbdc;
  background: rgba(125, 224, 138, 0.1);
  border-color: rgba(125, 224, 138, 0.35);
}

@keyframes hero-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero__cta {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn--lg {
  position: relative;
  overflow: hidden;
  padding: 15px 30px;
  font-size: 15px;
  gap: 10px;
  animation: hero-cta-pulse 2.8s ease-in-out infinite;
}

.btn--lg:hover { transform: translateY(-2px); }

.btn--lg__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.25) 48%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.25) 52%, transparent 70%);
  background-size: 220% 100%;
  animation: promo-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 224, 138, 0); }
  50% { box-shadow: 0 0 0 9px rgba(125, 224, 138, 0.14); }
}

.hero__sheen {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 420px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.14), transparent 65%);
  z-index: 1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: hero-grid-pan 18s linear infinite;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 90%);
}

@keyframes hero-grid-pan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 46px 46px, 46px 46px; }
}

.hero__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero__glow--a {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #7de08a, transparent 70%);
  animation: hero-float-a 9s ease-in-out infinite;
}

.hero__glow--b {
  bottom: -140px;
  right: -100px;
  background: radial-gradient(circle, #8bd3ff, transparent 70%);
  animation: hero-float-b 11s ease-in-out infinite;
}

@keyframes hero-float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

@keyframes hero-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, -15px); }
}

/* ==========================================================================
   CATALOG
   ========================================================================== */
.catalog { max-width: 1180px; margin: 0 auto; padding: 80px 24px 44px; }

.catalog__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }

.catalog__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-600);
  margin-bottom: 14px;
}

.catalog__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3fae52;
  box-shadow: 0 0 0 0 rgba(63, 174, 82, 0.5);
  animation: promo-dot-pulse 1.8s ease-out infinite;
}

.catalog__title {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.catalog__title-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, var(--graphite) 0%, var(--steel-600) 25%, var(--graphite) 50%, var(--steel-600) 75%, var(--graphite) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-shine 5s ease-in-out infinite;
}

.catalog__title-accent::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: -3px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #7de08a, #3fae52, #7de08a, transparent);
  background-size: 220% 100%;
  opacity: 0.5;
  animation: hero-shine 5s ease-in-out infinite;
  z-index: -1;
}

.catalog__marquee {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto 18px;
  max-width: 560px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.catalog__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  animation: promo-ticker 16s linear infinite;
  will-change: transform;
}

.catalog__marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--steel-400);
}

.catalog__marquee-dot { color: var(--steel-300); }

.catalog__sub { color: var(--steel-600); font-size: 14.5px; line-height: 1.6; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(29, 32, 35, 0.06);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(90,96,103,0.35), transparent 35%, transparent 65%, rgba(90,96,103,0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before { opacity: 1; }

.card__media {
  background: var(--white);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 80%, rgba(29,32,35,0.035) 100%);
  pointer-events: none;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.14));
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), opacity 0.25s ease;
}

.card:hover .card__img { transform: scale(1.06); }

.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 2;
}

.card__badge--out { background: #8a3b3b; }

.card__battery {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(29, 32, 35, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.card__battery svg { flex-shrink: 0; }

.card__battery--alta { color: #d8fbdc; }
.card__battery--alta svg { color: #7de08a; }

.card__battery--media { color: #ffe9c2; }
.card__battery--media svg { color: #f0b258; }

.card__battery--baja { color: #ffd2d2; }
.card__battery--baja svg { color: #e57373; }

.card__body { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; z-index: 1; }

.card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.card__meta { font-size: 12.5px; color: var(--steel-600); }
.card__desc { font-size: 12.5px; color: var(--steel-600); line-height: 1.5; flex: 1; }

.card__cuotas {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--steel-800);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 2px;
}

.card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
}

.card__price { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--graphite); }
.card__price-off { font-family: var(--font-mono); font-size: 11px; color: var(--steel-400); }

.card__add {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  background: var(--graphite);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}
.card__add:hover { background: #000; transform: translateY(-1px); }
.card__add:active { transform: translateY(0); }

/* ==========================================================================
   INFO STRIP
   ========================================================================== */
.info-strip {
  max-width: 1180px;
  margin: 24px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.info-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.info-strip__item svg { color: var(--steel-600); flex-shrink: 0; }
.info-strip__item div { display: flex; flex-direction: column; gap: 2px; }
.info-strip__item strong { font-size: 13.5px; }
.info-strip__item span { font-size: 12px; color: var(--steel-600); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--graphite); color: var(--steel-300); padding: 40px 24px; }
.footer__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.logo--footer { justify-content: flex-start; }
.logo__img--footer { height: 38px; width: 38px; }
.footer p { font-size: 12.5px; margin: 0; color: var(--steel-400); }

/* ==========================================================================
   OVERLAY (compartido carrito + modal)
   ========================================================================== */
.overlay {
  position: fixed; inset: 0;
  background: rgba(29, 32, 35, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 60;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 100%);
  background: var(--white);
  z-index: 70;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h3 { font-size: 18px; }

.icon-btn {
  background: none; border: none; font-size: 16px;
  color: var(--steel-600); width: 32px; height: 32px;
  border-radius: 50%;
}
.icon-btn:hover { background: var(--off-white); }

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 12px 22px; }

.cart-empty { color: var(--steel-400); font-size: 13.5px; text-align: center; margin-top: 40px; }

.cart-item {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 56px; height: 56px; object-fit: contain; background: var(--off-white); border-radius: 8px; padding: 6px; }
.cart-item__info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cart-item__title { font-size: 13.5px; font-weight: 600; }
.cart-item__meta { font-size: 11.5px; color: var(--steel-600); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.cart-item__price { font-family: var(--font-mono); font-size: 13px; }

.qty {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px;
}
.qty button { background: none; border: none; font-size: 14px; width: 18px; color: var(--steel-800); }
.qty span { font-family: var(--font-mono); font-size: 12px; min-width: 14px; text-align: center; }

.cart-item__remove { background: none; border: none; font-size: 11px; color: var(--steel-400); text-decoration: underline; margin-top: 4px; align-self: flex-start; }

.cart-drawer__footer { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-total span { font-size: 13px; color: var(--steel-600); }
.cart-total strong { font-family: var(--font-mono); font-size: 20px; }
.cart-drawer__hint { font-size: 11.5px; color: var(--steel-400); margin: 0 0 14px; line-height: 1.5; }

/* ==========================================================================
   MODAL (login / registro)
   ========================================================================== */
.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  width: min(380px, 90vw);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px;
  z-index: 80;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }

.modal__close { position: absolute; top: 14px; right: 14px; }

.modal__step h3 { font-size: 19px; margin-bottom: 8px; }
.modal__step p { font-size: 13px; color: var(--steel-600); line-height: 1.5; margin: 0 0 20px; }

.google-btn-slot { display: flex; justify-content: center; min-height: 44px; }

.modal__email {
  font-family: var(--font-mono);
  background: var(--off-white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px !important;
  color: var(--steel-800) !important;
}

.modal__step label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--steel-800);
  margin-bottom: 14px;
}

.modal__step input {
  font-family: var(--font-body);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 400;
  background: var(--off-white);
}
.modal__step input:focus { outline: none; border-color: var(--steel-600); background: var(--white); }

/* ==========================================================================
   TIKTOK FLOTANTE
   ========================================================================== */
.tiktok-float {
  position: absolute;
  top: 50%;
  left: clamp(24px, 6vw, 90px);
  transform: translateY(-50%);
  z-index: 1;
  animation: tiktok-float-bob 4.5s ease-in-out infinite;
}

@keyframes tiktok-float-bob {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

.tiktok-float__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.tiktok-float__glow {
  position: absolute;
  inset: -20px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(125, 224, 138, 0.35), transparent 70%);
  filter: blur(14px);
  z-index: 0;
  animation: tiktok-glow-pulse 2.6s ease-in-out infinite;
}

@keyframes tiktok-glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.tiktok-float__phone {
  position: relative;
  z-index: 1;
  width: 156px;
  height: 318px;
  border-radius: 28px;
  background: var(--graphite);
  border: 4px solid var(--steel-800);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tiktok-float:hover .tiktok-float__phone {
  transform: scale(1.04);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.tiktok-float__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

.tiktok-float__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.tiktok-float__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--graphite);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-mono);
}

.tiktok-float__label svg { color: #7de08a; margin-bottom: 1px; }
.tiktok-float__label span { font-size: 11px; letter-spacing: 0.02em; color: var(--steel-300); }
.tiktok-float__label strong { font-size: 13px; color: var(--white); }

@media (max-width: 1360px) {
  .tiktok-float { display: none; }
}

/* ==========================================================================
   RESPONSIVE — Tablet (≤ 900px)
   ========================================================================== */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
  .catalog { padding: 64px 20px 36px; }
  .hero { padding: 80px 20px 88px; }
}

/* ==========================================================================
   RESPONSIVE — Mobile (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  html { overflow-x: hidden; }

  /* Header */
  .header__inner { padding: 8px 14px; gap: 6px; }
  .header .btn--ghost span { display: none; }
  .header .btn--ghost, .header .btn--cart { padding: 9px 11px; }
  .logo__img { height: 38px; width: 38px; }
  .logo__medallion { height: 58px; width: 58px; border-radius: 14px; }

  /* Hero */
  .hero { padding: 56px 18px 60px; }
  .hero__eyebrow { font-size: 10.5px; margin-bottom: 14px; }
  .hero__title-line { font-size: clamp(26px, 8vw, 36px); }
  .hero__sub { font-size: 14.5px; margin-top: 16px; }
  .hero__chips { gap: 8px; margin-top: 22px; }
  .hero__chip { font-size: 11px; padding: 8px 13px; }
  .hero__cta { margin-top: 26px; }
  .btn--lg { padding: 13px 24px; font-size: 14px; width: 100%; justify-content: center; }

  /* Catálogo */
  .catalog { padding: 48px 16px 20px; }
  .catalog__head { margin-bottom: 32px; }
  .catalog__title { margin-bottom: 14px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .card__media { padding: 20px; }
  .card__body { padding: 14px; gap: 6px; }
  .card__title { font-size: 15.5px; }
  .card__price { font-size: 17px; }
  .card__add { padding: 11px; font-size: 12.5px; }

  /* Info strip */
  .info-strip { grid-template-columns: 1fr; gap: 12px; margin: 16px auto 56px; }
  .info-strip__item { padding: 15px; }

  /* Footer */
  .footer { padding: 32px 18px; }

  /* Carrito */
  .cart-drawer__head { padding: 16px 18px; }
  .cart-drawer__items { padding: 10px 18px; }
  .cart-drawer__footer { padding: 16px 18px 18px; }
  .cart-item img { width: 48px; height: 48px; }

  /* Modal login */
  .modal { padding: 26px 22px; max-height: 88vh; overflow-y: auto; }

  /* Tap targets un poco más grandes en touch */
  .icon-btn { width: 38px; height: 38px; font-size: 15px; }
  .qty button { width: 24px; height: 24px; }
}

/* ==========================================================================
   RESPONSIVE — Mobile chico (≤ 380px)
   ========================================================================== */
@media (max-width: 380px) {
  .hero__title-line { font-size: 24px; }
  .hero__chips { flex-direction: column; align-items: stretch; }
  .hero__chip { justify-content: center; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__title { font-size: 14.5px; }
}
