/* Shop: a quiet product grid, with purchasing details on individual pages. */
.shop-page { background: #fff; }
.shop-hero { padding: clamp(60px, 8vw, 104px) 0 48px; }
.shop-hero h1 { max-width: 950px; margin-bottom: 18px; font-size: clamp(2.6rem, 6vw, 5.2rem); }
.shop-lede { max-width: 620px; margin: 0; font-size: 1.08rem; line-height: 1.65; }
.shop-lede a, .shop-product-description a { text-decoration: underline; text-underline-offset: 4px; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 42px; padding-bottom: 60px; }
.shop-card { min-width: 0; }
.shop-card-link { display: block; color: var(--ink); }
.shop-card-visual { position: relative; overflow: hidden; background: #f7f6f2; }
.shop-card-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 220ms ease; }
.shop-card-link:hover .shop-card-image { transform: scale(1.025); }
.shop-card-link:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.shop-card-body { padding-top: 15px; }
.shop-card-body h2 { margin: 0 0 5px; font-size: 1rem; line-height: 1.4; letter-spacing: -.015em; }
.shop-price { margin: 0; color: #555; font-size: .96rem; font-variant-numeric: tabular-nums; }
.shop-list-note { display: flex; justify-content: space-between; align-items: start; gap: 28px; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 72px; font-size: .92rem; }
.shop-list-note p { margin: 0; max-width: 620px; }
.shop-list-note a { white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.shop-breadcrumb { padding-top: 32px; padding-bottom: 26px; font-size: .88rem; }
.shop-breadcrumb a { color: var(--muted); }
.shop-breadcrumb a:hover { color: var(--ink); }
.shop-product { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr); align-items: start; gap: clamp(48px, 7vw, 104px); padding-bottom: 112px; }
.shop-gallery { min-width: 0; }
.shop-gallery-stage { position: relative; background: #f6f6f4; aspect-ratio: 1 / 1; }
.shop-gallery-slide { width: 100%; height: 100%; display: grid; place-items: center; }
.shop-gallery-slide[hidden] { display: none; }
.shop-photo { width: 100%; overflow: hidden; }
.shop-photo img { display: block; width: 100%; height: auto; }
.shop-photo--front, .shop-photo--back { width: 65%; aspect-ratio: 3 / 4; }
.shop-photo--front img, .shop-photo--back img { width: 200%; max-width: none; height: 100%; }
.shop-photo--back img { transform: translateX(-50%); }
.shop-gallery-arrows { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; padding: 16px; }
.shop-gallery-arrows[hidden], .shop-gallery-thumbnails[hidden], .shop-gallery-counter[hidden] { display: none; }
.shop-gallery-arrows button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #171a20; font: inherit; font-size: 1.2rem; cursor: pointer; box-shadow: 0 2px 12px #0000000c; }
.shop-gallery-arrows button:hover { background: #fff; }
.shop-gallery-counter { position: absolute; bottom: 13px; inset-inline: 0; margin: 0; text-align: center; font-size: .75rem; color: #696960; }
.shop-gallery-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)); gap: 14px; margin-top: 18px; }
.shop-gallery-thumb { display: flex; min-width: 0; flex-direction: column; align-items: center; padding: 6px; gap: 5px; border: 1px solid transparent; border-radius: 8px; background: #f6f6f4; color: #68685f; cursor: pointer; font: inherit; }
.shop-gallery-thumb .shop-photo { height: 86px; display: grid; align-items: center; }
.shop-gallery-thumb .shop-photo--front, .shop-gallery-thumb .shop-photo--back { display: block; width: 64.5px; }
.shop-gallery-thumb .shop-photo--all img { height: auto; }
.shop-gallery-thumb > span { font-size: .66rem; }
.shop-gallery-thumb[aria-pressed="true"] { border-color: #171a20; color: var(--ink); }
.shop-gallery-thumb:focus-visible, .shop-gallery-arrows button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.shop-product-info { position: sticky; top: 32px; padding-top: 2px; color: #171a20; }
.shop-product-info h1 { max-width: 420px; margin: 0 0 8px; font-size: clamp(2rem, 3.3vw, 2.85rem); line-height: 1.06; letter-spacing: -.045em; }
.shop-product-price { margin: 0 0 42px; color: #171a20; font-size: 1.24rem; font-weight: 600; }
.shop-product-price span { margin-left: 4px; color: #6f7378; font-size: .68rem; font-weight: 500; letter-spacing: .04em; }
.shop-restock { margin: 0; scroll-margin-top: 100px; }
.shop-sizes { display: flex; min-width: 0; margin: 0 0 30px; padding: 0; border: 0; flex-wrap: wrap; gap: 7px; }
.shop-sizes legend { width: 100%; margin-bottom: 11px; padding: 0; color: #171a20; font-size: .82rem; font-weight: 600; }
.shop-size { position: relative; cursor: pointer; }
.shop-size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.shop-size span { display: inline-flex; min-width: 52px; min-height: 42px; padding: 0 12px; align-items: center; justify-content: center; border: 1px solid #d0d1d2; border-radius: 8px; background: #fff; color: #171a20; font-size: .86rem; font-weight: 600; transition: border-color 150ms ease, box-shadow 150ms ease; }
.shop-size:hover span { border-color: #777b80; }
.shop-size input:checked + span { border-color: #171a20; box-shadow: inset 0 0 0 1px #171a20; background: #fff; color: #171a20; }
.shop-size input:focus-visible + span { outline: 2px solid #3e6ae1; outline-offset: 2px; }
.shop-availability { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 0; border-top: 1px solid #e4e4e2; border-bottom: 1px solid #e4e4e2; font-size: .82rem; }
.shop-availability-label { color: #5c5e62; }
.shop-availability strong { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.shop-availability strong span { width: 7px; height: 7px; border-radius: 50%; background: #8e8e8a; }
.shop-sold-out { width: 100%; min-height: 50px; margin-top: 24px; padding: 0 22px; border: 0; border-radius: 8px; color: #fff; background: #171a20; font: inherit; font-size: .88rem; font-weight: 600; cursor: not-allowed; opacity: .55; }
.shop-restock-box { margin-top: 32px; padding: 0; border: 0; background: transparent; }
.shop-restock-box h2 { margin: 0 0 7px; font-size: 1.02rem; letter-spacing: -.02em; }
.shop-restock-box > p { max-width: 390px; margin: 0 0 17px; color: #5c5e62; font-size: .82rem; line-height: 1.55; }
.shop-email-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-email-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.shop-email { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b7b8ba; border-radius: 8px; background: #fff; color: #171a20; font: inherit; font-size: .88rem; }
.shop-email::placeholder { color: #777b80; }
.shop-email:focus { outline: 2px solid #3e6ae1; outline-offset: 1px; border-color: transparent; }
.shop-notify-button { min-height: 48px; padding: 10px 20px; border: 0; border-radius: 8px; color: #fff; background: #171a20; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.shop-notify-button:hover { background: #393c41; }
.shop-notify-button:focus-visible { outline: 2px solid #3e6ae1; outline-offset: 2px; }
.shop-notify-button:disabled { cursor: wait; opacity: .7; }
.shop-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-restock-box .shop-status { margin: 12px 0 0; color: #1f7a3c; font-size: .82rem; line-height: 1.5; }
.shop-status:empty { display: none; }
.shop-restock-box .shop-status.is-error { color: #ac2b20; }
.shop-restock-box .shop-restock-note { margin: 10px 0 0; color: #777b80; font-size: .68rem; line-height: 1.5; }
.shop-product-description { margin-top: 38px; padding-top: 28px; border-top: 1px solid #e4e4e2; }
.shop-product-description h2 { margin: 0 0 15px; font-size: .9rem; font-weight: 650; letter-spacing: 0; }
.shop-product-description p { margin: 0 0 15px; color: #4f5257; font-size: .86rem; line-height: 1.68; }
.shop-all-products { display: inline-block; margin-top: 8px; font-size: .84rem; text-decoration: underline; text-underline-offset: 4px; }
.shop-thanks { min-height: 56vh; }
.shop-back-link { display: inline-flex; margin-top: 32px; min-height: 48px; padding: 0 24px; align-items: center; border-radius: 3px; background: var(--ink); color: white; font-weight: 600; }
.shop-footer-link { color: var(--muted); }
@media (max-width: 900px) {
  .shop-product { grid-template-columns: minmax(0, 1.15fr) minmax(310px, 1fr); gap: 36px; }
  .shop-list-note { flex-direction: column; gap: 12px; }
}
@media (max-width: 720px) {
  .shop-product { grid-template-columns: 1fr; gap: 30px; padding-bottom: 60px; }
  .shop-gallery-stage { aspect-ratio: 1 / 1; }
  .shop-product-info { position: static; max-width: 540px; padding-top: 0; }
  .shop-product-info h1 { font-size: 2rem; }
  .shop-breadcrumb { padding-top: 22px; padding-bottom: 18px; }
  .shop-grid { gap: 28px 18px; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-hero { padding: 48px 0 32px; }
  .shop-gallery-thumbnails { grid-template-columns: repeat(3, minmax(0, 104px)); gap: 10px; }
  .shop-email-row { grid-template-columns: 1fr; }
  .shop-notify-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .shop-card-image { transition: none; } }
