/* ══ ¡Que Pinta Pabis! — style.css ══════════════════════════
   Stack: HTML5 · Bootstrap-free · CSS puro + Variables
   Diseño: fondo oscuro estrellado, turquesa/violeta/rosa
══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --cyan:    #22D3EE;
  --cyan2:   #06B6D4;
  --rose:    #EC4899;
  --violet:  #7C3AED;
  --violet2: #6D28D9;
  --navy:    #1B1464;
  --green:   #25D366;
  --bg:      #0d0b2a;
  --surface: rgba(255,255,255,.07);
  --border:  rgba(255,255,255,.1);
  --text:    #fff;
  --muted:   rgba(255,255,255,.45);
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    20px;
  --r-full:  999px;
  --shadow:  0 8px 32px rgba(0,0,0,.3);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Fondo estrellado ────────────────────────────────────── */
.bg-stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 10% 30%, rgba(107,33,168,.5) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 72%, rgba(27,20,100,.65) 0%, transparent 60%),
    var(--bg);
}
.bg-stars::before, .bg-stars::after {
  content: ''; position: absolute; inset: 0;
}
.bg-stars::before {
  background-image:
    radial-gradient(1.5px 1.5px at 7%  11%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px   1px   at 21% 38%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px   2px   at 37% 7%,  rgba(255,255,255,.6), transparent),
    radial-gradient(1px   1px   at 52% 53%, rgba(255,255,255,.45),transparent),
    radial-gradient(1.5px 1.5px at 67% 17%, rgba(255,255,255,.65),transparent),
    radial-gradient(1px   1px   at 82% 41%, rgba(255,255,255,.55),transparent),
    radial-gradient(2px   2px   at 13% 67%, rgba(255,255,255,.45),transparent),
    radial-gradient(1px   1px   at 27% 81%, rgba(255,255,255,.65),transparent),
    radial-gradient(1.5px 1.5px at 57% 71%, rgba(255,255,255,.55),transparent),
    radial-gradient(1px   1px   at 87% 83%, rgba(255,255,255,.75),transparent),
    radial-gradient(1px   1px   at 41% 43%, rgba(34,211,238,.45),  transparent),
    radial-gradient(1.5px 1.5px at 77% 11%, rgba(236,72,153,.45),  transparent),
    radial-gradient(2px   2px   at 17% 89%, rgba(124,58,237,.55),  transparent),
    radial-gradient(1px   1px   at 64% 94%, rgba(255,255,255,.55),transparent),
    radial-gradient(1px   1px   at 93% 24%, rgba(255,255,255,.45),transparent);
}
.bg-stars::after {
  background-image:
    radial-gradient(1px   1px   at 4%  27%, rgba(255,255,255,.55),transparent),
    radial-gradient(1.5px 1.5px at 31% 57%, rgba(255,255,255,.65),transparent),
    radial-gradient(1px   1px   at 59% 21%, rgba(255,255,255,.45),transparent),
    radial-gradient(2px   2px   at 85% 57%, rgba(255,255,255,.55),transparent),
    radial-gradient(1px   1px   at 47% 91%, rgba(255,255,255,.65),transparent),
    radial-gradient(1.5px 1.5px at 11% 41%, rgba(34,211,238,.3),  transparent),
    radial-gradient(1px   1px   at 69% 34%, rgba(236,72,153,.3),  transparent),
    radial-gradient(1px   1px   at 34% 14%, rgba(255,255,255,.6),  transparent),
    radial-gradient(1px   1px   at 74% 77%, rgba(255,255,255,.5),  transparent);
  animation: twinkle 4.5s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: .6; } 100% { opacity: 1; } }

