/* ═══════════════════════════════════════════════════════════════
   store.css — CENECOMPUC Tienda 2025-2026
   Tendencias: badges disponibilidad, Bento grid, quick-view,
   empty states, testimonios, WhatsApp, progreso cotización.
   Vanilla CSS. Variables en site/assets/css/base.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.store-hero { padding: 44px 0 52px; }

.store-hero::before {
  background:
    radial-gradient(ellipse 58% 75% at 98% 16%, rgba(22,200,243,.2), transparent 62%),
    radial-gradient(ellipse 55% 52% at 2% 100%, rgba(7,130,203,.11), transparent 65%),
    linear-gradient(180deg, #fff 0%, #f2f9fe 100%);
}

.store-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr);
  align-items: center;
  gap: clamp(32px,5vw,70px);
}

.store-hero-copy, .store-hero-display { min-width: 0; }

.store-hero-copy .hero-badge { margin-bottom: 16px; }
.store-hero-copy h1 { max-width: 12ch; }
.store-hero-copy .lead { max-width: 56ch; }

/* Trust badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(21,168,131,.35);
  border-radius: 999px;
  background: #dff8f0;
  color: #098264;
  font-size: 12px;
  font-weight: 700;
}
.hero-trust-badge::before {
  content: "📍";
  font-size: 14px;
}

/* Hero search bar */
.store-hero-search {
  width: min(100%,510px);
  min-height: 58px;
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 7px 8px 7px 17px;
  border: 1px solid #cfe3f5;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  color: var(--muted);
  box-shadow: 0 12px 26px rgba(6,73,149,.08);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.store-hero-search svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--brand-2);
  stroke-linecap: round; stroke-width: 2;
}

.store-hero-search span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; font-weight: 700;
}

.store-hero-search b {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 13px;
}

.store-hero-search:hover,
.store-hero-search:focus-visible {
  border-color: #8fc8ed;
  box-shadow: 0 16px 30px rgba(6,73,149,.14);
  outline: none; transform: translateY(-1px);
}

/* Hero perks */
.store-hero-perks {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin: 16px 0 0; padding: 0;
  color: #476178; font-size: 12px; font-weight: 800;
  list-style: none;
}

.store-hero-perks li {
  display: inline-flex; align-items: center; gap: 7px;
}

.store-hero-perks li::before {
  content: "✓";
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #dff8f0; color: #098264; font-size: 11px;
}

.store-hero-copy .hero-actions { margin-top: 24px; }

/* Hero display card */
.store-hero-display {
  position: relative; display: grid; gap: 14px;
  padding: 12px;
  border: 1px solid rgba(169,205,234,.95);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 24px 52px rgba(6,73,149,.15);
  backdrop-filter: blur(10px);
}

.store-hero-media {
  position: relative; min-height: 310px; overflow: hidden;
  border-radius: 16px; background: #e8f5fc;
}

.store-hero-media::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4,53,104,.24));
  pointer-events: none;
}

.store-hero-media img {
  width: 100%; height: 100%; min-height: 310px;
  display: block; object-fit: cover;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.store-hero-display:hover .store-hero-media img { transform: scale(1.035); }

.store-hero-label {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 7px 10px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(5,63,127,.82); color: #fff;
  font-size: 12px; font-weight: 800;
  backdrop-filter: blur(8px);
}

.store-hero-summary {
  position: relative; z-index: 2;
  width: min(88%,340px); margin: -62px 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 26px rgba(4,45,91,.15);
}

.store-hero-summary span {
  display: block; margin-bottom: 4px;
  color: var(--brand-2); font-size: 11px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}

.store-hero-summary strong {
  display: block; color: var(--ink); font-size: 13px; line-height: 1.4;
}

/* Hero steps enhanced with icons */
.store-hero-steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 6px;
  padding: 0 4px 2px;
}

.store-hero-steps span {
  display: grid; justify-items: center; gap: 6px;
  color: #587189; font-size: 11px; font-weight: 800; text-align: center;
}

