:root {
  --bg: #000000;
  --bg-soft: #070707;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --border: #1f1f1f;
  --border-soft: #181818;
  --text: #e8eef5;
  --text-soft: #9aa7b8;
  --text-dim: #6b7a8c;
  --cyan: #e20010;
  --violet: #8f000c;
  --amber: #f59e0b;
  --green: #34d399;
  --red: #f87171;
  --grad: linear-gradient(135deg, #e20010 0%, #8f000c 100%);
  --grad-soft: linear-gradient(135deg, rgba(226,0,16,.14), rgba(143,0,12,.14));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --shadow-glow: 0 0 0 1px rgba(226,0,16,.25), 0 20px 60px rgba(143,0,12,.18);
  --font-head: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --container: 1200px;
}

/* ============ TEMA CLARO ============ */
html[data-theme="light"] {
  --bg: #f2f4f7;
  --bg-soft: #e8ebf0;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --border: #d9dfe7;
  --border-soft: #e2e7ed;
  --text: #12161c;
  --text-soft: #4a5564;
  --text-dim: #7b8a9c;
  --grad: linear-gradient(135deg, #e20010 0%, #8f000c 100%);
  --grad-soft: linear-gradient(135deg, rgba(226,0,16,.10), rgba(143,0,12,.10));
  --shadow: 0 10px 40px rgba(20,28,40,.12);
  --shadow-glow: 0 0 0 1px rgba(226,0,16,.18), 0 20px 60px rgba(143,0,12,.08);
}

/* Zonas esenciales que conservan el negro aunque haya tema claro */
html[data-theme="light"] header {
  --surface: #10151c;
  --surface-2: #181e27;
  --border: #2a3442;
  --border-soft: #1b222b;
  --text: #e8eef5;
  --text-soft: #9aa7b8;
  --text-dim: #6b7a8c;
}
html[data-theme="light"] footer {
  --bg-soft: #0a0b0d;
  --surface: #10151c;
  --border: #262d37;
  --border-soft: #1b222b;
  --text: #e8eef5;
  --text-soft: #9aa7b8;
  --text-dim: #6b7a8c;
}
html[data-theme="light"] .hero {
  --bg: #000000;
  --bg-soft: #070707;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --border: #1f1f1f;
  --border-soft: #16181c;
  --text: #e8eef5;
  --text-soft: #9aa7b8;
  --text-dim: #6b7a8c;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --shadow-glow: 0 0 0 1px rgba(226,0,16,.25), 0 20px 60px rgba(143,0,12,.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(143,0,12,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(143,0,12,.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-danger {
  background: rgba(248,113,113,.12);
  color: var(--red);
  border: 1px solid rgba(248,113,113,.35);
}
.btn-danger:hover { background: rgba(248,113,113,.2); }

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(226,0,16,.45);
}
.btn-outline-cyan:hover { background: rgba(226,0,16,.1); }

.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-disabled { opacity: .45; pointer-events: none; }

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 20px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 60px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 0; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--cyan); }

.nav-search {
  flex: 0 1 380px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  max-width: 380px;
  transition: border-color .2s;
}
.nav-search:focus-within { border-color: var(--cyan); }
.nav-search input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 14px; width: 100%;
}
.nav-search svg { flex-shrink: 0; color: var(--text-dim); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-btn .badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px; height: 19px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.icon-btn .badge.hidden { display: none; }

/* Hint animado del botón de tema (aparece 13s después de entrar) */
@keyframes themeHintPulse {
  0% { box-shadow: 0 0 0 0 rgba(99,102,241,.6); transform: scale(1); }
  20% { transform: scale(1.2) rotate(25deg); }
  40% { box-shadow: 0 0 0 12px rgba(99,102,241,0); transform: scale(1); }
  60% { transform: scale(1.2) rotate(-25deg); }
  80% { box-shadow: 0 0 0 6px rgba(99,102,241,.2); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); transform: scale(1); }
}
.icon-btn.theme-hint-pulse {
  animation: themeHintPulse 0.9s ease-in-out 4;
  border-color: var(--cyan) !important;
  color: var(--cyan) !important;
  z-index: 10;
}
.theme-hint-tip {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--surface);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.theme-hint-tip.show {
  opacity: 1;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

/* ============ CLIENTES ============ */
.client-btn {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all .2s;
}
.client-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.client-btn.primary { background: var(--grad); color: #fff; border-color: transparent; }
.client-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(143,0,12,.4); }
.client-btn svg { flex-shrink: 0; }
.client-btn.logged { position: relative; }
.client-btn.logged::after {
  content: ""; position: absolute; top: 4px; right: 4px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--surface);
}
@media (max-width: 1080px) {
  .client-btn span { display: none; }
  .client-btn { width: 42px; padding: 0; justify-content: center; }
}
.modal-body input.pin-input { text-align: center; font-size: 18px; letter-spacing: 10px; font-weight: 700; }
.cl-hint { color: var(--text-dim); font-weight: 400; font-size: 12px; }
.cl-link {
  display: inline-block; margin: 0 0 14px; padding: 0;
  background: none; border: none;
  color: var(--cyan); font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: underline;
}
.cl-link:hover { color: var(--text); }
.client-account-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}
.client-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  margin: 0 auto 14px;
}
.client-account-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
}
.client-account-row:last-of-type { border-bottom: none; }
.client-account-row span { color: var(--text-dim); }
.client-account-row strong { color: var(--text); text-align: right; word-break: break-word; }

