/* Live catalogue and checkout; the scroll-driven hero remains in index.html. */
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button:disabled { opacity: .48; cursor: not-allowed; }
.store-muted { color: #b8b1af; font-size: .85rem; line-height: 1.65; }
.store-error { color: #ffadb6; font-size: .85rem; line-height: 1.55; }
.store-state { padding: 36px 0; color: #c4bcba; line-height: 1.7; }
.catalog, .partners, .order-status { scroll-margin-top: calc(var(--header-h) + 24px); }
.catalog-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.store-field { display: grid; gap: 9px; color: #b8b1af; font-size: .8rem; min-width: 0; }
.store-field input, .store-field select { width: 100%; min-height: 46px; padding: 12px 14px; color: var(--text); background: #101012; border: 1px solid var(--line); border-radius: 0; }
.catalog-tools .store-field:first-child { flex: 1 1 260px; }
.catalog-tools .store-field:nth-child(2) { flex: 0 1 220px; }
.catalog-tools #catalog-count { padding-bottom: 12px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.store-card { min-width: 0; border: 1px solid var(--line); background: #0b0b0d; }
.store-card__open { width: 100%; display: block; padding: 0; border: 0; text-align: left; background: transparent; cursor: pointer; }
.store-card__image { aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 60%, #231217, #101012 75%); }
.store-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform 350ms ease; }
.store-card__open:hover img { transform: scale(1.025); }
.store-card__info { display: grid; gap: 12px; padding: 22px; }
.store-card__brand { color: #f7828e; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.store-card h3 { margin: 0; font: 700 1.8rem/1.05 var(--display); overflow-wrap: anywhere; }
.store-card__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.store-card__price { font: 700 1.4rem var(--display); }
.store-badge { display: inline-block; padding: 6px 9px; border: 1px solid var(--line); color: #c6bfbd; font-size: .68rem; }
.store-badge--ready { border-color: #647469; color: #c6e4cc; }
.partners { padding-bottom: 100px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.partner-card { padding: 26px; min-width: 0; text-align: left; border: 1px solid var(--line); background: #0b0b0d; cursor: pointer; }
.partner-card strong { display: block; margin-bottom: 12px; font: 700 1.8rem var(--display); overflow-wrap: anywhere; }
.partner-card:hover { border-color: var(--red); }
.product-dialog { position: fixed; padding: 0; width: min(1000px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow: auto; color: var(--text); background: #0c0c0e; border: 1px solid var(--line); }
.product-dialog::backdrop { background: #000b; backdrop-filter: blur(7px); }
.product-close { position: sticky; display: block; margin: 14px 14px -58px auto; top: 14px; z-index: 2; background: #09090b; width: 44px; height: 44px; }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; min-width: 0; }
.product-gallery { padding: 30px; min-width: 0; background: radial-gradient(ellipse at 50% 40%, #241316, #101012 70%); }
.product-gallery__main { width: 100%; height: 420px; object-fit: contain; display: block; }
.product-gallery__thumbs { display: flex; overflow-x: auto; gap: 10px; padding: 16px 4px 4px; }
.product-thumb { flex: 0 0 68px; width: 68px; height: 76px; padding: 4px; background: #101012; border: 1px solid var(--line); cursor: pointer; }
.product-thumb[aria-pressed="true"] { border-color: var(--red); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding: 76px 36px 36px; min-width: 0; }
.product-info h2 { margin: 18px 0; font: 700 2.6rem/1.05 var(--display); overflow-wrap: anywhere; }
.product-price { margin: 18px 0; font: 700 2rem var(--display); }
.product-info .store-field { margin: 22px 0; }
.product-info .btn { width: 100%; }
.product-description { white-space: pre-line; color: #b8b1af; line-height: 1.6; }
.cart-drawer { height: 100dvh; }
.cart-item { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); gap: 16px; grid-template-columns: 92px minmax(0, 1fr); }
.cart-item__info h3 { overflow-wrap: anywhere; }
.cart-item__image { min-height: 112px; align-self: start; }
.cart-item__image img { width: 88px; height: 110px; }
.cart-item__meta { font-size: .8rem; line-height: 1.55; }
.cart-item__price { margin-top: 12px; }
.cart-item__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.cart-quantity { display: flex; align-items: center; border: 1px solid var(--line); }
.cart-quantity button { width: 38px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.cart-quantity output { min-width: 32px; text-align: center; font-size: .8rem; }
.cart-remove { padding: 10px 0; border: 0; background: transparent; color: #bbb3b1; text-decoration: underline; font-size: .75rem; cursor: pointer; }
.cart-note { margin: 0 0 18px; font-size: .75rem; }
.cart-legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 18px; font-size: .8rem; line-height: 1.5; }
.cart-legal-links a { text-decoration: underline; overflow-wrap: anywhere; }
.drawer__foot { max-height: 50dvh; overflow: auto; }
.cart-empty { min-height: 30vh; color: #b8b1af; }
.order-status { margin-top: 56px; margin-bottom: 56px; padding: 32px; border: 1px solid var(--red); }
.order-status .section-title { font-size: clamp(2rem, 5vw, 4rem); }
.order-status p { line-height: 1.6; overflow-wrap: anywhere; }
.order-items { padding: 0; list-style: none; }
.order-items li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.order-status dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 520px; }
.order-status dd { margin: 0; text-align: right; }
.order-status a { text-decoration: underline; }
@media (max-width: 1000px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .catalog-grid { gap: 14px; }
  .store-card__info { padding: 14px; gap: 10px; }
  .store-card h3 { font-size: 1.5rem; }
  .store-card__bottom { align-items: start; flex-direction: column; gap: 8px; }
  .store-card__brand { font-size: .6rem; }
  .store-badge { font-size: .6rem; }
  .catalog-tools { gap: 16px; }
  .catalog-tools .store-field:nth-child(2) { flex: 1; }
  .partner-grid { grid-template-columns: 1fr; }
  .partners { padding-bottom: 64px; }
  .product-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { padding: 24px 20px 12px; }
  .product-gallery__main { height: min(44dvh, 360px); }
  .product-info { padding: 20px; }
  .product-info h2 { font-size: 2.1rem; }
  .product-thumb { flex-basis: 54px; width: 54px; height: 62px; }
  .order-status { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .store-card__image img { transition: none; } }
@media (max-width: 700px) {
  .catalog-tools .store-field:first-child { flex: 1 1 100%; }
  .catalog-tools .store-field:nth-child(2) { flex: 1 1 180px; }
  .catalog-tools #catalog-count { flex: 0 0 auto; }
  .store-card:only-child { grid-column: 1 / -1; max-width: 420px; width: 100%; }
}
.story:not(.is-interactive) { height: min(760px, 90svh); min-height: 580px; }
.story:not(.is-interactive) .story-stage { height: 100%; min-height: 0; }
.story:not(.is-interactive) .story-nav, .story:not(.is-interactive) .scroll-hint, .story:not(.is-interactive) .scroll-meter, .story:not(.is-interactive) .coordinate--bottom { display: none; }
#hero-explore { display: inline-flex; text-transform: uppercase; }
.product-variant-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-variant-fields .store-field { margin: 8px 0 18px; }
.product-image-note { margin: 10px 0 0; font-size: .75rem; }
.product-facts { margin-top: 24px; border-top: 1px solid var(--line); }
.product-facts details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.product-facts summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.product-facts p, .product-facts address { white-space: pre-line; font-style: normal; line-height: 1.7; font-size: .85rem; overflow-wrap: anywhere; }
.size-guide-scroll { overflow-x: auto; margin-top: 14px; }
.size-guide { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: .8rem; }
.size-guide th, .size-guide td { padding: 10px; text-align: left; border: 1px solid var(--line); }
.product-delivery { padding: 14px; margin: 16px 0; background: #151518; border: 1px solid var(--line); font-size: .85rem; line-height: 1.6; }
.product-share { margin-top: 18px; }
.product-share a { font-size: .8rem; text-decoration: underline; }
.cart-drawer { max-height: 100dvh; }
.drawer__head { flex: 0 0 auto; }
.drawer__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.drawer__body { overflow: visible; padding-bottom: 0; }
.cart-details { padding: 0 26px 18px; }
.drawer__foot { flex: 0 0 auto; max-height: none; overflow: visible; padding: 16px 26px max(12px, env(safe-area-inset-bottom)); background: #0a0a0b; }
.drawer__foot .drawer__total { margin-bottom: 14px; align-items: center; }
#cart-checkout-hint { font-size: .7rem; margin: 9px 0 0; text-align: center; line-height: 1.4; }
.cart-product-link { text-decoration: underline; text-underline-offset: 4px; }
.cart-variant-change { margin-top: 12px; }
.cart-variant-change select { font-size: .78rem; padding: 8px; }
.cart-country-field { display: grid; gap: 8px; margin-bottom: 18px; font-size: .8rem; }
.store-select { width: 100%; min-height: 44px; border: 1px solid var(--line); background: #101012; color: var(--text); padding: 10px; }
.order-timeline { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.order-timeline li { padding: 14px; border: 1px solid var(--line); color: #b8b1af; font-size: .85rem; }
.order-timeline li.is-complete { border-color: #55795e; color: #d3ebd9; background: #102017; }
.order-timeline li[aria-current="step"] { border-color: var(--red); color: #fff; }
.order-timeline small { display: block; margin-top: 8px; line-height: 1.5; }
.order-package, .order-case, .order-refunds { padding: 18px; margin: 20px 0; border: 1px solid var(--line); }
.order-package h3, .order-case h3 { margin-top: 0; }
.order-help { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.order-help summary { cursor: pointer; font-size: 1.15rem; font-weight: 600; padding: 12px 0; }
.order-help form { display: grid; gap: 18px; max-width: 640px; margin: 18px 0; }
.order-help textarea { width: 100%; min-height: 140px; padding: 12px; color: var(--text); background: #101012; border: 1px solid var(--line); font: inherit; }
.order-help .btn { justify-self: start; }
.order-service-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; align-items: center; }
@media (max-width: 900px) {
  .story:not(.is-interactive) { height: min(680px, 80svh); min-height: 460px; }
  .story:not(.is-interactive) .intro-meta { display: none; }
  .story:not(.is-interactive) .scene__title { font-size: clamp(2.9rem, 12vw, 5rem); }
  .story:not(.is-interactive) .scene__actions { flex-wrap: wrap; gap: 10px; }
  .catalog .section-inner { padding-top: 42px; }
}
@media (max-width: 500px) {
  .drawer__head { padding-inline: 18px; }
  .drawer__body { padding: 20px 18px 0; }
  .cart-details { padding-inline: 18px; }
  .drawer__foot { padding-inline: 18px; }
  .cart-item { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .cart-item__image img { width: 66px; height: 88px; }
  .cart-item__image { min-height: 90px; }
  .order-timeline { grid-template-columns: 1fr; gap: 8px; }
  .order-timeline li { padding: 12px; }
  .order-status { padding: 18px; }
}
@media (max-height: 640px) {
  .drawer__head { min-height: 58px; }
  .drawer__foot { padding-top: 12px; }
  .drawer__foot .drawer__total { margin-bottom: 10px; }
}
.order-case p, .order-package .store-muted { white-space: pre-line; }