.store-hero-steps b {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 13px;
  box-shadow: 0 4px 12px rgba(6,73,149,.2);
}

/* ── Bento Grid Destacados ────────────────────────────────── */
.bento-section { padding: 56px 0 48px; }

.bento-section .section-head { margin-bottom: 28px; }

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  grid-template-areas:
    "main top1 top2"
    "main bottom1 bottom2";
}

.bento-grid .bento-card:first-child { grid-area: main; }
.bento-grid .bento-card:nth-child(2) { grid-area: top1; }
.bento-grid .bento-card:nth-child(3) { grid-area: top2; }
.bento-grid .bento-card:nth-child(4) { grid-area: bottom1; }
.bento-grid .bento-card:nth-child(5) { grid-area: bottom2; }

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor: pointer;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: #a9cdea;
  box-shadow: var(--shadow-md);
}

.bento-card .bento-visual {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.bento-grid .bento-card:first-child .bento-visual { height: 100%; flex: 1; }

.bento-card h3 {
  margin: 0 0 4px; font-size: 1.05rem;
}

.bento-card .bento-desc {
  margin: 0 0 10px; color: var(--muted); font-size: .88rem;
  line-height: 1.45; flex: 1;
}

.bento-card .bento-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}

.bento-card .bento-price {
  color: var(--brand); font-weight: 800; font-size: 1rem;
}