/* ---------- Mi cuenta: pedidos y carrito ---------- */
.cu-stats {
  display: flex; justify-content: space-between; gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.cu-section { margin-bottom: 20px; }
.cu-section h4 {
  font-family: var(--font-head);
  font-size: 14px; margin-bottom: 4px;
}
.cu-hint { font-size: 13px; color: var(--text-dim); padding: 6px 0; }
.cu-pedido {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
}
.cu-pedido:last-child { border-bottom: none; }
.cu-fecha { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.cu-der { text-align: right; }
.cu-total { display: block; font-weight: 700; margin-top: 4px; }
.cu-est {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.cu-est.Nuevo { color: #ff6b6b; background: rgba(255,107,107,.12); }
.cu-est.Procesando { color: #ffb020; background: rgba(255,176,32,.12); }
.cu-est.Enviado { color: #4ea1ff; background: rgba(78,161,255,.12); }
.cu-est.Entregado { color: #2fd06f; background: rgba(47,208,111,.12); }
.cu-est.Cancelado { color: #8b9bb0; background: rgba(139,155,176,.12); }

/* ---------- Seguimiento de pedidos ---------- */
.seg-grid { display: grid; gap: 18px; padding: 26px 0 60px; max-width: 720px; }
.seg-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.seg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.seg-head strong { font-size: 15px; }
.seg-fecha { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.seg-items { border-top: 1px dashed var(--border); padding-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.seg-item { display: flex; justify-content: space-between; gap: 10px; }
.seg-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); margin-top: 12px; padding-top: 12px; }
.seg-timer { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 8px; }
.seg-timer strong { color: var(--red); font-variant-numeric: tabular-nums; }
.seg-hint { margin-top: 12px; font-size: 12px; color: var(--text-dim); text-align: center; }
.seg-wa .btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cu-carrito-total {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0 4px; margin-top: 4px;
  border-top: 1px solid var(--border-soft);
  font-weight: 700;
}

.bottom-nav { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 85% -10%, rgba(143,0,12,.28), transparent 60%),
    radial-gradient(600px 380px at 10% 110%, rgba(226,0,16,.2), transparent 60%),
    var(--bg);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 500px at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 44px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  min-height: 100%;
  box-sizing: border-box;
}
.hero-brand-logo {
  width: 240px;
  max-width: 82%;
}
.hero-brand-tag {
  font-size: 14px;
  color: #a9b7cc;
  letter-spacing: 0.02em;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(226,0,16,.3);
  background: rgba(226,0,16,.08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero p.lead {
  color: var(--text-soft);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.stat .lbl { color: var(--text-dim); font-size: 13px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image {
  position: relative;
  padding: 12px;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image img {
  position: relative;
  width: 100%;
  max-width: 2000px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.45));
  opacity: 0;
  transform: scale(1.5);
  transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.hero-image img.hero-ready {
  opacity: 1;
  transform: scale(1);
}
.hero-image img.dragging {
  cursor: grabbing;
}
.hero-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  padding: 30px;
  box-shadow: var(--shadow-glow);
  transform: rotate(2deg);
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .5;
  pointer-events: none;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hero-card-top .chip {
  font-size: 12px; font-weight: 600;
  color: var(--green);
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.25);
  padding: 5px 12px; border-radius: 999px;
}
.hero-card-top .chip.off { color: var(--amber); background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.25); }
.hero-card img { border-radius: 16px; margin-bottom: 18px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-card h3 { font-size: 20px; margin-bottom: 8px; }
.hero-card .price-row { display: flex; align-items: center; gap: 12px; }
.hero-card .price-row .now { font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.hero-card .price-row .old { color: var(--text-dim); text-decoration: line-through; font-size: 14px; }

.hero-card.brand-card { text-align: center; padding: 36px 30px; }
.hero-card.brand-card .hero-card-top { margin-bottom: 24px; }
.hero-card.brand-card .brand-logo { margin-bottom: 18px; }
.hero-card.brand-card .brand-logo img { width: 120px; height: auto; aspect-ratio: auto; margin: 0 auto; border-radius: 0; background: none; }
.hero-card.brand-card h3 { font-size: 32px; margin-bottom: 8px; }
.hero-card.brand-card .brand-tag { color: var(--text-soft); font-size: 15px; margin: 0 auto 24px; max-width: 260px; }
.hero-card.brand-card .brand-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--cyan);
  background: var(--grad-soft); border: 1px solid rgba(226,0,16,.3);
  padding: 9px 18px; border-radius: 999px;
}

.hero-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float.f1 { top: -20px; right: -10px; }
.hero-float.f2 { bottom: -20px; left: -14px; animation-delay: 2.5s; }
.hero-float .ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.hero-float strong { font-family: var(--font-head); font-size: 14px; display: block; }
.hero-float span { font-size: 12px; color: var(--text-dim); }

/* ============ HERO CARRUSEL (destacados) ============ */
.hero-carousel { position: relative; }
.feat-carousel { position: relative; }

/* Animaciones de entrada de la portada principal (estática) */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-anim .hero-content { animation: heroUp .8s cubic-bezier(.25,.8,.25,1) both; }
.hero-anim .hero-visual { animation: heroFade .9s ease both .18s; }
.hero-anim .hero-stats { animation: heroUp .8s cubic-bezier(.25,.8,.25,1) both .4s; }
.hero-track { display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .65s cubic-bezier(.25,.8,.25,1); }
.feat-viewport { position: relative; overflow: hidden; }
.hero-slide { flex: 0 0 auto; min-width: 100%; box-sizing: border-box; }
.hs-rating { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 14px; margin-bottom: 12px; }
.hs-rating .stars { color: var(--amber); letter-spacing: 1px; }
.hs-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hs-price .now { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--text); }
.hs-price .old { color: var(--text-dim); text-decoration: line-through; font-size: 16px; }
.hs-price .off {
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
/* ============ SLIDES DE PRODUCTOS DESTACADOS (diseño profesional) ============ */
/* Categoría del producto sobre el título */
.hero-product .hs-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.hero-product .hs-cat::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--grad);
}
.hero-product h1 { margin-bottom: 12px; }
.hero-product .lead { margin-bottom: 16px; }

/* Sellos de confianza bajo el precio */
.hero-product .hs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
}
.hero-product .hs-meta span {
  font-size: 12.5px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-product .hs-meta span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* Marco de la foto del producto destacado */
.hero-slide .hero-image.hs-frame {
  position: relative;
  background:
    radial-gradient(340px 340px at 28% 18%, rgba(226,0,16,.2), transparent 60%),
    radial-gradient(340px 340px at 78% 88%, rgba(143,0,12,.24), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg-soft));
  border: 1px solid rgba(226,0,16,.3);
  border-radius: 28px;
  box-shadow: var(--shadow-glow);
  padding: 14px;
  overflow: hidden;
  cursor: pointer;
}
.hero-slide .hero-image img.hs-img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  opacity: 1;
  transform: none;
  transition: none;
  filter: none;
  cursor: pointer;
  box-shadow: 0 26px 60px rgba(0,0,0,.55);
}

/* Etiqueta flotante de descuento sobre la foto */
.hs-off-tag {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 3;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(226,0,16,.45);
  letter-spacing: .3px;
}
/* Etiqueta de disponibilidad */
.hs-stock-tag {
  position: absolute;
  bottom: 26px;
  left: 26px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,14,22,.82);
  border: 1px solid rgba(52,211,153,.35);
  color: #d8ffec;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hs-stock-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.hs-stock-tag.sold {
  border-color: rgba(248,113,113,.4);
  color: #ffdada;
}
.hs-stock-tag.sold .dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.hero-card.product { transform: rotate(2deg); }
.hero-card.product .pc-chip {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(0,0,0,.7);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226,0,16,.35);
}
.hero-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10,14,22,.85);
  color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.hero-nav:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-nav.prev { left: -22px; }
.hero-nav.next { right: -22px; }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}
.hero-dots button.active { background: var(--cyan); width: 28px; }
.hero-count {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ FEATURES STRIP ============ */
.features {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 20px; }
.feature { display: flex; align-items: center; gap: 14px; }
.feature .fic {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.feature strong { font-size: 15px; display: block; }
.feature span { font-size: 12.5px; color: var(--text-dim); }

/* ============ SECTIONS ============ */
.section { padding: 72px 0; }
.section.pt-0 { padding-top: 0; }
.section.pt-sm { padding-top: 36px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  display: block;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; }
.section-head p { color: var(--text-dim); margin-top: 8px; font-size: 15px; }
.section-head .link {
  color: var(--cyan);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.section-head .link:hover { border-color: var(--cyan); }

/* ============ HERO DESTACADO (debajo del hero principal) ============ */
.hero-feat {
  padding: 48px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border-soft);
}
.hero-feat-head { margin-bottom: 28px; }
.hero-feat .hero-carousel { margin-top: 6px; }
.hero-feat .hero-slide { padding: 0 6px; }

/* ============ EMPTY STATES ============ */
.empty-section {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-section .empty-ic {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.empty-section h3 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.empty-section p { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; }

/* ============ PRODUCT CARDS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(226,0,16,.4); box-shadow: var(--shadow-glow); }

.product-media { position: relative; background: #0a0f16; overflow: hidden; aspect-ratio: 1080 / 1350; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media img.movable {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--zoom, 125%);
  height: var(--zoom, 125%);
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%) scale(var(--hov, 1));
}
.product-card:hover .product-media img.movable {
  --hov: 1.06;
  transform: translate(-50%, -50%) scale(var(--hov, 1));
}

.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .3px;
}
.product-tag.soldout { background: #3b4757; }
.product-tag.new { background: var(--green); }
/* Badge NUEVO intenso: fondo blanco + texto rojo + rebote + glow pulsante */
.product-tag.nuevo {
  background: #fff;
  color: #e20010;
  font-weight: 800;
  text-transform: uppercase;
  animation: badgeIntense .7s ease-in-out infinite;
  z-index: 1;
}
.product-tag.nuevo::before { content: "★ "; }
@keyframes badgeIntense {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 6px rgba(226,0,16,.4), 0 0 2px rgba(226,0,16,.2); }
  50% { transform: translateY(-6px) scale(1.1); box-shadow: 0 0 18px rgba(226,0,16,.9), 0 0 40px rgba(226,0,16,.4); }
}
/* Tarjeta nueva: borde rojo que recorre todo el perímetro */
.product-card.card-nuevo {
  border-color: transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), conic-gradient(from var(--a, 0deg), #e20010 0%, transparent 12%, transparent 38%, #e20010 50%, transparent 62%, transparent 88%, #e20010 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: borderSweep 2s linear infinite;
}
@keyframes borderSweep {
  to { --a: 360deg; }
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.product-off {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(245,158,11,.92);
  color: #1a1206;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 8px;
}

.product-quick {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  transform: translateY(100%);
  transition: transform .3s ease;
}
.product-card:hover .product-quick { transform: translateY(0); }
/* Copia de la botonera que se usa EN FLUJO (debajo del precio) en móvil;
   en escritorio se oculta porque la superpuesta (q-overlay) es la activa. */
.product-quick.q-inline { display: none; }

.product-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-cat { font-size: 9.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--text-dim); overflow-wrap: anywhere; line-height: 1.3; }
.product-name {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 33px;
}
.product-name:hover { color: var(--cyan); }
.product-rating { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--text-soft); }
.product-rating .stars { color: var(--amber); letter-spacing: 1px; }
/* Cantidad disponible en stock en cada tarjeta de producto */
.product-stock {
  display: flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600; color: var(--green);
}
.product-stock .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  flex: none;
}
.product-stock.low { color: var(--amber); }
.product-stock.low .dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.product-stock.out { color: var(--red); }
.product-stock.out .dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
.product-footer { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; row-gap: 2px; }
.price-row .now { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--cyan); }
.price-row .old { color: var(--text-dim); font-size: 11px; text-decoration: line-through; }
.btn-add {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid rgba(226,0,16,.35);
  background: rgba(226,0,16,.08);
  color: var(--cyan);
  font-weight: 600;
  font-size: 13.5px;
  transition: all .2s;
}
.btn-add:hover { background: var(--grad); color: #fff; border-color: transparent; }

.product-quick { display: flex; gap: 6px; }
.btn-buy {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 9px;
  padding: 8px 10px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-buy:hover { box-shadow: 0 8px 22px rgba(226,0,16,.4); filter: brightness(1.05); }
.btn-buy:active { transform: scale(.92); filter: brightness(.88); }
.btn-buy.pulse { animation: btnPulse .5s ease; }
.btn-buy.btn-disabled { cursor: not-allowed; opacity: .55; }
.btn-buy.btn-disabled:hover { box-shadow: none; filter: none; }
/* Botón "COMPRAR ART. SIMILAR" (agotados): rojo más oscuro con pulso de onda para
   que se vea claramente en móvil y escritorio. Abre WhatsApp pidiendo opciones. */
.btn-buy.btn-similar {
  background: linear-gradient(135deg, #a3000c, #50000a);
  font-size: 10.5px;
  padding: 8px 6px;
  white-space: normal;
  line-height: 1.2;
  animation: similarPulso 1.8s ease-in-out infinite;
}
.btn-buy.btn-similar:hover { box-shadow: 0 8px 22px rgba(163,0,12,.45); filter: brightness(1.08); }
.btn-buy.btn-similar:active { transform: scale(.92); filter: brightness(.85); }
@keyframes similarPulso {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163,0,12,.55); }
  50% { box-shadow: 0 0 0 8px rgba(163,0,12,0); }
}
@keyframes btnPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
/* Botón "COMPRAR AHORA": pulso constante (anillo + agrandado) para invitar al
   clic. Se ve en escritorio y móvil; el hover no lo desactiva. */
.comprar-ahora {
  position: relative;
  animation: comprarPulso 1.6s ease-in-out infinite;
}
.comprar-ahora:hover { animation: comprarPulso 1.6s ease-in-out infinite; }
.comprar-ahora:active { animation: none; transform: scale(.93); filter: brightness(.9); }
@keyframes comprarPulso {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(226,0,16,.55), 0 10px 30px rgba(143,0,12,.35); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(226,0,16,0), 0 14px 40px rgba(143,0,12,.5); }
}
/* Botón "COMPRAR ART. SIMILAR" en la página de detalle (agotados) */
.comprar-similar-lg {
  background: linear-gradient(135deg, #a3000c, #50000a);
  animation: similarPulso 1.8s ease-in-out infinite;
}
.comprar-similar-lg:hover { animation: similarPulso 1.8s ease-in-out infinite; filter: brightness(1.08); }
.comprar-similar-lg:active { animation: none; transform: scale(.93); filter: brightness(.9); }
.btn-add-icon {
  position: relative;
  width: 40px;
  flex: none;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.btn-add-icon:hover { background: rgba(255,255,255,.18); }
.btn-add-icon:active { transform: scale(.88); }
.btn-add-icon.btn-disabled { cursor: not-allowed; opacity: .55; }
.badge-plus {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  color: #0a0f16;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

/* ============ CATEGORIES ============ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 22px;
  min-height: 130px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all .3s;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .3s;
}
.cat-card:hover { border-color: rgba(143,0,12,.5); transform: translateY(-4px); }
.cat-card:hover::before { opacity: 1; }
.cat-card h3 { position: relative; z-index: 1; font-size: 17px; }
.cat-card span { position: relative; z-index: 1; font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }
.cat-card .cat-ic {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}

/* ============ OFFER BANNER ============ */
.offer-banner {
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 300px at 90% 20%, rgba(143,0,12,.3), transparent 60%),
    radial-gradient(400px 260px at 5% 90%, rgba(226,0,16,.22), transparent 60%),
    var(--surface);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.offer-banner .kicker { color: var(--amber); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.offer-banner h3 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 8px; }
.offer-banner p { color: var(--text-soft); max-width: 460px; }

/* ============ TESTIMONIALS ============ */
.testi-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .3s, transform .3s;
}
.testimonial:hover { border-color: rgba(226,0,16,.35); transform: translateY(-4px); }
.testimonial .stars { color: var(--amber); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 20px; line-height: 1.55; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0;
}
.testimonial-author strong { font-size: 14px; display: block; }
.testimonial-author span { font-size: 12px; color: var(--text-dim); }
.t-badge { font-size: 10px; background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.2); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.testi-arrow {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .2s;
}
.testi-arrow:hover { border-color: var(--red); color: var(--red); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.testi-dots .td {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
  border: none; cursor: pointer; transition: all .3s;
}
.testi-dots .td.active { background: var(--red); width: 22px; border-radius: 4px; }

.trust-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-item {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.trust-item .big { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.trust-item span { color: var(--text-dim); font-size: 13.5px; }

/* ============ NEWSLETTER ============ */
.newsletter {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(226,0,16,.1), rgba(143,0,12,.1));
  padding: 44px;
  text-align: center;
}
.newsletter h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.newsletter p { color: var(--text-soft); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.newsletter-form input:focus { border-color: var(--cyan); }
.newsletter-cta { margin: 4px 0 22px; }

/* Estado de carga: texto centrado con pulso suave (tienda) */
.loading-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-dim);
  font-size: 15px;
  letter-spacing: .4px;
  animation: loadingPulse 1.4s ease-in-out infinite;
}
.products-grid > .loading-state { grid-column: 1 / -1; }
@keyframes loadingPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pag-btn {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font-size: 14px; cursor: pointer;
  transition: all .2s; font-family: var(--font-body);
}
.pag-btn:hover { border-color: #e20010; color: #e20010; }
.pag-btn.active { background: #e20010; color: #fff; border-color: #e20010; }
.pag-dots { color: var(--text-dim); padding: 0 4px; font-size: 14px; }
.btn-volver-home { display: block; margin: 32px auto 100px; text-decoration: none; text-align: center; width: 100%; max-width: 600px; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); color: var(--text); margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 16px 0 20px; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  transition: all .2s;
}
.socials a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: 14px; margin-bottom: 14px; }
.footer-contact svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer-bottom .dev a { color: var(--text-soft); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.footer-bottom .dev a svg { color: var(--green); flex-shrink: 0; }
.footer-bottom .dev a:hover { color: var(--cyan); }

/* ============ PAGE HEADER ============ */
.page-hero { padding: 46px 0 40px; border-bottom: 1px solid var(--border-soft); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero .crumbs { color: var(--text-dim); font-size: 13.5px; margin-bottom: 10px; }
.page-hero .crumbs a:hover { color: var(--cyan); }
.page-hero p.sub { color: var(--text-soft); margin-top: 8px; }

/* ============ CATALOG ============ */
.catalog-layout { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 70px; }

/* Menú hamburguesa "Buscar" a pantalla completa (todas las resoluciones) */
.filters {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 200;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(226,0,16,.14), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(0,229,255,.10), transparent 55%),
    rgba(6,8,18,.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-30px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s, visibility .3s;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
body:has(.filters.open), html:has(.filters.open) { overflow: hidden; }

/* El menú siempre usa su propia paleta oscura, independiente del tema claro/oscuro,
   para que las letras e iconos nunca se pierdan dentro del overlay. */
.filters,
.filters * {
  --surface: #12161c;
  --surface-2: #1a2028;
  --border: #2a3442;
  --border-soft: #222a33;
  --text: #e8eef5;
  --text-soft: #b6c2d1;
  --text-dim: #7c8ba0;
  --grad: linear-gradient(135deg, #e20010 0%, #8f000c 100%);
  --grad-soft: linear-gradient(135deg, rgba(226,0,16,.18), rgba(143,0,12,.18));
  --cyan: #e20010;
}

/* Panel interior centrado */
.filters-panel {
  width: 100%;
  max-width: 720px;
  padding: 28px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: filtroEntra .4s ease both;
}
@keyframes filtroEntra {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cabecera del menú */
.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.filters-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filters-title .title-ic {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--cyan);
}
.filters-title h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.filters-title p {
  font-size: 12px;
  color: var(--text-dim);
  margin: 2px 0 0;
}

/* Botón cerrar */
.filters-close {
  flex-shrink: 0;
  display: flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}
.filters-close:hover { background: var(--surface-2); color: var(--cyan); transform: rotate(90deg); }

/* Tarjetas de filtro dentro del overlay */
.filters .filter-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
}
.filters .filter-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-soft);
  margin: 0 0 14px;
}
.filters .filter-card h3.search-label { color: var(--text-soft); }

/* Lista de categorías (menú hamburguesa / panel lateral) */
.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
}
.cat-item:hover { background: var(--surface-2); color: var(--text); }
.cat-item.active { background: var(--grad-soft); color: var(--cyan); }
.cat-item .ci-check { color: var(--cyan); font-weight: 700; }

/* Acordeón de categorías (menu móvil: botón Buscar del catálogo) */
#catList { gap: 2px; }
.cat-acc-item { border-radius: 10px; overflow: hidden; background: transparent; }
.cat-acc-item.selected { background: var(--surface); }
.cat-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
}
.cat-acc-head:hover { background: var(--surface-2); color: var(--text); }
.cat-acc-head.active, .cat-acc-head.all.active { color: var(--cyan); font-weight: 700; }
.cat-acc-head .cat-acc-chev {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-dim);
  transition: color .15s;
}
.cat-acc-item.selected .cat-acc-head:hover { background: var(--surface); }
.cat-acc-item.selected .cat-acc-head { color: var(--cyan); }
.cat-acc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 6px 6px 10px;
}
.cat-acc-body .cat-item { font-weight: 500; font-size: 13.5px; padding: 8px 12px; }
.cat-acc-body .cat-list-close { margin-top: 2px; }

/* Atajos rápidos a categorías (iconos SVG) bajo la búsqueda */
.cat-quick {
  margin-top: 12px;
}
.cat-quick-cols {
  display: flex;
  gap: 12px;
  align-items: start;
}
.cat-quick-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-quick::-webkit-scrollbar { display: none; }
.cat-quick-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: all .2s;
}
.cat-quick-card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,.35); }
.cat-quick-card.active { border-color: var(--cyan); background: var(--grad-soft); }
.cat-quick-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 4px 2px 2px;
  border: none;
  background: none;
  color: var(--text-soft);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: color .15s;
}
.cat-quick-btn .cat-quick-ic {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  color: var(--cyan);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: background .2s, transform .2s, color .2s;
}
.cat-quick-card:hover .cat-quick-ic { transform: translateY(-2px) scale(1.04); color: var(--cyan); }
.cat-quick-card.active .cat-quick-ic { transform: translateY(-2px); color: var(--cyan); }
.cat-quick-btn .cat-quick-txt {
  font-size: 12px;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-quick-btn:hover, .cat-quick-btn.active { color: var(--text); }
.cat-quick-btn.active .cat-quick-ic { background: rgba(0,229,255,.14); }
.cat-quick-caret {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  font-size: 10px;
  color: var(--text-dim);
  transition: transform .18s ease;
}
.cat-quick-card.open .cat-quick-caret { transform: rotate(180deg); color: var(--cyan); }
.cat-quick-card.open { background: rgba(0,229,255,.06); border-color: var(--cyan); }
.cat-quick-chips {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.cat-quick-card.open .cat-quick-chips { display: flex; }
.cat-quick-chip {
  flex: 1 1 auto;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all .15s;
}
.cat-quick-chip:hover { border-color: var(--cyan); color: var(--text); transform: translateY(-1px); }
.cat-quick-chip.active { background: var(--grad-soft); border-color: var(--cyan); color: var(--text); }
#btnAplicar { margin-top: 24px; }

.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color .2s;
}
.filter-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(226,0,16,.14); }
.filter-search svg { flex-shrink: 0; color: var(--cyan); }
.filter-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  padding: 13px 0;
  width: 100%;
}
.filter-search input::placeholder { color: var(--text-dim); }

