/* ============================================================
   VAYA — Design System
   Premium · Minimal · Editorial Commerce · RTL-first
   ============================================================ */

.is-hidden { display: none !important; }

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --color-primary: #141416;
  --color-primary-soft: #26262a;
  --color-accent: #b08d4f;
  --color-accent-strong: #96733c;
  --color-accent-soft: #f1e9da;
  --color-background: #f7f5f1;
  --color-surface: #ffffff;
  --color-surface-2: #efede8;
  --color-text: #17171a;
  --color-muted: #8a877f;
  --color-line: #e6e2da;
  --color-success: #2e7d5b;
  --color-success-soft: #e3f2ea;
  --color-danger: #c23a3a;
  --color-danger-soft: #fbe9e9;
  --color-warn: #b97d1c;
  --color-warn-soft: #fdf3e0;
  --color-info-soft: #e9eef6;
  --color-dark: #0c0c0e;
  --color-dark-2: #141416;
  --color-on-dark: #f4f2ee;
  --color-on-dark-muted: #9b978e;

  /* Typography */
  --font-sans: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --fs-xs: 0.6875rem;   /* 11 */
  --fs-sm: 0.75rem;     /* 12 */
  --fs-base: 0.875rem;  /* 14 */
  --fs-md: 1rem;        /* 16 */
  --fs-lg: 1.1875rem;   /* 19 */
  --fs-xl: 1.5rem;      /* 24 */
  --fs-2xl: 2rem;       /* 32 */
  --fs-hero: clamp(2.1rem, 7vw, 3.4rem);
  --lh-tight: 1.25;
  --lh-base: 1.7;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Spacing */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-1: 0 1px 2px rgba(20,20,22,.05);
  --shadow-2: 0 6px 24px rgba(20,20,22,.08);
  --shadow-3: 0 18px 50px rgba(20,20,22,.16);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.25,1);
  --dur-fast: .15s;
  --dur-base: .25s;
  --dur-slow: .4s;

  /* Z-index */
  --z-header: 100;
  --z-sheet: 200;
  --z-drawer: 250;
  --z-modal: 300;
  --z-toast: 400;
  --z-overlay: 500;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-xs); }
::selection { background: var(--color-accent-soft); }
.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; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -48px; z-index: 999; background: var(--color-primary); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); transition: top var(--dur-fast); }
.skip-link:focus { top: 8px; }

/* Numerals & prices */
.price, .num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(28px, 6vw, 56px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); }
.section-title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); letter-spacing: -.01em; }
.section-sub { color: var(--color-muted); font-size: var(--fs-base); margin-top: 4px; }
.section-link { color: var(--color-accent-strong); font-size: var(--fs-sm); font-weight: var(--fw-medium); white-space: nowrap; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast); }
.section-link:hover { border-color: var(--color-accent-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  padding: 14px 26px; border-radius: var(--radius-full);
  font-size: var(--fs-base); font-weight: var(--fw-medium);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast), opacity var(--dur-fast);
  -webkit-tap-highlight-color: transparent; user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--color-primary); color: var(--color-on-dark); }
.btn-primary:hover { background: var(--color-primary-soft); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-strong); }
.btn-outline { border: 1px solid var(--color-line); background: var(--color-surface); }
.btn-outline:hover { border-color: var(--color-text); }
.btn-ghost { color: var(--color-text); }
.btn-ghost:hover { background: var(--color-surface-2); }
.btn-dark-ghost { color: var(--color-on-dark); border: 1px solid rgba(244,242,238,.25); }
.btn-dark-ghost:hover { border-color: var(--color-on-dark); }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: var(--fs-sm); }
.btn-lg { padding: 17px 34px; font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-outline.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(20,20,22,.2); border-top-color: var(--color-text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Icon button */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-full); position: relative; transition: background var(--dur-fast); -webkit-tap-highlight-color: transparent; }
.icon-btn:hover { background: var(--color-surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .badge-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--color-accent); color: #fff; font-size: 10px; font-weight: var(--fw-semibold); border-radius: var(--radius-full); display: grid; place-items: center; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  background: var(--color-surface); font-size: var(--fs-base); transition: border-color var(--dur-fast);
  appearance: none;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-text); }
