/* The purchase gallery is independent from the existing scroll-driven model. */
#shop{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,.9fr);gap:clamp(36px,5vw,82px);align-items:start;padding-block:72px 80px}
#shop .product-gallery{display:grid;grid-template-columns:1fr;position:sticky;top:24px;min-width:0}
#shop .gallery-main{aspect-ratio:1;position:relative;display:block;border-radius:16px;background:#eae4dc;overflow:hidden;isolation:isolate}
#shop .gallery-open{position:absolute;inset:0;width:100%;height:100%;display:block;padding:0;border:0;border-radius:inherit;background:none;cursor:zoom-in;touch-action:pan-y pinch-zoom}
#shop .gallery-open>img{display:block;position:absolute;width:100%;height:100%;inset:0;object-fit:cover;mix-blend-mode:normal}
#shop .gallery-main[data-gallery-kind="macro"] .gallery-open>img{width:100%;height:100%;inset:0;mask-image:none;-webkit-mask-image:none;mix-blend-mode:normal}
#shop .gallery-zoom-icon{position:absolute;right:18px;top:18px;width:44px;height:44px;display:grid;place-items:center;background:#f8f5efdb;border:1px solid #fff7;border-radius:50%;transition:background .2s,transform .2s}
#shop .gallery-zoom-icon svg{width:21px;height:21px}
#shop .gallery-open:hover .gallery-zoom-icon{background:#fff;transform:scale(1.05)}
#shop .gallery-open:focus-visible{outline:2px solid var(--ink);outline-offset:-5px}
#shop .gallery-image-caption{position:absolute;inset:auto 25px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;pointer-events:none;color:#353c34;font-size:14px;line-height:1.4}
#shop .gallery-image-caption>span:last-child{font-variant-numeric:tabular-nums;font-size:12px;letter-spacing:.1em}
#shop .gallery-main[data-gallery-kind="macro"] .gallery-image-caption{color:white;text-shadow:0 1px 6px #0009}
#shop .gallery-thumbs{display:flex;justify-content:flex-start;gap:12px;margin-top:16px}
#shop .gallery-thumbs button{flex:0 1 94px;min-width:0;padding:0 0 9px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;box-shadow:none;overflow:visible;transition:border-color .2s}
#shop .gallery-thumbs button[aria-pressed="true"]{border-bottom-color:var(--ink)}
#shop .gallery-thumbs button:hover{border-bottom-color:#657060}
#shop .gallery-thumbs .thumb-image{display:block;position:relative;width:100%;aspect-ratio:1.18;margin:0;border-radius:7px;overflow:hidden;background:#eae4dc}
#shop .gallery-thumbs .thumb-image>img{display:block;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;mix-blend-mode:normal}
#shop .gallery-thumbs button>span:last-child{display:block;text-align:center;font-size:13px;line-height:1.4;margin:9px 0 0;color:var(--muted)}
#shop .gallery-thumbs button[aria-pressed="true"]>span:last-child{color:var(--ink)}
#shop .gallery-source{font-size:12px;line-height:1.5;margin:15px 0 0;color:#697065}
#shop .gallery-explore{position:static;justify-self:start;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #b8beb1;border-radius:0;padding:13px 0 9px;margin-top:4px;background:none;font-size:14px;min-height:44px}
#shop .gallery-explore>svg{width:20px;height:20px;margin-right:2px}
#shop .gallery-explore>span{margin-left:18px;transition:transform .2s}
#shop .gallery-explore:hover>span{transform:translate(2px,-2px)}
#shop .product-offer{padding-top:19px;min-width:0}
#shop .product-offer>.eyebrow{font-size:12px;letter-spacing:.14em;margin-bottom:17px;color:#657060}
#shop .product-offer h2{font-size:clamp(44px,4.1vw,60px);line-height:1.01;letter-spacing:-.048em;margin:0}
#shop .product-summary{font-size:17px;line-height:1.55;color:#596151;max-width:370px;margin:19px 0 23px;text-wrap:pretty}
#shop .price-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0;padding-bottom:23px;border-bottom:1px solid var(--line)}
#shop .price-line>strong{font-size:30px;font-weight:500;line-height:1.1;letter-spacing:-.04em}
#shop .price-line>span{font-size:12px;color:#697065}
#shop .price-line>a{margin-left:auto;font-size:13px;color:#44533e;text-underline-offset:4px}
#shop .price-line>a:hover{text-decoration:underline}
#shop .price-line>a>span{margin-left:4px}
#shop .offer-benefits{display:grid;gap:12px;margin:22px 0 26px;padding:0;list-style:none}
#shop .offer-benefits li{display:flex;align-items:center;gap:12px;border:0;border-radius:0;padding:0;font-size:14px;line-height:1.45;color:#414a3e}
#shop .offer-benefits svg{width:23px;height:23px;flex:none;color:#5f6b58}
#shop .offer-selection{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:23px}
#shop .color-choice{display:flex;align-items:center;gap:11px;font-size:14px;margin:0;padding-bottom:4px}
#shop .color-choice .color-swatch{display:block;width:29px;height:29px;flex:none;border-radius:50%;background:#202220;outline:1px solid #8b9384;outline-offset:3px}
#shop .color-choice>div{display:flex;flex-direction:column;gap:6px}
#shop .color-choice>div>span{font-size:12px;color:#697065}
#shop .color-choice strong{font-weight:500;font-size:14px}
#shop .pack-options{display:flex;gap:0;border:0;min-width:0;padding:0;margin:0}
#shop .pack-options legend{font-size:12px;color:#697065;margin:0 0 9px;padding:0}
#shop .pack-options label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;padding:11px 14px;border:1px solid #bdc3b5;background:transparent;border-radius:6px 0 0 6px;margin:0;min-width:0;transition:background .2s,border-color .2s}
#shop .pack-options label+label{border-left:0;border-radius:0 6px 6px 0}
#shop .pack-options label:has(input:checked){background:#dce3d4;border-color:#99a58c;box-shadow:inset 0 0 0 1px #99a58c}
#shop .pack-options label:has(input:focus-visible){outline:2px solid #344431;outline-offset:3px}
#shop .pack-options input{width:14px;height:14px;accent-color:#344431;margin:0;flex:none}
#shop .pack-options label>span:last-child{font-size:13px;margin:0;white-space:nowrap}
#shop .add-button{width:100%;min-height:60px;border-radius:9px;background:#263222;border:1px solid #263222;font-size:16px;padding:18px 22px;transition:background .2s,transform .2s}
#shop .add-button:hover{background:#37452f;transform:translateY(-1px)}
#shop .add-button:active{transform:none}
#shop .add-button>span{font-variant-numeric:tabular-nums}
#shop .offer-service{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;border-bottom:0;padding:0;font-size:12px;color:#586450}
#shop .offer-service>span{display:flex;align-items:center;gap:8px;line-height:1.4}
#shop .offer-service svg{width:20px;height:20px;flex:none}
#shop .offer-service a{display:flex;flex-direction:row;gap:5px;align-items:center;font-size:12px;line-height:1.5;border-bottom:1px solid #b8beb1;white-space:nowrap}
#shop .offer-service a>span{color:inherit;text-decoration:none}
#shop .included-note{font-size:13px;line-height:1.5;margin:23px 0 0;padding-top:18px;border-top:1px solid var(--line);color:#697065}
#shop .prototype-note{font-size:12px;margin-top:8px;color:#697065}
.gallery-dialog{width:min(1120px,calc(100vw - 40px));height:min(940px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:1px solid #fff9;border-radius:15px;background:#eeeae3;color:var(--ink);overflow:hidden;box-shadow:0 28px 110px #1117}
.gallery-dialog::backdrop{background:#172218c4;backdrop-filter:blur(12px)}
.gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}
.gallery-dialog-header{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;gap:20px;border-bottom:1px solid var(--line)}
.gallery-dialog-header .eyebrow{font-size:11px;letter-spacing:.12em;color:#62705a;display:block;margin-bottom:7px}
.gallery-dialog-header h2{font-family:inherit;letter-spacing:-.02em;font-size:22px;font-weight:400;line-height:1.2}
.gallery-dialog-header>button{display:flex;align-items:center;gap:16px;min-height:44px;font-size:14px}
.gallery-dialog-header>button>span{font-size:28px;line-height:1}
.gallery-zoom-stage{overflow:auto;overscroll-behavior:contain;background:#eae4dc;min-height:0;text-align:center;scrollbar-width:thin;touch-action:pan-x pan-y pinch-zoom}
.gallery-zoom-stage>img{display:block;width:100%;height:100%;object-fit:contain;margin:auto;mix-blend-mode:normal;max-width:none}
.gallery-zoom-stage.is-zoomed>img{width:1254px;height:1254px;object-fit:contain}
.gallery-dialog-footer{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 24px 3px}
.gallery-dialog-footer>button{display:flex;align-items:center;justify-content:center;gap:24px;font-size:17px;min-width:44px;min-height:44px;border:1px solid #c5cbbe;border-radius:50%}
.gallery-dialog-footer>button:hover{background:#dfe5d8;border-color:#94a288}
.gallery-dialog-footer>span{font-size:13px;font-variant-numeric:tabular-nums;margin-inline:3px}
.gallery-dialog-footer>#gallery-magnify{font-size:14px;padding:0 18px;border-radius:30px;margin-left:auto}
.gallery-dialog-credit{padding:4px 24px 15px;font-size:12px;text-align:center;color:#697065;line-height:1.5}
body.gallery-open{overflow:hidden}
.bag-item>img{object-fit:contain;background:#eae4dc;border-radius:8px}
@media(max-width:1100px) and (min-width:841px){
 #shop{gap:34px;grid-template-columns:1.1fr 1fr;padding-inline:4vw}
 #shop .product-offer{padding-top:4px}#shop .product-offer h2{font-size:44px}
 #shop .product-summary{font-size:16px;margin-block:16px 20px}
 #shop .price-line{row-gap:10px}#shop .price-line>a{font-size:12px}
 #shop .offer-selection{gap:12px}#shop .pack-options label{padding-inline:9px}
}
@media(max-width:840px){
 #shop{display:flex;flex-direction:column;gap:30px;padding-top:30px;padding-bottom:45px}
 #shop .product-gallery{position:relative;top:auto;width:100%}
 #shop .gallery-main{aspect-ratio:1.08;border-radius:12px}
 #shop .gallery-open>img{width:100%;height:100%;inset:0}
 #shop .gallery-zoom-icon{top:13px;right:13px;width:40px;height:40px}
 #shop .gallery-image-caption{inset:auto 18px 17px;font-size:13px}
 #shop .gallery-thumbs{gap:10px;margin-top:12px}
 #shop .gallery-thumbs button{flex:0 1 80px;padding-bottom:8px}
 #shop .gallery-thumbs .thumb-image{aspect-ratio:1.35}
 #shop .gallery-thumbs button>span:last-child{font-size:12px;margin-top:7px}
 #shop .gallery-source{margin-top:11px;font-size:12px}
 #shop .gallery-explore{position:absolute;bottom:42px;right:0;font-size:12px;gap:5px;padding:8px 0;min-height:40px;margin:0}
 #shop .gallery-explore>svg{display:none}#shop .gallery-explore>span{margin-left:4px}
 #shop .product-offer{padding-top:0;width:100%}
 #shop .product-offer>.eyebrow{font-size:11px;margin-bottom:12px}
 #shop .product-offer h2{font-size:44px;line-height:1.02}
 #shop .product-summary{font-size:16px;line-height:1.55;max-width:100%;margin-block:16px 20px}
 #shop .price-line{padding-bottom:20px}#shop .price-line>strong{font-size:28px}
 #shop .price-line>a{font-size:12px}
 #shop .offer-benefits{gap:12px;margin-block:20px 24px}
 #shop .offer-selection{gap:16px;margin-bottom:20px}#shop .pack-options label{padding-inline:12px}
 #shop .add-button{min-height:58px;padding-inline:20px}
 .gallery-dialog{width:100vw;height:100dvh;border:0;border-radius:0}
 .gallery-dialog-header{padding:18px 20px}.gallery-dialog-header h2{font-size:19px}
 .gallery-dialog-header .eyebrow{font-size:10px}.gallery-dialog-header>button{font-size:13px;gap:10px}
 .gallery-dialog-footer{padding-inline:20px;gap:7px}.gallery-dialog-footer>#gallery-magnify{padding-inline:16px;font-size:13px;gap:15px}
 .gallery-dialog-credit{padding-bottom:max(18px,env(safe-area-inset-bottom));font-size:11px}
}
@media(min-width:560px) and (max-width:840px){#shop .gallery-main{aspect-ratio:1.3}#shop .gallery-explore{position:static;justify-self:end;margin-top:-47px}#shop .product-offer{max-width:580px;margin-inline:auto}}
@media(max-width:440px){#shop .gallery-explore{position:static;justify-self:start;padding-top:7px;margin:0}#shop .gallery-source{font-size:11px}#shop .pack-options label{padding-inline:10px}#shop .product-offer h2{font-size:42px}}
@media(prefers-reduced-motion:reduce){#shop button,#shop .gallery-explore>span,#shop .gallery-zoom-icon{transition:none}}