.bento-card .bento-btn {
  min-height: 36px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--soft);
  color: var(--brand); font: inherit; font-weight: 700; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.bento-card .bento-btn:hover {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* ── Availability Badges ──────────────────────────────────── */
.stock-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
}
.stock-badge.stock-yes { background: #dff8f0; color: #098264; }
.stock-badge.stock-order { background: #fef3c7; color: #996a04; }
.stock-badge.stock-no { background: #fce4e4; color: #b42318; }
.stock-badge::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; display: inline-block;
}
.stock-badge.stock-yes::before { background: #15a883; }
.stock-badge.stock-order::before { background: #f0a92c; }
.stock-badge.stock-no::before { background: #b42318; }

/* ── Catalog Toolbar ──────────────────────────────────────── */
.store-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}

.store-search { flex: 1 1 220px; min-width: 0; }

.store-search input {
  width: 100%; min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font: inherit; background: var(--panel);
}

.store-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.store-filter {
  min-height: 40px; border: 1px solid var(--line);
  border-radius: 999px; padding: 0 14px;
  background: var(--panel); color: var(--muted);
  font: inherit; font-weight: 700; cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.store-filter:hover,
.store-filter:focus-visible { border-color: #a9cdea; color: var(--brand); }

.store-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

/* Results counter */
.store-results {
  margin-bottom: 14px; color: var(--muted); font-size: .9rem; font-weight: 600;
}
.store-results strong { color: var(--ink); }

/* ── Layout ───────────────────────────────────────────────── */
.store-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 24px; align-items: start;
}

/* ── Product Grid & Cards ─────────────────────────────────── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.store-card {
  position: relative; display: grid; gap: 10px;
  min-height: 100%; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.store-card::after {
  content: ""; position: absolute;
  inset: auto 18px 12px 18px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .24s cubic-bezier(.2,.8,.2,1);
}

.store-card:hover::after { transform: scaleX(1); }

.store-card:hover {
  transform: translateY(-4px);
  border-color: #a9cdea; box-shadow: var(--shadow-md);
}

.store-card-visual {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line);
}

.store-card h3 { margin: 0; font-size: 1.05rem; }

.store-card p {
  margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5;
}

.store-card .store-card-badges {
  display: flex; gap: 6px; flex-wrap: wrap;
}

.store-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}

.store-price { color: var(--brand); font-weight: 800; }

.store-qty {
  display: inline-flex; align-items: center; gap: 8px;
}

.store-qty button {
  width: 32px; height: 32px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--soft); font: inherit; font-weight: 800; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.store-qty button:hover { border-color: var(--brand-2); background: #e8f5fc; }

.store-qty span { min-width: 20px; text-align: center; font-weight: 800; }

/* Quick-view button overlay */
.store-card .qv-trigger {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255,255,255,.92);
  color: var(--muted); cursor: pointer;
  opacity: 0; transition: opacity .18s ease, color .15s ease;
}

.store-card:hover .qv-trigger { opacity: 1; }
.store-card .qv-trigger:hover { color: var(--brand); border-color: var(--brand-2); }

/* Add-to-cart animation */
.store-card.cart-added {
  animation: card-pulse .5s cubic-bezier(.2,.8,.2,1);
}

@keyframes card-pulse {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 0 4px rgba(7,130,203,.25), var(--shadow-md); }
}

/* ── Cart Sidebar ─────────────────────────────────────────── */
.store-cart {
  position: sticky; top: 96px;
  display: grid; gap: 16px;
  padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-sm);
}

.store-cart h3 { margin: 0; font-size: 1.1rem; }

.store-cart .cart-header {
  display: flex; align-items: center; justify-content: space-between;
}

/* Cart badge counter */
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 12px; font-weight: 800;
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.cart-badge.pop { transform: scale(1.3); }

.store-cart-list { display: grid; gap: 10px; }

.store-cart-item {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 10px; padding: 12px;
  border-radius: var(--radius-sm); background: var(--soft);
  align-items: center;
}

.store-cart-item .cart-item-img {
  width: 40px; height: 40px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
}

.store-cart-item .cart-item-info { min-width: 0; }

.store-cart-item .cart-item-info strong {
  display: block; font-size: .92rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.store-cart-item .cart-item-info span {
  display: block; color: var(--muted); font-size: .8rem;
  margin-top: 2px;
}

.store-cart-item .cart-item-qty {
  display: flex; align-items: center; gap: 6px;
}

.store-cart-item .cart-item-qty button {
  width: 26px; height: 26px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; font: inherit;
  font-weight: 800; font-size: 13px; cursor: pointer;
}

.store-cart-item .cart-item-qty span {
  min-width: 18px; text-align: center; font-weight: 800; font-size: .9rem;
}

.store-cart-item .cart-item-remove {
  width: 28px; height: 28px; border: none; border-radius: 8px;
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 16px; display: grid; place-items: center;
  margin-left: 4px;
}

.store-cart-item .cart-item-remove:hover { color: var(--danger); background: #fce4e4; }

/* Cart total */
.cart-total {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 4px;
}
.cart-total span:first-child { font-size: .82rem; color: var(--muted); font-weight: 600; }
.cart-total span:nth-child(2) { font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.cart-total .total-note {
  display: block; font-weight: 500; font-size: .72rem;
  color: var(--muted); margin-top: 2px;
}

/* Empty state */
.store-cart-empty {
  text-align: center; padding: 32px 16px;
  color: var(--muted);
}

.store-cart-empty .empty-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--soft);
  font-size: 32px;
}

.store-cart-empty strong { display: block; color: var(--ink); margin-bottom: 6px; }

.store-cart-empty p { margin: 0 0 16px; font-size: .9rem; }

.store-cart-empty .empty-browse {
  min-height: 38px; padding: 0 20px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--panel);
  color: var(--brand); font: inherit; font-weight: 700; cursor: pointer;
}

.store-cart-empty .empty-browse:hover {
  border-color: var(--brand-2); background: var(--soft);
}

.store-cart.is-shaking {
  animation: cart-shake .4s cubic-bezier(.2,.8,.2,1);
}

@keyframes cart-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}

/* ── Cotización Progress Steps ────────────────────────────── */
.store-progress {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 12px;
}

.store-progress .step {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; color: var(--muted);
  flex: 1;
}

.store-progress .step .step-num {
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--line);
  font-size: 11px; color: var(--muted); background: #fff;
  transition: all .2s ease;
}

.store-progress .step.active .step-num {
  border-color: var(--brand); background: var(--brand); color: #fff;
}
.store-progress .step.active { color: var(--brand); }

