/* =====================================================================
   Inventorygram — Public Online Storefront Design System
   Self-contained styling for /in/<username> storefronts. Intentionally
   independent of the main marketing site CSS/JS so it never inherits
   scroll-reveal animation classes that can hide content on this page.
   ===================================================================== */

:root {
  --store-primary: #1E3A8A;
  --store-secondary: #10B981;
  --store-accent: #F59E0B;
  --store-background: #F9FAFB;
  --store-text: #111827;
  --store-neutral: #6B7280;
  --store-on-primary: #FFFFFF;
  --store-on-secondary: #111827;
  --store-on-accent: #111827;
  --store-on-background: #111827;
  --store-primary-ink: #1E3A8A;
  --store-secondary-ink: #047857;
  --store-accent-ink: #B45309;
  --store-primary-light: #3B82F6;
  --store-primary-dark: #16296b;
  --store-secondary-dark: #059669;
  --store-ink: var(--store-text);
  --store-ink-soft: #4B5563;
  --store-muted: var(--store-neutral);
  --store-border: #E5E7EB;
  --store-bg: var(--store-background);
  --store-surface: #FFFFFF;
  --store-danger: #EF4444;
  --store-radius-sm: 8px;
  --store-radius: 14px;
  --store-radius-lg: 22px;
  --store-shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.08);
  --store-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --store-shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.16);
  --store-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --store-heading-font: 'Poppins', var(--store-font);
  --store-container: 1180px;
}

* { box-sizing: border-box; }

body[data-store-theme] {
  --store-primary-light: color-mix(in srgb, var(--store-primary) 82%, var(--store-background));
  --store-primary-dark: color-mix(in srgb, var(--store-primary) 78%, var(--store-neutral));
  --store-secondary-dark: color-mix(in srgb, var(--store-secondary) 78%, var(--store-neutral));
  --store-ink: var(--store-on-background);
  --store-ink-soft: var(--store-on-background);
  --store-muted: var(--store-on-background);
  --store-border: color-mix(in srgb, var(--store-neutral) 32%, var(--store-background));
  --store-bg: var(--store-background);
  --store-surface: color-mix(in srgb, var(--store-background) 96%, var(--store-neutral));
  --store-primary-soft: color-mix(in srgb, var(--store-primary) 8%, var(--store-background));
  --store-accent-soft: color-mix(in srgb, var(--store-accent) 12%, var(--store-background));
  margin: 0;
  font-family: var(--store-font);
  color: var(--store-ink);
  background: var(--store-bg);
  -webkit-font-smoothing: antialiased;
}

.store-container {
  max-width: var(--store-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--store-radius-sm);
  padding: 0.7rem 1.3rem;
  font-family: var(--store-font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.store-btn:active { transform: translateY(1px); }
.store-btn-primary { background: var(--store-primary); color: var(--store-on-primary); }
.store-btn-primary:hover { background: var(--store-primary); }
.store-btn-secondary { background: var(--store-secondary); color: var(--store-on-secondary); }
.store-btn-secondary:hover { background: var(--store-secondary); }
.store-btn-outline { background: transparent; border: 1.5px solid var(--store-border); color: var(--store-ink); }
.store-btn-outline:hover { border-color: var(--store-primary); color: var(--store-primary-ink); }
.store-btn-ghost { 
  background: color-mix(
    in srgb, var(--store-on-primary) 94%, transparent); 
  color: var(--store-primary); 
  border: 1px solid color-mix(
    in srgb, var(--store-on-primary) 40%, transparent);
}
.store-btn-ghost:hover { background: color-mix(in srgb, var(--store-on-primary) 24%, transparent); }
.store-btn-block { width: 100%; }
.store-btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8rem; }
.store-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------------------------------------------------------------
   Navigation
   --------------------------------------------------------------- */
.store-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--store-surface);
  border-bottom: 1px solid var(--store-border);
}
.store-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.store-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.store-brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--store-primary);
  color: var(--store-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--store-heading-font);
  font-weight: 700;
  font-size: 1.05rem;
}
.store-brand-text { min-width: 0; }
.store-brand-name {
  font-family: var(--store-heading-font);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-brand-handle { font-size: 0.78rem; color: var(--store-muted); }
.store-nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.store-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--store-primary);
  color: var(--store-on-primary);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.store-cart-btn:hover { background: var(--store-primary); }
