/* ============================================================
   Glow & Bold — v3 STORE (light warm-ivory luxury)
   Apple / Nike product-first discipline, NOT a magazine.
   Replaces phoenix.css entirely. Loaded after style.css.
   Palette: ivory #F7F5F1 / white #FFFFFF / charcoal #171719 /
   champagne gold #C6A15B / dusty rose #C98791 /
   obsidian #171419 (buttons + footer ONLY).
   Motion: slow everywhere (see keyframes at the end).
   ============================================================ */

/* ---------- tokens + base overrides ---------- */
:root{
  --store-bg:#F7F5F1;
  --store-surface:#FFFFFF;
  --store-ink:#171719;
  --store-ink-soft:#57524C;
  --store-muted:#8A8178;
  --store-gold:#C6A15B;
  --store-gold-soft:#E7D9BC;
  --store-rose:#C98791;
  --store-obsidian:#171419;
  --store-line:#E9E1D4;
  --store-line-soft:#F0E9DD;
  --store-shadow:0 18px 44px rgba(23,20,25,.08);
  --store-shadow-sm:0 8px 22px rgba(23,20,25,.07);
  --store-radius:20px;
  --store-shell:min(1280px,calc(100% - 48px));
}
body.store{
  background:var(--store-bg);
  color:var(--store-ink);
  font-family:'Outfit','Jost',Arial,sans-serif;
}
/* No sideways sway, ever: the page must never scroll horizontally.
   overflow-x:clip (NOT hidden) so the sticky header keeps working —
   clip creates no scroll container, hidden would. The hidden line is
   the fallback for browsers without clip support (GPT #28). */
html,body{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip}
body.store img,body.store video,body.store svg{max-width:100%}
body.store main,body.store header,body.store footer,body.store section{min-width:0;max-width:100%}
body.store h1,body.store h2,body.store h3,body.store h4{
  font-family:'Bodoni Moda','Playfair Display',Georgia,serif;
  color:var(--store-ink);
}
body.store[dir=rtl] h1,body.store[dir=rtl] h2,body.store[dir=rtl] h3{
  font-family:'Amiri','Bodoni Moda',serif;
}
body.store ::selection{background:var(--store-gold-soft);color:var(--store-obsidian)}
body.store :focus-visible{outline:3px solid var(--store-gold);outline-offset:3px}
body.store .eyebrow{color:var(--store-gold);letter-spacing:.18em}
body.store a{color:inherit}
body.store .section{width:var(--store-shell);padding:88px 0}
body.store main{position:relative;z-index:1}
/* header stays sticky (style.css) — do NOT put .site-header in the
   relative rule above: it would silently kill the sticky header. */
body.store .site-header{position:sticky;top:0;z-index:40}
body.store .newsletter,body.store .site-footer{position:relative;z-index:1}

/* ---------- ambient background drift (48s) ---------- */
.store-ambient{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(640px 420px at 12% 18%, rgba(198,161,91,.12), transparent 62%),
    radial-gradient(720px 520px at 88% 72%, rgba(201,135,145,.10), transparent 62%),
    radial-gradient(520px 380px at 55% 95%, rgba(198,161,91,.07), transparent 60%);
  animation:store-ambient 48s ease-in-out infinite alternate;
}