.input::placeholder, .textarea::placeholder { color: var(--color-muted); }
.textarea { min-height: 96px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a877f' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-end: 16px; }
.field-error { color: var(--color-danger); font-size: var(--fs-sm); }
.form-row { display: grid; gap: var(--space-md); grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Cards & product card ---------- */
.card { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-lg); }
.card-line { border: 1px solid var(--color-line); }

.product-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product-card-media { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-2); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.035); }
.product-card-name { font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-card-price .price { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.price-old { color: var(--color-muted); text-decoration: line-through; font-size: var(--fs-sm); }
.price-badge { background: var(--color-accent-soft); color: var(--color-accent-strong); font-size: var(--fs-xs); font-weight: var(--fw-semibold); padding: 2px 8px; border-radius: var(--radius-full); }
.product-card-actions { position: absolute; inset-inline-end: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.card-quick { display: none; }
@media (hover: hover) { .card-quick { display: grid; } }
.card-quick .icon-btn, .card-wish .icon-btn { width: 38px; height: 38px; background: var(--color-surface); box-shadow: var(--shadow-1); }
.card-quick .icon-btn:hover, .card-wish .icon-btn:hover { background: var(--color-surface); transform: scale(1.06); }
.card-wish.is-active svg { fill: var(--color-danger); stroke: var(--color-danger); }
.card-quick svg { width: 18px; height: 18px; }
.card-wish svg { width: 18px; height: 18px; }

/* Editorial wide product (VAYA Finds style) */
.product-card-wide { display: grid; grid-template-columns: 118px 1fr; gap: var(--space-md); align-items: center; background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; }
.product-card-wide .product-card-media { aspect-ratio: 1; border-radius: 0; }
@media (min-width: 760px) { .product-card-wide { grid-template-columns: 170px 1fr; } }
.find-num { font-size: var(--fs-xs); letter-spacing: .18em; color: var(--color-accent-strong); font-weight: var(--fw-semibold); text-transform: uppercase; }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); padding: 3px 10px; border-radius: var(--radius-full); }
.badge-accent { background: var(--color-accent-soft); color: var(--color-accent-strong); }
.badge-dark { background: var(--color-primary); color: var(--color-on-dark); }
.badge-success { background: var(--color-success-soft); color: var(--color-success); }
.badge-danger { background: var(--color-danger-soft); color: var(--color-danger); }
.badge-warn { background: var(--color-warn-soft); color: var(--color-warn); }
.badge-soft { background: var(--color-surface-2); color: var(--color-text); }
.badge-new { background: var(--color-primary); color: var(--color-on-dark); letter-spacing: .12em; font-size: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius-full); border: 1px solid var(--color-line); background: var(--color-surface); font-size: var(--fs-sm); font-weight: var(--fw-medium); transition: all var(--dur-fast); white-space: nowrap; }
.chip:hover { border-color: var(--color-text); }
.chip.is-active { background: var(--color-primary); color: var(--color-on-dark); border-color: var(--color-primary); }
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none; }
.chip-scroll::-webkit-scrollbar { display: none; }

/* ---------- Header ---------- */
.announce { background: var(--color-primary); color: var(--color-on-dark); text-align: center; font-size: var(--fs-sm); padding: 9px var(--gutter); }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(247,245,241,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--color-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); height: 60px; }
.logo { font-size: 1.45rem; font-weight: 700; letter-spacing: .34em; text-indent: .34em; color: var(--color-primary); }
.logo:hover { color: var(--color-accent-strong); transition: color var(--dur-fast); }
.logo-sm { font-size: 1.1rem; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.header-nav { display: none; gap: var(--space-lg); font-size: var(--fs-base); font-weight: var(--fw-medium); }
.header-nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.header-nav a:hover, .header-nav a.is-active { border-color: var(--color-accent); }
@media (min-width: 960px) { .header-nav { display: flex; } .nav-toggle { display: none !important; } }

/* Mobile drawer nav */
.drawer-nav { position: fixed; inset: 0; z-index: var(--z-drawer); pointer-events: none; }
.drawer-nav .drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(84vw, 360px); background: var(--color-surface); transform: translateX(105%); transition: transform var(--dur-base) var(--ease); padding: var(--space-xl) var(--space-lg); overflow-y: auto; }
[dir="rtl"] .drawer-nav .drawer-panel { transform: translateX(105%); }
.drawer-nav.is-open { pointer-events: auto; }
.drawer-nav.is-open .drawer-panel { transform: translateX(0); }
.drawer-nav .nav-list { display: grid; gap: 4px; margin-top: var(--space-lg); }
.drawer-nav .nav-list a { display: block; padding: 13px 10px; font-size: var(--fs-lg); font-weight: var(--fw-medium); border-radius: var(--radius-sm); }
.drawer-nav .nav-list a:hover { background: var(--color-surface-2); }