.store-cart-count {
  position: absolute;
  top: -10px;
  right: 6px;
  background: var(--store-danger);
  color: var(--store-on-secondary);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------------------------------------------------------------
   Hero (shared base + per-theme variants)
   --------------------------------------------------------------- */
.store-hero {
  padding: 3.5rem 0;
  background: linear-gradient(
    135deg, var(--store-primary) 0%, 
    var(--store-primary-light) 100%);
  color: var(--store-on-background);
  text-align: center;
}
.store-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: color-mix(in srgb, var(--store-on-primary) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--store-on-primary) 36%, transparent);
  /* color: var(--store-on-primary); */
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.store-hero h1 {
  font-family: var(--store-heading-font);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.store-hero-tagline { font-size: 1.05rem; margin: 0 0 0.35rem; }
.store-hero-desc { font-size: 0.95rem; max-width: 620px; margin: 0 auto; }
.store-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}
.store-hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.store-hero-actions { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Editorial: left-aligned split hero */
[data-store-theme="editorial"] .store-hero {
  background: var(--store-surface);
  color: var(--store-ink);
  text-align: left;
  padding: 3rem 0 0;
}
[data-store-theme="editorial"] .store-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
[data-store-theme="editorial"] .store-hero-badge { background: var(--store-bg); border-color: var(--store-border); color: var(--store-ink-soft); }
[data-store-theme="editorial"] .store-hero-meta span { color: var(--store-ink-soft); opacity: 1; }
[data-store-theme="editorial"] .store-hero-image { border-radius: var(--store-radius-lg); overflow: hidden; box-shadow: var(--store-shadow-lg); }
@media (max-width: 860px) {
  [data-store-theme="editorial"] .store-hero-inner { grid-template-columns: 1fr; }
}

/* Catalog: compact utilitarian hero */
[data-store-theme="catalog"] .store-hero {
  background: var(--store-primary);
  color: var(--store-on-primary);
  padding: 2.25rem 0;
  text-align: left;
}
[data-store-theme="catalog"] .store-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
[data-store-theme="catalog"] .store-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
[data-store-theme="catalog"] .store-hero-tagline { margin: 0; }

/* Market: vivid gradient, CTA-forward */
[data-store-theme="market"] .store-hero {
  background: var(--store-primary);
  border-bottom: 5px solid var(--store-accent);
  color: var(--store-on-primary);
}

/* Studio: minimal dark */
[data-store-theme="studio"] .store-hero { 
  background: var(--store-primary); 
}
[data-store-theme="studio"] .store-hero-badge { 
  background: color-mix(in srgb, var(--store-neutral) 12%, 
  transparent); 
}

/* ---------------------------------------------------------------
   Sections
   --------------------------------------------------------------- */
.store-section { padding: 2.75rem 0; }
.store-section-header { text-align: center; max-width: 620px; margin: 0 auto 2rem; }
.store-section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--store-ink);
  background: var(--store-primary-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.store-section-title { font-family: var(--store-heading-font); font-size: 1.6rem; margin: 0 0 0.4rem; }
.store-section-sub { color: var(--store-muted); font-size: 0.92rem; margin: 0; }

/* ---------------------------------------------------------------
   Category tabs
   --------------------------------------------------------------- */
.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.store-tab {
  border: 1.5px solid var(--store-border);
  background: var(--store-surface);
  color: var(--store-ink-soft);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.store-tab:hover { border-color: var(--store-primary-light); color: var(--store-primary-ink); }
.store-tab.is-active { background: var(--store-primary); border-color: var(--store-primary); color: var(--store-on-primary); }

/* ---------------------------------------------------------------
   Product grid & cards
   --------------------------------------------------------------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.store-grid[aria-busy="true"] {
  position: relative;
  min-height: 12rem;
  isolation: isolate;
}
.store-grid[aria-busy="true"]::before,
.store-grid[aria-busy="true"]::after {
  content: "";
  position: absolute;
  z-index: 4;
}
.store-grid[aria-busy="true"]::before {
  inset: 0;
  background: rgba(255, 255, 255, .78);
}
.store-grid[aria-busy="true"]::after {
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border: 3px solid var(--store-border);
  border-top-color: var(--store-primary);
  border-radius: 50%;
  animation: store-catalog-spin .75s linear infinite;
}
@keyframes store-catalog-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .store-grid[aria-busy="true"]::after { animation-duration: 1.5s; }
}
.store-card {
  position: relative;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-card:hover { box-shadow: var(--store-shadow); }
.store-share-button {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  /*background:  rgba(255,255,255,.94); */
  /* color: var(--store-ink); */
  box-shadow: var(--store-shadow-sm);
  cursor: pointer;
}
.store-share-button:hover { background: var(--store-primary); color: var(--store-on-primary); }
.store-share-button:focus-visible { outline: 3px solid var(--store-accent); outline-offset: 2px; }
.store-card-image {
  height: 170px;
  background-size: cover;
  background-position: center;
  background-color: var(--store-bg);
  position: relative;
}
.store-image-slider { position: relative; overflow: hidden; }
.store-card-slider { height: 170px; }
.store-card-slider .store-card-image { height: 100%; }
.store-image-controls {
  position: absolute;
  z-index: 3;
  right: .6rem;
  bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem;
  border-radius: 999px;
  background: rgba(17,24,39,.72);
  color: #fff;
}
.store-image-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: inherit;
  cursor: pointer;
}
.store-image-nav:hover:not(:disabled) { background: rgba(255,255,255,.32); }
.store-image-nav:disabled { opacity: .4; cursor: default; }
.store-image-count { min-width: 2.5rem; text-align: center; font-size: .7rem; font-weight: 700; }
.store-card-type {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(17,24,39,0.75);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.store-card-body { 
  padding: 1rem 1.1rem 1.1rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.5rem; flex: 1;
  background: var(--store-accent);
  color: var(--store-accent-soft);
}
.store-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card-desc {
  font-size: 0.82rem;
 /*  color: var(--store-muted); */
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-rate-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.store-rate-chip {
  border: 1.5px solid var(--store-border);
  background: var(--store-surface);
  color: var(--store-ink-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
}
.store-rate-chip .store-rate-unit { font-weight: 400; opacity: 0.75; text-transform: none; }
.store-rate-chip:hover { border-color: var(--store-primary-light); color: var(--store-primary-ink); }
.store-rate-chip.is-active { background: var(--store-primary); border-color: var(--store-primary); color: var(--store-on-primary); }
.store-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.25rem; }
.store-card-price {
   font-weight: 700; 
   color: var(--store-on-primary)/* var(--store-primary-ink) */; 
   font-size: 1rem; 
}
.store-card-add {
  background: var(--store-primary);
  color: var(--store-on-secondary);
  border: none;
  border-radius: var(--store-radius-sm);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.store-card-add:hover { background: var(--store-secondary); }
.store-card-add.is-added { background: var(--store-primary); color: var(--store-on-primary); }
.store-detail-grid { display: block; }
.store-item-page { min-height: 55vh; }
.store-item-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  color: var(--store-primary-ink);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.store-item-back:hover { color: var(--store-secondary-ink); }
.store-item-detail { width: 100%; max-width: 500px; margin: 0 auto; }
.store-item-detail-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  background: var(--store-bg);
}
.store-item-detail-media .store-image-controls { right: 1rem; bottom: 1rem; }
.store-item-detail-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 760px);
  max-height: min(55vh, 640px);
  object-fit: contain;
}
.store-item-detail-body { align-items: center; text-align: center; padding: 1.5rem; }
.store-item-detail-body .store-card-title { font-size: 1.35rem; -webkit-line-clamp: unset; }
.store-item-detail-body .store-card-desc { max-width: 720px; -webkit-line-clamp: unset; }
.store-item-detail-body .store-card-footer { width: min(100%, 420px); }
.store-item-detail-body .store-card-footer-booking { justify-content: center; }