.filter-card h3.search-label {
  color: var(--cyan);
}

.filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.filter-card + .filter-card { margin-top: 16px; }
.filter-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-soft); margin-bottom: 16px; }
.filter-card label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--text-soft); cursor: pointer; transition: all .15s; }
.filter-card label:hover { background: var(--surface-2); color: var(--text); }
.filter-card label + label { margin-top: 8px; }
.filter-card input[type="checkbox"], .filter-card input[type="radio"] { accent-color: var(--cyan); }

/* Select profesional (Ordenar por) */
.sel-wrap { position: relative; }
.sel-wrap .sort {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.sel-wrap .sort:hover { border-color: rgba(226,0,16,.45); }
.sel-wrap .sort:focus, .sel-wrap.open .sort { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(226,0,16,.14); }
.sel-chev { color: var(--text-dim); pointer-events: none; transition: transform .2s; flex-shrink: 0; }
.sel-wrap.open .sel-chev { transform: rotate(180deg); }
.sel-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sel-wrap.open .sel-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sel-menu .sel-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .12s;
}
.sel-menu .sel-opt:hover { background: var(--surface-2); color: var(--text); }
.sel-menu .sel-opt.active { background: var(--grad-soft); color: var(--cyan); font-weight: 600; }
.sel-menu .sel-opt.active::after { content: "✓"; font-weight: 700; }
.sel-menu .sel-opt + .sel-opt { margin-top: 2px; }