.store-progress .step.done .step-num {
  border-color: var(--green); background: var(--green); color: #fff;
}

.store-progress .step-line {
  flex: 1; height: 2px; background: var(--line); margin: 0 4px;
  border-radius: 1px;
}
.store-progress .step-line.done { background: var(--green); }

/* ── Request Form ─────────────────────────────────────────── */
.store-request { display: grid; gap: 12px; }

.store-request textarea { min-height: 96px; resize: vertical; }

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border: none; border-radius: 10px;
  background: #25d366; color: #fff;
  font: inherit; font-weight: 800; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  text-decoration: none;
}

.btn-whatsapp:hover { background: #1fb954; transform: translateY(-1px); }

.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; }

/* Button row */
.store-request .button-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}

/* Request summary */
.store-request-summary {
  display: grid; gap: 12px; padding: 16px;
  border-radius: var(--radius-sm); background: var(--soft);
}

.store-request-code { font-size: 1.1rem; font-weight: 800; color: var(--brand); }

/* ── Quick-View Modal ─────────────────────────────────────── */
.qv-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,28,46,.5);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  animation: qv-fadein .2s ease;
}

@keyframes qv-fadein { from { opacity: 0; } to { opacity: 1; } }

.qv-modal {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 28px; border-radius: var(--radius);
  background: var(--panel); box-shadow: 0 24px 64px rgba(6,73,149,.25);
  animation: qv-slideup .25s cubic-bezier(.2,.8,.2,1);
}

@keyframes qv-slideup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.qv-modal .qv-close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; border: 1px solid var(--line);
  border-radius: 50%; background: #fff; cursor: pointer;
  display: grid; place-items: center; z-index: 1;
  transition: border-color .15s ease, color .15s ease;
}

.qv-modal .qv-close:hover { border-color: var(--danger); color: var(--danger); }

.qv-modal .qv-visual {
  width: 100%; max-height: 280px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line);
  margin-bottom: 16px;
}

.qv-modal .qv-name { margin: 0 0 6px; font-size: 1.4rem; }
.qv-modal .qv-desc { margin: 0 0 12px; color: var(--muted); line-height: 1.6; }

.qv-modal .qv-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 16px;
}

.qv-modal .qv-price { font-size: 1.3rem; font-weight: 800; color: var(--brand); }

.qv-modal .qv-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
}

/* ── Toast Notifications ──────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 1100;
  display: grid; gap: 8px;
}

.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: #fff;
  font-size: .9rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(15,28,46,.25);
  animation: toast-slidein .25s cubic-bezier(.2,.8,.2,1);
  pointer-events: auto;
}

.toast.toast-out { animation: toast-slideout .2s ease forwards; }

.toast .toast-icon { font-size: 18px; flex-shrink: 0; }

@keyframes toast-slidein { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-slideout { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section { padding: 56px 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.testimonial-card {
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-sm);
}

.testimonial-card .testimonials-author {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}

.testimonial-card .testimonials-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--cyan));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-card .testimonials-avatar img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

.testimonial-card .testimonials-name { font-weight: 800; font-size: .95rem; }
.testimonial-card .testimonials-loc { font-size: .8rem; color: var(--muted); }

.testimonial-card blockquote {
  margin: 0; color: var(--muted); font-size: .92rem;
  line-height: 1.6; font-style: italic;
}

.testimonial-card .testimonial-stars {
  color: #f0a92c; font-size: 14px; margin-bottom: 8px; letter-spacing: 2px;
}

/* ── Spotlight ────────────────────────────────────────────── */
.store-spotlight {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr);
  gap: 24px; align-items: center;
  padding: 28px;
  border: 1px solid rgba(169,205,234,.9);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top right, rgba(22,200,243,.16), transparent 42%),
    linear-gradient(145deg, #ffffff, #f2f9ff);
  box-shadow: 0 20px 44px rgba(6,73,149,.1);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.store-spotlight:hover {
  transform: translateY(-3px);
  border-color: #9fcaf0;
  box-shadow: 0 26px 52px rgba(6,73,149,.14);
}

.store-spotlight-visual {
  width: min(320px,100%);
  justify-self: center; border-radius: 18px;
  border: 1px solid var(--line);
}

.store-spotlight h2 { margin: 0 0 10px; }
.store-spotlight p { margin: 0; color: var(--muted); max-width: 52ch; }

.store-spotlight-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px;
}