.store-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--store-muted);
}
.store-empty i { font-size: 2rem; margin-bottom: 0.75rem; display: block; color: var(--store-border); }

.store-loadmore { text-align: center; margin-top: 2rem; }
.store-loadmore .store-btn i.fa-spin { display: none; }
.store-loadmore.is-loading .store-btn i.fa-spin { display: inline-block; }
.store-loadmore.is-loading .store-btn i.fa-arrow-down { display: none; }
.store-loadmore[hidden] { display: none; }

/* ---------------------------------------------------------------
   Cart drawer
   --------------------------------------------------------------- */
.store-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.5);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.store-overlay.is-open { opacity: 1; pointer-events: auto; }

.store-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--store-surface);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--store-shadow-lg);
}
.store-drawer.is-open { transform: translateX(0); }
.store-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--store-border);
}
.store-drawer-header h3 { margin: 0; font-family: var(--store-heading-font); font-size: 1.1rem; }
.store-drawer-close {
  background: var(--store-bg);
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--store-ink-soft);
}
.store-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.store-cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--store-border);
}
.store-cart-item-image { width: 56px; height: 56px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; background-color: var(--store-bg); }
.store-cart-item-info { flex: 1; min-width: 0; }
.store-cart-item-name { font-weight: 600; font-size: 0.88rem; margin: 0 0 0.15rem; }
.store-cart-item-type { font-size: 0.72rem; color: var(--store-muted); text-transform: capitalize; }
.store-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.store-qty-btn {
  width: 24px; height: 24px; border-radius: 6px;
  border: 1px solid var(--store-border);
  /* background: var(--store-surface); */
  cursor: pointer; font-weight: 700; line-height: 1;
}
.store-cart-item-price { font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.store-cart-item-remove { background: none; border: none; color: var(--store-danger); font-size: 0.75rem; cursor: pointer; padding: 0; margin-top: 0.3rem; }
.store-cart-empty { text-align: center; padding: 3rem 1rem; color: var(--store-muted); }
.store-drawer-footer { border-top: 1px solid var(--store-border); padding: 1rem 1.25rem 1.25rem; }
.store-cart-total { display: flex; align-items: center; justify-content: space-between; font-weight: 700; margin-bottom: 0.85rem; font-size: 1.05rem; }

/* ---------------------------------------------------------------
   Checkout modal
   --------------------------------------------------------------- */
.store-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.55);
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1rem;
  overflow-y: auto;
}
.store-modal-overlay.is-open { display: flex; }
.store-modal {
  background: var(--store-surface);
  border-radius: var(--store-radius-lg);
  width: min(520px, 100%);
  box-shadow: var(--store-shadow-lg);
}
.store-video-section { padding: 1rem 0; }
.store-video-heading { margin: 0 auto .65rem; text-align: center; }
.store-video-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: none; width: min(220px, calc(100vw - 2rem)); padding: .4rem; border: 1px solid var(--store-border); border-radius: var(--store-radius-sm); background: var(--store-surface); box-shadow: var(--store-shadow-lg); }
.store-video-float.is-visible { display: block; }
.store-video-float .store-video-card { width: 100%; border-radius: 5px; }
.store-video-float .store-video-play { width: 40px; height: 40px; font-size: .9rem; }
.store-video-float .store-video-card-label { right: .5rem; bottom: .45rem; left: .5rem; font-size: .78rem; }
.store-video-float-close { position: absolute; top: -.65rem; right: -.65rem; z-index: 2; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--store-border); border-radius: 50%; background: var(--store-surface); color: var(--store-ink); cursor: pointer; box-shadow: var(--store-shadow-sm); }
.store-video-card {
  position: relative;
  display: block;
  width: min(380px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: var(--store-radius);
  background: var(--store-primary);
  color: var(--store-on-primary);
  cursor: pointer;
  text-align: left;
}
.store-video-card img { width: 100%; height: 100%; object-fit: cover; }
.store-video-card::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.store-video-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 48px; height: 48px; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(0,0,0,.52); color: #fff; font-size: 1rem; }
.store-video-card-label { position: absolute; z-index: 1; right: .75rem; bottom: .65rem; left: .75rem; color: #fff; font-size: .9rem; font-weight: 700; }
.store-video-outro { padding-top: .5rem; }
.store-video-modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.82); }
.store-video-modal-overlay.is-open { display: flex; }
.store-video-modal-panel { width: min(100%, 700px); height: min(100%, 500px); overflow: hidden; border-radius: var(--store-radius); background: var(--store-surface); color: var(--store-ink); box-shadow: var(--store-shadow-lg); }
.store-video-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; }
.store-video-modal-header h2 { margin: 0; font-family: var(--store-heading-font); font-size: 1rem; }
.store-video-modal-close { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--store-border); border-radius: 50%; background: var(--store-surface); color: var(--store-ink); cursor: pointer; }
.store-video-frame-wrap { position: relative; height: 80%; background: #000; }
.store-video-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.store-video-modal-play { position: absolute; top: 50%; left: 50%; display: grid; width: 68px; height: 68px; place-items: center; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(0,0,0,.68); color: #fff; cursor: pointer; font-size: 1.5rem; }
.store-video-modal-play:hover { background: var(--store-primary); }
.store-video-modal-play[hidden] { display: none; }
.store-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--store-border);
}
.store-modal-header h3 { margin: 0; font-family: var(--store-heading-font); font-size: 1.15rem; }
.store-modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; max-height: 60vh; overflow-y: auto; }
.store-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--store-ink-soft); }
.store-field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  font-size: 0.9rem;
  font-family: var(--store-font);
}
.store-field textarea {
  display: block;
  width: 100%;
  min-height: 7rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  color: var(--store-ink);
  font-size: 0.9rem;
  font-family: var(--store-font);
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.store-field textarea:focus { outline: none; border-color: var(--store-primary-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-primary-light) 18%, transparent); }
.store-field input:focus { outline: none; border-color: var(--store-primary-light); }
.store-bank-box {
  background: var(--store-on-primary);
  color: var(--store-secondary-ink);
  border: 1px dashed var(--store-border);
  border-radius: var(--store-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}
.store-bank-box p { margin: 0.15rem 0; }
.store-modal-footer { padding: 1.1rem 1.5rem 1.5rem; }
.store-feedback { font-size: 0.85rem; margin-top: 0.65rem; text-align: center; }
.store-feedback.is-error { color: var(--store-danger); }
.store-feedback.is-success { color: var(--store-secondary-ink); }

/* ---------------------------------------------------------------
   Toasts
   --------------------------------------------------------------- */
.store-toast-wrap { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 90; display: flex; flex-direction: column; gap: 0.5rem; }
.store-toast {
  background: var(--store-primary);
  color: var(--store-on-primary);
  padding: 0.7rem 1rem;
  border-radius: var(--store-radius-sm);
  font-size: 0.85rem;
  box-shadow: var(--store-shadow);
  animation: store-toast-in 0.2s ease;
}
.store-toast.is-error, .store-toast.is-success { background: var(--store-secondary); color: var(--store-on-secondary); }
@keyframes store-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.store-footer {
  background: var(--store-surface);
  color: var(--store-ink);
  border-top: 1px solid var(--store-border);
  padding: 2rem 0;
  margin-top: 1rem;
}
.store-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.store-footer-brand { color: var(--store-ink); font-weight: 600; font-family: var(--store-heading-font); }
.store-footer-links { display: flex; gap: 1rem; font-size: 0.85rem; }
.store-footer-links a { color: var(--store-ink-soft); text-decoration: none; }
.store-footer-links a:hover { color: var(--store-primary-ink); }
.store-footer-bottom { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--store-border); font-size: 0.78rem; text-align: center; color: var(--store-muted); }

