.product-page { background: var(--paper); }
.product-page [hidden] { display: none !important; }
.store-header { min-height: 76px; padding: 8px 5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #27272424; gap: 24px; }
.store-header .wordmark-crop { width: 68px; background: transparent; }
.store-header nav { display: flex; gap: 32px; font-size: 12px; }
.store-header nav a { padding-block: 10px; }
.store-header a[aria-current] { border-bottom: 1px solid var(--orange); }
.bag-open { background: transparent; border: 0; display: flex; align-items: center; gap: 10px; font-size: 12px; min-height: 44px; padding: 0; }
.bag-open span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #27272445; border-radius: 50%; font-size: 10px; }
.store-preview-banner { font-size: 11px; text-align: center; margin: 0; padding: 11px 20px; background: #e9e6de; color: #55554e; }
.product-page main { max-width: 1600px; padding-inline: 5%; margin-inline: auto; }
.product-breadcrumb { display: flex; align-items: center; gap: 12px; margin: 30px 0 22px; font-size: 11px; color: var(--muted); }
.product-breadcrumb a { color: var(--ink); }
.product-hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 7%; align-items: start; }
.product-gallery, .product-summary { min-width: 0; }
.product-image-button { border: 0; padding: 0; position: relative; background: #e6e0d4; width: 100%; display: block; overflow: hidden; }
.product-image-clip { height: min(660px,calc(100svh - 195px)); min-height: 450px; display: block; overflow: hidden; }
.product-image-clip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform 500ms var(--ease-out); }
.product-image-button[data-view="1"] img { transform: scale(1.65); transform-origin: 55% 65%; }
.product-image-button[data-view="2"] img { transform: scale(2.7); transform-origin: 38% 62%; }
.product-enlarge { position: absolute; right: 18px; bottom: 18px; background: var(--paper); padding: 11px 14px; display: flex; align-items: center; gap: 24px; font-size: 11px; }
.product-enlarge > span { font-size: 20px; line-height: 1; }
.product-gallery-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 15px; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumbs button { padding: 3px; border: 1px solid transparent; width: 62px; height: 74px; background: transparent; overflow: hidden; }
.product-thumbs button[aria-pressed="true"] { border-color: #a53b20; }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumbs button:nth-child(2) img { transform: scale(1.65); transform-origin: 55% 65%; }
.product-thumbs button:nth-child(3) img { transform: scale(2.7); transform-origin: 38% 62%; }
.product-view-caption { font-size: 11px; color: var(--muted); text-align: right; }
.product-image-note { font-size: 10px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.product-summary { padding-top: 12px; }
.product-origin { color: #8f391f; font-size: 11px; margin: 0 0 20px; }
.product-summary h1 { font-weight: 400; font-size: clamp(38px,4.4vw,66px); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 22px; max-width: 550px; }
.product-price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 14px; font-size: 23px; }
.product-price small { color: var(--muted); font-size: 10px; }
.product-description { font-size: 14px; line-height: 1.75; color: var(--muted); max-width: 400px; margin: 0 0 25px; }
.product-colour { display: flex; align-items: center; gap: 10px; font-size: 11px; margin-bottom: 24px; }
.product-colour-chip { width: 18px; height: 18px; border-radius: 50%; background: #294b70; border: 2px solid var(--paper); outline: 1px solid #27272445; }
.product-options { border: 0; padding: 0; margin: 0 0 25px; min-width: 0; }
.product-options legend { padding: 0; margin-bottom: 12px; font-size: 12px; }
.product-options legend small { font-size: 10px; color: var(--muted); margin-left: 13px; }
#product-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-options label { position: relative; cursor: pointer; }
.product-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-options label span { display: block; border: 1px solid #27272440; padding: 14px 18px; font-size: 12px; min-height: 44px; }
.product-options input:checked + span { border-color: var(--ink); background: #e7e4dc; }
.product-options input:focus-visible + span { outline: 2px solid #a53b20; outline-offset: 4px; }
.product-buy-row { display: flex; gap: 12px; }
.product-quantity { display: flex; align-items: center; border: 1px solid #27272450; }
.product-quantity button { width: 37px; min-height: 50px; border: 0; padding: 0; background: transparent; font-size: 17px; }
.product-quantity button:disabled { opacity: .35; cursor: default; }
.product-quantity output { min-width: 24px; font-size: 12px; text-align: center; }
.store-button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 22px; background: var(--ink); color: #faf9f5; border: 1px solid var(--ink); font-size: 12px; border-radius: 0; white-space: nowrap; transition: background-color 160ms,transform 160ms; }
.store-button:hover { background: #43433b; }
.store-button:active { transform: scale(.985); }
.store-button:disabled { opacity: .5; cursor: not-allowed; }
.product-buy-row .store-button { flex: 1; }
.product-buy-note { margin: 12px 0 23px; font-size: 10px; color: var(--muted); line-height: 1.6; }
.product-impact-link { font-size: 11px; border-bottom: 1px solid #a53b20; display: inline-block; padding-bottom: 6px; line-height: 1.6; }
.product-disclosures { margin-top: 26px; scroll-margin-top: 30px; }
.product-disclosures details { border-bottom: 1px solid #27272430; }
.product-disclosures summary { list-style: none; cursor: pointer; padding: 19px 34px 19px 0; display: flex; align-items: center; position: relative; font-size: 12px; min-height: 59px; }
.product-disclosures summary::-webkit-details-marker { display: none; }
.product-disclosures summary::before, .product-disclosures summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 12px; height: 1px; background: currentColor; }
.product-disclosures summary::after { transform: rotate(90deg); transition: transform 220ms cubic-bezier(.25,.8,.25,1), opacity 160ms ease-out; }
.product-disclosures details[open]:not([data-expanded="false"]) summary::after { transform: rotate(0); opacity: 0; }
.product-disclosures details[data-disclosure-moving] { overflow: clip; }
.product-disclosures details[data-disclosure-instant] summary::after { transition: none; }
.product-page:has(.product-disclosures [data-disclosure-moving]) { overflow-anchor: none; }
.product-disclosures details > div { padding-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.product-disclosures p { margin: 0 0 9px; }
.product-disclosures strong { font-weight: 400; color: var(--ink); }
.product-story { margin-block: 110px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; }
.product-story-visual { margin: 0; }
.product-story-visual > img { display: block; width: 100%; height: 500px; object-fit: cover; }
.product-story-visual figcaption { color: var(--muted); font-size: 10px; margin-top: 12px; }
.product-section-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 26px; }
.product-story h2, .product-giving h2 { font-weight: 400; font-size: clamp(35px,3.7vw,56px); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 28px; }
.product-story-copy > p:not(.product-section-label) { font-size: 14px; color: var(--muted); line-height: 1.85; max-width: 480px; }
.product-maker-note { border-top: 1px solid #27272430; margin-top: 32px; padding-top: 22px; }
.product-maker-note h3 { font-size: 17px; font-weight: 400; margin: 0 0 12px; }
.product-maker-note p { font-size: 12px; line-height: 1.75; color: var(--muted); max-width: 400px; margin: 0; }
.product-giving { background: #e8e4d9; padding: 58px 5%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; scroll-margin-top: 25px; }
.product-giving .product-section-label { color: #8f391f; }
.product-giving-copy > p { font-size: 14px; line-height: 1.8; margin: 0 0 24px; }
.product-giving-copy dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-block: 1px solid #2727242b; padding-block: 22px; margin-block: 24px; }
.product-giving dt { font-size: 10px; color: #5d5d54; margin-bottom: 12px; }
.product-giving dd { font-size: 16px; margin: 0; }
.product-giving details { font-size: 11px; line-height: 1.7; }
.product-giving summary { cursor: pointer; padding-block: 8px; }
.product-giving details p { color: #5d5d54; }
.product-related { margin-block: 90px; }
.product-related-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-bottom: 35px; }
.product-related-heading h2 { font-size: clamp(30px,3.3vw,48px); font-weight: 400; letter-spacing: -.045em; margin: 0; }
.product-related-heading a { border-bottom: 1px solid; padding-block: 8px; white-space: nowrap; font-size: 12px; }
.product-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-related-grid .shop-card { margin-top: 0; }
.product-related-grid .shop-card-photo { aspect-ratio: 4/3; }
.store-footer { padding: 36px 5%; border-top: 1px solid #27272430; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.store-footer > a:first-child { font-size: 48px; letter-spacing: -.06em; line-height: 1; }
.store-footer > a:first-child span { display: block; font-size: 10px; letter-spacing: -.02em; margin-top: 7px; }
.store-footer p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.store-footer > a:last-child { font-size: 12px; border-bottom: 1px solid; padding-block: 8px; }
/* Native dialogs are the top layer; no page-level z-index competes with them. */
@keyframes store-backdrop-in { from { background: #27272400; } to { background: #27272466; } }
@keyframes store-backdrop-out { from { background: #27272466; } to { background: #27272400; } }
@media (prefers-reduced-motion: no-preference) {
  :is(.shop-page,.product-page) dialog[data-store-motion="enter"]::backdrop { animation: store-backdrop-in 260ms ease-out both; }
  :is(.shop-page,.product-page) dialog[data-store-motion="exit"]::backdrop { animation: store-backdrop-out 180ms ease-out both; }
}
:is(.shop-page,.product-page) button:focus-visible:active { transform: none; }
.product-page dialog { background: var(--paper); color: var(--ink); border: 0; }
.product-page dialog::backdrop { background: #27272466; }
.store-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; font-size: 27px; font-weight: 300; flex-shrink: 0; }
.bag-dialog { width: min(490px,100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 28px; }
.bag-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.bag-heading h2 { font-size: 28px; font-weight: 400; letter-spacing: -.04em; margin: 0; }
.bag-intro { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 18px 0 28px; }
.bag-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; border-top: 1px solid #27272428; padding-block: 22px; }
.bag-item > img { width: 90px; height: 115px; object-fit: cover; }
.bag-item h3 { font-size: 17px; line-height: 1.15; letter-spacing: -.025em; font-weight: 400; margin: 2px 0 10px; }
.bag-item p { font-size: 11px; color: var(--muted); margin-block: 7px; }
.bag-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.bag-item-bottom .product-quantity button { min-height: 36px; width: 30px; }
.bag-item-remove { font-size: 10px; background: none; border: 0; border-bottom: 1px solid; padding: 8px 0; }
.bag-summary { border-top: 1px solid #27272440; padding-top: 20px; margin-top: 10px; }
.bag-summary > p { display: flex; justify-content: space-between; font-size: 14px; }
.bag-summary strong { font-weight: 400; }
.bag-summary small { display: block; font-size: 11px; line-height: 1.7; color: var(--muted); }
.bag-continue { width: 100%; margin-top: 28px; }
.bag-storage-note { font-size: 10px; color: var(--muted); line-height: 1.7; margin-top: 14px; }
.bag-empty { padding: 48px 0; border-block: 1px solid #27272428; }
.bag-empty h3 { font-size: 30px; letter-spacing: -.04em; font-weight: 400; margin: 0 0 16px; }
.bag-empty p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.product-lightbox { width: min(1100px,100%); height: 95dvh; max-height: 95dvh; padding: 20px; overflow: hidden; }
.product-lightbox > .store-close { position: absolute; right: 18px; top: 14px; background: var(--paper); z-index: 1; }
.lightbox-image-wrap { height: calc(100% - 35px); overflow: hidden; }
.lightbox-image-wrap img { width: 100%; height: 100%; display: block; object-fit: contain; }
.product-lightbox[data-view="1"] img { transform: scale(1.65); transform-origin: 55% 65%; }
.product-lightbox[data-view="2"] img { transform: scale(2.7); transform-origin: 38% 62%; }
.product-lightbox > p { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.product-skip { position: fixed; left: 10px; top: 10px; padding: 12px; background: var(--paper); transform: translateY(-200%); z-index: 2; }
.product-skip:focus { transform: none; }
.product-not-found, .product-no-script { font-size: 13px; line-height: 1.7; padding: 24px; background: #e8e4d9; }
.product-not-found a, .product-no-script a { text-decoration: underline; }
html:has(.product-page dialog[open]) { overflow: hidden; }
.product-page summary:focus-visible { outline: 2px solid #a53b20; outline-offset: 3px; }
@media (min-width: 1600px) { .product-page main { padding-inline: 80px; } }
@media (max-width: 1000px) {
  .product-hero { gap: 5%; }
  .product-summary h1 { font-size: 43px; }
  .product-buy-row { gap: 8px; }
  .product-buy-row .store-button { padding-inline: 10px; font-size: 11px; }
  .product-story { gap: 6%; }
  .product-story-visual > img { height: 430px; }
  .product-giving { gap: 6%; padding: 40px; }
}
@media (max-width: 760px) {
  .store-header { padding-inline: 6%; gap: 10px; min-height: 70px; }
  .store-header .wordmark-crop { width: 52px; }
  .store-story-link { display: block; }
  .store-header nav { font-size: 11px; gap: 14px; }
  .store-preview-banner { font-size: 10px; padding-inline: 18px; }
  .product-page main { padding-inline: 6%; }
  .product-breadcrumb { margin-block: 23px 18px; }
  .product-hero { grid-template-columns: 1fr; gap: 32px; }
  .product-image-clip { height: auto; min-height: 0; aspect-ratio: 4/5; }
  .product-summary { padding: 0; }
  .product-summary h1 { font-size: clamp(40px,8vw,60px); max-width: 520px; }
  .product-summary .product-origin { margin-bottom: 16px; }
  .product-description { max-width: 520px; }
  .product-buy-row .store-button { font-size: 12px; }
  .product-story { margin-block: 65px; grid-template-columns: 1fr; gap: 34px; }
  .product-story-visual > img { height: auto; aspect-ratio: 5/4; }
  .product-section-label { margin-bottom: 20px; }
  .product-giving { grid-template-columns: 1fr; gap: 10px; padding: 30px 24px; }
  .product-giving h2 { font-size: 34px; }
  .product-giving-copy dl { gap: 16px; }
  .product-giving dd { font-size: 14px; }
  .product-related { margin-block: 60px; }
  .product-related-heading { flex-direction: column; gap: 12px; }
  .product-related-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-related-grid .shop-card-photo { aspect-ratio: 4/3; }
  .product-related-grid .shop-card-description { display: block; }
  .store-footer { flex-wrap: wrap; padding: 28px 6%; }
  .store-footer p { order: 3; flex-basis: 100%; margin: 0; }
  .bag-dialog { padding: 22px; }
  .bag-heading h2 { font-size: 26px; }
}
@media (max-width: 360px) {
  .product-summary h1 { font-size: 38px; }
  .product-quantity button { width: 30px; }
  .product-buy-row .store-button { font-size: 11px; padding-inline: 8px; }
  .product-giving { padding-inline: 18px; }
  .product-giving h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-image-clip img, .store-button, .product-disclosures summary::after { transition: none; }
  .store-button:active { transform: none; }
}
