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

:root{
  --primary: #22c55e;
  --accent: #86efac;
  --primary-rgb: 34,197,94;
  --cta:#22c55e;
  --cta-hover:#16a34a;
  --offer:#ef4444;

  --bg:#05070a;
  --bg-soft:#0b0f14;
  --bg-card:#0f141b;
  --bg-card-2:#111827;

  --ink:#f8fafc;
  --muted:#94a3b8;
  --muted-soft:#64748b;

  --line:rgba(255,255,255,.10);
  --line-soft:rgba(255,255,255,.06);

  --success-soft:rgba(34,197,94,.12);
  --success-border:rgba(34,197,94,.22);

  --top-nav-h:112px;
  --cats-h:66px;

  --radius-xl:28px;
  --radius-lg:22px;

  --shadow-premium:0 18px 55px rgba(0,0,0,.35);
  --shadow-card:0 14px 30px rgba(0,0,0,.22);
  --shadow-card-hover:0 22px 40px rgba(0,0,0,.30);
  --shadow-green:0 10px 24px rgba(34,197,94,.28);
}

body{
  margin:0;
  background:
    radial-gradient(circle at 10% 0%, rgba(34,197,94,.10), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.05), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(34,197,94,.06), transparent 20%),
    linear-gradient(180deg, #030507 0%, #071019 45%, #030507 100%);
  color:var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a{ text-decoration:none; color:inherit; }

body.theme-food .hero-shell{
  background:
    radial-gradient(circle at 15% 20%, rgba(239,68,68,.18), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.06), transparent 18%),
    linear-gradient(135deg, #070b10 0%, #0f1720 52%, #2f0b0b 100%);
}

body.theme-food .prod-cat,
body.theme-food .promo-mini .t1{
  color:#fb7185;
}

body.theme-food .chip-btn.active{
  background:linear-gradient(180deg, #ef4444, #b91c1c);
  border-color:#ef4444;
  color:#fff;
}

body.theme-farmacia .hero-shell{
  background:
    radial-gradient(circle at 15% 20%, rgba(56,189,248,.18), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.06), transparent 18%),
    linear-gradient(135deg, #061018 0%, #0e1b2f 52%, #063847 100%);
}

body.theme-farmacia .prod-cat,
body.theme-farmacia .promo-mini .t1{
  color:#38bdf8;
}

body.theme-farmacia .chip-btn.active{
  background:linear-gradient(180deg, #0284c7, #0369a1);
  border-color:#0284c7;
  color:#fff;
}

body.theme-supermercado .hero-shell{
  background:
    radial-gradient(circle at 15% 20%, rgba(34,197,94,.18), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.06), transparent 18%),
    linear-gradient(135deg, #04110a 0%, #0a1c13 52%, #14532d 100%);
}

body.theme-supermercado .prod-cat,
body.theme-supermercado .promo-mini .t1{
  color:#4ade80;
}

body.theme-supermercado .chip-btn.active{
  background:linear-gradient(180deg, #22c55e, #166534);
  border-color:#22c55e;
  color:#03130a;
}

body.theme-store .hero-shell{
  background:
    radial-gradient(circle at 15% 20%, rgba(34,197,94,.14), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.05), transparent 18%),
    linear-gradient(135deg, #05080c 0%, #0b1118 52%, #101a13 100%);
}

/* =========================
   NAV
========================= */
.top-nav{
  position:sticky;
  top:0;
  z-index:1038;
  background:rgba(5,7,10,.78);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 8px 28px rgba(0,0,0,.28);
}

.top-nav .wrap{
  padding:14px 0;
}

.brand-box{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.brand-logo{
  width:64px;
  height:64px;
  border-radius:22px;
  object-fit:cover;
  background:#0d131a;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 12px 28px rgba(0,0,0,.32),
    0 0 0 1px rgba(34,197,94,.08);
  flex:0 0 auto;
}

.brand-logo-empty{
  background:linear-gradient(180deg, #0d131a, #121a24);
}

.brand-content{ min-width:0; }

.brand-name{
  font-size:1.38rem;
  font-weight:1000;
  line-height:1.02;
  margin:0;
  letter-spacing:-.04em;
  color:#fff;
}

.brand-meta{
  color:var(--muted);
  font-size:.92rem;
  margin-top:5px;
  word-break:break-word;
}

.brand-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.05);
  color:#bbf7d0;
  padding:7px 12px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:900;
  margin-bottom:7px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 22px rgba(0,0,0,.16);
}

.top-desktop-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.top-actions-scroll{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:2px;
  scrollbar-width:thin;
}

.top-actions-row{
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
  width:max-content;
  min-width:100%;
  justify-content:flex-start;
}

.btn-soft{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  color:#fff;
  border-radius:999px;
  font-weight:900;
  padding:10px 16px;
  white-space:nowrap;
  flex:0 0 auto;
  transition:all .18s ease;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.btn-soft:hover{
  background:rgba(255,255,255,.09);
  color:#fff;
  transform:translateY(-1px);
}

.btn-soft-outline{
  background:transparent;
}

.btn-main{
  background:linear-gradient(180deg, #4ade80 0%, #22c55e 40%, #16a34a 100%);
  border:0;
  color:#03130a;
  border-radius:999px;
  font-weight:1000;
  padding:11px 18px;
  box-shadow:
    0 16px 34px rgba(34,197,94,.22),
    0 0 0 1px rgba(255,255,255,.05) inset;
  white-space:nowrap;
  flex:0 0 auto;
  transition:all .18s ease;
}

.btn-main:hover{
  color:#03130a;
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.badge-cart{
  background:#03130a;
  color:#86efac;
  margin-left:8px;
}

/* =========================
   HERO
========================= */
.hero{
  padding:28px 0 14px;
}

.hero-shell{
  position:relative;
  border-radius:34px;
  padding:34px;
  color:#fff;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(34,197,94,.14), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.05), transparent 18%),
    linear-gradient(135deg, #05080c 0%, #0b1118 52%, #101a13 100%);
  box-shadow:
    0 24px 70px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}

.hero-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(34,197,94,.14), transparent 24%);
  pointer-events:none;
}

.hero-bg-glow{
  position:absolute;
  width:320px;
  height:320px;
  right:-60px;
  top:-60px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(34,197,94,.26), transparent 65%);
  filter:blur(22px);
  pointer-events:none;
}

.hero-grid{ position:relative; z-index:1; }

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  color:#bbf7d0;
  margin-bottom:18px;
  backdrop-filter:blur(10px);
}

.hero-title{
  font-size:clamp(2.2rem, 3vw, 4rem);
  font-weight:1000;
  line-height:.93;
  margin-bottom:14px;
  letter-spacing:-.05em;
  max-width:700px;
  text-wrap:balance;
}

.hero-text{
  color:rgba(255,255,255,.78);
  max-width:660px;
  font-size:1rem;
  line-height:1.75;
  margin-bottom:20px;
}

.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.hero-badge{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);
  color:#fff;
  border-radius:999px;
  padding:9px 13px;
  font-weight:800;
  font-size:.84rem;
  backdrop-filter:blur(10px);
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}

.search-row{
  margin-top:24px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  align-items:stretch;
}

.search-card{
  background:rgba(255,255,255,.08);
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 26px rgba(0,0,0,.22);
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:10px;
  backdrop-filter:blur(8px);
}

.search-icon{ opacity:.85; }

.search-card input{
  border:0;
  outline:0;
  width:100%;
  font-size:1rem;
  background:transparent;
  color:#fff;
}

.search-card input::placeholder{
  color:#94a3b8;
  font-weight:600;
}

.search-clear{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#cbd5e1;
  cursor:pointer;
  transition:all .18s ease;
}

.search-clear:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
}

.hero-cart-btn{
  min-width:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:1rem;
}

.hero-phone-card{
  margin-left:auto;
  max-width:370px;
  position:relative;
}

.hero-phone-card::before{
  content:"";
  position:absolute;
  right:-18px;
  bottom:-18px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(34,197,94,.22), transparent 70%);
  filter:blur(22px);
}

.hero-phone-card::after{
  content:"";
  position:absolute;
  left:-16px;
  top:20px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.08), transparent 72%);
  filter:blur(18px);
}