@media (max-width: 640px) {
  .store-nav-inner { flex-wrap: wrap; }
  .store-hero { padding: 2.5rem 0; }
  .store-section { padding: 2rem 0; }
  .store-drawer { width: 100vw; }
}

/* Store identity, discovery, and editorial sections */
.store-brand-logo { width: 42px; height: 42px; flex: 0 0 42px; object-fit: cover; border-radius: 8px; }
.store-nav-links { display: flex; align-items: center; gap: 1.35rem; }
.store-nav-links a { color: var(--store-ink-soft); text-decoration: none; font-size: .88rem; font-weight: 600; }
.store-nav-links a:hover, .store-nav-links a[aria-current="page"] { color: var(--store-primary-ink); }
.store-hero {
  background-color: var(--store-primary); 
  background-image: linear-gradient(
    90deg, color-mix(in srgb, var(--store-primary) 84%, transparent),
     color-mix(in srgb, var(--store-secondary) 68%, transparent)), 
     var(--store-banner-image); 
  background-position: center; 
  background-size: cover;
}
.store-btn-primary, .store-tab.is-active, .store-rate-chip.is-active { background-color: var(--store-primary); border-color: var(--store-primary); }
.store-btn-secondary, .store-card-add { background-color: var(--store-secondary); }
.store-section-badge { color: var(--store-ink); background: var(--store-primary-soft); }
/* .store-card-price { color: var(--store-primary-ink); } */
.store-discovery-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: -1rem 0 1.75rem; }
.store-discovery-links a { color: var(--store-ink); border-bottom: 2px solid var(--store-accent); padding: .35rem .15rem; text-decoration: none; font-size: .82rem; font-weight: 700; }
.store-card-image { display: block; text-decoration: none; }
.store-card-title a { color: inherit; text-decoration: none; font-weight: 600;}
.store-card-title a:hover { color: var(--store-primary-ink); }
.store-about { padding: 2.4rem 0; background: var(--store-primary-soft); }
.store-about-inner { max-width: 780px; text-align: center; }
.store-about-inner p { color: var(--store-ink-soft); line-height: 1.8; }
.store-about-location { color: var(--store-muted); font-size: .85rem; }
.store-cta { padding: 1.75rem 0; background: var(--store-accent); color: var(--store-on-accent); }
.store-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.store-cta-inner p { margin: 0; font-size: 1.05rem; font-weight: 600; }
.store-cta .store-btn-primary { background: var(--store-primary); color: var(--store-on-primary); }
.store-footer-description { max-width: 420px; margin: .55rem 0; line-height: 1.65; font-size: .88rem; }
.store-social-links { display: flex; align-items: center; gap: .65rem; }
.store-social-links a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--store-border); border-radius: 50%; color: var(--store-ink); text-decoration: none; }
.store-social-links a:hover { background: var(--store-accent); color: var(--store-on-accent); }
.store-hero-image { min-height: 370px; background-size: cover; background-position: center; background-color: var(--store-accent); }
.store-hero-image img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.store-track-main { min-height: 62vh; padding-top: 4rem; padding-bottom: 4rem; }
.store-track-heading { max-width: 640px; margin: 0 auto 2rem; text-align: center; }
.store-track-heading h1 { font-family: var(--store-heading-font); font-size: 2rem; margin: .4rem 0; }
.store-track-heading p { color: var(--store-muted); }
.store-track-form { max-width: 520px; margin: 0 auto; padding: 1.5rem; background: var(--store-surface); border: 1px solid var(--store-border); border-radius: var(--store-radius); box-shadow: var(--store-shadow-sm); }
.store-track-form .store-field { display: block; margin-bottom: 1rem; }
.store-track-form .store-field span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.store-track-form input { width: 100%; padding: .7rem .75rem; border: 1px solid var(--store-border); border-radius: var(--store-radius-sm); font: inherit; }
.store-track-form .store-btn { width: 100%; }

