/* Five expressions of the existing merchant Mood system; persistent ids stay stable. */
#app .store-shell[class*="store-layout-"] { --store-paper:var(--shop-paper,var(--surface)); --store-ink:var(--mood-text,var(--text)); --store-tint:var(--mood-background,var(--bg)); --store-rule:color-mix(in srgb,var(--store-ink) 16%,transparent); background:var(--store-paper)!important; }
#app .store-shell[class*="store-layout-"] .store-header { border-color:var(--store-rule); }
#app .store-shell[class*="store-layout-"] .store-header-actions { margin-inline-start:auto; }
#app .store-shell[class*="store-layout-"] .store-main { max-width:1328px; padding:32px 32px 72px; }
#app .store-shell[class*="store-layout-"] .store-hero { min-height:400px; border:0!important; padding:48px; }
#app .store-shell[class*="store-layout-"] .store-hero h1 { font-size:clamp(40px,5.4vw,72px); font-weight:700; letter-spacing:-.035em; line-height:1.16; }
#app .store-shell[class*="store-layout-"] .store-hero p { font-size:16px; line-height:1.8; }
#app .store-shell[class*="store-layout-"] .store-hero-content { max-width:48ch; }
#app .store-shell[class*="store-layout-"] .store-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:28px; }
#app .store-shell[class*="store-layout-"] .store-hero-actions .btn { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:48px; padding:12px 20px; }
#app .store-shell[class*="store-layout-"] .store-hero-actions > span { font-size:12px; }
#app .store-shell[class*="store-layout-"] .store-hero.has-cover .store-hero-actions > span { color:#fff; }
#app .store-shell[class*="store-layout-"] .store-content { display:block; margin-top:52px; }
#app .store-shell[class*="store-layout-"] .store-catalog { scroll-margin-top:108px; }
#app .store-shell[class*="store-layout-"] .store-catalog > .section-head h2 { font-size:30px; line-height:1.4; }
#app .store-shell[class*="store-layout-"] .store-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-top:24px; }
#app .store-shell[class*="store-layout-"] .store-product { border:0; border-radius:0!important; overflow:visible; background:transparent!important; }
#app .store-shell[class*="store-layout-"] .store-product-image { border-radius:12px; background:var(--store-tint)!important; }
#app .store-shell[class*="store-layout-"] .store-product-body { padding:18px 0 0; border:0; background:transparent!important; }
#app .store-shell[class*="store-layout-"] .store-product-body h3 { font-size:21px; line-height:1.45; margin:6px 0 10px; }
#app .store-shell[class*="store-layout-"] .store-category { font-size:12px; }
#app .store-shell[class*="store-layout-"] .store-product-body p { font-size:14px; margin-bottom:22px; }
#app .store-shell[class*="store-layout-"] .store-product-bottom { justify-content:space-between; align-items:center; gap:12px; }
#app .store-shell[class*="store-layout-"] .store-product-bottom .btn { width:auto; min-width:112px; padding-inline:18px; border-radius:8px; }
#app .store-shell[class*="store-layout-"] .store-product[hidden] { display:none!important; }
#app .store-shell[class*="store-layout-"] .store-cart { position:relative; top:auto; display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); column-gap:40px; max-width:none; margin:64px 0 0; padding:32px; border:1px solid var(--store-rule); background:var(--store-tint)!important; }
#app .store-shell[class*="store-layout-"] .store-cart > .section-head { grid-column:1; grid-row:1; align-self:start; }
#app .store-shell[class*="store-layout-"] .store-cart > .cart-list { grid-column:1; grid-row:2; align-self:start; }
#app .store-shell[class*="store-layout-"] .store-cart > .cart-summary { grid-column:1; grid-row:3; align-self:start; border-color:var(--store-rule); }
#app .store-shell[class*="store-layout-"] .store-cart > .store-checkout-form { grid-column:2; grid-row:1/4; border-left:1px solid var(--store-rule); padding-left:40px; }
#app .store-shell[class*="store-layout-"] .store-checkout-form h3 { margin:0 0 16px; }
#app .store-shell[class*="store-layout-"] .store-cart .section-head h2 { font-size:24px; }
#app .store-shell[class*="store-layout-"] .cart-row strong { white-space:normal; overflow-wrap:anywhere; }
#app .store-shell[class*="store-layout-"] .store-info-panel { background:transparent; border:0; border-top:1px solid var(--store-rule); padding:28px 0 0; }
.store-browse-tools { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; margin:24px 0; }
#app .store-shell[class*="store-layout-"] .store-search { display:flex; align-items:center; gap:10px; flex:0 1 290px; min-width:0; min-height:46px; padding:0 14px; border:1px solid var(--store-rule); border-radius:8px; background:var(--store-paper); }
#app .store-shell[class*="store-layout-"] .store-search input { flex:1; width:100%; height:44px; min-height:44px; margin:0; padding:8px 0; border:0!important; background:transparent!important; box-shadow:none; font-size:14px; }
.store-search:focus-within { outline:2px solid var(--store-ink); outline-offset:2px; }
.store-category-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.store-category-tabs button { min-height:44px; padding:9px 17px; color:var(--store-ink); background:transparent; border:1px solid var(--store-rule); border-radius:999px; font:inherit; font-size:13px; cursor:pointer; }
.store-category-tabs button[aria-pressed="true"] { background:var(--store-ink); border-color:var(--store-ink); color:var(--store-paper); }
.store-category-tabs button:hover { border-color:var(--store-ink); }
.store-category-tabs button:focus-visible { outline:3px solid var(--primary); outline-offset:3px; }
.store-search-status { flex-basis:100%; margin:0; font-size:13px; }
.store-search-status:empty { display:none; }

