/* Commerce Hub home module
   This file is the sole owner of home-page layout. Global shell CSS must not
   define home grids, rails, cards or hero geometry. */

body.store-page--home .home-flow{
  display:grid;
  min-width:0;
  gap:clamp(32px,4.5vw,64px);
  padding-bottom:clamp(20px,3vw,36px);
  overflow:clip;
  background:var(--store-canvas);
}
body.store-page--home .home-block,
body.store-page--home .home-collection,
body.store-page--home .home-card-list{min-width:0}

/* Section heading */
body.store-page--home .home-block-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:16px;
  margin:0 0 18px;
}
body.store-page--home .home-block-heading>div{min-width:0}
body.store-page--home .home-block-heading span{
  display:block;
  margin:0 0 6px;
  color:var(--store-accent);
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.store-page--home .home-block-heading h2{
  margin:0;
  color:var(--store-ink);
  font-size:clamp(24px,2.6vw,36px);
  line-height:1.05;
  letter-spacing:-.042em;
  text-wrap:balance;
}
body.store-page--home .home-block-heading p{
  max-width:68ch;
  margin:8px 0 0;
  color:var(--store-muted);
  font-size:clamp(13px,1.2vw,16px);
  line-height:1.55;
}
body.store-page--home .home-block-heading>a{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 16px;
  border:1px solid #2563eb;
  border-radius:13px;
  background:#2563eb;
  color:#fff;
  font-size:13px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  transition:transform .18s ease,opacity .18s ease;
}
body.store-page--home .home-block-heading>a:hover{transform:translateY(-1px)}
body.store-page--home .home-block-heading>a:active{transform:scale(.98)}

/* Media-only hero: campaign typography lives in the uploaded creative; HTML adds only an optional CTA. */
body.store-page--home .home-hero{
  position:relative;
  min-width:0;
}
body.store-page--home .home-hero__stage{
  position:relative;
  min-width:0;
}
body.store-page--home .home-hero__viewport{
  position:relative;
  width:100%;
  aspect-ratio:5/2;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:var(--store-surface-2);
  box-shadow:none;
  touch-action:pan-y pinch-zoom;
}
body.store-page--home .home-hero__viewport.is-swiping .home-hero__slide.is-active{
  transform:translate3d(var(--hero-swipe-x,0),0,0);
}
body.store-page--home .home-hero__slide{
  position:absolute;
  inset:0;
  min-width:0;
  overflow:hidden;
  isolation:isolate;
  transition:transform .2s ease,opacity .24s ease;
}
body.store-page--home .home-hero__slide[hidden]{display:none!important}
@keyframes homeHeroMediaIn{
  from{opacity:.45;transform:scale(1.012)}
  to{opacity:1;transform:scale(1)}
}
body.store-page--home .home-hero__slide.is-slide-entering .home-hero__media{
  animation:homeHeroMediaIn .42s cubic-bezier(.22,.72,.24,1) both;
}
body.store-page--home .home-hero__media,
body.store-page--home .home-hero__media picture,
body.store-page--home .home-responsive-media{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
}
body.store-page--home .home-hero__image,
body.store-page--home .home-hero__image img,
body.store-page--home .home-hero__image video{
  display:block;
  width:100%;
  height:100%;
  object-fit:var(--hero-media-fit,cover);
  object-position:center;
  background:var(--store-surface-2);
}
/* CTA coordinates are resolved server-side before first paint. */
body.store-page--home .home-hero__slide{--hero-cta-ready:1}
body.store-page--home .home-hero__cta-layer{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}
body.store-page--home .home-hero__cta{
  position:absolute;
  left:var(--cta-desktop-left,var(--hero-cta-x,50%));
  top:var(--cta-desktop-top,var(--hero-cta-y,84%));
  display:inline-flex;
  min-width:132px;
  min-height:46px;
  max-width:min(320px,calc(100% - 48px));
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 19px;
  border:1px solid color-mix(in srgb,var(--store-accent) 82%,#fff);
  border-radius:12px;
  background:var(--store-accent);
  color:#fff;
  font-size:13px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 10px 28px color-mix(in srgb,var(--store-accent) 28%,transparent);
  transform:translate(-50%,-50%);
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
  pointer-events:auto;
}
body.store-page--home .home-hero__cta:hover{
  box-shadow:0 14px 34px color-mix(in srgb,var(--store-accent) 34%,transparent);
  transform:translate(-50%,calc(-50% - 2px));
}
body.store-page--home .home-hero__cta:active{transform:translate(-50%,-50%) scale(.98)}
body.store-page--home .home-hero__nav{
  position:absolute;
  top:50%;
  z-index:4;
  display:grid;
  width:48px;
  height:64px;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:var(--store-ink);
  transform:translateY(-50%);
  transition:transform .18s ease,color .18s ease;
}
body.store-page--home .home-hero__nav:hover{color:var(--store-accent)}
body.store-page--home .home-hero__nav:active{transform:translateY(-50%) scale(.94)}
body.store-page--home .home-hero__nav svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
body.store-page--home .home-hero__nav--prev{left:clamp(-58px,-4vw,-34px)}
body.store-page--home .home-hero__nav--next{right:clamp(-58px,-4vw,-34px)}
body.store-page--home .home-hero__meta{
  display:grid;
  grid-template-columns:auto minmax(120px,220px) auto;
  width:max-content;
  max-width:100%;
  align-items:center;
  gap:10px;
  margin:14px auto 0;
  color:var(--store-muted);
  font-size:10px;
  font-variant-numeric:tabular-nums;
  font-weight:800;
}
body.store-page--home .home-hero__progress{
  position:relative;
  width:clamp(120px,16vw,220px);
  height:3px;
  overflow:hidden;
  border-radius:999px;
  background:var(--store-line);
}
body.store-page--home .home-hero__progress>i{
  position:absolute;
  inset:0 auto 0 0;
  width:var(--hero-progress,0%);
  border-radius:inherit;
  background:var(--store-ink);
  transition:width .24s ease;
}
body.store-page--home .home-media-placeholder{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  background:linear-gradient(135deg,#101827,#26354e);
  color:#fff;
}
body.store-page--home .home-media-placeholder svg{width:52px;height:52px;fill:none;stroke:currentColor;stroke-width:1.4}
body.store-page--home .home-media-mobile{display:none!important}

@media(max-width:1200px){
  body.store-page--home .home-hero__nav--prev{left:10px}
  body.store-page--home .home-hero__nav--next{right:10px}
  body.store-page--home .home-hero__nav{
    width:44px;
    height:52px;
    border:1px solid rgba(255,255,255,.56);
    border-radius:14px;
    background:rgba(255,255,255,.78);
    color:#111827;
    box-shadow:0 8px 24px rgba(15,23,42,.12);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
}

@media(max-width:767px){
  body.store-page--home .home-hero{
    width:100%;
    margin-inline:0;
  }
  body.store-page--home .home-hero__viewport{
    aspect-ratio:4/5;
    min-height:0;
    max-height:none;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  body.store-page--home .home-media-desktop{display:none!important}
  body.store-page--home .home-media-mobile{display:block!important}
  body.store-page--home .home-hero__nav{display:none}
  body.store-page--home .home-hero__cta{
    left:var(--cta-mobile-left,var(--hero-cta-mobile-x,50%));
    top:var(--cta-mobile-top,var(--hero-cta-mobile-y,84%));
    min-width:138px;
    min-height:44px;
    max-width:calc(100% - 32px);
    padding-inline:18px;
    border-radius:10px;
    font-size:12px;
  }
  body.store-page--home .home-hero__meta{
    position:absolute;
    bottom:12px;
    left:50%;
    z-index:5;
    grid-template-columns:auto auto;
    gap:7px;
    margin:0;
    padding:6px 9px;
    border-radius:8px;
    background:rgba(2,6,23,.72);
    color:#fff;
    transform:translateX(-50%);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  body.store-page--home .home-hero__progress{
    order:3;
    grid-column:1/-1;
    width:108px;
    height:2px;
    background:rgba(255,255,255,.42);
  }
  body.store-page--home .home-hero__progress>i{background:#fff}
  body.store-page--home .home-hero__meta>span:first-child::after{margin-left:7px;color:rgba(255,255,255,.7);content:"|"}
}

@media(max-width:380px){
  body.store-page--home .home-hero__cta{min-width:124px;padding-inline:14px;font-size:11px}
}

/* Stories and categories */
body.store-page--home .home-story-rail,
body.store-page--home .home-category-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:max-content;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:3px 2px 10px;
  scroll-snap-type:x proximity;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
}
body.store-page--home :is(.home-story-rail,.home-category-rail)::-webkit-scrollbar{display:none}
body.store-page--home .home-story-trigger{
  display:grid;
  width:94px;
  gap:7px;
  justify-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:var(--store-ink);
  scroll-snap-align:start;
}
body.store-page--home .home-story-trigger>span{
  display:grid;
  width:78px;
  height:78px;
  place-items:center;
  overflow:hidden;
  border:2px solid var(--store-accent);
  border-radius:50%;
  background:var(--store-surface);
  padding:3px;
}
body.store-page--home .home-story-trigger__image,
body.store-page--home .home-story-trigger__image img,
body.store-page--home .home-story-trigger__image video{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
}
body.store-page--home .home-story-trigger strong{
  display:-webkit-box;
  max-width:94px;
  overflow:hidden;
  font-size:12px;
  line-height:1.25;
  text-align:center;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.store-page--home .home-story-trigger small{color:var(--store-muted);font-size:10px}
body.store-page--home .home-category-card{
  display:grid;
  width:108px;
  gap:9px;
  justify-items:center;
  color:var(--store-ink);
  scroll-snap-align:start;
}
body.store-page--home .home-category-card>span{
  display:grid;
  width:92px;
  height:92px;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--store-line);
  border-radius:25px;
  background:var(--store-surface);
  box-shadow:0 8px 22px rgba(15,23,42,.06);
}
body.store-page--home .home-category-card img{width:100%;height:100%;object-fit:cover}
body.store-page--home .home-category-card svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.5}
body.store-page--home .home-category-card strong{
  display:-webkit-box;
  max-width:108px;
  overflow:hidden;
  font-size:12px;
  line-height:1.3;
  text-align:center;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

/* Story dialog */
body.store-page--home .home-story-dialog{
  width:100%;
  max-width:none;
  height:100%;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
}
body.store-page--home .home-story-dialog[open]{display:grid;place-items:center}
body.store-page--home .home-story-dialog::backdrop{background:rgba(0,0,0,.86)}
body.store-page--home .home-story-dialog__backdrop{position:fixed;inset:0;border:0;background:rgba(0,0,0,.76)}
body.store-page--home .home-story-dialog__panel{
  position:relative;
  z-index:1;
  width:min(430px,100vw);
  height:min(800px,100dvh);
  overflow:hidden;
  border-radius:24px;
  background:#080b12;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
body.store-page--home .home-story-dialog__story{position:absolute;inset:0}
body.store-page--home .home-story-dialog__story[hidden]{display:none!important}
body.store-page--home .home-story-dialog__media,
body.store-page--home .home-story-dialog__media picture{position:absolute;inset:0;display:block;width:100%;height:100%}
body.store-page--home .home-story-dialog__image,
body.store-page--home .home-story-dialog__image img,
body.store-page--home .home-story-dialog__image video{width:100%;height:100%;object-fit:cover}
body.store-page--home .home-story-dialog__story::after{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),transparent 48%,rgba(0,0,0,.82));content:""}
body.store-page--home .home-story-dialog__copy{position:absolute;right:22px;bottom:max(26px,calc(env(safe-area-inset-bottom) + 18px));left:22px;z-index:2}
body.store-page--home .home-story-dialog__copy h3{margin:0;font-size:28px;letter-spacing:-.035em}
body.store-page--home .home-story-dialog__copy p{margin:10px 0 0;color:rgba(255,255,255,.82);line-height:1.5}
body.store-page--home .home-story-dialog__copy a{display:inline-flex;min-height:44px;align-items:center;gap:8px;margin-top:16px;padding:0 16px;border-radius:12px;background:#2563eb;color:#fff;font-weight:800}
body.store-page--home .home-story-dialog__progress{position:absolute;top:max(12px,env(safe-area-inset-top));right:14px;left:14px;z-index:5;display:grid;grid-template-columns:repeat(var(--story-count,1),1fr);gap:5px}
body.store-page--home .home-story-dialog__progress i{height:3px;border-radius:999px;background:rgba(255,255,255,.34)}
body.store-page--home .home-story-dialog__progress i.is-active{background:#fff}
body.store-page--home .home-story-dialog__close{position:absolute;top:max(26px,calc(env(safe-area-inset-top) + 10px));right:14px;z-index:6;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.44);color:#fff;font-size:27px}
body.store-page--home .home-story-dialog__nav{position:absolute;top:45%;z-index:5;display:grid;width:44px;height:64px;place-items:center;border:0;background:rgba(0,0,0,.24);color:#fff;font-size:34px}
body.store-page--home .home-story-dialog__nav--prev{left:0;border-radius:0 14px 14px 0}
body.store-page--home .home-story-dialog__nav--next{right:0;border-radius:14px 0 0 14px}

/* General collections */
body.store-page--home .home-collection--grid .home-card-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
body.store-page--home .home-collection--carousel:not(.home-collection--compact-featured) .home-card-list{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(220px,27%);
  grid-template-columns:none;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 14px;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}
body.store-page--home .home-collection--carousel:not(.home-collection--compact-featured) .home-card-list::-webkit-scrollbar{display:none}
body.store-page--home .home-collection--carousel:not(.home-collection--compact-featured) .home-card-list>*{scroll-snap-align:start}
body.store-page--home .home-editorial-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--store-line);
  border-radius:20px;
  background:var(--store-surface);
  box-shadow:0 10px 28px rgba(15,23,42,.07);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body.store-page--home .home-editorial-card>a{position:relative;display:block;height:100%;color:var(--store-ink)}
body.store-page--home .home-editorial-card__media{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--store-surface-2)}
body.store-page--home .home-editorial-card__image,
body.store-page--home .home-editorial-card__image img{display:block;width:100%;height:100%;object-fit:contain}
body.store-page--home .home-editorial-card__copy{display:grid;gap:8px;padding:15px}
body.store-page--home .home-editorial-card__copy>span{color:var(--store-accent);font-size:10px;font-weight:850;text-transform:uppercase}
body.store-page--home .home-editorial-card__copy h3{display:-webkit-box;margin:0;overflow:hidden;font-size:17px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.store-page--home .home-editorial-card__copy p{display:-webkit-box;margin:0;overflow:hidden;color:var(--store-muted);font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.store-page--home .home-card-affordance{
  display:grid;
  width:30px;
  height:30px;
  flex:0 0 30px;
  place-items:center;
  border:1px solid var(--store-line);
  border-radius:999px;
  background:var(--store-surface);
  color:var(--store-ink);
  font-size:16px;
  font-style:normal;
  line-height:1;
  transition:opacity .18s ease,transform .18s ease,border-color .18s ease,background .18s ease;
}
body.store-page--home .home-editorial-card>a>.home-card-affordance{
  position:absolute;
  right:14px;
  bottom:14px;
}

/* Featured tickets, services and curated selection: exactly five cards on desktop. */
body.store-page--home .home-collection--compact-featured .home-card-list{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  overflow:visible;
  padding:0;
}
body.store-page--home .home-collection--compact-featured :is(.market-card--home-collection,.home-editorial-card){
  position:relative;
  display:grid;
  min-width:0;
  height:100%;
  overflow:hidden;
  grid-template-rows:auto minmax(0,1fr);
  border:1px solid var(--store-line);
  border-radius:18px;
  background:var(--store-surface);
  box-shadow:0 8px 24px rgba(15,23,42,.07);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body.store-page--home .home-collection--compact-featured .market-card__visual-wrap,
body.store-page--home .home-collection--compact-featured .market-card__media,
body.store-page--home .home-collection--compact-featured .home-editorial-card__media{
  width:100%;
  min-height:0;
  aspect-ratio:16/9;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#0a1220;
}
body.store-page--home .home-collection--compact-featured :is(.market-card__media img,.home-editorial-card__image,.home-editorial-card__image img){
  display:block;
  width:100%;
  height:100%;
  padding:0;
  object-fit:contain;
  object-position:center;
  background:#0a1220;
}
body.store-page--home .home-collection--compact-featured :is(.market-card__body,.home-editorial-card__copy){
  display:grid;
  min-width:0;
  min-height:164px;
  align-content:start;
  gap:8px;
  padding:13px;
}
body.store-page--home .home-collection--compact-featured .market-card__identity{display:grid;min-width:0;gap:5px}
body.store-page--home .home-collection--compact-featured .market-card__meta{font-size:10px}
body.store-page--home .home-collection--compact-featured :is(.market-card__identity h3,.home-editorial-card__copy h3){
  display:-webkit-box;
  min-height:2.5em;
  margin:0;
  overflow:hidden;
  font-size:14px;
  line-height:1.25;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.store-page--home .home-collection--compact-featured :is(.market-card__identity p,.market-card__date,.home-editorial-card__copy p){
  display:-webkit-box;
  min-height:2.8em;
  margin:0;
  overflow:hidden;
  color:var(--store-muted);
  font-size:11px;
  line-height:1.4;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.store-page--home .home-collection--compact-featured .market-card__purchase{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  align-self:end;
  margin-top:auto;
}
body.store-page--home .home-collection--compact-featured .market-card__price strong{font-size:15px}
body.store-page--home .home-collection--compact-featured .market-card__home-summary{
  display:-webkit-box;
  min-height:2.8em;
  margin:0;
  overflow:hidden;
  color:var(--store-muted);
  font-size:11px;
  line-height:1.4;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.store-page--home .home-collection--compact-featured :is(.market-card__signals,.market-card__variants){display:none}

@media(hover:hover) and (pointer:fine){
  body.store-page--home :is(.market-card--home-collection,.home-editorial-card):hover,
  body.store-page--home :is(.market-card--home-collection,.home-editorial-card):focus-within{
    transform:translateY(-3px);
    border-color:color-mix(in srgb,var(--store-ink) 24%,var(--store-line));
    box-shadow:0 16px 34px rgba(15,23,42,.11);
  }
  body.store-page--home :is(.market-card--home-collection,.home-editorial-card) .home-card-affordance{
    opacity:.56;
    transform:translateX(-2px);
  }
  body.store-page--home :is(.market-card--home-collection,.home-editorial-card):is(:hover,:focus-within) .home-card-affordance{
    opacity:1;
    transform:none;
    border-color:color-mix(in srgb,var(--store-ink) 25%,var(--store-line));
    background:color-mix(in srgb,var(--store-ink) 6%,var(--store-surface));
  }
}
@media(hover:none){
  body.store-page--home :is(.market-card--home-collection,.home-editorial-card):active{transform:scale(.985)}
}

/* Copy block */
body.store-page--home .home-copy-block>div{padding:clamp(26px,5vw,58px);border:1px solid var(--store-line);border-radius:28px;background:var(--store-surface);text-align:center}
body.store-page--home .home-copy-block h2{margin:0;font-size:clamp(26px,4vw,44px)}
body.store-page--home .home-copy-block p{max-width:720px;margin:14px auto 0;color:var(--store-muted);line-height:1.7}
body.store-page--home .home-copy-block a{margin-top:22px}

@media(max-width:1180px){
  body.store-page--home .home-collection--compact-featured .home-card-list{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.store-page--home .home-collection--grid .home-card-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:767px){
  body.store-page--home .home-flow{
    gap:28px;
    padding-bottom:16px;
    overflow:clip;
  }
  body.store-page--home .home-block-heading{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
  }
  body.store-page--home .home-block-heading h2{
    max-width:13ch;
    font-size:clamp(22px,6vw,26px);
    line-height:1.04;
    letter-spacing:-.045em;
  }
  body.store-page--home .home-block-heading p{font-size:12px}
  body.store-page--home .home-block-heading>a{
    min-height:42px;
    max-width:none;
    padding-inline:12px;
    border-radius:12px;
    font-size:10.5px;
    white-space:nowrap;
  }


  body.store-page--home :is(.home-story-rail,.home-category-rail){
    margin-inline:calc(var(--store-page-gutter,16px) * -1);
    padding-inline:var(--store-page-gutter,16px);
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:var(--store-page-gutter,16px);
  }
  body.store-page--home .home-category-card{width:94px}
  body.store-page--home .home-category-card>span{width:80px;height:80px;border-radius:22px}
  body.store-page--home .home-story-dialog__panel{width:100vw;height:100dvh;border-radius:0}

  /* Complete swipe rail: every curated card remains reachable, including
     the final card on iOS momentum scrolling and Android Chromium. */
  body.store-page--home .home-collection--compact-featured .home-card-list{
    display:grid;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:minmax(282px,86vw);
    gap:10px;
    width:auto;
    margin-inline:calc(var(--store-page-gutter,16px) * -1);
    padding:2px var(--store-page-gutter,16px) 12px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:var(--store-page-gutter,16px);
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  body.store-page--home .home-collection--compact-featured .home-card-list::-webkit-scrollbar{display:none}
  body.store-page--home .home-collection--compact-featured .home-card-list>*{
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  body.store-page--home .home-collection--compact-featured .home-card-list>*:last-child{scroll-snap-align:end}
  body.store-page--home .home-collection--compact-featured .market-card--home-collection{
    display:grid;
    grid-template-columns:clamp(124px,38%,156px) minmax(0,1fr);
    grid-template-rows:auto;
    align-items:center;
    width:100%;
    min-width:0;
    min-height:110px;
    padding-left:8px;
    border-radius:16px;
  }
  body.store-page--home .home-collection--compact-featured .market-card__visual-wrap{
    grid-column:1;
    grid-row:1;
    align-self:center;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:12px;
    background:#07111f;
  }
  body.store-page--home .home-collection--compact-featured .market-card__media{
    width:100%;
    height:100%;
    min-height:0;
    aspect-ratio:16/9;
  }
  body.store-page--home .home-collection--compact-featured .market-card__body{
    grid-column:2;
    grid-row:1;
    min-width:0;
    min-height:110px;
    gap:6px;
    padding:10px 10px 10px 12px;
  }
  body.store-page--home .home-collection--compact-featured .market-card__meta,
  body.store-page--home .home-collection--compact-featured .market-card__date{display:none}
  body.store-page--home .home-collection--compact-featured :is(.market-card__identity h3,.home-editorial-card__copy h3){
    min-height:auto;
    font-size:14px;
    line-height:1.22;
    -webkit-line-clamp:2;
  }
  body.store-page--home .home-collection--compact-featured .market-card__price strong{font-size:13px}
  body.store-page--home .home-collection--compact-featured .market-card__home-summary,
  body.store-page--home .home-collection--compact-featured .home-editorial-card__copy p{
    display:-webkit-box;
    min-height:2.6em;
    font-size:10.5px;
    line-height:1.3;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  body.store-page--home .home-collection--compact-featured .home-card-affordance{
    width:28px;
    height:28px;
    flex-basis:28px;
    font-size:14px;
  }

  body.store-page--home .home-collection--compact-featured .home-editorial-card>a{
    display:grid;
    grid-template-columns:clamp(124px,38%,156px) minmax(0,1fr);
    align-items:center;
    min-height:110px;
    padding-left:8px;
  }
  body.store-page--home .home-collection--compact-featured .home-editorial-card__media{
    grid-column:1;
    align-self:center;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16/9;
    border-radius:12px;
    background:#07111f;
  }
  body.store-page--home .home-collection--compact-featured .home-editorial-card__copy{
    grid-column:2;
    min-width:0;
    min-height:110px;
    gap:6px;
    padding:10px 10px 10px 12px;
  }

  body.store-page--home .home-collection--grid:not(.home-collection--compact-featured) .home-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.store-page--home .home-collection--carousel:not(.home-collection--compact-featured) .home-card-list{grid-auto-columns:minmax(220px,78vw)}
}

@media(max-width:370px){
  body.store-page--home .home-block-heading{grid-template-columns:1fr;align-items:start}
  body.store-page--home .home-block-heading h2{max-width:none}
  body.store-page--home .home-block-heading>a{width:max-content}
  body.store-page--home .home-collection--compact-featured .market-card--home-collection,
  body.store-page--home .home-collection--compact-featured .home-editorial-card>a{
    grid-template-columns:116px minmax(0,1fr);
  }
  body.store-page--home .home-collection--grid:not(.home-collection--compact-featured) .home-card-list{grid-template-columns:1fr}
}






/* Banner companion stories: always sit directly below the hero. */
body.store-page--home .home-hero + .home-stories{margin-top:clamp(-36px,-2.4vw,-18px)}
body.store-page--home .home-stories .home-block-heading{display:none}
body.store-page--home .home-stories .home-story-rail{
  grid-auto-flow:unset;
  grid-auto-columns:unset;
  grid-template-columns:repeat(auto-fit,minmax(86px,1fr));
  align-items:start;
  gap:clamp(12px,1.7vw,24px);
  overflow:visible;
  padding:0;
}
body.store-page--home .home-stories .home-story-trigger{
  width:100%;
  min-width:0;
}
body.store-page--home .home-stories .home-story-trigger>span{
  width:clamp(74px,7.5vw,112px);
  height:clamp(74px,7.5vw,112px);
  border-width:1px;
}
body.store-page--home .home-stories .home-story-trigger strong{max-width:120px}
@media(max-width:767px){
  body.store-page--home .home-hero + .home-stories{margin-top:-14px}
  body.store-page--home .home-stories .home-story-rail{
    grid-auto-flow:column;
    grid-auto-columns:88px;
    grid-template-columns:none;
    gap:10px;
    overflow-x:auto;
    padding:0 var(--store-page-gutter,16px) 8px;
  }
  body.store-page--home .home-stories .home-story-trigger{width:88px}
  body.store-page--home .home-stories .home-story-trigger>span{width:76px;height:76px}
  body.store-page--home .home-stories .home-story-trigger strong{max-width:88px;font-size:11px}
  body.store-page--home .home-stories .home-story-trigger small{font-size:9px}
}

/* Phase 12.05 — header/hero breathing room and compact mobile footer handoff. */
body.store-page--home .home-hero{
  margin-top:clamp(14px,1.5vw,24px);
}
@media(max-width:767px){
  body.store-page--home .home-flow{
    padding-bottom:0;
  }
  body.store-page--home .home-hero{
    margin-top:10px;
  }
  body.store-page--home .home-flow>section:last-child{
    margin-bottom:0;
  }
}