.catalog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.catalog-top-btns { display: flex; gap: 8px; align-items: center; }
.catalog-top .count { color: var(--text-soft); font-size: 14px; }
.filter-clear-btn {
  display: inline-flex;
  align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .2s;
}
.filter-clear-btn:hover { border-color: rgba(226,0,16,.4); color: var(--text); background: rgba(226,0,16,.06); }
.filter-toggle {
  display: inline-flex;
  align-items: center; gap: 8px;
  position: relative;
  background: var(--grad);
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, filter .15s, box-shadow .2s;
  animation: buscarPulso 2s ease-in-out infinite;
}
.filter-toggle:hover { filter: brightness(1.08); }
.filter-toggle:active { animation: none; transform: scale(.93); filter: brightness(.9); }
@keyframes buscarPulso {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(226,0,16,.55), 0 10px 30px rgba(143,0,12,.35); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(226,0,16,0), 0 14px 40px rgba(143,0,12,.5); }
}
.hand-tap {
  position: absolute; right: -6px; bottom: -12px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
  opacity: 0;
  pointer-events: none;
  animation: tapBounce 3s ease-in-out infinite;
}
@keyframes tapBounce {
  0%, 70%, 100% { opacity: 0; transform: translateY(0); }
  75% { opacity: 1; transform: translateY(-6px); }
  80% { opacity: 1; transform: translateY(4px); }
  85% { opacity: 1; transform: translateY(-2px); }
  90% { opacity: 1; transform: translateY(0); }
  95% { opacity: 0; transform: translateY(0); }
}
.toast-inventario {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.toast-inventario.show { opacity: 1; pointer-events: auto; }
.toast-inventario .toast-inv-inner {
  width: 90%; max-width: 400px;
  background: linear-gradient(165deg, #131a2e, #0c1120);
  border: 1px solid rgba(226,0,16,.18);
  border-radius: 20px; padding: 28px 24px 22px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(226,0,16,.15);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  transform: scale(.85) translateY(20px); opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
  cursor: default;
}
.toast-inventario.show .toast-inv-inner { transform: scale(1) translateY(0); opacity: 1; }
.toast-inv-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; color: rgba(255,255,255,.28); font-size: 22px; cursor: pointer;
  line-height: 1; padding: 4px;
  transition: color .2s;
}
.toast-inv-close:hover { color: #fff; }
.toast-inv-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(226,0,16,.15), rgba(226,0,16,.05));
  border: 1px solid rgba(226,0,16,.2);
  display: flex; align-items: center; justify-content: center;
  color: #e20010;
  animation: iconFloat 3s ease-in-out infinite;
}
.toast-inv-sparkle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #e20010;
}
.toast-inv-sparkle.s1 { top: -4px; right: -2px; animation: sparkle 1.2s ease-in-out infinite; }
.toast-inv-sparkle.s2 { bottom: 2px; left: -6px; animation: sparkle 1.2s ease-in-out .4s infinite; }
.toast-inv-sparkle.s3 { top: 10px; right: -8px; animation: sparkle 1.2s ease-in-out .8s infinite; background: #ff6b6b; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.4); }
}
.toast-inv-text strong { display: block; color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.toast-inv-text p { color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.55; margin: 0; }
.search-results-empty { text-align: center; padding: 70px 20px; color: var(--text-dim); }
.search-results-empty svg { margin-bottom: 16px; color: var(--text-dim); opacity: .5; }

/* ============ PRODUCT DETAIL ============ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 46px 0 70px; }
.product-detail .gallery {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0a0f16;
  overflow: hidden;
  position: sticky;
  top: 90px;
  align-self: start;
}
.product-detail .gallery img { width: 100%; aspect-ratio: 1080 / 1350; object-fit: cover; cursor: zoom-in; }

/* ============ IMAGE ZOOM OVERLAY ============ */
.img-zoom-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.img-zoom-overlay.open { opacity: 1; pointer-events: auto; }
.img-zoom-overlay img {
  max-width: 95vw; max-height: 90vh; object-fit: contain;
  border-radius: 12px; touch-action: none;
  transform-origin: center center;
  transition: transform .15s ease-out;
  cursor: grab;
}
.img-zoom-overlay img:active { cursor: grabbing; }
.img-zoom-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.img-zoom-close:hover { background: rgba(255,255,255,.2); }
.img-zoom-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); font-size: 13px; pointer-events: none;
  white-space: nowrap;
}
.img-zoom-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.img-zoom-nav:hover { background: rgba(255,255,255,.2); }
.img-zoom-nav.prev { left: 12px; }
.img-zoom-nav.next { right: 12px; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: var(--surface);
}
.gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 1350;
  overflow: hidden;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transform: translateX(30px);
}
.gallery-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s, opacity .15s;
  opacity: .6;
}
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb.active { border-color: var(--cyan); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 10px; }
.detail-info .cat-line { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.detail-rating { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.detail-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.detail-price .now { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--cyan); }
.detail-price .old { font-size: 20px; color: var(--text-dim); text-decoration: line-through; }
.detail-price .save { background: rgba(245,158,11,.12); color: var(--amber); border: 1px solid rgba(245,158,11,.25); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.detail-desc { color: var(--text-soft); font-size: 15px; margin-bottom: 22px; }
.detail-desc-first { color: var(--text); font-weight: 600; font-size: 16px; }
.detail-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 22px; }
.detail-stock .ok { color: var(--green); }
.detail-stock .out { color: var(--red); }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; width: fit-content; margin-bottom: 22px; }
.qty button { width: 44px; height: 46px; background: var(--surface); border: none; color: var(--text); font-size: 18px; transition: all .15s; }
.qty button:hover { background: var(--surface-2); color: var(--cyan); }
.qty input { width: 60px; text-align: center; background: var(--surface); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); font-size: 16px; height: 46px; outline: none; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.detail-actions-top { margin-bottom: 22px; }
.detail-buy-top .qty { margin-bottom: 14px; }
.detail-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-perk {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: var(--surface);
}
.detail-perk svg { color: var(--cyan); margin-bottom: 8px; }
.detail-perk strong { font-size: 13px; display: block; }
.detail-perk span { font-size: 11.5px; color: var(--text-dim); }
.detail-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(251, 191, 36, .08);
  border: 1px solid rgba(251, 191, 36, .2);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
}
.detail-disclaimer svg { flex-shrink: 0; color: #f59e0b; margin-top: 2px; }

/* ============ CART ============ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 40px 20px 70px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  align-items: center;
}
.cart-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; background: #0a0f16; }
.cart-item h4 { font-size: 15px; margin-bottom: 6px; }
.cart-item .meta { font-size: 13px; color: var(--text-dim); }
.cart-item .price { font-family: var(--font-head); font-weight: 700; color: var(--cyan); font-size: 18px; }
.cart-item .remove { color: var(--text-dim); background: none; border: none; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; transition: color .2s; }
.cart-item .remove:hover { color: var(--red); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
  align-self: start;
}
.cart-summary h3 { margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--text-soft); }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 16px; font-size: 19px; font-weight: 700; color: var(--text); }
.sum-row.total span { color: var(--cyan); font-family: var(--font-head); }
.sum-row.free { color: var(--green); }
.cart-summary .btn { margin-top: 18px; }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty svg { opacity: .4; margin-bottom: 18px; }
.cart-empty h3 { font-size: 24px; margin-bottom: 10px; }
.cart-empty p { color: var(--text-dim); margin-bottom: 26px; }

/* ============ TRACKING ============ */
.track-box {
  max-width: 640px;
  margin: 40px auto 70px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
}
.track-box h2 { margin-bottom: 8px; }
.track-box p { color: var(--text-soft); margin-bottom: 26px; }
.track-form { display: flex; gap: 10px; }
.track-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-size: 15px;
}
.track-form input:focus { border-color: var(--cyan); }
.track-result { margin-top: 30px; text-align: left; display: none; }
.track-result.show { display: block; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.t-step { position: relative; padding: 0 0 28px 0; }
.t-step::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  z-index: 1;
}
.t-step.active::before { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 14px rgba(226,0,16,.6); }
.t-step.active .t-title { color: var(--text); font-weight: 700; }
.t-step .t-title { font-size: 15px; color: var(--text-dim); }
.t-step .t-date { font-size: 12.5px; color: var(--text-dim); }
.t-status-card {
  background: var(--grad-soft);
  border: 1px solid rgba(226,0,16,.3);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-status-card svg { color: var(--cyan); }

/* ============ OFFERS ============ */
.offers-hero {
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(245,158,11,.25), transparent 60%),
    radial-gradient(400px 260px at 5% 100%, rgba(226,0,16,.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
}
.offers-hero .kicker { color: var(--amber); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; }
.offers-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0; }
.offers-hero p { color: var(--text-soft); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 50px 20px 80px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .25s;
}
.contact-card:hover { border-color: rgba(226,0,16,.35); }
.contact-card .cic {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { color: var(--text-soft); font-size: 14px; }
.contact-card a { color: var(--cyan); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form > p { color: var(--text-dim); margin-bottom: 24px; font-size: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-soft); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-size: 14.5px;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); }
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%200%2024%2024'%20fill='none'%20stroke='%2398a1b3'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  font-weight: 600;
  cursor: pointer;
}
.form-group select:hover { border-color: rgba(226,0,16,.45); }
.form-group select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(226,0,16,.14); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--text-dim); margin-top: 12px; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  top: 130px; left: 50%;
  transform: translateX(-50%) translateY(-140px);
  background: var(--surface-2);
  border: 1px solid rgba(226,0,16,.4);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 400;
  transition: transform .4s cubic-bezier(.2,.9,.3,1.2);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { color: var(--cyan); flex-shrink: 0; }
