.shop-page { color-scheme: dark; }
.shop-page *, .shop-page *::before, .shop-page *::after { box-sizing: border-box; }
.shop-page a { color: inherit; text-underline-offset: 5px; }
.shop-page :focus-visible { outline: 2px solid #ff4444; outline-offset: 5px; }
.shop-page [hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px; background: #000; }
.skip-link:focus { top: 12px; }
.review-note { border-block: 1px solid #242424; color: #aaa; font-size: .8125rem; line-height: 1.6; text-align: center; padding: 9px 20px; }
.shop-main { width: min(1040px, 100%); margin: 0 auto; padding: 0 32px; }
.shop-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 280px; padding: 48px 32px 58px; margin: 0 0 34px; }
.shop-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; letter-spacing: .12em; margin: 0 0 16px; }
.shop-hero p { margin: 0; color: #eee; }
.shop-hero-symbol { width: 64px; height: auto; flex-shrink: 0; }
.shop-hero-backdrop { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.shop-hero-backdrop picture, .shop-hero-backdrop img, .shop-hero-backdrop video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.shop-hero-backdrop video { position: absolute; inset: 0; }
.shop-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.25)), linear-gradient(0deg, #000, transparent 30%, transparent 80%, rgba(0,0,0,.25)); }
.shop-hero-copy { max-width: 640px; text-shadow: 0 1px 12px #000; }
.hero-motion-toggle { position: absolute; right: 8px; bottom: 6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #ddd; font: inherit; font-size: 1rem; cursor: pointer; }
.hero-motion-toggle:hover { color: #fff; background: rgba(0,0,0,.35); }
.shop-page p { line-height: 1.7; }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.product { min-width: 0; display: flex; flex-direction: column; }
.product-header { min-height: 78px; }
.shop-page h2 { font-size: 1.15rem; line-height: 1.45; letter-spacing: .06em; margin: 0 0 8px; }
.product-price { font-size: 1.2rem; margin: 0 0 20px; }
.product-price span { font-size: .875rem; color: #aaa; }
.product-gallery, .hoodie-gallery { min-width: 0; }
.product figure { margin: 0; }
.product-gallery .photo-frame { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; padding: 0; background: #fff; isolation: isolate; }
.product-gallery .photo-frame img { width: 100%; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* Blend only the empty margins of square garment images. Portraits fill the frame intact. */
.product-gallery .photo-frame img[data-view-kind="garment"] { mask-image: linear-gradient(to right, transparent, #000 1%, #000 99%, transparent), linear-gradient(to bottom, transparent, #000 1%, #000 99%, transparent); mask-composite: intersect; }
.product-gallery .photo-frame .gallery-outgoing { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.product-gallery .rotate-photo { transform: rotate(90deg); }
.product figcaption { color: #aaa; font-size: .8125rem; margin-top: 10px; line-height: 1.5; }
.gallery-controls { display: grid; grid-template-columns: calc(40% - 4.8px) minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.gallery-group { min-width: 0; }
.gallery-group-title { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: #aaa; margin: 0 0 8px; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery-group + .gallery-group .gallery-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-controls button { font: inherit; font-size: .7rem; min-width: 0; min-height: 44px; border: 1px solid #444; color: #aaa; background: transparent; padding: 3px; cursor: pointer; }
.gallery-controls button img { width: 100%; height: auto; aspect-ratio: 2 / 3; display: block; object-fit: contain; background: #fff; }
.gallery-controls button span { display: block; padding: 8px 0 5px; }
.gallery-controls button[aria-pressed="true"] { border-color: #fff; color: #fff; }
.photo-note, .small-copy { color: #aaa; font-size: .875rem; line-height: 1.6; }
.photo-note { margin: 12px 0 0; }
.photo-pending { height: 400px; border: 1px solid #292929; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #aaa; }
.photo-pending p { margin: 0; }
.product-description { margin: 22px 0 18px; font-size: 1rem; }
.purchase-controls { margin-top: auto; padding-top: 8px; }
.shop-page label:not(.consent) { display: block; font-size: .875rem; margin: 0 0 10px; line-height: 1.5; }
.shop-page input:not([type="checkbox"]), .shop-page select, .shop-page textarea { background: #080808; border: 1px solid #555; border-radius: 0; color: #fff; font: inherit; padding: 13px 12px; width: 100%; min-width: 0; min-height: 48px; }
.shop-page select:disabled { color: #aaa; opacity: 1; }
.availability { font-size: .875rem; color: #aaa; margin: 14px 0; }
.shop-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; width: 100%; border: 1px solid #fff; border-radius: 0; background: #fff; color: #000; font: inherit; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.purchase-controls .shop-button { margin-top: 12px; }
.shop-button:hover:not(:disabled) { background: #ddd; }
.shop-button:disabled { background: transparent; border-color: #454545; color: #999; cursor: not-allowed; }
.text-link { display: inline-block; font-size: .875rem; line-height: 1.7; padding: 12px 0; margin-right: 24px; }
.text-link:hover { color: #ff5555; }
.shop-support { margin: 44px 0 24px; border-top: 1px solid #333; }
.shop-page details { border-bottom: 1px solid #333; scroll-margin-top: 20px; }
.shop-page summary { cursor: pointer; padding: 20px 0; line-height: 1.5; }
.disclosure-body { padding: 0 0 24px; max-width: 650px; }
.disclosure-body > p { color: #bbb; }
.shop-page fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.shop-page .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.field-pair > div { display: flex; flex-direction: column; }
.field-pair > div > label { flex: 1; }
.consent { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; font-size: .875rem; margin: 20px 0; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: #fff; }
.form-status { min-height: 24px; }
.shop-purpose { font-size: .875rem; color: #aaa; max-width: 650px; margin: 24px 0 44px; }
.shop-purpose a { display: inline-block; padding-block: 8px; }
.shop-footer { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; padding: 24px; border-top: 1px solid #292929; font-size: .8125rem; line-height: 1.7; color: #aaa; }
.shop-footer span { color: #fff; letter-spacing: .12em; }
.shop-document { max-width: 760px; width: 100%; margin: 0 auto; padding: 64px 24px; }
.shop-document h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.3; overflow-wrap: anywhere; }
.shop-document h2 { margin-top: 44px; }
.shop-document form { margin-top: 30px; }
.shop-document form > fieldset > input { margin-bottom: 20px; }
.eyebrow { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; color: #aaa; margin: 0 0 18px; }
.preference-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.preference-actions .shop-button { width: auto; }
@media (max-width: 700px) {
  .shop-main { padding: 0 22px; }
  .shop-hero { min-height: 240px; padding: 36px 18px 48px; gap: 14px; margin-bottom: 28px; }
  .shop-hero h1 { font-size: 2rem; }
  .shop-hero p { font-size: .9375rem; }
  .shop-hero-symbol { width: 46px; }
  .shop-hero-backdrop img, .shop-hero-backdrop video { object-position: center 48%; }
  .products-grid { grid-template-columns: 1fr; gap: 38px; }
  .product + .product { border-top: 1px solid #292929; padding-top: 32px; }
  .photo-pending { height: 180px; }
  .purchase-controls { margin-top: 0; }
  .shop-support { margin-top: 26px; }
}
@media (max-width: 360px) { .shop-page .field-pair { grid-template-columns: 1fr; } .shop-hero-symbol { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 400px) { .gallery-controls button { font-size: .625rem; } }