.hero-phone-screen{
  position:relative;
  border-radius:38px;
  padding:16px;
  background:
    linear-gradient(180deg, rgba(4,10,7,.92), rgba(13,20,27,.96));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 24px 60px rgba(0,0,0,.42),
    0 0 0 1px rgba(34,197,94,.08);
}

.hero-phone-screen::before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:84px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.hero-phone-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:8px 0 10px;
}

.hero-phone-brand{
  font-weight:1000;
  font-size:1.05rem;
  color:#fff;
}

.hero-phone-badge{
  font-size:.72rem;
  font-weight:900;
  color:#bbf7d0;
  background:rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.22);
  border-radius:999px;
  padding:6px 10px;
}

.hero-phone-cat{
  font-size:.74rem;
  font-weight:900;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:6px;
}

.hero-phone-name{
  font-size:1.55rem;
  font-weight:1000;
  line-height:.98;
  color:#fff;
  margin-bottom:14px;
  letter-spacing:-.04em;
}

.hero-phone-img{
  width:100%;
  height:250px;
  object-fit:cover;
  display:block;
  border-radius:24px;
  margin-bottom:14px;
  border:1px solid rgba(255,255,255,.08);
}

.hero-phone-img-empty{
  background:#0b0f14;
  color:#94a3b8;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-phone-footer{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
}