/* ---------- header: simple store header ---------- */
body.store .site-header{
  background:rgba(247,245,241,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--store-line);
}
body.store .nav-shell{min-height:64px;width:min(1440px,calc(100% - 48px));gap:20px}
body.store .brandmark{display:inline-flex;align-items:center;min-height:32px;text-decoration:none}
body.store .brandmark .wordmark{font-family:'Bodoni Moda','Playfair Display',Georgia,serif;font-weight:600;font-size:28px;line-height:1.15;letter-spacing:.01em;color:var(--store-ink);white-space:nowrap}
body.store .brandmark .wordmark-amp{color:var(--store-gold)}
body.store .brandmark.light .wordmark{color:#FFF9F3}
body.store .desktop-nav{gap:clamp(8px,1.1vw,18px)}
body.store .nav-link{
  font-size:.82rem;color:var(--store-ink);font-weight:600;
  padding:22px 0;letter-spacing:.01em;
}
body.store .nav-link:after{bottom:14px;background:var(--store-gold)}
body.store .nav-link:hover{color:var(--store-gold)}
body.store .nav-tools{gap:10px}
body.store .icon-button{color:var(--store-ink)}
body.store .search-glyph{border-color:var(--store-ink)}
body.store .search-glyph:after{background:var(--store-ink)}
body.store .language-switch{border-inline-start-color:var(--store-line)}
body.store .language-switch a{color:var(--store-muted)}
body.store .language-switch a[aria-current=page]{color:var(--store-ink);border-bottom-color:var(--store-gold)}
body.store .menu-toggle span{background:var(--store-ink)}
.motion-toggle{
  display:inline-flex;align-items:center;gap:7px;
  border:1px solid var(--store-line);background:var(--store-surface);
  border-radius:999px;padding:8px 13px;min-height:38px;cursor:pointer;
  font-size:.72rem;font-weight:600;color:var(--store-ink-soft);
  transition:border-color .3s,color .3s;
}
.motion-toggle:hover{border-color:var(--store-gold);color:var(--store-ink)}
.motion-toggle .motion-glyph{font-size:.8rem;line-height:1}
.motion-toggle.is-paused{border-color:var(--store-gold);color:var(--store-gold)}

/* ---------- section scaffolding ---------- */
.store-section{width:var(--store-shell);margin:0 auto;padding:88px 0 0}
.store-section:last-child{padding-bottom:88px}
.store-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:34px}
.store-section-heading h2{margin:0;font-size:clamp(1.9rem,3.2vw,2.9rem);letter-spacing:-.02em}
.store-section-heading .eyebrow{margin-bottom:10px}
.store-section-heading p{margin:6px 0 0;color:var(--store-ink-soft);font-size:.95rem;max-width:520px}
.store-section-link{color:var(--store-ink);border-bottom:1px solid var(--store-gold);font-weight:600;white-space:nowrap}
.store-section-link:hover{color:var(--store-gold)}
.store-kicker{font-size:.72rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--store-gold);margin:0 0 10px}

/* ---------- featured product (hero carousel of the store) ---------- */
.store-feature{
  width:var(--store-shell);margin:0 auto;padding:56px 0 8px;
}
/* hero carousel: slides ride a flex track that translates left/right
   (store.js auto-advances every 6s; swipe + dots only — the arrows were
   removed by owner order 2026-11-26, round 2). One slide visible at a
   time; the track is the only moving part, contained in its viewport. */
.store-feature-viewport{overflow:hidden;position:relative;isolation:isolate}
.store-feature-track{display:flex;transition:transform 1s cubic-bezier(.22,.61,.36,1);will-change:transform}
.store-feature-slide{
  flex:0 0 100%;min-width:0;display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(28px,5vw,72px);align-items:center;
}
.store-feature-buy-slot{display:contents}
.store-feature-media{
  position:relative;overflow:hidden;border-radius:28px;background:var(--store-surface);
  aspect-ratio:4/3.4;box-shadow:var(--store-shadow);
}
.store-feature-media img{
  width:100%;height:100%;object-fit:cover;display:block;
  animation:store-feature-zoom 32s ease-in-out infinite alternate;
}
.store-feature-media::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.34) 50%,transparent 68%);
  transform:translateX(-130%);
  animation:store-sheen 16s ease-in-out infinite;
}
.store-feature-chip,.store-feature-badge{
  position:absolute;top:18px;inset-inline-start:18px;z-index:2;
  background:var(--store-obsidian);color:#fff;font-size:.7rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;padding:8px 13px;border-radius:999px;
}
.store-feature-chip b,.store-feature-badge b{color:var(--store-gold)}
.store-feature-copy .eyebrow{margin-bottom:12px}
.store-feature-copy h2{
  font-size:clamp(2.3rem,4.4vw,3.9rem);line-height:1.08;letter-spacing:-.02em;margin:0 0 12px;
}
.store-feature-proof{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.store-feature-proof .store-card-rating{color:var(--store-gold);font-weight:700;font-size:.95rem}
.store-feature-proof .store-card-sold{font-size:.85rem;color:var(--store-muted)}
.store-feature-copy .store-feature-hook{color:var(--store-ink);font-size:1.08rem;font-weight:600;line-height:1.5;max-width:520px;margin:0 0 14px}
.store-feature-meta{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.store-feature-meta .store-card-price{font-size:1.5rem;font-weight:700}
.store-feature-meta .store-card-rating{color:var(--store-gold);font-weight:700;font-size:.95rem}
.store-feature-meta .store-card-sold{font-size:.85rem;color:var(--store-muted)}
.store-feature .store-buy{width:100%;max-width:none;min-height:48px;font-size:1rem}
.store-feature-guide{display:inline-block;margin-top:18px;font-size:.85rem;color:var(--store-ink);border-bottom:1px solid var(--store-gold)}
.store-feature-guide:hover{color:var(--store-gold)}
/* carousel controls: dots ONLY, below the viewport. Owner order
   2026-11-26 (round 2): the big circle arrows are gone.
   Hidden without JS (the controls do nothing without it). */
.store-feature-nav{display:none;align-items:center;justify-content:center;gap:18px;margin-top:22px;min-height:24px}
html.js .store-feature-nav{display:flex}
.store-feature-dots{display:flex;align-items:center;gap:10px}
.store-feature-dot{
  width:9px;height:9px;padding:0;border-radius:50%;border:0;cursor:pointer;
  background:var(--store-line);transition:background .3s ease,transform .3s ease;
}
.store-feature-dot.is-active{background:var(--store-gold);transform:scale(1.25)}

/* ---------- category tiles ---------- */
.store-tiles{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
}
.store-tile{
  position:relative;display:block;overflow:hidden;border-radius:var(--store-radius);
  aspect-ratio:16/9.5;background:var(--store-surface);box-shadow:var(--store-shadow-sm);
}
.store-tile img{
  width:100%;height:100%;object-fit:cover;display:block;
  animation:store-tile-pan 35s ease-in-out infinite alternate;
}
.store-tile:nth-child(3n+2) img{animation-delay:-11s}
.store-tile:nth-child(3n+3) img{animation-delay:-23s}
.store-tile::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(23,20,25,.55),transparent 55%);
}
.store-tile span{
  position:absolute;z-index:1;bottom:16px;inset-inline-start:18px;
  color:#fff;font-family:'Bodoni Moda','Playfair Display',serif;font-size:1.35rem;font-weight:600;
}
body.store[dir=rtl] .store-tile span{font-family:'Amiri',serif}
.store-tile small{
  display:block;font-family:'Outfit','Jost',sans-serif;font-size:.72rem;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:var(--store-gold-soft);margin-top:3px;
}
.store-tile:hover img{transform:scale(1.06)}
.store-tile img{transition:transform .8s ease}

