.storefront .topline a { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; transition: color .2s; }
.storefront .topline a:hover { color: white; }
.storefront .storefront-cart-toggle { color: var(--ink); background: var(--paper); border-color: var(--line); margin: 0; pointer-events: auto; cursor: pointer; }
.storefront .storefront-cart-toggle:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
#shop-cart-count { display: grid; place-items: center; min-width: 20px; min-height: 20px; padding: 2px 4px; border-radius: 20px; color: var(--accent-ink); background: var(--accent); font-size: .73rem; }
.storefront-hero { background: var(--warm); border-bottom: 1px solid var(--line); }
.storefront-hero-grid, .storefront-story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 76px); }
.storefront-hero-grid { padding-block: clamp(31px, 5.1vw, 76px); }
.storefront-copy h1, [data-edition="dark"] .storefront-copy h1 { max-width: 7.5ch; font-size: clamp(4rem, 8vw, 8.4rem); line-height: .88; margin-block: 15px 18px; }
.storefront-copy .lede, .storefront-story .lede { max-width: 38ch; margin-top: 0; }
.storefront .button { gap: 8px; cursor: pointer; }
.storefront-photo { position: relative; aspect-ratio: 1.42; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.storefront-photo img { width: 100%; height: 100%; object-fit: cover; }
.storefront-photo figcaption { position: absolute; inset: auto auto 12px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 6px 10px; border-radius: 18px; font: 700 .7rem var(--mono); text-transform: uppercase; }
.storefront-dark, [data-edition="dark"] .storefront-original { display: none; }
[data-edition="dark"] .storefront-dark { display: block; }
.storefront-benefits { border-bottom: 1px solid var(--line); }
.storefront-benefits ul { list-style: none; padding: 12px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.storefront-benefits li { display: flex; align-items: flex-start; gap: 8px; padding: 11px clamp(8px, 1.8vw, 24px); font-size: .84rem; }
.storefront-benefits li + li { border-left: 1px solid var(--line); }
.storefront-benefits span { display: block; color: var(--muted); font-size: .76rem; margin-top: 4px; line-height: 1.35; }
.storefront .merch-shelves, .storefront .merch-shelves.is-concepts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.storefront .merch-shelves .merch-card-media { aspect-ratio: 1; }
.storefront .merch-card-media img { object-fit: cover; }
.storefront .merch-card h3 { font-size: clamp(1.45rem, 2.7vw, 2.45rem); }
.storefront .merch-card-copy { padding-bottom: 7px; }
.storefront .merch-card .storefront-quick-add { min-height: 42px; margin: 0 11px 12px; }
.storefront .storefront-quick-add:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.storefront-story { background: var(--surface); border-block: 1px solid var(--line); }
.storefront-story-grid h2 { margin-block: 7px 14px; }
.storefront-story-grid .text-link { display: inline-block; margin-top: 13px; }
.storefront-story .merch-editorial { margin-top: 18px; }
.storefront-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(100%, 446px); max-width: none; height: 100%; max-height: none; border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); transform: translateX(100%); opacity: 0; transition: transform .24s var(--ease-out), opacity .2s, display .24s allow-discrete, overlay .24s allow-discrete; }
.storefront-drawer[open] { transform: translateX(0); opacity: 1; }
@starting-style { .storefront-drawer[open] { transform: translateX(100%); opacity: 0; } }
.storefront-drawer::backdrop { background: #0008; }
html:has(.storefront-drawer[open]) { overflow: hidden; }
.storefront-drawer-content { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.storefront-drawer header, #drawer-summary { padding: 16px 20px; }
.storefront-drawer header { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.storefront-drawer h2 { font-size: 2.6rem; }
.storefront-drawer header .button { min-height: 42px; min-width: 42px; padding: 0; background: var(--paper); color: var(--ink); }
.storefront-drawer header .button:hover { background: var(--surface); }
#drawer-items { overflow: auto; padding: 20px; }
#drawer-items #shop-cart-note, #drawer-summary #shop-payment-note { color: var(--muted); font-size: .88rem; line-height: 1.4; }
#drawer-items #shop-cart:not(:empty) { margin-top: 15px; }
#drawer-summary { display: grid; gap: 9px; border-top: 1px solid var(--line); max-height: 46dvh; overflow: auto; }
#drawer-summary #shop-cart-summary { display: grid; gap: 8px; }
#drawer-summary #shop-cart-summary:not(:has(#shop-checkout:not([hidden]), #shop-subtotal:not([hidden]), #shop-payment-note:not([hidden]))) { display: none; }
#drawer-summary #shop-checkout { width: 100%; }
#drawer-message:empty { display: none; }
.storefront #shop-cart-panel #shop-cart-summary { display: grid; gap: 9px; }
[data-shop-view="account"] .storefront-benefits, [data-shop-view="account"] .storefront-story { display: none; }
@media (max-width: 1000px) {
  .storefront .merch-shelves, .storefront .merch-shelves.is-concepts, .storefront-benefits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront-benefits li:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
  .storefront-hero-grid, .storefront-story-grid { grid-template-columns: minmax(0, 1fr); }
  .storefront-copy h1, [data-edition="dark"] .storefront-copy h1 { max-width: 12ch; font-size: clamp(3.35rem, 13vw, 5.25rem); }
  .storefront .topline { gap: 5px; font-size: .61rem; letter-spacing: .025em; }
  .storefront-cart-label { display: none; }
  .storefront .merch-card-bottom { margin-inline: 8px; }
  .storefront .merch-card-media .merch-status { white-space: normal; }
}