.toast.err { border-color: rgba(248,113,113,.5); }
.toast.err svg { color: var(--red); }

/* Toast de compra finalizada: mensaje de agradecimiento + acciones */
.toast.toast-compra {
  flex-direction: column; align-items: stretch; gap: 12px;
  width: calc(100vw - 32px); max-width: 430px;
  border-color: rgba(47,208,111,.45);
  padding: 18px;
}
.toast-compra > svg { align-self: flex-start; color: #2fd06f; }
.toast-compra span { font-size: 13.5px; line-height: 1.5; }
.toast-compra-acciones { display: grid; gap: 8px; margin-top: 2px; }

/* Toast de artículos pendientes en el carrito (al volver de WhatsApp) */
.toast.toast-carrito {
  flex-direction: column; align-items: stretch; gap: 12px;
  width: calc(100vw - 32px); max-width: 430px;
  border-color: rgba(226,0,16,.5);
  padding: 18px;
}
.toast-carrito > svg { align-self: flex-start; color: var(--cyan); }
.toast-carrito span { font-size: 13.5px; line-height: 1.5; }
.toast-carrito-acciones { display: grid; gap: 8px; margin-top: 2px; }

/* ============ POPUP CENTRALIZADO ============ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(4,7,12,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup {
  width: 100%; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-glow);
  padding: 24px 22px 20px;
  text-align: center;
  animation: popupIn .28s cubic-bezier(.2,.9,.3,1.15) both;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-ic {
  width: 54px; height: 54px; border-radius: 15px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.popup-ic.ok { background: rgba(52,211,153,.14); color: var(--green); }
.popup-ic.err { background: rgba(248,113,113,.14); color: var(--red); }
.popup-ic.info { background: var(--grad-soft); color: var(--cyan); }
}
.popup-title {
  font-family: var(--font-head);
  font-size: 16px; margin-bottom: 6px;
}
.popup-msg { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; margin-bottom: 18px; }
.popup-msg.err { color: var(--red); }
.popup-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
  margin-bottom: 16px;
  outline: none;
}
.popup-input:focus { border-color: var(--cyan); }
.popup-actions { display: flex; gap: 10px; }
.popup-actions .btn { flex: 1; padding: 11px 12px; }
.popup-actions-col { flex-direction: column; }
.popup-actions-col .btn { flex: 1 1 auto; width: 100%; }

/* ============ PAGE LOADER (intro de 8 segundos) ============ */
body.loading { overflow: hidden; }
#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(700px 500px at 50% -10%, rgba(143,0,12,.32), transparent 60%),
    radial-gradient(560px 420px at 50% 115%, rgba(226,0,16,.2), transparent 60%),
    #05070a;
  animation: plBgIn 1s ease both;
}
@keyframes plBgIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#pageLoader.fade-out {
  animation: plFadeOut .7s ease forwards;
}
@keyframes plFadeOut {
  0% { opacity: 1; transform: scale(1); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.04); filter: blur(6px); }
}
.pl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  max-width: 400px;
}
/* Logo: arranca grande centrado, sube arriba con animación */
#pageLoader .pl-logo-wrap {
  animation: plLogoUp 1.4s cubic-bezier(.16,1,.3,1) .2s both;
}
#pageLoader .pl-logo {
  display: block;
  width: min(220px, 50vw);
}
@keyframes plLogoUp {
  0% {
    opacity: 0;
    transform: scale(.5) translateY(60px);
    filter: blur(8px);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 4px 20px rgba(226,0,16,.35));
  }
}
/* Título */
#pageLoader .pl-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #e20010;
  margin: 24px 0 8px;
  animation: plFadeUp .7s ease .8s both;
}
/* Subtítulo */
#pageLoader .pl-subtitle {
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 28px;
  animation: plFadeUp .7s ease 1s both;
}
/* Spinner circular rojo */
#pageLoader .pl-spinner {
  width: 42px;
  height: 42px;
  animation: plFadeUp .6s ease 1.3s both;
}
#pageLoader .pl-spinner-ring {
  width: 100%;
  height: 100%;
  border: 3.5px solid rgba(226,0,16,.15);
  border-top-color: #e20010;
  border-radius: 50%;
  animation: plSpin .9s linear infinite;
}
/* Teléfonos con ícono WhatsApp */
#pageLoader .pl-phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  animation: plFadeUp .7s ease 1.4s both;
}
#pageLoader .pl-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(37,211,102,.25);
  border-radius: 20px;
  background: rgba(37,211,102,.08);
  transition: background .2s, border-color .2s;
}
#pageLoader .pl-phone:hover {
  background: rgba(37,211,102,.18);
  border-color: rgba(37,211,102,.5);
}
#pageLoader .pl-phone svg {
  flex-shrink: 0;
}
@keyframes plSpin {
  to { transform: rotate(360deg); }
}
/* Texto hint inferior */
#pageLoader .pl-hint {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(226,0,16,.25);
  border-radius: 10px;
  background: rgba(226,0,16,.08);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  animation: plFadeUp .7s ease 1.6s both;
}
#pageLoader .pl-hint-text {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
#pageLoader .pl-hint-text strong {
  color: rgba(255,255,255,.85);
  font-weight: 900;
}
#pageLoader .pl-hint-red {
  color: #e20010;
  font-weight: 900;
  text-shadow: 0 0 1px rgba(226,0,16,.3);
}
.pl-hint-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e20010, #8f000c);
  color: #fff;
  margin-top: 1px;
}
@keyframes plFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Logo corto (1.6s al clickear inicio/logo) */
#pageLoader.logo-corto .pl-logo-corto {
  width: min(180px, 42vw);
  animation: plLogoInShort 1.6s cubic-bezier(.16,1,.3,1) both;
}
@keyframes plLogoInShort {
  0% { opacity: 0; transform: scale(.7); filter: blur(6px); }
  40% { opacity: 1; transform: scale(1.05); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 4px 16px rgba(226,0,16,.3)); }
}