/* ---------- product grid + card (the most important component) ---------- */
.store-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 22px;
}
.store-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.store-card{
  background:var(--store-surface);border:1px solid var(--store-line-soft);
  border-radius:var(--store-radius);overflow:hidden;display:flex;flex-direction:column;
  box-shadow:var(--store-shadow-sm);
  transition:transform .8s ease,box-shadow .8s ease;
}
.store-card:hover{transform:translateY(-6px);box-shadow:var(--store-shadow)}
.store-card-media{
  position:relative;overflow:hidden;aspect-ratio:4/3.2;background:#F3EEE5;
}
.store-card-media img{
  width:100%;height:100%;object-fit:cover;display:block;
  animation:store-card-zoom 28s ease-in-out infinite alternate;
}
.store-card:nth-child(4n+2) .store-card-media img{animation-delay:-9s}
.store-card:nth-child(4n+3) .store-card-media img{animation-delay:-17s}
.store-card:nth-child(4n+4) .store-card-media img{animation-delay:-24s}
.store-card:hover .store-card-media img{transform:scale(1.06)}
.store-card-media img{transition:transform .8s ease}
.store-card-today{
  position:absolute;top:12px;inset-inline-start:12px;z-index:2;
  background:var(--store-gold);color:#fff;font-size:.66rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;padding:6px 10px;border-radius:999px;
}
.store-card-body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1;gap:0}
.store-card-body h3{
  font-family:'Outfit','Jost',sans-serif;font-size:1.02rem;font-weight:600;
  line-height:1.35;margin:0 0 6px;color:var(--store-ink);letter-spacing:0;
}
body.store[dir=rtl] .store-card-body h3{font-family:'Outfit','Jost',sans-serif}
.store-card-hook{
  font-size:.86rem;color:var(--store-ink);font-weight:600;line-height:1.45;margin:0 0 10px;
}
.store-card-meta{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.store-card-price{font-size:1.12rem;font-weight:700;color:var(--store-ink)}
.store-card-rating{color:var(--store-gold);font-weight:700;font-size:.88rem}
.store-card-sold{font-size:.78rem;color:var(--store-muted)}
/* MANDATORY buy action: exact label, full width, visible without hover.
   Slim single-line pill (owner feedback #2): the label never wraps —
   white-space:nowrap, compact padding, smaller type on narrow cards. */
.store-buy{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:46px;margin-top:auto;padding:12px 18px;
  background:linear-gradient(135deg,#262029 0%,#171419 55%,#0E0C0F 100%);
  color:#FDF8EF !important;
  border:1px solid var(--store-gold);border-radius:999px;
  font-family:'Amiri','Bodoni Moda',serif;font-size:1rem;font-weight:700;letter-spacing:.02em;text-align:center;white-space:nowrap;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(23,20,25,.24),inset 0 1px 0 rgba(255,255,255,.09);
  transition:transform .3s ease,box-shadow .3s ease;
}
.store-buy:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(23,20,25,.32),inset 0 1px 0 rgba(255,255,255,.09)}
.store-buy::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 30%,rgba(198,161,91,.55) 50%,transparent 70%);
  transform:translateX(-130%);
  animation:store-buy-sweep 8s ease-in-out infinite;
}
.store-buy .store-buy-arrow{color:var(--store-gold);font-weight:700}