/* ── Layout ──────────────────────────────────────────────── */
.page-wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(13,11,42,.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px; gap: 16px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-icons { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  background: none; border: none; color: rgba(255,255,255,.8);
  font-size: 17px; padding: 4px; transition: color .2s;
}
.icon-btn:hover { color: var(--cyan); }
.cart-wrap { position: relative; }
.cart-badge {
  position: absolute; top: -7px; right: -9px;
  background: var(--rose); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
/* Búsqueda */
.search-bar { border-top: 1px solid var(--border); padding: 10px 40px; }
.search-inner {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 8px 16px;
}
.search-inner i { color: var(--muted); }
.search-inner input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 14px; font-family: inherit;
}
.search-inner input::placeholder { color: var(--muted); }
.search-inner button { background: none; border: none; color: var(--muted); font-size: 14px; }

/* Banner cerrado */
.store-closed-banner {
  background: rgba(239,68,68,.18); border-bottom: 1px solid rgba(239,68,68,.3);
  padding: 10px 40px; font-size: 13px; font-weight: 600; color: #fca5a5;
  text-align: center;
}

.hero {
  display: none;
  align-items: center;
  gap: 32px;
  min-height: 560px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124,58,237,.5) 0%, transparent 68%);
}
.hero-left { flex: 1; z-index: 2; }
.hero-logo-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hero-logo-img {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,.2);
  box-shadow: 0 0 36px rgba(34,211,238,.35);
}
.hero-logo-txt {
  font-size: 38px; font-weight: 900; line-height: 1.1;
  color: var(--cyan); text-shadow: 0 0 28px rgba(34,211,238,.4);
}
.hero-logo-txt span { color: var(--rose); }
.hero-title {
  font-size: 50px; font-weight: 900; line-height: 1.15;
  color: #fff; margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.72);
  line-height: 1.75; margin-bottom: 32px;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff; border: none; border-radius: var(--r-full);
  padding: 15px 40px; font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 30px rgba(34,211,238,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(34,211,238,.45); }
.hero-right { flex: 1; z-index: 2; display: flex; justify-content: center; }
.hero-model {
  width: 100%; max-width: 420px; border-radius: 24px;
  object-fit: cover; object-position: top;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.5));
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 12px 40px;
  background: rgba(255,255,255,.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.trust-ic {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}

/* ── SHOP ────────────────────────────────────────────────── */
.shop-section {
  padding: 52px 40px;
  background: rgba(13,11,42,.65);
  backdrop-filter: blur(4px);
}
.shop-header { margin-bottom: 8px; }
.shop-title { font-size: 30px; font-weight: 800; color: #fff; }
.shop-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }

/* Filtros */
.cat-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-btn {
  padding: 8px 22px; border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--surface); color: rgba(255,255,255,.75);
  font-size: 13px; font-weight: 600; transition: all .2s;
}
.cat-btn.active { background: var(--cyan); border-color: var(--cyan); color: var(--navy); font-weight: 700; }
.cat-btn:hover:not(.active) { border-color: var(--cyan); color: var(--cyan); }

/* Grid */
.products-grid {
  columns: 4;
  column-gap: 12px;
}
.products-grid .p-card {
  break-inside: avoid;
  margin-bottom: 12px;
}
.products-grid .p-card-img {
  aspect-ratio: unset;
}
.products-grid .p-card-img img {
  height: auto;
  object-fit: unset;
  object-position: unset;
}
.loading-state {
  text-align: center;
  padding: 80px 0; color: var(--muted); font-size: 14px; line-height: 2.5;
  column-span: all;
}
.empty-state { column-span: all; text-align: center; padding: 80px 0; color: var(--muted); }

/* Product card */
.p-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.p-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(34,211,238,.2);
}
.p-card-img {
  position: relative; overflow: hidden;
  background: #131030;
  aspect-ratio: 1 / 1;
}
.p-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.p-card:hover .p-card-img img { transform: scale(1.06); }
.p-card-img .no-img { font-size: 48px; opacity: .35; display: flex; align-items: center; justify-content: center; height: 100%; }
.p-badge {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; padding: 3px 9px; border-radius: 999px;
  color: #fff; z-index: 1;
}
.badge-new  { background: var(--violet); }
.badge-sale { background: #EF4444; }
.badge-hot  { background: var(--rose); }
.btn-share {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(13,11,42,.65); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.7); font-size: 11px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-share:hover { background: rgba(34,211,238,.15); color: var(--cyan); border-color: rgba(34,211,238,.3); }

.p-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 9.5px; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,.35); font-weight: 600; margin-bottom: 4px; }
.p-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 10px; flex: 1; }
.p-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.p-now { font-size: 16px; font-weight: 800; color: #fff; }
.p-old { font-size: 11px; color: rgba(255,255,255,.35); text-decoration: line-through; }
.p-pct { font-size: 10px; font-weight: 700; color: var(--rose); background: rgba(236,72,153,.12); padding: 2px 6px; border-radius: 4px; }
.p-stock-low { font-size: 10.5px; color: #FCD34D; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.p-card-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 10px; }
.btn-ver-fotos {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6); border-radius: 7px; padding: 6px 10px;
  font-size: 11px; font-weight: 600; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: background .2s, color .2s;
}
.btn-ver-fotos:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-add-cart {
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff; border: none; border-radius: 8px; padding: 10px;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: opacity .2s, transform .15s; font-family: inherit;
}
.btn-add-cart:hover { opacity: .9; transform: scale(.99); }
.btn-add-cart:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* Paginación */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.page-btn {
  padding: 8px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--surface); color: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 600; transition: all .2s;
}
.page-btn.active, .page-btn:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