/* ============ SKELETON (carga del catálogo) ============ */
.sk-card { pointer-events: none; }
.sk {
  display: block;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(139,155,176,.12) 40%, rgba(139,155,176,.22) 50%, rgba(139,155,176,.12) 60%);
  background-size: 200% 100%;
  animation: skShine 1.2s linear infinite;
}
.sk-img { width: 100%; height: 100%; min-height: 220px; border-radius: 0; }
.sk-line { height: 14px; margin: 10px 0 8px; }
.product-body .sk-line { width: 70%; }
.product-body .sk-line:last-child { margin-top: 14px; }
@keyframes skShine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ============ MODAL (checkout) ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,7,12,.85); backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 30px 16px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  margin: auto;
  width: 100%; max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-soft);
}
.modal-head h3 { font-family: var(--font-head); font-size: 20px; }
.modal-head p { color: var(--text-dim); font-size: 13px; margin-top: 3px; }
.modal-close {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.modal-close:hover { color: var(--cyan); border-color: var(--cyan); }
.modal-body { padding: 22px; }
.modal-body .form-group { margin-bottom: 16px; }
.modal-body label { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.modal-body input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.modal-body input:focus { border-color: var(--cyan); }
.modal-actions { display: flex; gap: 12px; margin-top: 8px; }
.modal-actions .btn { flex: 1; }
.co-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  max-height: 180px;
  overflow-y: auto;
}
.co-summary .co-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-soft); padding: 4px 0; }
.co-summary .co-row.total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 8px; color: var(--text); font-weight: 700; }
.co-summary .co-row span:last-child { text-align: right; }