/* ── Empty State (catalog) ────────────────────────────────── */
.store-empty-state {
  grid-column: 1 / -1;
  padding: 48px 28px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,.7);
  display: grid; justify-items: center; gap: 10px;
}

.store-empty-state .empty-icon { font-size: 40px; margin-bottom: 4px; }

.store-empty-state strong { color: var(--ink); }

.store-empty-state button {
  min-height: 38px; padding: 0 20px; margin-top: 8px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--brand);
  font: inherit; font-weight: 700; cursor: pointer;
}

/* ── Sr-only ──────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  border: 0;
}

/* ── Responsive: Tablet ───────────────────────────────────── */
@media (max-width: 980px) {
  .store-hero-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .store-hero-copy h1 { max-width: 15ch; }
  .store-hero-display { width: min(560px,100%); }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "top1 top2"
      "bottom1 bottom2";
  }

  .store-layout { grid-template-columns: 1fr; }
  .store-cart { position: static; }
  .store-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .store-spotlight { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: Mobile (360px+) ──────────────────────────── */
@media (max-width: 640px) {
  .store-hero { padding: 30px 0 38px; }
  .store-hero-copy h1 { font-size: clamp(2.25rem, 10.5vw, 3rem); }

  .store-hero-search {
    min-height: 52px;
    grid-template-columns: 20px minmax(0,1fr);
    padding: 6px 8px 6px 14px;
  }
  .store-hero-search b { display: none; }

  .store-hero-perks { display: grid; gap: 8px; }

  .store-hero-media, .store-hero-media img { min-height: 260px; }

  .store-hero-summary { width: calc(100% - 28px); margin-top: -52px; }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "top1"
      "top2"
      "bottom1"
      "bottom2";
  }

  .bento-grid .bento-card:first-child .bento-visual { height: 180px; }

  .store-hero-steps { grid-template-columns: repeat(2,1fr); gap: 12px; }

  .store-grid { grid-template-columns: 1fr; }
  .store-toolbar { flex-direction: column; align-items: stretch; }
  .store-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }

  .toast-container { left: 16px; right: 16px; bottom: 16px; }
  .toast { font-size: .85rem; padding: 10px 14px; }

  .qv-modal { padding: 20px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .store-progress { gap: 0; font-size: .7rem; }
  .store-progress .step { gap: 4px; }
}