/* Default: approachable, centered shopfront */
[data-store-theme="default"] .store-hero { 
  min-height: 50px; display: grid; align-items: center;
 }
[data-store-theme="default"] .store-hero h1 { 
  /* color: var(--store-on-primary);  */
  text-shadow: 0 2px 18px rgba(0,0,0,.18); 
}
[data-store-theme="default"] .store-card { border-radius: 12px; box-shadow: 0 5px 18px rgba(17,24,39,.045); }

/* Editorial: high-contrast type and portrait product photography */
[data-store-theme="editorial"] { --store-heading-font: Georgia, 'Times New Roman', serif; background: var(--store-bg); }
[data-store-theme="editorial"] .store-nav { background: var(--store-surface); border-bottom-color: var(--store-border); }
[data-store-theme="editorial"] .store-hero { 
  background-color: var(--store-surface);
   background-image: none; padding: 3.5rem 0 2.5rem; }
/* [data-store-theme="editorial"] .store-hero-inner { grid-template-columns: 1fr .85fr; gap: 4rem; } */
[data-store-theme="editorial"] .store-editorial-kicker { color: var(--store-primary-ink); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
[data-store-theme="editorial"] .store-hero h1 { max-width: 600px; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.02; }
[data-store-theme="editorial"] .store-hero-image { border-radius: 0; min-height: 460px; box-shadow: 16px 16px 0 var(--store-accent); }
[data-store-theme="editorial"] .store-card { border: 0; border-radius: 0; background: transparent; }
[data-store-theme="editorial"] .store-card-image, [data-store-theme="editorial"] .store-card-slider { height: 310px; }
[data-store-theme="editorial"] .store-card-body { padding-left: 0; padding-right: 0; }
[data-store-theme="editorial"] .store-card-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; }
[data-store-theme="editorial"] .store-about { background: var(--store-primary-soft); }

/* Catalog: dense, scan-first inventory layout */
[data-store-theme="catalog"] { background: var(--store-bg); }
[data-store-theme="catalog"] .store-hero { 
  background-color: var(--store-primary); 
  background-image: linear-gradient(
    90deg, color-mix(in srgb, var(--store-primary) 84%, transparent), 
    color-mix(in srgb, var(--store-primary) 68%, transparent)), 
    var(--store-banner-image); 
    border-bottom: 5px solid var(--store-accent); 
    color: var(--store-on-primary); 
}
[data-store-theme="catalog"] .store-section { padding-top: 1.8rem; }
[data-store-theme="catalog"] .store-section-header { text-align: left; max-width: none; margin-bottom: 1.25rem; }
[data-store-theme="catalog"] .store-discovery-links { justify-content: flex-start; }
[data-store-theme="catalog"] .store-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: .75rem; }
[data-store-theme="catalog"] .store-card { border-radius: 4px; box-shadow: none; }
[data-store-theme="catalog"] .store-card-image, [data-store-theme="catalog"] .store-card-slider { height: 145px; }
[data-store-theme="catalog"] .store-card-body { padding: .75rem; }
[data-store-theme="catalog"] .store-card-add { border-radius: 4px; }
[data-store-theme="catalog"] .store-footer { background: var(--store-surface); }