/* ── CÓMO COMPRAR ────────────────────────────────────────── */
.how-section {
  padding: 56px 40px;
  border-top: 1px solid var(--border);
}
.how-title { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.how-sub { font-size: 13px; color: var(--muted); margin-bottom: 52px; }
.steps-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative;
}
.step-line {
  position: absolute; top: 28px; left: 7%; right: 7%;
  height: 1px; background: rgba(255,255,255,.1);
}
.step { text-align: center; flex: 1; position: relative; z-index: 1; padding: 0 10px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34,211,238,.1); border: 2px solid rgba(34,211,238,.38);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--cyan);
}
.step-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.step-desc { font-size: 11px; color: var(--muted); line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  background: rgba(13,11,42,.8);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-inner strong { color: rgba(255,255,255,.7); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--cyan); }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── CARRITO SIDEBAR ─────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 800; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: -440px; bottom: 0; width: 420px;
  max-width: 95vw;
  background: #12103a;
  border-left: 1px solid var(--border);
  z-index: 801; display: flex; flex-direction: column;
  padding: 0; overflow: hidden;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 40px rgba(0,0,0,.4);
}
.cart-sidebar.open { right: 0; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-title { font-size: 17px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-empty i { font-size: 3rem; display: block; margin-bottom: 14px; opacity: .4; }
.cart-item {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.ci-img {
  width: 64px; height: 64px; border-radius: 10px;
  background: var(--surface); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.ci-price { font-size: 13px; color: var(--cyan); font-weight: 700; }
.ci-qty { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--border);
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.qty-btn:hover { background: rgba(255,255,255,.18); }
.qty-n { font-size: 13px; font-weight: 700; color: #fff; min-width: 22px; text-align: center; }
.ci-del { background: none; border: none; color: rgba(255,100,100,.6); font-size: 14px; margin-left: auto; }
.ci-del:hover { color: #f87171; }
/* Cart footer */
.cart-footer-wrap { flex-shrink: 0; }
.cart-footer { padding: 16px 22px; border-top: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 3px 0; }
.summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; color: #fff; margin: 10px 0; padding: 10px 0; border-top: 1px solid var(--border); }
.coupon-row { display: flex; gap: 8px; margin: 12px 0; }
.coupon-input {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 14px; color: #fff;
  font-size: 13px; font-family: inherit; outline: none;
  transition: border-color .2s;
}
.coupon-input:focus { border-color: var(--cyan); }
.coupon-input::placeholder { color: var(--muted); }
.btn-coupon {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--cyan); padding: 9px 16px; font-size: 12px; font-weight: 700;
  transition: background .2s;
}
.btn-coupon:hover { background: rgba(34,211,238,.15); }
.coupon-msg { font-size: 12px; margin-bottom: 8px; min-height: 16px; }
.coupon-ok  { color: var(--cyan); }
.coupon-err { color: #f87171; }
.btn-checkout {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #25D366, #1da851);
  color: #fff; border: none; border-radius: var(--r-md);
  padding: 14px; font-size: 15px; font-weight: 800;
  transition: opacity .2s, transform .15s; margin-bottom: 8px;
}
.btn-checkout:hover { opacity: .9; transform: translateY(-1px); }
.btn-clear-cart {
  width: 100%; background: none; border: 1px solid rgba(255,100,100,.25);
  border-radius: var(--r-md); color: rgba(255,120,120,.7);
  padding: 9px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .2s;
}
.btn-clear-cart:hover { background: rgba(255,100,100,.1); border-color: rgba(255,100,100,.5); color: #f87171; }

/* ── MODAL CHECKOUT ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  z-index: 900; display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #14113a; border: 1px solid var(--border);
  border-radius: var(--r-lg); width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto;
  transform: translateY(16px); transition: transform .3s;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #14113a; z-index: 1;
}
.modal-head h2 { font-size: 16px; font-weight: 800; color: #fff; }
.btn-close {
  background: var(--surface); border: none; border-radius: 50%;
  width: 32px; height: 32px; color: rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background .2s;
}
.btn-close:hover { background: rgba(255,255,255,.16); color: #fff; }
.modal-body { padding: 24px; }
.order-preview {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 22px;
}
.order-preview h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 10px; }
.op-line { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.8); padding: 2px 0; }
.op-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 800; color: var(--cyan); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
/* Form */
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 5px; }
.req { color: var(--rose); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-md); padding: 10px 14px;
  color: #fff; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: #14113a; }
.form-group textarea { resize: vertical; }
.form-err { font-size: 11px; color: #f87171; margin-top: 4px; min-height: 14px; }
.btn-wa-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #25D366, #1da851);
  color: #fff; border: none; border-radius: var(--r-md);
  padding: 15px; font-size: 15px; font-weight: 800; margin-top: 20px;
  transition: opacity .2s, transform .15s;
}
.btn-wa-submit:hover { opacity: .9; transform: translateY(-1px); }
.modal-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.6; }

/* ── TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(34,211,238,.96); color: var(--navy);
  padding: 12px 28px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 700; z-index: 9999;
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(34,211,238,.35);
  transition: transform .3s;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { padding: 12px 20px; }
  .nav-links { gap: 20px; }
  .hero { flex-direction: column; padding: 32px 20px; min-height: auto; }
  .hero-right { display: none; }
  .hero-title { font-size: 32px; }
  .trust-bar { gap: 16px; padding: 12px 20px; }
  .shop-section { padding: 36px 20px; }
  .products-grid { columns: 2; column-gap: 10px; }
  .how-section { padding: 40px 20px; }
  .steps-row { flex-wrap: wrap; gap: 28px; }
  .step-line { display: none; }
  .step { flex: 0 0 calc(50% - 14px); }
  .footer { padding: 24px 20px; }
  .modal { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 95vh; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .form-row.two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid { columns: 1; column-gap: 0; }
  /* p-card-img usa aspect-ratio en movil */
  .hero-title { font-size: 26px; }
  .step { flex: 0 0 100%; }
}

/* ══ SLIDER ═══════════════════════════════════════════════
   Ancho 100%, altura compacta tipo Amazon (~300px)
   Flechas en los bordes, dots abajo, barra de progreso
══════════════════════════════════════════════════════════ */
.slider-section { width: 100%; }

.slider-wrap {
  position: relative;
  width: 100%;
  height: clamp(200px, 30vw, 400px);
  overflow: hidden;
  background: #1B1464;
}

/* Pista de slides */
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Slide individual */
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* Overlay degradado */
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27,20,100,.78) 0%,
    rgba(27,20,100,.35) 50%,
    transparent 80%
  );
  pointer-events: none;
}
/* Contenido de texto */
.slide-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 6vw, 64px);
  max-width: min(540px, 58%);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .5s ease .2s, transform .5s ease .2s;
  pointer-events: none;
}
.slide.sl-active .slide-body {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
/* Badge */
.sl-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--rose); color: #fff;
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 12px; border-radius: var(--r-full);
  margin-bottom: 10px; width: fit-content;
}
/* Título */
.sl-title {
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.sl-title em { font-style: normal; color: var(--cyan); }
/* Descripción */
.sl-desc {
  font-size: clamp(.78rem, 1.5vw, .95rem);
  color: rgba(255,255,255,.78);
  line-height: 1.55; margin-bottom: 14px;
}
/* Precio */
.sl-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.sl-price-now {
  font-size: clamp(1.1rem, 2.8vw, 1.7rem);
  font-weight: 900; color: var(--cyan);
}
.sl-price-old {
  font-size: .85rem; color: rgba(255,255,255,.4);
  text-decoration: line-through;
}
.sl-price-pct {
  background: var(--rose); color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 2px 7px; border-radius: 5px;
  align-self: center;
}
/* Botón CTA del slide */
.sl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cyan); color: var(--navy);
  font-weight: 800; font-size: .85rem;
  padding: 10px 22px; border-radius: var(--r-full);
  border: none; cursor: pointer; width: fit-content;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.sl-btn:hover { background: #fff; transform: translateY(-1px); }

/* ── Flechas tipo Amazon ── */
.sl-arrow {
  position: absolute; top: 0; bottom: 0; z-index: 10;
  width: 46px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  opacity: 0; transition: opacity .2s, background .2s;
}
.slider-wrap:hover .sl-arrow { opacity: 1; }
.sl-arrow:hover { background: rgba(255,255,255,.06); }
.sl-prev { left: 0; }
.sl-next { right: 0; }
.sl-arrow-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.82);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #111; line-height: 1;
  box-shadow: 0 1px 6px rgba(0,0,0,.22);
  font-family: Georgia, serif;
}