/* STUDIO — showroom split and a three-across merchandise shelf. */
#app .store-shell[data-mood].store-layout-classic .store-hero { border-radius:12px; background:var(--store-tint)!important; }
#app .store-shell.store-layout-classic .store-hero.has-cover .store-hero-cover { inset:0 0 0 auto; width:49%; border-radius:0 12px 12px 0; object-position:center; }
#app .store-shell.store-layout-classic .store-hero.has-cover { min-height:400px; }
#app .store-shell.store-layout-classic .store-hero.has-cover::after { display:none; }
#app .store-shell.store-layout-classic .store-hero.has-cover .store-hero-content { width:45%; }
#app .store-shell.store-layout-classic .store-hero.has-cover :is(h1,p,.store-hero-actions > span) { color:var(--store-ink)!important; }

/* ATELIER — immersive opening and staggered portrait gallery. */
#app .store-shell.store-layout-boutique .store-main { padding-top:0; }
#app .store-shell.store-layout-boutique .store-hero { min-height:540px; align-items:flex-end; justify-content:center; border-radius:0; text-align:center; }
#app .store-shell.store-layout-boutique .store-hero-content { max-width:65ch; }
#app .store-shell.store-layout-boutique .store-hero.has-cover { min-height:540px; }
#app .store-shell.store-layout-boutique .store-hero h1 { font-size:clamp(44px,6vw,80px); font-weight:500; }
#app .store-shell.store-layout-boutique .store-hero p { margin-inline:auto; }
#app .store-shell.store-layout-boutique .store-hero-actions { justify-content:center; }
#app .store-shell.store-layout-boutique .store-hero.has-cover::after { background:linear-gradient(0deg,rgba(12,15,18,.88),rgba(12,15,18,.10)); }
#app .store-shell.store-layout-boutique .store-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:56px; row-gap:48px; padding-inline:48px; }
#app .store-shell.store-layout-boutique .store-product:nth-child(even) { margin-top:88px; }
#app .store-shell.store-layout-boutique .store-product-image { aspect-ratio:4/5; border-radius:0; }
#app .store-shell.store-layout-boutique .store-product-body { padding:22px 0 0; }
#app .store-shell.store-layout-boutique .store-product-body h3 { font-size:25px; font-weight:500; }

/* JOURNAL — oversized type and an editorial lead item. */
#app .store-shell[data-mood].store-layout-editorial .store-hero { min-height:420px; padding:32px 0 40px; border-radius:0; background:transparent!important; }
#app .store-shell.store-layout-editorial .store-hero.has-cover .store-hero-cover { inset:24px 0 24px auto; width:42%; height:calc(100% - 48px); border-radius:0; }
#app .store-shell.store-layout-editorial .store-hero.has-cover::after { display:none; }
#app .store-shell.store-layout-editorial .store-hero-content { width:52%; max-width:none; }
#app .store-shell.store-layout-editorial .store-hero h1 { font-size:clamp(48px,7vw,96px); line-height:1.06; }
#app .store-shell.store-layout-editorial .store-hero.has-cover :is(h1,p,.store-hero-actions > span) { color:var(--store-ink)!important; }
#app .store-shell.store-layout-editorial .store-catalog > .section-head { padding-block:20px; border-block:1px solid var(--store-rule); }
#app .store-shell.store-layout-editorial .store-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }
#app .store-shell.store-layout-editorial .store-product:first-child { grid-template-columns:1.3fr 1fr; gap:40px; padding-bottom:32px; border-bottom:1px solid var(--store-rule); }
#app .store-shell.store-layout-editorial .store-product:first-child .store-product-body { padding:24px 0; }
#app .store-shell.store-layout-editorial .store-product:first-child h3 { font-size:38px; }
#app .store-shell.store-layout-editorial .store-product-image { border-radius:0; aspect-ratio:4/3; }