/* Market: saturated color blocks and large, high-energy calls to action */
[data-store-theme="market"] { background: var(--store-bg); }
[data-store-theme="market"] .store-hero {
  min-height: 440px; 
  display: grid; 
  align-items: center; 
  background-color: var(--store-primary); 
  background-image: linear-gradient(
    90deg, color-mix(in srgb, var(--store-primary) 84%, transparent), 
    color-mix(in srgb, var(--store-secondary) 68%, transparent)), 
    var(--store-banner-image); 
  color: var(--store-on-primary);
  background-position: center;
}
[data-store-theme="market"] .store-hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
[data-store-theme="market"] .store-hero-badge { background: var(--store-accent); color: var(--store-on-accent); border: 0; }
[data-store-theme="market"] .store-card { border: 0; border-radius: 5px; box-shadow: 0 8px 0 color-mix(in srgb, var(--store-primary) 22%, transparent); }
[data-store-theme="market"] .store-card-image, [data-store-theme="market"] .store-card-slider { height: 230px; }
[data-store-theme="market"] .store-card-add { border-radius: 3px; }
[data-store-theme="market"] .store-about { background: var(--store-accent-soft); }

/* Studio: quiet dark gallery with deliberate whitespace */
[data-store-theme="studio"] { --store-heading-font: Georgia, 'Times New Roman', serif; background: var(--store-bg); color: var(--store-ink); }
[data-store-theme="studio"] .store-nav { background: var(--store-surface); border-color: var(--store-border); color: var(--store-ink); }
[data-store-theme="studio"] .store-nav-links a, [data-store-theme="studio"] .store-brand-handle { color: var(--store-muted); }
[data-store-theme="studio"] .store-hero { 
  min-height: 480px; 
  display: grid; 
  align-items: center; 
  background-color: var(--store-primary); 
  background-image: linear-gradient(
    90deg, color-mix(in srgb, var(--store-primary) 84%, transparent), 
      color-mix(in srgb, var(--store-secondary) 68%, transparent)), 
      var(--store-banner-image); 
  color: var(--store-on-primary); 
  text-align: left; 
  background-position: top center;
}
[data-store-theme="studio"] .store-hero h1 { max-width: 720px; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 500; }
[data-store-theme="studio"] .store-section-header { text-align: left; margin-left: 0; }
[data-store-theme="studio"] .store-discovery-links { justify-content: flex-start; }
[data-store-theme="studio"] .store-card { border: 0; border-radius: 0; background: var(--store-surface); color: var(--store-ink); }
[data-store-theme="studio"] .store-card-image, [data-store-theme="studio"] .store-card-slider { height: 260px; }
[data-store-theme="studio"] .store-card-desc, [data-store-theme="studio"] .store-cart-item-type { color: var(--store-muted); }
[data-store-theme="studio"] .store-about { background: var(--store-primary-soft); }
[data-store-theme="studio"] .store-about-inner p { color: var(--store-ink-soft); }
[data-store-theme="studio"] .store-footer { background: var(--store-surface); }

@media (max-width: 640px) {
  .store-cta-inner { align-items: flex-start; flex-direction: column; }
  [data-store-theme="editorial"] .store-hero-image { min-height: 280px; }
  [data-store-theme="studio"] .store-hero { min-height: 390px; }
}

/* Responsive storefront navigation */
.store-nav-inner { position: relative; }
.store-menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid var(--store-border);
  border-radius: 6px;
  background: var(--store-surface);
  color: var(--store-ink);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.store-menu-icon-close { display: none; }
.store-menu-toggle[aria-expanded="true"] .store-menu-icon-open { display: none; }
.store-menu-toggle[aria-expanded="true"] .store-menu-icon-close { display: inline-block; }
.store-nav-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* Four-column, scannable storefront footer */
.store-footer { padding: 3rem 0 1.25rem; }
.store-footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: 2.5rem;
  align-items: start;
}
.store-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; min-width: 0; }
.store-footer-heading { margin: 0 0 .25rem; color: var(--store-ink); font-family: var(--store-heading-font); font-size: 1rem; }
.store-footer-column > a:not(.store-footer-brand) { color: var(--store-ink-soft); text-decoration: none; font-size: .88rem; line-height: 1.45; }
.store-footer-column > a:hover { color: var(--store-primary-ink); }
.store-footer-brand { color: var(--store-ink); font-size: 1.2rem; text-decoration: none; }
.store-footer-description { margin: .15rem 0; max-width: 360px; line-height: 1.7; font-size: .88rem; }
.store-footer-address { display: flex; align-items: flex-start; gap: .55rem; font-size: .85rem; line-height: 1.6; font-style: normal; }
.store-footer-contact > a { display: inline-flex; align-items: center; gap: .55rem; }
.store-footer-contact .store-social-links { margin-top: .35rem; flex-wrap: wrap; }
.store-footer-bottom { margin-top: 2.25rem; }