/* ---------- product rail (seamless slow drift, 65s) ---------- */
.store-rail{overflow:hidden;border-radius:var(--store-radius);position:relative;contain:layout paint}
.store-rail::before,.store-rail::after{
  content:"";position:absolute;top:0;bottom:0;width:56px;z-index:2;pointer-events:none;
}
.store-rail::before{inset-inline-start:0;background:linear-gradient(to right,var(--store-bg),transparent)}
.store-rail::after{inset-inline-end:0;background:linear-gradient(to left,var(--store-bg),transparent)}
.store-rail-track{
  display:flex;gap:0;width:max-content;will-change:transform;
  animation:store-rail 65s linear infinite;
}
.store-rail .store-card{margin-inline-end:22px}
.store-rail:hover .store-rail-track{animation-play-state:paused}
.store-rail .store-card{width:300px;flex:0 0 auto}
.store-rail .store-card-media{aspect-ratio:4/3}

/* ---------- article "finds" row: store cards in a horizontal scroll lane ---------- */
.hscroll.store-card-row{display:flex;gap:22px;overflow-x:auto;padding:6px 2px 18px;scroll-snap-type:x mandatory}
.hscroll.store-card-row .store-card{flex:0 0 300px;scroll-snap-align:start}
.hscroll.store-card-row .store-card-media{aspect-ratio:4/3.2}
/* Article mobile width: the finds hscroll must never force the article grid
   wider than the viewport (same pre-existing live bug v2 fixed: article
   pages rendered 594px wide on mobile). The grid track + body + finds
   block must all be allowed to shrink below content size. */
body.store .store-finds{min-width:0;width:100%}
body.store .hscroll.store-card-row{max-width:100%}
@media (max-width:900px){
  body.store .article-layout{grid-template-columns:minmax(0,1fr)}
  body.store .article-body{min-width:0;margin-inline:0;max-width:none}
}

/* Story cards inside hscroll lanes must keep their width, never squeeze
   (base style.css covers .hscroll.related-grid / .category-article-grid
   only — the v3 latest-guides + category-guides lanes use new classes). */
.hscroll.latest-grid .story-card,
.hscroll.category-grid .story-card{flex:0 0 min(78vw,330px);scroll-snap-align:start}
@media (max-width:640px){
  .hscroll.latest-grid .story-card,
  .hscroll.category-grid .story-card{flex-basis:78vw}
}

/* ---------- curated collections ---------- */
.store-collection{margin-bottom:44px}
.store-collection:last-child{margin-bottom:0}
.store-collection-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:20px}
.store-collection-head h3{font-size:1.55rem;margin:0}
.store-collection-head p{margin:0;color:var(--store-muted);font-size:.88rem}
.store-collection-title{font-size:1.55rem;margin:44px 0 20px}
.store-collection-title:first-of-type{margin-top:0}

/* ---------- luxury trend gallery (GPT #28, round 2): 6 large editorial cards ---------- */
.store-trend-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.store-trend-gallery .store-card-media{aspect-ratio:4/5}
.store-trend-gallery .store-card-body h3{font-size:1.08rem}
.store-trend-gallery .store-card-price{font-size:1.3rem}
.store-trend-gallery .store-card{box-shadow:var(--store-shadow)}

/* ---------- story cards (guides) — supporting, not the main event ---------- */
body.store .story-card{background:var(--store-surface);border:1px solid var(--store-line-soft);border-radius:var(--store-radius);overflow:hidden}
body.store .story-card:hover{transform:translateY(-4px)}
body.store .card-photo{border-radius:0}
body.store .card-photo img{animation:store-card-zoom 32s ease-in-out infinite alternate}
body.store .card-copy{padding:16px 18px 18px}
body.store .card-copy h3{font-size:1.22rem}
body.store .card-deck{color:var(--store-ink-soft)}
body.store .section-heading{border-bottom-color:var(--store-line)}
body.store .section-heading h2{font-size:clamp(1.9rem,3.2vw,2.9rem)}
body.store .text-link{color:var(--store-ink);border-bottom-color:var(--store-gold)}
body.store .text-link:hover{color:var(--store-gold)}
body.store .affiliate-note{color:var(--store-muted)}