/* ---------- Bottom navigation (mobile) ---------- */
.bottom-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-header); display: flex; justify-content: space-around; align-items: stretch; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--color-line); padding-bottom: env(safe-area-inset-bottom); height: calc(62px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .bottom-nav { display: none; } }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: var(--fw-medium); color: var(--color-muted); position: relative; -webkit-tap-highlight-color: transparent; }
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.is-active { color: var(--color-text); }
.bottom-nav .badge-count { position: absolute; top: 8px; inset-inline-end: calc(50% - 20px); min-width: 16px; height: 16px; background: var(--color-accent); color: #fff; font-size: 9px; border-radius: var(--radius-full); display: grid; place-items: center; padding: 0 4px; font-weight: var(--fw-semibold); }
body.has-bottom-nav { padding-bottom: 76px; }
@media (min-width: 960px) { body.has-bottom-nav { padding-bottom: 0; } }

/* ---------- Overlay / sheets / modals ---------- */
.overlay { position: fixed; inset: 0; background: rgba(12,12,14,.5); z-index: var(--z-overlay); opacity: 0; transition: opacity var(--dur-base); pointer-events: none; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-sheet); background: var(--color-surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0; transform: translateY(105%); transition: transform var(--dur-base) var(--ease); max-height: 88dvh; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.sheet.is-open { transform: translateY(0); }
.sheet-handle { width: 40px; height: 4px; border-radius: var(--radius-full); background: var(--color-line); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-line); }
.sheet-head h3 { font-size: var(--fs-md); }
.sheet-body { overflow-y: auto; padding: var(--space-lg); flex: 1; }
@media (min-width: 720px) {
  .sheet { inset-inline-start: auto; inset-inline-end: 0; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; transform: translateX(105%); padding-bottom: 0; }
  [dir="rtl"] .sheet { transform: translateX(-105%); }
  .sheet.is-open { transform: translateX(0); }
  .sheet-handle { display: none; }
}
.modal-backdrop { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(12,12,14,.55); display: grid; place-items: center; padding: var(--space-md); opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal { background: var(--color-surface); border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: var(--space-xl); transform: translateY(12px); transition: transform var(--dur-base) var(--ease); max-height: 88dvh; overflow-y: auto; }
.modal-backdrop.is-open .modal { transform: translateY(0); }

/* Full screen search */
.search-overlay { position: fixed; inset: 0; z-index: calc(var(--z-overlay) + 10); background: var(--color-background); transform: translateY(8px); opacity: 0; pointer-events: none; transition: all var(--dur-base); overflow-y: auto; }
.search-overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; inset-inline: 0; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: var(--z-toast); display: grid; gap: 8px; justify-items: center; pointer-events: none; padding: 0 var(--space-md); }
@media (min-width: 960px) { .toast-wrap { bottom: var(--space-lg); justify-items: end; } }
.toast { background: var(--color-dark); color: var(--color-on-dark); padding: 12px 20px; border-radius: var(--radius-full); font-size: var(--fs-sm); box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 8px; animation: toast-in var(--dur-base) var(--ease); max-width: 92vw; }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Skeletons & states ---------- */
.skeleton { background: linear-gradient(90deg, var(--color-surface-2) 25%, #f6f4ef 50%, var(--color-surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { aspect-ratio: 3/4; border-radius: var(--radius-md); }
.empty-state { text-align: center; padding: var(--space-3xl) var(--space-lg); display: grid; gap: var(--space-sm); justify-items: center; }
.empty-state .icon { width: 52px; height: 52px; color: var(--color-muted); opacity: .5; }
.empty-state h3 { font-size: var(--fs-lg); }
.empty-state p { color: var(--color-muted); max-width: 340px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--color-line); border-top-color: var(--color-text); animation: spin .7s linear infinite; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: var(--color-on-dark); margin-top: auto; }
.footer-inner { padding-block: var(--space-2xl) var(--space-xl); display: grid; gap: var(--space-xl); }
.footer-brand { display: grid; gap: var(--space-sm); }
.footer-brand .logo { color: var(--color-on-dark); }
.footer-tag { color: var(--color-on-dark-muted); max-width: 320px; font-size: var(--fs-base); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-xl); }
.footer-col h4 { font-size: var(--fs-sm); letter-spacing: .08em; color: var(--color-on-dark-muted); margin-bottom: var(--space-md); font-weight: var(--fw-medium); }
.footer-col a { display: block; padding: 5px 0; color: var(--color-on-dark); font-size: var(--fs-base); opacity: .85; transition: opacity var(--dur-fast); }
.footer-col a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(244,242,238,.1); padding-block: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; color: var(--color-on-dark-muted); font-size: var(--fs-sm); }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-line); border-block: 1px solid var(--color-line); }
@media (min-width: 720px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: var(--color-background); padding: var(--space-lg) var(--space-md); display: grid; gap: 6px; justify-items: center; text-align: center; }
.trust-item svg { width: 26px; height: 26px; color: var(--color-accent-strong); }
.trust-item span { font-size: var(--fs-sm); font-weight: var(--fw-medium); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; inset-inline-start: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: calc(var(--z-header) - 1); display: flex; align-items: center; gap: 8px; background: #22c15e; color: #fff; padding: 11px 18px; border-radius: var(--radius-full); box-shadow: var(--shadow-2); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.wa-float svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .wa-float { bottom: var(--space-lg); } }
.wa-float:hover { transform: translateY(-2px); transition: transform var(--dur-fast); }

/* ---------- Utilities ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md) var(--space-sm); }
@media (min-width: 720px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg) var(--space-md); } }
@media (min-width: 1020px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }
.h-scroll { display: flex; gap: var(--space-sm); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; flex: 0 0 46%; min-width: 0; }
@media (min-width: 720px) { .h-scroll > * { flex-basis: 31%; } }
@media (min-width: 1020px) { .h-scroll > * { flex-basis: 23%; } }
.muted { color: var(--color-muted); }
.small { font-size: var(--fs-sm); }
.center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); } .mt-md { margin-top: var(--space-md); } .mt-lg { margin-top: var(--space-lg); } .mt-xl { margin-top: var(--space-xl); }
.hidden { display: none !important; }

/* Announcement marquee for long text */
.announce .announce-inner { display: inline-block; }

/* Install / push banners */
.soft-banner { display: flex; align-items: center; gap: var(--space-md); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg); margin: var(--space-md) var(--gutter) 0; }
.soft-banner .btn-sm { flex-shrink: 0; }