/* ── Dark Mode ──────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --panel: #1a1d2e;
    --soft: #222639;
    --line: #2d3148;
    --muted: #8e94a8;
    --ink: #e4e6f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,.35);
  }

  body { background: #12141f; color: var(--ink); }

  .store-hero::before {
    background:
      radial-gradient(ellipse 58% 75% at 98% 16%, rgba(22,200,243,.08), transparent 62%),
      radial-gradient(ellipse 55% 52% at 2% 100%, rgba(7,130,203,.05), transparent 65%),
      linear-gradient(180deg, #12141f 0%, #16192a 100%);
  }

  .store-hero-search { background: rgba(26,29,46,.9); border-color: #2d3148; }
  .store-hero-search svg { stroke: var(--brand-2); }
  .store-hero-search span { color: var(--muted); }

  .store-hero-display { background: rgba(26,29,46,.76); border-color: #2d3148; }
  .store-hero-media { background: #1a1d2e; }
  .store-hero-summary { background: rgba(26,29,46,.94); border-color: rgba(45,49,72,.75); }

  .store-hero-perks li { color: #8e94a8; }
  .hero-trust-badge { background: rgba(21,168,131,.15); color: #15a883; border-color: rgba(21,168,131,.25); }

  .store-card { background: var(--panel); }
  .store-card .qv-trigger { background: rgba(26,29,46,.92); }
  .store-cart { background: var(--panel); }
  .store-search input { background: var(--panel); color: var(--ink); }
  .store-filter { background: var(--panel); }
  .store-empty-state { background: rgba(26,29,46,.7); }
  .bento-card { background: var(--panel); }
  .testimonial-card { background: var(--panel); }
  .store-spotlight { background: linear-gradient(145deg, #1a1d2e, #1e2238); }
  .store-cart-item { background: var(--soft); }
  .store-cart-item .cart-item-qty button { background: var(--panel); color: var(--ink); }

  .qv-modal { background: var(--panel); }
  .qv-modal .qv-close { background: var(--panel); }

  .store-progress .step .step-num { background: var(--panel); }

  .store-request-summary { background: var(--soft); }

  .store-hero-steps span { color: #8e94a8; }

  .btn.secondary { background: var(--soft); color: var(--ink); border-color: var(--line); }

  .section-alt { background: #16192a; }

  .fab-whatsapp { background: #128c7e; }
}

/* Class-based dark mode override (manual toggle) */
html.dark {
  --panel: #1a1d2e;
  --soft: #222639;
  --line: #2d3148;
  --muted: #8e94a8;
  --ink: #e4e6f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,.35);
}
html.dark body { background: #12141f; color: var(--ink); }
html.dark .store-hero::before {
  background:
    radial-gradient(ellipse 58% 75% at 98% 16%, rgba(22,200,243,.08), transparent 62%),
    radial-gradient(ellipse 55% 52% at 2% 100%, rgba(7,130,203,.05), transparent 65%),
    linear-gradient(180deg, #12141f 0%, #16192a 100%);
}
html.dark .store-hero-search { background: rgba(26,29,46,.9); border-color: #2d3148; }
html.dark .store-hero-search svg { stroke: var(--brand-2); }
html.dark .store-hero-search span { color: var(--muted); }
html.dark .store-hero-display { background: rgba(26,29,46,.76); border-color: #2d3148; }
html.dark .store-hero-media { background: #1a1d2e; }
html.dark .store-hero-summary { background: rgba(26,29,46,.94); border-color: rgba(45,49,72,.75); }
html.dark .store-hero-perks li { color: #8e94a8; }
html.dark .hero-trust-badge { background: rgba(21,168,131,.15); color: #15a883; border-color: rgba(21,168,131,.25); }
html.dark .store-card { background: var(--panel); }
html.dark .store-card .qv-trigger { background: rgba(26,29,46,.92); }
html.dark .store-cart { background: var(--panel); }
html.dark .store-search input { background: var(--panel); color: var(--ink); }
html.dark .store-filter { background: var(--panel); }
html.dark .store-empty-state { background: rgba(26,29,46,.7); }
html.dark .bento-card { background: var(--panel); }
html.dark .testimonial-card { background: var(--panel); }
html.dark .store-spotlight { background: linear-gradient(145deg, #1a1d2e, #1e2238); }
html.dark .store-cart-item { background: var(--soft); }
html.dark .store-cart-item .cart-item-qty button { background: var(--panel); color: var(--ink); }
html.dark .qv-modal { background: var(--panel); }
html.dark .qv-modal .qv-close { background: var(--panel); }
html.dark .store-progress .step .step-num { background: var(--panel); }
html.dark .store-request-summary { background: var(--soft); }
html.dark .store-hero-steps span { color: #8e94a8; }
html.dark .btn.secondary { background: var(--soft); color: var(--ink); border-color: var(--line); }
html.dark .section-alt { background: #16192a; }
html.dark .fab-whatsapp { background: #128c7e; }

/* Dark mode toggle button */
.dark-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--muted);
  cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.dark-toggle:hover { border-color: var(--brand-2); color: var(--brand); }