/* MARKET — compact introduction and dense searchable product shelves. */
#app .store-shell[data-mood].store-layout-catalog .store-hero { min-height:200px; padding:28px 36px; border-radius:12px; background:var(--store-tint)!important; }
#app .store-shell.store-layout-catalog .store-hero.has-cover .store-hero-cover { inset:16px 16px 16px auto; width:25%; height:calc(100% - 32px); border-radius:8px; }
#app .store-shell.store-layout-catalog .store-hero.has-cover::after { display:none; }
#app .store-shell.store-layout-catalog .store-hero-content { max-width:none; width:68%; }
#app .store-shell.store-layout-catalog .store-hero h1 { font-size:38px; }
#app .store-shell.store-layout-catalog .store-hero.has-cover :is(h1,p,.store-hero-actions > span) { color:var(--store-ink)!important; }
#app .store-shell.store-layout-catalog .store-hero-actions { margin-top:16px; }
#app .store-shell.store-layout-catalog .store-product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
#app .store-shell.store-layout-catalog .store-product { display:flex; border:1px solid var(--store-rule); border-radius:12px!important; overflow:hidden; }
#app .store-shell.store-layout-catalog .store-product-image { aspect-ratio:4/3; height:auto; min-height:0; border-radius:0; }
#app .store-shell.store-layout-catalog .store-product-body { padding:16px; }
#app .store-shell.store-layout-catalog .store-product-body h3 { font-size:18px; }
#app .store-shell.store-layout-catalog .store-content { margin-top:32px; }

/* SPOTLIGHT — dominant photograph and large horizontal product stories. */
#app .store-shell.store-layout-focus .store-main { padding-top:0; }
#app .store-shell.store-layout-focus .store-hero { min-height:560px; align-items:flex-end; padding:52px; border-radius:0 0 12px 12px; }
#app .store-shell.store-layout-focus .store-hero-content { max-width:60ch; }
#app .store-shell.store-layout-focus .store-hero.has-cover { min-height:560px; }
#app .store-shell.store-layout-focus .store-hero h1 { font-size:clamp(44px,6.5vw,88px); }
#app .store-shell.store-layout-focus .store-hero.has-cover::after { background:linear-gradient(0deg,rgba(12,15,18,.9),rgba(12,15,18,0) 85%); }
#app .store-shell.store-layout-focus .store-product-grid { grid-template-columns:1fr; gap:32px; }
#app .store-shell.store-layout-focus .store-product { grid-template-columns:1.35fr 1fr; gap:44px; padding-block:24px; border-top:1px solid var(--store-rule); }
#app .store-shell.store-layout-focus .store-product-image { aspect-ratio:16/10; border-radius:12px; }
#app .store-shell.store-layout-focus .store-product-body { padding:32px 0; }
#app .store-shell.store-layout-focus .store-product-body h3 { font-size:34px; }