.store-about-hero { padding: 3rem 0 2.5rem; }
.store-about-hero-inner { display: flex; align-items: center; gap: 2rem; }
.store-about-hero-copy, .store-about-hero-media { width: 50%; min-width: 0; }
.store-about-hero-inner:not(.has-banner) .store-about-hero-copy { width: 100%; }
.store-about-hero-copy { padding: 1.5rem 0; }
.store-about-hero-media { overflow: hidden; border-radius: var(--store-radius); }
.store-about-hero-media .store-about-banner { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: none; margin: 0; object-fit: cover; }
.store-about-hero h1, .store-shop-heading h1 { margin: .5rem 0; font-family: var(--store-heading-font); font-size: 2.4rem; line-height: 1.1; }
.store-about-page-tagline, .store-shop-heading p { max-width: 680px; color: var(--store-ink-soft); line-height: 1.7; }
.store-about-content { padding: 3rem 0 4rem; }
.store-about-page-copy { max-width: 850px; }
.store-about-banner { width: 100%; max-height: 460px; margin-bottom: 2rem; object-fit: cover; border-radius: 8px; }
.store-about-videos { margin: 2rem 0; }
.store-about-videos-heading { margin-bottom: .75rem; }
.store-about-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.store-about-video-grid .store-video-card { width: 100%; }
.store-about-prose { margin-bottom: 1.5rem; color: var(--store-ink-soft); font-size: 1.05rem; line-height: 1.9; }
.store-about-prose p { margin: 0 0 1.1rem; }
.store-about-content .store-about-location { margin: 0 0 1.5rem; }
.store-shop-heading { padding-top: 3rem; padding-bottom: 1rem; }
.store-sectioned-catalog > .store-container > .store-section-header { margin-bottom: 2rem; }
.store-type-section { padding: 1.5rem 0 2.25rem; border-top: 1px solid var(--store-border); }
.store-type-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.store-type-section-heading > div { display: flex; align-items: center; gap: .75rem; }
.store-type-section-heading .store-section-badge { margin: 0; flex: 0 0 auto; }
.store-type-section-heading h3 { margin: 0; font-family: var(--store-heading-font); font-size: 1.35rem; }
.store-type-section-count { color: var(--store-muted); font-size: .82rem; }
.store-section-empty { padding: 1.25rem; }
.store-section-loadmore { margin-top: 1.2rem; }

@media (max-width: 860px) {
  .store-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

@media (max-width: 700px) {
  .store-nav-inner { flex-wrap: nowrap; gap: .6rem; padding: .65rem 0; }
  .store-brand { flex: 1 1 auto; }
  .store-brand-logo, .store-brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .store-brand-name { max-width: 34vw; }
  .store-nav-actions { flex: 0 0 auto; }
  .store-cart-btn { min-height: 42px; padding: .5rem .75rem; }
  .store-menu-toggle { display: inline-flex; flex: 0 0 auto; }
  .store-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .55rem);
    left: 0;
    right: 0;
    z-index: 45;
    padding: .55rem;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    border: 1px solid var(--store-border);
    border-radius: 10px;
    background: var(--store-surface);
    box-shadow: 0 18px 44px rgba(17,24,39,.2);
  }
  .store-nav-links.is-open { display: flex; }
  .store-nav-links a {
    min-height: 50px;
    padding: 0 .9rem;
    border-radius: 6px;
    color: var(--store-ink);
    font-size: .98rem;
  }
  .store-nav-links a:hover, .store-nav-links a[aria-current="page"] {
    background: var(--store-primary);
    color: var(--store-on-primary);
  }
  [data-store-theme="studio"] .store-nav-links { background: var(--store-surface); border-color: var(--store-border); }
  [data-store-theme="studio"] .store-nav-links a { color: var(--store-ink); }
  [data-store-theme="studio"] .store-menu-toggle { background: var(--store-surface); border-color: var(--store-border); color: var(--store-ink); }
  .store-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .store-footer-column { padding-bottom: 1.25rem; border-bottom: 1px solid var(--store-border); }
  .store-footer-column:last-child { padding-bottom: 0; border-bottom: 0; }
  .store-footer-bottom { margin-top: 1.5rem; }
  .store-type-section { padding: 1.25rem 0 1.75rem; }
  .store-type-section-heading { align-items: flex-start; }
  .store-type-section-heading h3 { font-size: 1.15rem; }
  .store-about-hero { padding: 2rem 0 1rem; }
  .store-about-hero-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .store-about-hero-copy, .store-about-hero-media { width: 100%; }
  .store-about-hero-copy { padding: .5rem 0; }
  .store-about-hero-media .store-about-banner { aspect-ratio: 16 / 10; }
  .store-about-video-grid { grid-template-columns: 1fr; }
  .store-about-hero h1, .store-shop-heading h1 { font-size: 2rem; }
}

@media (max-width: 640px) {
  .store-video-float { width: min(180px, calc(100vw - 2rem)); }
}

/* Catalog search and numbered pagination */
.store-search {
  display: flex;
  width: min(100%, 520px);
  margin: 0 auto 1.5rem;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: var(--store-surface);
  overflow: hidden;
}
.store-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 .9rem;
  border: 0;
  outline: 0;
  color: var(--store-ink);
  background: transparent;
  font: inherit;
}
.store-search input:focus-visible { box-shadow: inset 0 0 0 2px var(--store-primary-light); }
.store-search-submit {
  display: grid;
  width: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 0;
  background: var(--store-primary);
  color: var(--store-on-primary);
  cursor: pointer;
}
.store-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.store-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1.75rem;
}
.store-pagination[hidden] { display: none; }
.store-page-link {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 0 .65rem;
  border: 1px solid var(--store-border);
  border-radius: 6px;
  background: var(--store-surface);
  color: var(--store-ink);
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}
.store-page-link:hover { border-color: var(--store-primary); color: var(--store-primary-ink); }
.store-page-link.is-current { border-color: var(--store-primary); background: var(--store-primary); color: var(--store-on-primary); }
.store-page-link.is-disabled { color: var(--store-muted); opacity: .5; }
.store-page-ellipsis { min-width: 24px; text-align: center; color: var(--store-muted); }
.store-type-section[aria-busy="true"] .store-section-grid { opacity: .55; }