.hero-phone-price-label{
  font-size:.72rem;
  color:#94a3b8;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  margin-bottom:4px;
}

.hero-phone-price{
  font-size:1.7rem;
  font-weight:1000;
  color:#4ade80;
  line-height:1;
  letter-spacing:-.04em;
}

.hero-phone-btn{
  background:linear-gradient(180deg, #4ade80, #22c55e 45%, #16a34a);
  color:#03130a;
  border:0;
  border-radius:16px;
  padding:12px 16px;
  font-weight:1000;
  box-shadow:0 14px 24px rgba(34,197,94,.18);
}

.hero-phone-empty{
  min-height:280px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  color:#cbd5e1;
}

/* =========================
   BANNERS / INFO
========================= */
.promo-carousel{
  margin-top:18px;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.08);
}

.promo-carousel img{
  width:100%;
  height:390px;
  object-fit:cover;
  display:block;
}

.promo-caption{
  position:absolute;
  left:22px;
  bottom:22px;
  background:rgba(3,5,7,.78);
  color:#fff;
  padding:12px 16px;
  border-radius:18px;
  font-weight:900;
  max-width:60%;
  backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.24);
}

.promo-strip{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin:18px 0 8px;
}

.promo-mini{
  background:linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.03) 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  padding:22px;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
  position:relative;
  overflow:hidden;
}

.promo-mini::after{
  content:"";
  position:absolute;
  width:100px;
  height:100px;
  right:-24px;
  bottom:-24px;
  border-radius:50%;
  background:color-mix(in srgb, var(--primary) 14%, transparent);
  filter:blur(12px);
}

.promo-mini-icon{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:14px;
  font-size:1.15rem;
}

.promo-mini .t1{
  font-weight:1000;
  font-size:1.45rem;
  line-height:1;
  color:var(--accent);
  margin-bottom:8px;
  letter-spacing:-.03em;
}

.promo-mini .t2{
  font-weight:900;
  margin-bottom:6px;
  color:#fff;
}

.promo-mini .t3{
  color:var(--muted);
  font-size:.92rem;
  line-height:1.5;
  position:relative;
  z-index:1;
}

/* =========================
   CATEGORIAS
========================= */
.cats-sticky{
  position:sticky;
  top:var(--top-nav-h);
  z-index:1032;
  background:linear-gradient(to bottom, rgba(3,5,7,.96), rgba(3,5,7,.86));
  padding:14px 0 10px;
  margin-top:8px;
  backdrop-filter: blur(10px);
}