/* The picker shows rendered storefronts instead of generic diagrams. */
.store-layout-choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.store-layout-choice { gap:14px; padding:0 0 18px; border-radius:12px; overflow:hidden; }
.store-layout-choice > :not(.layout-live-preview) { margin-inline:18px; }
.layout-live-preview { position:relative; display:block; width:100%; aspect-ratio:16/11; overflow:hidden; background:var(--surface-2); }
.layout-live-preview img { display:block; width:100%; height:100%; object-fit:cover; object-position:top; transition:transform .22s ease-out; }
.store-layout-choice:hover .layout-live-preview img { transform:scale(1.025); }
.layout-preview-caption { position:absolute; left:10px; bottom:10px; padding:4px 8px; border-radius:4px; background:#fff; color:#202020; font-size:10px; }
.layout-card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.store-layout-choice strong { font-size:22px; }
.store-layout-choice strong small { font-size:13px; }
.layout-card-state { flex:none; padding:6px 10px; border-radius:999px; color:var(--text); background:var(--surface-2); font-size:11px; }
.layout-card-state b { display:none; }
.store-layout-choice[aria-pressed="true"] .layout-card-state { color:#fff; background:var(--primary); }
.store-layout-choice[aria-pressed="true"] .layout-card-state > span { display:none; }
.store-layout-choice[aria-pressed="true"] .layout-card-state b { display:inline; font-weight:600; }
.store-layout-choice > span:last-child { font-size:13px; }
@media (max-width:1000px) {
  #app .store-shell[class*="store-layout-"] .store-main { padding-inline:24px; }
  #app .store-shell.store-layout-catalog .store-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #app .store-shell.store-layout-boutique .store-product-grid { padding-inline:0; column-gap:28px; }
}
@media (max-width:600px) {
  .store-layout-choices { grid-template-columns:1fr; gap:20px; }
  .layout-live-preview { aspect-ratio:16/10; }
  #app .store-shell[class*="store-layout-"] .store-main { padding-inline:16px; padding-top:20px; }
  #app .store-shell[class*="store-layout-"] .store-hero { padding:28px; }
  #app .store-shell[class*="store-layout-"] .store-hero h1 { font-size:40px; }
  #app .store-shell[class*="store-layout-"] .store-hero p { font-size:14px; }
  #app .store-shell[class*="store-layout-"] .store-hero-actions { gap:12px; margin-top:20px; }
  #app .store-shell[class*="store-layout-"] .store-content { margin-top:32px; }
  #app .store-shell[class*="store-layout-"] .store-catalog > .section-head h2 { font-size:24px; }
  #app .store-shell[class*="store-layout-"] .store-product-grid { gap:24px 14px; }
  #app .store-shell[class*="store-layout-"] .store-product-body { padding:14px 0 0; }
  #app .store-shell[class*="store-layout-"] .store-product-body h3 { font-size:17px; }
  #app .store-shell[class*="store-layout-"] .store-product-body p { font-size:12px; }
  #app .store-shell[class*="store-layout-"] .store-product-bottom .btn { width:100%; min-width:0; padding-inline:8px; }
  #app .store-shell[class*="store-layout-"] .store-cart { display:block; padding:20px; margin-top:40px; }
  #app .store-shell[class*="store-layout-"] .store-cart > .store-checkout-form { border:0; padding:24px 0 0; }
  #app .store-shell[class*="store-layout-"] .store-search { flex-basis:100%; }
  #app .store-shell[class*="store-layout-"] .store-search input { font-size:16px; }
  .store-browse-tools { gap:12px; margin:20px 0; }
  .store-category-tabs { flex-wrap:nowrap; width:100%; overflow-x:auto; padding-bottom:6px; }
  .store-category-tabs button { flex:none; padding-inline:14px; }
  #app .store-shell.store-layout-classic .store-hero { display:flex; flex-direction:column; align-items:stretch; min-height:0; padding:0; }
  #app .store-shell.store-layout-classic .store-hero.has-cover .store-hero-content { width:auto; padding:28px; }
  #app .store-shell.store-layout-classic .store-hero.has-cover { min-height:0; }
  #app .store-shell.store-layout-classic .store-hero.has-cover .store-hero-cover { position:relative; inset:auto; width:100%; height:230px; order:2; border-radius:0 0 12px 12px; z-index:0; }
  #app .store-shell.store-layout-boutique .store-hero { min-height:440px; }
  #app .store-shell.store-layout-boutique .store-hero.has-cover { min-height:440px; }
  #app .store-shell.store-layout-boutique .store-product-grid { gap:28px 18px; padding-inline:0; }
  #app .store-shell.store-layout-boutique .store-product:nth-child(even) { margin-top:48px; }
  #app .store-shell.store-layout-boutique .store-product-body h3 { font-size:19px; }
  #app .store-shell.store-layout-editorial .store-hero { min-height:0; display:flex; flex-direction:column; align-items:stretch; gap:28px; padding:12px 0; }
  #app .store-shell.store-layout-editorial .store-hero-content { width:auto; }
  #app .store-shell.store-layout-editorial .store-hero h1 { font-size:54px; }
  #app .store-shell.store-layout-editorial .store-hero.has-cover .store-hero-cover { position:relative; inset:auto; width:100%; height:240px; order:2; z-index:0; }
  #app .store-shell.store-layout-editorial .store-product:first-child { gap:0; }
  #app .store-shell.store-layout-editorial .store-product:first-child .store-product-body { padding:20px 0 0; }
  #app .store-shell.store-layout-editorial .store-product:first-child h3 { font-size:28px; }
  #app .store-shell.store-layout-catalog .store-hero { min-height:180px; padding:24px; }
  #app .store-shell.store-layout-catalog .store-hero-content { width:100%; }
  #app .store-shell.store-layout-catalog .store-hero.has-cover .store-hero-cover { display:none; }
  #app .store-shell.store-layout-catalog .store-hero h1 { font-size:32px; }
  #app .store-shell.store-layout-catalog .store-product-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  #app .store-shell.store-layout-catalog .store-product { display:flex; }
  #app .store-shell.store-layout-catalog .store-product-body { padding:12px; }
  #app .store-shell.store-layout-focus .store-hero { min-height:470px; padding:28px; }
  #app .store-shell.store-layout-focus .store-hero.has-cover { min-height:470px; }
  #app .store-shell.store-layout-focus .store-hero h1 { font-size:44px; }
  #app .store-shell.store-layout-focus .store-product { grid-template-columns:1fr; gap:0; }
  #app .store-shell.store-layout-focus .store-product-body { padding:20px 0 0; }
  #app .store-shell.store-layout-focus .store-product-body h3 { font-size:26px; }
}
@media (prefers-reduced-motion:reduce) {
  .layout-live-preview img { transition:none; }
  .store-layout-choice:hover .layout-live-preview img { transform:none; }
}