/* Persistent WhatsApp contact action */
.store-whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 55;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #20c56a;
  color: #fff;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(32,197,106,.55), 0 5px 18px rgba(0,0,0,.24);
  animation: store-whatsapp-glow 2s ease-out infinite;
}
.store-whatsapp-float:hover { color: #fff; transform: translateY(-2px); }
.store-whatsapp-float:focus-visible { outline: 3px solid var(--store-accent); outline-offset: 3px; }
@keyframes store-whatsapp-glow {
  0% { box-shadow: 0 0 0 0 rgba(32,197,106,.58), 0 5px 18px rgba(0,0,0,.24); }
  70% { box-shadow: 0 0 0 12px rgba(32,197,106,0), 0 5px 18px rgba(0,0,0,.24); }
  100% { box-shadow: 0 0 0 0 rgba(32,197,106,0), 0 5px 18px rgba(0,0,0,.24); }
}

@media (max-width: 640px) {
  .store-container { padding-right: 1rem; padding-left: 1rem; }
  .store-nav-inner { gap: .45rem; }
  .store-brand { gap: .45rem; }
  .store-brand-name { font-size: .9rem; max-width: 30vw; }
  .store-brand-handle { font-size: .7rem; }
  .store-menu-toggle,
  .store-cart-btn { width: 42px; min-width: 42px; min-height: 42px; padding: 0; }
  .store-menu-toggle-label,
  .store-cart-btn > span:not(.store-cart-count) { display: none; }
  .store-menu-toggle { font-size: 1rem; }
  .store-cart-btn { justify-content: center; border-radius: 50%; font-size: 1rem; }
  .store-cart-count { right: -3px; top: -4px; }
  .store-section { padding: 1.5rem 0; }
  .store-section-header { margin-bottom: 1.2rem; }
  .store-section-title { font-size: 1.3rem; }
  .store-section-sub { font-size: .84rem; }
  .store-tabs { gap: .35rem; margin-bottom: 1.2rem; }
  .store-tab { padding: .42rem .7rem; font-size: .78rem; }
  body[data-store-theme] .store-grid:not(.store-detail-grid) {
    grid-template-columns: repeat(var(--store-mobile-columns, 1), minmax(0, 1fr));
    gap: .65rem;
  }
  .store-card-image, .store-card-slider { height: 145px; }
  .store-card-body { padding: .5rem; gap: .3rem; }
  .store-card-title { font-size: .86rem; }
  .store-card-title a { font-weight: 600;}
  .store-card-type {top:.3rem; left:.1rem; font-size:.6rem;}
  .store-share-button {top:.3rem; right: .1rem; width: 1.5rem; height: 1.5rem;}
  .store-card-desc { font-size: .67rem; display: none;}
  .store-card-price { font-size: .88rem; }
  .store-card-add { min-height: 25px; padding: .3rem .4rem; font-size: .87rem; }
  .store-rate-chip { padding: .22rem .3rem; font-size: .72rem; }
  .store-search { margin-bottom: 1.1rem; }
  .store-search input { height: 42px; padding: 0 .7rem; font-size: .85rem; }
  .store-search-submit { width: 44px; flex-basis: 44px; }
  .store-pagination { gap: .22rem; margin-top: 1.2rem; }
  .store-page-link { min-width: 36px; min-height: 36px; padding: 0 .45rem; font-size: .8rem; }
  .store-page-direction { gap: .25rem; }
  .store-hero {
    min-height: calc(100svh - 58px);
    padding: 1rem 0;
    display: grid;
    align-items: center;
  }
  .store-hero .store-container { text-align: center; }
  .store-hero h1 { margin: .55rem 0 0; font-size: 1.8rem; line-height: 1.12; }
  .store-hero-tagline,
  .store-hero-desc,
  .store-hero-actions,
  .store-hero-meta,
  .store-editorial-kicker,
  .store-hero-image { display: none !important; }
  [data-store-theme="catalog"] .store-hero-inner,
  [data-store-theme="editorial"] .store-hero-inner { display: block; }
  [data-store-theme="catalog"] .store-hero-inner > div:nth-child(2) { display: none; }
  [data-store-theme="editorial"] .store-hero-inner > div:first-child { width: 100%; }
  .store-footer { padding: 1.75rem 0 1rem; }
  .store-footer-grid { gap: 1.2rem; }
  .store-footer-column { padding-bottom: .9rem; gap: .5rem; }
  .store-footer-description,
  .store-footer-column > a:not(.store-footer-brand) { font-size: .82rem; }
  .store-cta { padding: 1.25rem 0; }
  .store-cta-inner p { font-size: .92rem; }
  .store-track-main { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .store-track-form { padding: 1rem; }
  .store-whatsapp-float { right: .85rem; bottom: .85rem; width: 52px; height: 52px; font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .store-whatsapp-float { animation: none; }
}