.menu-content{
  padding-top: calc(var(--cats-h) + 12px);
}

.chips-wrap{
  display:flex;
  gap:10px;
  overflow:auto;
  white-space:nowrap;
  padding-bottom:4px;
  scrollbar-width:thin;
}

.chip-btn{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.045);
  color:#e2e8f0;
  border-radius:999px;
  padding:11px 17px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.14);
  flex:0 0 auto;
  transition:all .18s ease;
}

.chip-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.07);
}

.chip-btn.active{
  background:#22c55e;
  color:#03130a;
  border-color:#22c55e;
  box-shadow:0 10px 24px rgba(34,197,94,.28);
}

/* =========================
   TITULOS
========================= */
.result-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:10px 0 4px;
  flex-wrap:wrap;
}

.result-count{
  color:var(--muted);
  font-weight:800;
  font-size:.95rem;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin:28px 0 14px;
}

.section-title{
  font-size:1.9rem;
  font-weight:1000;
  margin:0 0 6px;
  letter-spacing:-.04em;
  color:#fff;
}

.section-sub{
  color:var(--muted);
  margin:0;
  font-size:.98rem;
}

/* =========================
   PRODUCTOS
========================= */
.featured-grid,
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}

.prod-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.025) 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow-card);
  transition:transform .20s ease, box-shadow .20s ease, border-color .20s ease;
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  backdrop-filter:blur(8px);
}

.prod-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.02), transparent 30%);
  pointer-events:none;
}

.prod-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
  border-color:rgba(34,197,94,.18);
}

.prod-card-featured{
  box-shadow:
    0 18px 42px rgba(0,0,0,.30),
    0 0 0 1px rgba(34,197,94,.14);
}

.prod-img-wrap{
  position:relative;
  background:#090d12;
  overflow:hidden;
}

.prod-img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  transition:transform .28s ease, filter .28s ease;
}

.prod-card:hover .prod-img{
  transform:scale(1.035);
  filter:brightness(1.03);
}

.prod-img-empty{
  color:#64748b;
  background:linear-gradient(180deg, #0b1017, #0e141c);
}

.prod-badges{
  position:absolute;
  top:12px;
  left:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  z-index:2;
}

.prod-badge{
  background:rgba(15,23,42,.88);
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:.72rem;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.08);
}