/* ---------- Smart page loader ---------- */
.vaya-page-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(12,12,14,.96); color: #f4f2ee; opacity: 1; transition: opacity .2s ease; }
.vaya-page-loader[hidden] { display: none; }
.vaya-page-loader.is-leaving { opacity: 0; pointer-events: none; }
.vaya-page-loader-inner { display: grid; justify-items: center; gap: 14px; }
.vaya-page-loader .logo { color: #f4f2ee; font-size: 1.65rem; letter-spacing: .28em; }
.vaya-page-loader small { color: rgba(244,242,238,.65); }
.vaya-page-loader .spinner { border-color: rgba(255,255,255,.18); border-top-color: #c8a25a; }
.store-logo-img { display: block; max-width: 130px; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.ed-banner.no-media { min-height: 240px; background: linear-gradient(135deg, var(--color-surface-2), #efe9de); display: grid; align-items: center; }
.ed-banner.no-media .ed-banner-content { position: static; padding: clamp(28px, 6vw, 64px); }

/* PWA notification onboarding — mobile installed app */
.push-onboarding { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center; padding: 18px 14px calc(18px + env(safe-area-inset-bottom)); background: rgba(12,12,14,.46); backdrop-filter: blur(4px); }
.push-onboarding-card { width: min(100%, 430px); background: var(--color-surface); color: var(--color-text); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-2); display: grid; gap: 12px; animation: push-up .22s var(--ease); }
.push-bell { width: 48px; height: 48px; display:grid; place-items:center; border-radius:50%; background: var(--color-surface-2); font-size: 24px; }
.push-copy { display:grid; gap:6px; }
.push-copy strong { font-size: var(--fs-lg); }
.push-copy p { color: var(--color-muted); line-height: 1.7; margin: 0; }
@keyframes push-up { from { transform: translateY(18px); opacity:0; } }
@media (min-width: 960px) { .push-onboarding { display:none !important; } }

/* Store footer social links */
.footer-social { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
.footer-social a { color:var(--color-muted); font-size:var(--fs-sm); text-decoration:none; }
.footer-social a:hover { color:var(--color-accent-strong); text-decoration:underline; }