/* ── Dots ── */
.sl-dots {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.sl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none;
  cursor: pointer; padding: 0; transition: all .25s;
}
.sl-dot.sl-active {
  background: var(--cyan); width: 22px; border-radius: 4px;
}

/* ── Barra de progreso ── */
.sl-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,.08); z-index: 10;
}
.sl-progress-fill {
  height: 100%; background: var(--cyan);
  width: 0%; transition: width linear;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .sl-arrow { display: none; }
  .slide-body { max-width: 72%; padding: 0 16px; }
  .sl-desc { display: none; }
}

/* ══════════════════════════════════════════════════
   BARRA DE AVISO IMPORTANTE
   ══════════════════════════════════════════════════ */
.notice-bar {
  background: linear-gradient(135deg, #1e1060 0%, #2d1b8e 100%);
  border-top: 2px solid var(--cyan);
  border-bottom: 2px solid rgba(34,211,238,.25);
  padding: 14px 20px;
}
.notice-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.notice-ic {
  color: var(--cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.notice-text {
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  line-height: 1.55;
}
.notice-text strong {
  color: #fff;
}
@media (max-width: 640px) {
  .notice-bar { padding: 12px 14px; }
  .notice-text { font-size: .78rem; }
}

/* ══════════════════════════════════════════════════
   AVISO DE CONDICIONES EN CHECKOUT
   ══════════════════════════════════════════════════ */
.checkout-notice {
  background: rgba(236,72,153,.07);
  border: 1px solid rgba(236,72,153,.25);
  border-left: 3px solid var(--rose, #EC4899);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0 8px;
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  line-height: 1.55;
}
.checkout-notice > i.fa-info-circle {
  color: var(--rose, #EC4899);
  margin-right: 6px;
}
.checkout-notice ul {
  margin: 8px 0 0 18px;
  padding: 0;
}
.checkout-notice ul li {
  margin-bottom: 4px;
}
.checkout-notice strong {
  color: #fff;
}
.checkout-thanks {
  margin-top: 10px;
  color: rgba(255,255,255,.6);
  font-style: italic;
  text-align: right;
  font-size: .75rem;
}

/* ── Aviso importante ─────────────────────────────────────── */
.notice-wrap {
  padding: 14px 40px 28px;
  display: flex;
  justify-content: center;
  background: rgba(13,11,42,.65);
}
.notice-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(236,72,153,.08);
  border: 1px solid rgba(236,72,153,.28);
  border-radius: 16px;
  padding: 14px 24px;
  max-width: 780px;
  width: 100%;
}
.notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-header i { color: var(--rose); font-size: 15px; }
.notice-header strong {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.notice-divider {
  width: 100%;
  height: 1px;
  background: rgba(236,72,153,.18);
}
.notice-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.notice-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.notice-list li::before {
  content: "•";
  color: var(--rose);
  font-size: 14px;
  line-height: 1.3;
  flex-shrink: 0;
}
.notice-footer {
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  font-style: italic;
  text-align: center;
}
@media (max-width: 640px) {
  .notice-wrap { padding: 12px 16px 24px; }
  .notice-pill { padding: 12px 16px; border-radius: 12px; }
  .notice-list li { font-size: 11.5px; }
}

/* ── Aviso importante ─────────────────────────────────────── */
.notice-wrap {
  padding: 0 40px 32px;
  display: flex;
  justify-content: center;
  background: rgba(13,11,42,.65);
}
.notice-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(236,72,153,.08);
  border: 1px solid rgba(236,72,153,.28);
  border-radius: 16px;
  padding: 14px 24px;
  max-width: 780px;
  width: 100%;
}
.notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-header i { color: var(--rose); font-size: 15px; }
.notice-header strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.notice-divider {
  width: 100%;
  height: 1px;
  background: rgba(236,72,153,.18);
}
.notice-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.notice-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.notice-list li::before {
  content: "•";
  color: var(--rose);
  font-size: 14px;
  line-height: 1.3;
  flex-shrink: 0;
}
.notice-footer {
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  font-style: italic;
  text-align: center;
}
@media (max-width: 640px) {
  .notice-wrap { padding: 0 16px 24px; }
  .notice-pill { padding: 12px 16px; border-radius: 12px; }
  .notice-list li { font-size: 11.5px; }
}

/* ── Categorías centradas en móvil ─────────────────────────── */
@media (max-width: 768px) {
  .cat-filters { justify-content: center; }
}