.prod-badge.red{ background:#7f1d1d; color:#fecaca; }
.prod-badge.gold{ background:#713f12; color:#fde68a; }
.prod-badge.soft{
  background:rgba(34,197,94,.10);
  color:#4ade80;
  border:1px solid rgba(34,197,94,.18);
  box-shadow:none;
}

.prod-body{
  padding:17px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.prod-cat{
  font-size:.72rem;
  font-weight:1000;
  color:#86efac;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.prod-name{
  font-size:1.12rem;
  font-weight:1000;
  line-height:1.15;
  min-height:44px;
  margin-bottom:8px;
  letter-spacing:-.02em;
  color:#fff;
}

.prod-desc{
  color:#94a3b8;
  font-size:.89rem;
  line-height:1.45;
  min-height:44px;
  margin-bottom:14px;
}

.prod-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
}

.price-box{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.price-label{
  color:#64748b;
  font-size:.70rem;
  font-weight:900;
  margin-bottom:5px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.price-value{
  font-size:1.65rem;
  font-weight:1000;
  color:#22c55e;
  letter-spacing:-.04em;
  line-height:1;
  text-shadow:0 0 12px rgba(34,197,94,.10);
}

.btn-add{
  background:linear-gradient(180deg, #4ade80 0%, #22c55e 55%, #16a34a 100%);
  color:#03130a;
  border:0;
  border-radius:16px;
  font-weight:1000;
  padding:12px 18px;
  min-width:132px;
  box-shadow:var(--shadow-green);
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.btn-add:hover{
  color:#03130a;
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 14px 28px rgba(34,197,94,.34);
}

.empty-box{
  background:linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.03) 100%);
  border:1px dashed rgba(255,255,255,.14);
  border-radius:28px;
  padding:34px;
  text-align:center;
  color:var(--muted);
  box-shadow:0 14px 32px rgba(0,0,0,.18);
}

/* =========================
   CART / MODAL
========================= */
.fab-cart{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1060;
  border-radius:999px;
  padding:14px 20px;
  font-weight:1000;
  background:linear-gradient(180deg, #111827, #0b1220);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 32px rgba(0,0,0,.32);
}

.mobile-cartbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1060;
  background:rgba(6,9,13,.96);
  color:#fff;
  padding:12px 14px;
  display:none;
  box-shadow:0 -10px 28px rgba(0,0,0,.28);
  transition:transform .25s ease, opacity .25s ease;
  backdrop-filter: blur(12px);
  border-top:1px solid rgba(255,255,255,.08);
}

.mobile-cartbar.hide-bar{
  transform:translateY(120%);
  opacity:0;
  pointer-events:none;
}

.mobile-cartbar .cta{
  background:linear-gradient(180deg, #4ade80, #22c55e 45%, #16a34a);
  color:#03130a;
  border:0;
  border-radius:14px;
  font-weight:1000;
  padding:12px 16px;
  box-shadow:0 10px 20px rgba(34,197,94,.18);
}

.mobile-cart-title{
  font-weight:1000;
}

.mobile-cart-sub{
  font-size:.9rem;
  opacity:.86;
}

.cart-item{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:16px;
  margin-bottom:12px;
  box-shadow:0 10px 20px rgba(0,0,0,.16);
  color:#e2e8f0;
}

.form-lite{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:16px;
  box-shadow:0 10px 20px rgba(0,0,0,.16);
}

.offcanvas{
  width:440px;
  max-width:100vw;
}

.offcanvas-premium{
  background:linear-gradient(180deg, #091018 0%, #0b1118 100%);
  color:#fff;
  border-left:1px solid rgba(255,255,255,.08);
}

.offcanvas-body{
  padding-bottom:120px;
}

.modal-premium{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  background:#0b1118;
  color:#fff;
}

.modal-header-premium{
  background:#0b1118;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.modal-body-premium{
  background:linear-gradient(180deg, #0b1118, #0e141b);
}

.divider-dark{
  border-color:rgba(255,255,255,.08) !important;
}

.btn-loading{
  pointer-events:none;
  opacity:.88;
}

.btn-loading::after{
  content:"";
  width:15px;
  height:15px;
  border:2px solid rgba(255,255,255,.65);
  border-top-color:#fff;
  border-radius:50%;
  display:inline-block;
  margin-left:8px;
  vertical-align:-2px;
  animation:spin .8s linear infinite;
}

#cartTotal{
  font-size:1.85rem;
  letter-spacing:-.03em;
}

.form-control-dark{
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.04) !important;
  color:#fff !important;
  box-shadow:none !important;
  padding:12px 14px;
}

.form-control-dark::placeholder{
  color:#94a3b8;
}

.form-control-dark:focus{
  border-color:rgba(34,197,94,.30) !important;
  box-shadow:0 0 0 .2rem rgba(34,197,94,.10) !important;
}

.list-group-item{
  border-radius:16px !important;
  margin-bottom:8px;
  border:1px solid rgba(255,255,255,.08) !important;
  background:rgba(255,255,255,.04) !important;
  color:#fff !important;
}

.loading-soft{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#94a3b8;
  font-weight:700;
}

/* =========================
   ANIMACION SUTIL
========================= */
.hero-shell,
.prod-card,
.promo-mini,
.search-card,
.hero-phone-screen{
  animation:fadeUp .45s ease both;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(12px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes spin{
  to{ transform:rotate(360deg); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1199px){
  .featured-grid,
  .product-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:991px){
  .top-desktop-actions{
    display:none;
  }

  .promo-strip{
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .product-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-carousel img{
    height:300px;
  }

  .search-row{
    grid-template-columns: 1fr;
  }

  .hero-cart-btn{
    min-width:100%;
  }

  .hero-phone-card{
    margin:0 auto;
  }
}

@media (max-width:575px){
  :root{
    --top-nav-h:145px;
    --cats-h:64px;
  }

  body{
    padding-bottom:86px;
  }

  .hero{
    padding:18px 0 10px;
  }

  .hero-shell{
    padding:18px;
    border-radius:24px;
  }

  .hero-phone-card{
    display:none;
  }

  .hero-title{
    font-size:1.7rem;
  }

  .hero-text{
    font-size:.92rem;
    line-height:1.55;
  }

  .hero-badges{
    gap:8px;
  }

  .hero-badge{
    font-size:.76rem;
    padding:8px 10px;
  }

  .top-nav .wrap{
    padding:10px 0;
  }

  .brand-logo{
    width:52px;
    height:52px;
  }

  .brand-name{
    font-size:1.15rem;
  }

  .brand-kicker{
    font-size:.68rem;
    padding:5px 9px;
    margin-bottom:5px;
  }

  .brand-meta{
    font-size:.80rem;
    margin-top:2px;
  }

  .btn-soft,
  .btn-main{
    padding:9px 13px;
    font-size:.88rem;
  }

  .promo-strip{
    display:none;
  }

  .promo-carousel img{
    height:200px;
  }

  .promo-caption{
    max-width:88%;
    font-size:.9rem;
    left:12px;
    right:12px;
    bottom:12px;
  }

  .featured-grid,
  .product-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .prod-card,
  .prod-card-featured{
    display:grid;
    grid-template-columns:118px 1fr;
    align-items:stretch;
    border-radius:22px;
    overflow:hidden;
    min-height:138px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.025) 100%);
  }

  .prod-card-featured{
    grid-template-columns:128px 1fr;
    min-height:148px;
  }

  .prod-img-wrap{
    height:100%;
    min-height:138px;
  }

  .prod-card-featured .prod-img-wrap{
    min-height:148px;
  }

  .prod-img,
  .prod-img-empty{
    width:100%;
    height:100%;
    min-height:138px;
    object-fit:cover;
    border-radius:0;
  }

  .prod-card-featured .prod-img,
  .prod-card-featured .prod-img-empty{
    min-height:148px;
  }

  .prod-body{
    padding:13px 14px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-width:0;
  }

  .prod-cat{
    font-size:.66rem;
    margin-bottom:4px;
  }

  .prod-name{
    font-size:.96rem;
    line-height:1.14;
    min-height:auto;
    margin-bottom:6px;
  }

  .prod-desc{
    font-size:.81rem;
    line-height:1.34;
    min-height:auto;
    margin-bottom:10px;
    max-height:2.7em;
    overflow:hidden;
    color:#94a3b8;
  }

  .prod-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:8px;
  }

  .price-box{
    min-width:0;
  }

  .price-label{
    font-size:.66rem;
    margin-bottom:4px;
  }

  .price-value{
    font-size:1.15rem;
    line-height:1;
    color:#22c55e;
  }

  .btn-add{
    min-width:auto;
    padding:10px 13px;
    font-size:.86rem;
    border-radius:14px;
    white-space:nowrap;
    box-shadow:0 8px 18px rgba(34,197,94,.24);
  }

  .prod-badges{
    top:8px;
    left:8px;
    gap:6px;
  }

  .prod-badge{
    font-size:.63rem;
    padding:5px 8px;
  }

  .prod-card:active{
    transform:scale(.99);
  }

  .fab-cart{
    display:none;
  }

  .mobile-cartbar{
    display:block;
  }

  .cats-sticky{
    top:var(--top-nav-h);
  }

  .offcanvas{
    width:100vw !important;
    max-width:100vw !important;
  }

  .offcanvas.offcanvas-end{
    border-left:0 !important;
  }

  .offcanvas-body{
    padding-bottom:140px;
  }
}

/* ================================
   PRODUCT FOOTER
================================ */

.product-footer{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
}

.price-box{
  min-height:45px;
}

.price-box:empty{
  min-height:0;
}