/* ============ RESPONSIVE ============ */
/* Evita desbordes horizontales en grids y textos largos */
.footer-grid > *, .trust-strip > *, .products-grid > *, .cat-grid > *, .features-grid > *, .product-detail > * { min-width: 0; }
.footer-brand p, .footer-contact li, .footer-contact a, .trust-item .big, .testimonial p { overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-nav.prev { left: 6px; }
  .hero-nav.next { right: 6px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  /* Barra de navegación inferior fija en pantallas móviles */
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: rgba(10,12,17,.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 30px rgba(0,0,0,.45);
  }
  .bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px 7px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-soft);
    transition: color .2s;
  }
  .bottom-nav a.active, .bottom-nav a:active { color: var(--cyan); }
  .bottom-nav a svg { width: 21px; height: 21px; }
  body { padding-bottom: 56px; }
}
@media (max-width: 860px) {
  .products-grid, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; min-width: 0; }
  .product-detail > * { min-width: 0; }
  .product-detail .gallery { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { padding: 20px 16px 46px; gap: 16px; }
  .filters .filter-card { padding: 14px; margin-top: 0; }
  .filters .filter-card + .filter-card { margin-top: 0; }
  .filters .filter-card h3 { margin-bottom: 10px; }
  .filter-clear-btn { display: inline-flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .offer-banner { grid-template-columns: 1fr; }
  .nav-search { max-width: none; }
  /* Móvil: logo arriba y centrado en su propia fila para dar todo el ancho a la barra de búsqueda */
  .nav { flex-wrap: wrap; gap: 10px; }
  .logo { flex-basis: 100%; justify-content: center; order: -1; }
  .nav-search { flex: 1 1 auto; min-width: 0; }
  /* Móvil: la botonera "Comprar / Compartir" pasa a estar DEBAJO del precio (en flujo,
     dentro del cuerpo de la tarjeta), para no tapar la imagen del producto.
     La copia superpuesta sobre la imagen (q-overlay) se oculta. */
  .product-quick.q-overlay { display: none; }
  .product-quick.q-inline {
    position: static;
    inset: auto;
    z-index: auto;
    padding: 0;
    background: none;
    transform: none;
    transition: none;
    display: flex;
    gap: 8px;
  }
  .product-quick.q-inline .btn-add-icon {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
  }
  /* Botón Comprar con efecto suave de agrandar/achicar en móvil */
  .product-quick .btn-buy:not(.btn-disabled):not(.btn-similar) { animation: buyPulse 2.4s ease-in-out infinite; }
  .product-quick .btn-buy.pulse { animation: btnPulse .5s ease; }
  @keyframes buyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  .section-head { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .products-grid, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial { min-width: 260px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item img { width: 90px; height: 90px; }
  .cart-item .right { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .section { padding: 28px 0; }
  .section-head { margin-bottom: 18px; }
  .page-hero { padding: 26px 0 22px; }
  .hero { padding: 12px 0 16px; }
  .detail-price { flex-wrap: wrap; gap: 10px; }
  .detail-price .now { font-size: 30px; }
  .detail-perks { grid-template-columns: 1fr; }
  .track-form { flex-direction: column; }
  .catalog-layout { padding: 22px 20px 40px; }
  .catalog-top { margin-bottom: 14px; gap: 10px; }
  .contact-grid { padding: 22px 20px 40px; }
  .footer-grid { padding: 28px 0 20px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col li { margin-bottom: 8px; }
  .socials a { width: 34px; height: 34px; }
  .footer-contact li { margin-bottom: 10px; }
  .nav { gap: 10px; padding: 10px 20px; }
  .logo img { height: 44px; }
  .nav-search { flex: 1; min-width: 0; padding: 8px 12px; }
  .nav-search input { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
  .hero-content { min-width: 0; }
  .hero-visual { min-width: 0; }
  .hero-image { padding: 0; min-height: 0; }
  .hero-image img { width: 100%; max-width: 100%; max-height: 180px; height: auto; transform: none; }
  .hero-slide .hero-image.hs-frame { padding: 8px; border-radius: 18px; aspect-ratio: 1080 / 1350; overflow: hidden; }
  .hero-slide .hero-image img.hs-img { width: 100%; height: 100%; max-width: 100%; max-height: none; object-fit: cover; transform: none; }
  .hs-off-tag { top: 14px; left: 14px; font-size: 11px; padding: 4px 10px; }
  .hs-stock-tag { bottom: 14px; left: 14px; font-size: 9.5px; padding: 4px 9px; gap: 5px; }
  .hero-product .hs-cat { font-size: 9px; letter-spacing: 1px; margin-bottom: 2px; }
  .hero-product .hs-meta { gap: 5px 10px; margin-bottom: 8px; }
  .hero-product .hs-meta span { font-size: 9.5px; gap: 4px; }
  /* El título del hero se ve más grande que el segundo párrafo, como en escritorio */
  .hero h1 { font-size: clamp(17px, 4.8vw, 23px); margin-bottom: 4px; line-height: 1.2; letter-spacing: -.01em; }
  .hero .lead, .hero p.lead { font-size: 10.5px; margin-bottom: 6px; max-width: none; margin-left: 0; margin-right: 0; line-height: 1.3; }
  /* Móvil: se oculta la descripción del producto en el hero de destacados para reducir el scroll */
  .hero-product .lead { display: none; }
  .hero-badge { margin-bottom: 5px; padding: 3px 7px; font-size: 8.5px; }
  .hero-slide .hs-price { margin-bottom: 6px; gap: 5px; }
  .hero-slide .hs-price .now { font-size: 15px; }
  .hero-slide .hs-price .old { font-size: 10px; }
  .hero-slide .hs-rating { font-size: 9.5px; gap: 4px; margin-bottom: 4px; }
  .hero-cta { gap: 5px; margin-bottom: 6px; justify-content: flex-start; flex-wrap: wrap; }
  .hero-cta .btn { flex: none; padding: 6px 9px; font-size: 9.5px; }
  .hero-stats { gap: 6px; justify-content: flex-start; flex-wrap: wrap; }
  .stat .num { font-size: 11px; }
  .stat .lbl { font-size: 8px; }
  .cat-card { padding: 14px; min-height: 92px; }
  .cat-card h3 { font-size: 15px; }
  .cat-card span { font-size: 11.5px; margin-top: 2px; }
  .cat-card .cat-ic { width: 32px; height: 32px; top: 10px; right: 10px; border-radius: 9px; }
  .feature { gap: 10px; }
  .feature .fic { width: 40px; height: 40px; }
  .feature strong { font-size: 13.5px; }
  .feature span { font-size: 11.5px; }
  .offer-banner { padding: 24px 20px; gap: 20px; }
  .offers-hero { padding: 24px 18px; margin-bottom: 24px; }
  .trust-strip { margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .trust-item { padding: 12px 6px; }
  .trust-item .big { font-size: 22px; }
  .trust-item span { font-size: 12px; }
  .testimonial { padding: 18px; }
  .testi-arrow { display: none; }
  .t-badge { display: none; }
  .newsletter { padding: 20px 16px; }
  .newsletter p { margin-bottom: 16px; }
  .newsletter-form { flex-direction: column; }
  .modal-overlay { padding: 16px 10px; }
  .modal-body { padding: 16px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .products-grid { gap: 12px; }
  .product-body { padding: 10px 12px; }
  .product-name { font-size: 12.5px; min-height: 31px; }
  .price-row .now { font-size: 14px; }
  .btn-add { font-size: 12.5px; padding: 10px 6px; }
  .btn-buy { font-size: 11.5px; padding: 8px 6px; }
  .btn-add-icon { width: 36px; }
  .product-tag, .product-off { font-size: 10px; padding: 4px 8px; }
  .product-quick { padding: 0 10px 10px; }
  /* Evita el zoom automático de iOS al tocar inputs */
  input, select, textarea { font-size: 16px; }
  .cart-summary { padding: 18px; }
  .qty input { font-size: 16px; }
}
@media (max-width: 380px) {
  .products-grid, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Selects nativos con el mismo estilo del "Ordenar por" */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%200%2024%2024'%20fill='none'%20stroke='%2398a1b3'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  font-weight: 600;
  cursor: pointer;
}
select:hover { border-color: rgba(226,0,16,.45); }
select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(226,0,16,.14); }

/* ============ BOTÓN FLOTANTE DE AYUDA ============ */
.help-fab {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e20010, #8f000c);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(226,0,16,.5), 0 0 0 3px rgba(226,0,16,.2);
  transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
  opacity: 0;
  transform: scale(.7) translateY(20px);
  pointer-events: none;
  animation: fabPulse 2s ease-in-out infinite;
}
.help-fab.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.help-fab:hover {
  transform: scale(1.08) translateY(0);
  box-shadow: 0 6px 28px rgba(226,0,16,.6), 0 0 0 3px rgba(226,0,16,.3);
}
.help-fab:active { transform: scale(.95); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(226,0,16,.5), 0 0 0 3px rgba(226,0,16,.2); }
  50% { box-shadow: 0 4px 28px rgba(226,0,16,.7), 0 0 0 6px rgba(226,0,16,.15); }
}
@media (max-width: 600px) {
  .help-fab { bottom: 80px; right: 16px; width: 48px; height: 48px; z-index: 9500; }
}

/* ============ TUTORIAL GUIADO ============ */
/* Overlay backdrop */
.guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal card */
.guide-modal {
  position: relative;
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100vh - 48px);
  background: linear-gradient(165deg, #131a2e, #0c1120);
  border: 1px solid rgba(226,0,16,.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.65), 0 0 40px rgba(226,0,16,.08);
  display: flex;
  flex-direction: column;
  animation: modalIn .45s cubic-bezier(.16,1,.3,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Progress bar */
.guide-progress {
  height: 4px;
  background: rgba(255,255,255,.06);
  flex-shrink: 0;
}
.guide-prog-bar {
  height: 100%;
  background: linear-gradient(90deg, #e20010, #ff3a3a);
  border-radius: 0 2px 2px 0;
  transition: width .5s cubic-bezier(.16,1,.3,1);
  width: 0%;
}

/* Close button */
.guide-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.35);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.guide-close:hover,
.guide-close:active {
  background: rgba(226,0,16,.15);
  color: #e20010;
}

/* ── Slides container ───────────────────────────────────────── */
.guide-slides {
  position: relative;
  overflow: hidden;
}
.guide-slide {
  display: none;
  padding: 28px 28px 24px;
}
.guide-slide.active {
  display: block;
  animation: slideIn .4s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Welcome slide ──────────────────────────────────────────── */
.guide-welcome {
  text-align: center;
  padding: 36px 28px 28px;
}
.guide-welcome-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(226,0,16,.15), rgba(226,0,16,.05));
  border: 1px solid rgba(226,0,16,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.guide-welcome-icon svg {
  color: #e20010;
}
.guide-welcome h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  overflow: hidden;
}
.guide-welcome h2 span {
  display: inline-block;
  animation: textReveal .6s ease both;
}
@keyframes textReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.guide-welcome .guide-sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(226,0,16,.8);
  margin: 0 0 24px;
  animation: textReveal .6s .15s ease both;
}

/* ── Step slides (visual + text) ────────────────────────────── */
.guide-step-layout {
  display: flex;
  align-items: center;
  gap: 20px;
}
.guide-visual {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.guide-step-text {
  flex: 1;
  min-width: 0;
}
.guide-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #e20010;
  background: rgba(226,0,16,.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: .3px;
}
.guide-step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.35;
}
.guide-step-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* ── Visual elements ────────────────────────────────────────── */

/* Product card mock */
.guide-vis-card {
  width: auto;
  height: auto;
  max-height: 100%;
  background: none;
  border: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-vis-card .product-card {
  width: 130px;
  font-size: 10px;
  border-radius: 10px;
  border: 1px solid var(--border, #1f1f1f);
  background: var(--surface, #0d0d0d);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(.7);
  transform-origin: center;
}
.guide-vis-card .product-media {
  aspect-ratio: 1080 / 1350;
  background: #0a0f16;
  position: relative;
  overflow: hidden;
}
.guide-vis-card .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.guide-vis-card .product-tag {
  font-size: 6px;
  padding: 1.5px 4px;
  top: 4px;
  left: 4px;
}
.guide-vis-card .product-off {
  font-size: 6px;
  padding: 1.5px 4px;
  top: 4px;
  right: 4px;
}
.guide-vis-card .product-body {
  padding: 4px 6px;
  gap: 1.5px;
}
.guide-vis-card .product-cat {
  font-size: 5px;
}
.guide-vis-card .product-name {
  font-size: 8px;
  min-height: auto;
  line-height: 1.15;
  -webkit-line-clamp: 1;
}
.guide-vis-card .product-rating {
  font-size: 6px;
  gap: 2px;
}
.guide-vis-card .product-rating .stars {
  font-size: 6px;
}
.guide-vis-card .product-stock {
  font-size: 6px;
  gap: 2px;
}
.guide-vis-card .product-stock .dot {
  width: 3px;
  height: 3px;
}
.guide-vis-card .price-row .now {
  font-size: 9px;
}
.guide-vis-card .price-row .old {
  font-size: 6.5px;
}

/* Buy button with animated red border */
.guide-v-buy {
  position: relative;
  padding: 14px 20px;
  background: linear-gradient(135deg, #e20010, #8f000c);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
}
.guide-v-buy::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 2px solid #ff4444;
  opacity: 0;
}
.guide-v-buy.border-anim::after {
  animation: borderTravel 2s ease-in-out infinite;
}
@keyframes borderTravel {
  0% { clip-path: inset(0 100% 100% 0); opacity: 1; }
  25% { clip-path: inset(0 0 100% 0); opacity: 1; }
  50% { clip-path: inset(0 0 0 0); opacity: 1; }
  75% { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 100%); opacity: 1; }
}

/* Cart icon with badge */
.guide-v-cart {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-v-cart svg {
  color: rgba(255,255,255,.7);
}
.guide-v-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e20010;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.guide-v-cart-border {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid transparent;
}
.guide-v-cart-border.border-anim {
  animation: borderTravel 2s ease-in-out infinite;
  border-color: #ff4444;
}

/* Checkout modal mock */
.guide-v-checkout {
  width: 90px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
}
.guide-v-checkout.zoom-anim {
  animation: checkoutZoom 2s ease-in-out infinite;
}
@keyframes checkoutZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.guide-v-co-head {
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-align: center;
}
.guide-v-co-field {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  margin-bottom: 5px;
}
.guide-v-co-field:last-child { margin-bottom: 0; }
.guide-v-co-btn {
  height: 14px;
  background: linear-gradient(135deg, #e20010, #8f000c);
  border-radius: 6px;
  margin-top: 6px;
}

/* WhatsApp icon */
.guide-v-wa {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e20010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: waBounce 2s ease-in-out infinite;
}
@keyframes waBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.08) rotate(-3deg); }
  75% { transform: scale(1.08) rotate(3deg); }
}
.guide-v-wa svg {
  color: #fff;
}

/* ── Navigation ─────────────────────────────────────────────── */
.guide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 20px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.guide-dots {
  display: flex;
  gap: 6px;
}
.guide-dots .gd {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: all .3s ease;
}
.guide-dots .gd.active {
  background: #e20010;
  width: 22px;
  border-radius: 4px;
}
.guide-nav-btns {
  display: flex;
  gap: 8px;
}
.guide-btn-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,.28);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}
.guide-btn-skip:hover,
.guide-btn-skip:active {
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
}
.guide-btn-next {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #e20010, #8f000c);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: all .2s;
}
.guide-btn-next:hover,
.guide-btn-next:active {
  box-shadow: 0 6px 20px rgba(226,0,16,.4);
  transform: translateY(-1px);
}
.guide-btn-next:active {
  transform: scale(.96);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .guide-modal { width: min(380px, calc(100vw - 20px)); border-radius: 16px; }
  .guide-slide { padding: 22px 20px 20px; }
  .guide-welcome { padding: 28px 20px 20px; }
  .guide-welcome h2 { font-size: 18px; }
  .guide-step-layout { gap: 14px; }
  .guide-visual { width: 90px; height: 90px; }
  .guide-vis-card .product-card { width: 110px; }
  .guide-step-title { font-size: 14px; }
  .guide-step-desc { font-size: 13px; }
  .guide-nav { padding: 12px 20px 16px; }
  .guide-v-buy { padding: 12px 16px; font-size: 11px; }
  .guide-v-checkout { width: 80px; padding: 8px; }
}

/* ============ PWA INSTALL BANNER ============ */
#installBanner {
  position: fixed;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 200;
  width: calc(100% - 24px);
  max-width: 420px;
  opacity: 0;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s;
  pointer-events: none;
}
#installBanner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.install-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.install-banner-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.install-banner-text svg { flex-shrink: 0; color: var(--cyan); }
.install-banner-text strong { display: block; font-size: 13.5px; }
.install-banner-text span { display: block; font-size: 11.5px; color: var(--text-dim); }
.install-banner-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ibtn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  transition: all .15s;
}
.ibtn-install {
  background: var(--grad);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
}
.ibtn-install:active { transform: scale(.95); }
.ibtn-close {
  background: var(--surface-2);
  color: var(--text-dim);
  width: 32px;
  height: 32px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ibtn-close:hover { color: var(--text); background: var(--border); }
@media (max-width: 560px) {
  #installBanner { bottom: 64px; }
}

/* ============ PUSH NOTIFICATION BANNER ============ */
.push-banner {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.1), opacity .4s ease;
  z-index: 9998; width: 92%; max-width: 520px;
}
.push-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1; pointer-events: auto;
}
.push-banner-inner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(165deg, #131a2e, #0c1120);
  border: 1px solid rgba(226,0,16,.25);
  border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,.55), 0 0 30px rgba(226,0,16,.12);
}
.push-banner-icon {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226,0,16,.18), rgba(226,0,16,.06));
  border: 1px solid rgba(226,0,16,.22);
  display: flex; align-items: center; justify-content: center;
  color: #e20010;
  animation: pushBell 2s ease-in-out infinite;
}
@keyframes pushBell {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(0); }
}
.push-banner-text { flex: 1; min-width: 0; }
.push-banner-text strong {
  display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px;
}
.push-banner-text span {
  display: block; font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.45;
}
.push-banner-btns {
  display: flex; flex-direction: column; gap: 6px; flex-shrink: 0;
}
.ibtn-push-accept {
  background: linear-gradient(135deg, #e20010, #8f000c);
  color: #fff; padding: 8px 16px; font-size: 12.5px; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: transform .15s;
}
.ibtn-push-accept:active { transform: scale(.95); }
.ibtn-push-dismiss {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.45);
  padding: 6px 14px; font-size: 11.5px; font-weight: 500;
  border: none; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: color .2s;
}
.ibtn-push-dismiss:hover { color: rgba(255,255,255,.7); }
@media (max-width: 560px) {
  .push-banner { bottom: 14px; width: 95%; }
  .push-banner-inner { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .push-banner-btns { flex-direction: row; width: 100%; }
  .ibtn-push-accept, .ibtn-push-dismiss { flex: 1; text-align: center; }
}