/* ---------- category pages ---------- */
.store-cat-head{width:var(--store-shell);margin:0 auto;padding:52px 0 8px}
.store-cat-head h1{font-size:clamp(2.2rem,4.2vw,3.6rem);margin:0 0 10px;letter-spacing:-.02em}
.store-cat-head p{color:var(--store-ink-soft);font-size:1.02rem;max-width:640px;margin:0}
.store-cat-head .store-cat-count{margin-top:14px;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--store-gold)}
.store-cat-products{width:var(--store-shell);margin:0 auto;padding:34px 0 0}
.store-cat-guides{width:var(--store-shell);margin:0 auto;padding:64px 0 0}
.store-cat-guides .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ---------- trend page ---------- */
.store-hero-compact{width:var(--store-shell);margin:0 auto;padding:52px 0 8px}
.store-hero-compact h1{font-size:clamp(2.2rem,4.2vw,3.6rem);margin:0 0 10px;letter-spacing:-.02em}
.store-hero-compact .lead{color:var(--store-ink-soft);font-size:1.02rem;max-width:640px}
.store-trend-today{margin-bottom:34px}
.store-grid-trend{grid-template-columns:repeat(4,minmax(0,1fr))}
.store-rail-section{overflow:hidden}
.store-related-products{margin-top:8px}
.store-finds{margin:0}

/* ---------- article pages: consistent image treatment ---------- */
body.store .article-header h1{color:var(--store-ink)}
body.store .article-header .eyebrow{color:var(--store-gold)}
body.store .article-hero-media{overflow:hidden;border-radius:24px}
body.store .article-hero-media>img{animation:store-article-zoom 35s ease-in-out infinite alternate}
body.store .article-body a{color:var(--store-ink);text-decoration-color:var(--store-gold)}
body.store .article-body blockquote{border-inline-start-color:var(--store-gold);color:var(--store-ink)}
body.store .article-body blockquote{font-family:'Bodoni Moda',serif}
body.store .pin-button{background:var(--store-surface);border-color:var(--store-gold);color:var(--store-ink)}
body.store .sidebar-note{background:#F3EEE5;color:var(--store-ink-soft)}
body.store .sidebar-link{color:var(--store-ink);border-bottom-color:var(--store-gold)}
body.store .author-box{border-block-color:var(--store-line)}
body.store .author-monogram{border-color:var(--store-gold);color:var(--store-gold)}
body.store .pin-feature{background:var(--store-surface);border:1px solid var(--store-line-soft);border-radius:var(--store-radius)}
body.store .recipe-card{border-color:var(--store-gold);background:var(--store-surface)}
body.store .recipe-card-top{background:#F7F1E6;border-bottom-color:var(--store-gold)}
body.store .recipe-facts div{background:#F7F1E6}
body.store .recipe-facts dd{color:var(--store-ink)}
body.store .filter-chip{border-color:var(--store-line);color:var(--store-ink)}
body.store .filter-chip:hover,body.store .filter-chip.is-active{background:var(--store-obsidian);border-color:var(--store-obsidian);color:#fff}
body.store .related-category-link{border-color:var(--store-line);color:var(--store-ink)}
body.store .related-category-link:hover{border-color:var(--store-gold);color:var(--store-gold)}
body.store .breadcrumbs a{color:var(--store-gold)}

/* ---------- about / contact / legal ---------- */
body.store .simple-hero h1{color:var(--store-ink)}
body.store .prose-page a{color:var(--store-ink)}
body.store .contact-form input,body.store .contact-form textarea,body.store .newsletter-form input{
  background:var(--store-surface);border-color:var(--store-line);color:var(--store-ink);
}
body.store .newsletter{background:#FBF6EC}
body.store .newsletter h2{color:var(--store-ink)}
body.store .newsletter-form label,body.store .contact-form label{color:var(--store-ink)}
body.store .button-gold{background:var(--store-obsidian);color:#fff}
body.store .button-gold:hover{background:#2A252B}
body.store .button-outline{border-color:var(--store-ink);color:var(--store-ink)}
body.store .button-outline:hover{background:var(--store-ink);color:var(--store-bg)}

/* ---------- footer: obsidian, ambient drift ---------- */
body.store .site-footer{
  background:var(--store-obsidian);color:#EFE9DF;overflow:hidden;
}
body.store .site-footer::before{
  content:"";position:absolute;inset:-40% -20%;pointer-events:none;
  background:
    radial-gradient(520px 320px at 20% 30%, rgba(198,161,91,.14), transparent 62%),
    radial-gradient(620px 380px at 82% 75%, rgba(201,135,145,.10), transparent 62%);
  animation:store-footer-drift 45s ease-in-out infinite alternate;
}
body.store .site-footer .footer-main,body.store .site-footer .footer-disclosure,body.store .site-footer .footer-bottom{position:relative;z-index:1}
body.store .footer-main h2{color:var(--store-gold)}
body.store .footer-main li a{color:#E7DDD2}
body.store .footer-main li a:hover{color:var(--store-gold)}
body.store .footer-brand p:last-child{color:#C9BFB2}
body.store .footer-disclosure{border-top-color:rgba(198,161,91,.45);border-bottom-color:rgba(198,161,91,.45);color:#D9CEC3}
body.store .footer-bottom{color:#B8ADA2}
body.store .back-to-top{background:var(--store-obsidian);color:#fff;border:1px solid var(--store-gold)}
/* discreet in-site way into the visitor-stats page (owner order
   2026-11-26): a very small muted "Admin" link in the footer-bottom,
   same quiet tone as the surrounding text. The link alone grants no
   access — the admin page itself is password-gated. */
body.store .footer-bottom .footer-admin{color:#B8ADA2;text-decoration:none}
body.store .footer-bottom .footer-admin:hover{color:var(--store-gold)}

/* ---------- search dialog ---------- */
body.store .search-dialog{background:rgba(23,20,25,.55)}
body.store .search-surface{background:var(--store-bg)}
body.store .search-surface h2{color:var(--store-ink)}
body.store .search-result strong{color:var(--store-ink)}

/* ---------- reveal system (JS-gated: no-JS keeps content visible) ---------- */
html.js .store-reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity 1.2s ease,transform 1.2s ease;
  transition-delay:var(--reveal-delay,0s);
}
html.js .store-reveal.is-visible{opacity:1;transform:none}

/* ============================================================
   MOTION — slow everywhere. Transforms + opacity only.
   Timings per GPT #24. Phase offsets break unison.
   ============================================================ */
@keyframes store-ambient{
  /* GPT #28: NO horizontal drift on the ambient layer — slow light only
     (opacity breathing). The old background-position drift is gone. */
  from{opacity:.72}
  to{opacity:1}
}
@keyframes store-feature-zoom{
  from{transform:scale(1)}
  to{transform:scale(1.09)}
}
@keyframes store-sheen{
  0%{transform:translateX(-130%)}
  55%{transform:translateX(130%)}
  100%{transform:translateX(130%)}
}
@keyframes store-card-zoom{
  from{transform:scale(1)}
  to{transform:scale(1.07)}
}
@keyframes store-tile-pan{
  from{transform:scale(1.02) translateX(0)}
  to{transform:scale(1.1) translateX(-2.5%)}
}
@keyframes store-rail{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@keyframes store-buy-sweep{
  0%{transform:translateX(-130%)}
  60%{transform:translateX(130%)}
  100%{transform:translateX(130%)}
}
@keyframes store-article-zoom{
  from{transform:scale(1)}
  to{transform:scale(1.06)}
}
@keyframes store-footer-drift{
  /* GPT #28: NO horizontal drift on the footer — slow light only. */
  from{opacity:.75}
  to{opacity:1}
}
/* RTL: rails drift the other way so motion reads naturally */
[dir=rtl] .store-rail-track{animation-name:store-rail-rtl}
@keyframes store-rail-rtl{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}

/* ---------- paused / reduced motion: everything still, content visible ---------- */
html.store-motion-paused .store-ambient,
html.store-motion-paused .store-feature-media img,
html.store-motion-paused .store-feature-media::after,
html.store-motion-paused .store-card-media img,
html.store-motion-paused .store-tile img,
html.store-motion-paused .store-rail-track,
html.store-motion-paused .store-buy::after,
html.store-motion-paused .article-hero-media>img,
html.store-motion-paused .site-footer::before,
html.store-motion-paused .card-photo img{
  animation-play-state:paused !important;
}
html.store-motion-paused .store-reveal{opacity:1 !important;transform:none !important;transition:none}
html.store-motion-paused .store-feature-track{transition:none}
@media (prefers-reduced-motion:reduce){
  .store-ambient,.store-feature-media img,.store-feature-media::after,
  .store-card-media img,.store-tile img,.store-rail-track,.store-buy::after,
  .article-hero-media>img,.site-footer::before,.card-photo img{
    animation:none !important;
  }
  html.js .store-reveal{opacity:1;transform:none;transition:none}
  .store-feature-track{transition:none}
}

/* ---------- movie rows (ROUND 3, 2026-11-26): horizontal rows of tall
   poster-like cards (2:3) that MOVE left/right — swipe / drag / small
   arrows, exactly like the movie app in the owner's screenshot. The row
   scrolls inside its own viewport (hscroll: overflow-x:auto + drag in
   main.js); the PAGE never moves sideways — the round-2 sway fix
   (overflow-x:clip on html/body) still holds, scrollWidth === clientWidth
   at every width. The trend gallery stays a grid — movie rows are for
   the lists/rows only. ---------- */
.hscroll.store-movie-row{gap:18px;scroll-snap-type:x proximity}
.store-movie-row .store-card{
  flex:0 0 212px;scroll-snap-align:start;
}
.store-movie-row .store-card-media{aspect-ratio:2/3}
.store-movie-row .store-card-body h3{font-size:.95rem}
/* Desktop only: the movie-row buy button is a touch larger (.85rem) —
   on mobile it MUST stay at the base .74rem, or the Arabic label clips
   by ~6px in the 172px poster cards (round-3 QA, 2026-11-26). */
@media (min-width:641px){
  .store-movie-row .store-buy{font-size:.85rem;padding:10px 8px;min-height:44px}
}
.store-movie-row .store-buy .store-buy-arrow{display:none}
.store-movie-row .store-tile{
  flex:0 0 220px;aspect-ratio:2/3;scroll-snap-align:start;
}
.store-movie-row .store-tile span{font-size:1.2rem}
.store-movie-row .store-tile img{animation-duration:40s}
/* row arrows stay SMALL and subtle (the owner removed only the big hero
   carousel arrows): 36px circles, slightly transparent. */
.hscroll-wrap:has(.store-movie-row) .hscroll-arrow{width:36px;height:36px;font-size:1.15rem;opacity:.88}

/* ---------- product page (ROUND 3): one product, big and dominant ---------- */
.store-product{width:var(--store-shell);margin:0 auto;padding:44px 0 88px}
.store-product-crumb{font-size:.82rem;color:var(--store-muted);margin:0 0 28px}
.store-product-crumb a{color:var(--store-gold);font-weight:600}
.store-product-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,72px);align-items:start}
.store-product-media{
  position:relative;overflow:hidden;border-radius:28px;background:var(--store-surface);
  aspect-ratio:4/4.2;box-shadow:var(--store-shadow);
}
.store-product-media img{
  width:100%;height:100%;object-fit:cover;display:block;
  animation:store-feature-zoom 32s ease-in-out infinite alternate;
}
.store-product-copy .eyebrow{margin-bottom:12px}
.store-product-copy h1{font-size:clamp(2rem,3.6vw,3.2rem);line-height:1.1;letter-spacing:-.02em;margin:0 0 12px}
.store-product-hook{font-size:1.15rem;font-weight:600;line-height:1.5;margin:0 0 16px}
.store-product-meta{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 24px}
.store-product-price{font-size:1.7rem;font-weight:700;color:var(--store-ink)}
.store-product-rating{color:var(--store-gold);font-weight:700;font-size:1rem}
.store-product-sold{font-size:.9rem;color:var(--store-muted)}
.store-product .store-buy{min-height:52px;font-size:1.05rem;max-width:520px}
.store-product-note{font-size:.82rem;color:var(--store-muted);margin:16px 0 0;max-width:520px;line-height:1.55}
.store-product .store-feature-guide{margin-top:22px}
.store-product-links{margin-top:26px;display:flex;gap:22px;flex-wrap:wrap}
.store-product-links a{border-bottom:1px solid var(--store-gold);font-weight:600;font-size:.9rem}
.store-product-links a:hover{color:var(--store-gold)}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  body.store .desktop-nav{display:none}
  body.store .menu-toggle{display:block}
  body.store .mobile-nav:not([hidden]){display:grid}
  body.store .mobile-nav{background:var(--store-bg);border-bottom:1px solid var(--store-line)}
  body.store .mobile-nav a{color:var(--store-ink)}
  .store-grid,.store-grid-trend{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
  .store-feature{padding-top:36px}
  .store-feature-slide{grid-template-columns:1fr}
  .store-feature-media{aspect-ratio:4/3}
  .store-product-layout{grid-template-columns:1fr}
  .store-product-media{aspect-ratio:4/3.4}
  .store-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-grid,.store-grid-trend{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-cat-guides .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.store .section,body.store .store-section{padding:56px 0}
  body.store .store-section{padding:56px 0 0}
  body.store .store-section:last-child{padding-bottom:56px}
}
@media (max-width:640px){
  :root{--store-shell:calc(100% - 32px)}
  /* Mobile header must fit 390px with slack (round-2 fix): the old sizes
     needed 373px inside a 342px shell, so the tools overflowed the page
     and the search icon was cut off in RTL. */
  body.store .brandmark .wordmark{font-size:20px}
  body.store .nav-shell{min-height:64px;gap:8px}
  body.store .nav-tools{gap:6px}
  body.store .icon-button,body.store .menu-toggle{min-width:38px;min-height:38px;padding:7px}
  body.store .language-switch{gap:1px;padding-inline-start:5px}
  body.store .language-switch a{font-size:.6rem;padding:4px 2px}
  .motion-toggle .motion-label{display:none}
  .motion-toggle{padding:7px 8px;min-height:38px}
  .store-tiles{grid-template-columns:1fr 1fr;gap:12px}
  .store-tile span{font-size:1rem;bottom:10px;inset-inline-start:12px}
  .store-grid,.store-grid-trend,.store-trend-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
  .store-card-body{padding:11px 11px 12px}
  .store-card-body h3{font-size:.92rem}
  .store-card-hook{font-size:.8rem}
  .store-card-price{font-size:1rem}
  /* slim single-line buy button on mobile cards: label never wraps,
     arrow hidden on narrow cards to leave room for the words.
     Font .74rem leaves real slack vs the 131px label even in wide
     Arabic fonts (Amiri) — measured 131px at .78rem in the sandbox
     fallback, exactly at the limit. */
  .store-buy{min-height:38px;font-size:.74rem;padding:9px 6px;gap:6px}
  .store-card .store-buy .store-buy-arrow{display:none}
  .store-feature .store-buy{min-height:48px;font-size:.95rem}
  .store-rail .store-card{width:240px}
  /* movie rows on mobile: ~2 poster cards visible, arrows smaller still */
  .store-movie-row .store-card{flex-basis:172px}
  .store-movie-row .store-tile{flex-basis:180px}
  .hscroll-wrap:has(.store-movie-row) .hscroll-arrow{width:32px;height:32px;font-size:1rem}
  .store-product{padding-top:28px}
  .store-product .store-buy{min-height:48px;font-size:.95rem}
  /* FIX (round 3, 2026-11-26): this was .store-section-head (a typo —
     no such class exists), so the rule never applied and the base
     style.css mobile rule (column) combined with the store heading's
     align-items:flex-end to RIGHT-align every section heading on
     mobile. With the correct class the headings stack left-aligned. */
  .store-section-heading{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:22px}
  /* mobile: fewer simultaneous animated layers, motion stays */
  .store-ambient,.site-footer::before{display:none}
  .store-feature-media img{animation-duration:36s}
  .store-rail-track{animation-duration:75s}
  body.store .site-footer{padding:40px 22px 18px}
}
/* very small phones (<=400px): squeeze the header a little more so the
   tools never overflow the shell */
@media (max-width:400px){
  body.store .brandmark .wordmark{font-size:18px}
  body.store .nav-shell{gap:6px}
  body.store .nav-tools{gap:4px}
  body.store .icon-button,body.store .menu-toggle{min-width:36px;min-height:36px;padding:6px}
  .motion-toggle{padding:6px 7px;min-height:36px}
}
/* GPT #28 sway test: at 320px the header row needs ~300px but the shell
   is only 272px — the menu button's right 4px were cut at the viewport
   edge (clipped by body overflow-x, not scrollable, but visibly cut).
   Extra squeeze at <=360px so the whole header fits inside the shell. */
@media (max-width:360px){
  body.store .brandmark .wordmark{font-size:16px}
  body.store .nav-shell{gap:4px}
  body.store .nav-tools{gap:3px}
  body.store .icon-button,body.store .menu-toggle{min-width:32px;min-height:32px;padding:5px}
  body.store .language-switch a{padding:3px 1px}
  .motion-toggle{padding:5px 6px;min-height:32px}
  /* very small phones: one column, so the buy label (124px at .74rem)
     never clips inside a 139px two-column card (round-3 QA). */
  .store-grid,.store-grid-trend,.store-trend-gallery-grid{grid-template-columns:1fr}
}
