.product-detail .product-gallery .product-photo{width:100%;margin:0;aspect-ratio:.92;padding:0;border:0;background:#f4f4f2;cursor:zoom-in;display:block;position:relative;overflow:hidden}
.product-detail-photos{grid-column:1/-1;display:grid;gap:clamp(24px,5vw,72px);margin-top:clamp(28px,5vw,72px)}
.product-photo-row{display:grid;gap:clamp(14px,2vw,28px)}.product-photo-row.pair{grid-template-columns:1fr 1fr;align-items:start}.product-photo-row.center{width:62%;justify-self:center}
.product-detail-photos .product-photo{width:100%;aspect-ratio:.8;padding:0;border:0;background:#f4f4f2;cursor:zoom-in;display:block;position:relative;overflow:hidden}
.product-photo:focus-visible{outline:2px solid #333;outline-offset:5px}.product-hover-zoom{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0}.site-image-wrap.zooming .product-hover-zoom{opacity:1}
@media(max-width:820px){.product-photo-row.center{width:84%}.product-detail-photos{grid-column:auto;margin-top:12px}.product-image-toolbar{padding:12px;gap:8px}.product-image-actions{gap:4px}.product-image-toolbar button{font-size:12px}.product-image-stage{height:calc(100dvh - 66px)}.product-image-stage img{max-height:calc(100dvh - 66px)}}
/* Purchase composition: the sticky information is bounded by the top gallery. */
.product-detail{display:block!important;max-width:1600px;margin:auto;padding-top:clamp(32px,5vw,72px)}
.product-main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(36px,7vw,104px);align-items:start}
.product-main .product-info{position:sticky;top:90px;align-self:start;min-width:0}
.product-main .product-gallery{min-width:0;display:grid;gap:18px}
.product-main .product-gallery .product-photo{width:100%;margin:0;aspect-ratio:.95}
.product-slider{min-width:0}.product-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;overscroll-behavior-x:contain;touch-action:pan-x pan-y;outline-offset:4px}
.product-slides::-webkit-scrollbar{display:none}.product-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.product-photo-switch{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:8px!important;margin-top:12px}
.product-photo-switch button{border:1px solid transparent!important;padding:3px!important;background:none;width:100%;height:auto!important;aspect-ratio:1;position:relative;overflow:hidden}
.product-photo-switch button .site-image{width:100%;height:100%;object-fit:cover}.product-photo-switch button[aria-pressed=true]{border-color:#222!important}
.product-slider-arrows{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:12px}.product-slider-arrows button{background:none;border:0;padding:8px 12px;font-size:18px;cursor:pointer}
.product-main .size-row,.color-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 24px}
.product-main .size-chip{height:34px;min-width:36px;padding:0 10px;font-size:var(--font-productInfo,14px);border:1px solid #d4d4d4;background:#fff;color:#333;cursor:pointer}
.product-main .size-chip.active{border-color:#222;background:#222;color:white}.product-main .product-price{margin-bottom:24px}.product-main .product-info dl{margin-bottom:24px}.product-main .pay-stack{margin-bottom:26px}
.product-accordion{border-bottom:1px solid #ddd}.product-accordion h2{font-size:inherit!important;margin:0!important}.product-accordion button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:15px 0;background:none;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.accordion-sign{font-family:Arial,sans-serif;transition:transform .25s}.product-accordion.open .accordion-sign{transform:rotate(45deg)}
.product-accordion-body{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .3s ease,visibility .3s}.product-accordion.open .product-accordion-body{grid-template-rows:1fr;visibility:visible}.product-accordion-body>div{overflow:hidden;min-height:0}.product-accordion-body p{font-size:var(--font-productInfo,14px);line-height:1.75;margin:0;padding:4px 0 20px;white-space:normal}
.product-detail>.product-detail-photos{display:grid;width:100%;margin-top:clamp(48px,8vw,110px)}.product-detail .detail-common-module{width:100%}
.product-related{margin-top:clamp(64px,10vw,140px);padding-top:28px;border-top:1px solid #ddd}.product-related h2{font-size:var(--font-productName,18px);font-weight:400;margin:0 0 28px}.product-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.product-related-grid .site-image-wrap{aspect-ratio:.85}.product-related-grid a{min-width:0}.product-related-grid .product-under{grid-template-columns:1fr;font-size:var(--font-productInfo,14px)}
.admin-size-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:6px;margin-bottom:18px}.admin-option-chip{display:flex;align-items:center;gap:5px;border:1px solid #ddd;padding:8px;font-size:12px;cursor:pointer}.admin-option-chip:has(input:checked){border-color:#222;background:#f2f2f0}.admin-option-chip input{width:14px;height:14px;margin:0}
.purchase-mode-choices{display:flex;gap:12px;margin:12px 0}.purchase-mode-choices button{display:grid;justify-items:center;gap:8px;flex:1;white-space:normal!important}.purchase-mode-choices button[aria-pressed=true]{border-color:#222;background:#f4f4f2}.purchase-mode-glyph{display:grid;gap:3px;width:48px;height:56px}.purchase-mode-glyph i{background:#a9a9a3;display:block}.purchase-mode-glyph.thumbnails{grid-template-columns:repeat(2,1fr);grid-template-rows:3fr 1fr}.purchase-mode-glyph.thumbnails i:first-child{grid-column:1/-1}.purchase-policy-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.purchase-policy-fields textarea{min-height:120px}.product-size-editor h4{margin:12px 0}.content-module-option{flex-wrap:wrap}.content-module-option>.content-actions{margin:0}
@media(max-width:820px){.product-main{grid-template-columns:1fr;gap:30px}.product-main .product-info{position:static;max-width:none}.product-main .product-gallery[data-gallery-mode=stack]{gap:16px}.product-detail{padding-top:24px}.product-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.purchase-policy-fields{grid-template-columns:1fr}.product-main .product-gallery .product-photo{margin:0;width:100%}.product-photo-switch{grid-template-columns:repeat(auto-fill,minmax(48px,1fr))}.product-main .size-chip{min-height:40px}.product-main .product-info h1{font-size:calc(var(--font-productName,18px)*1.65)}}
@media(prefers-reduced-motion:reduce){.product-accordion-body,.accordion-sign{transition:none}}
.admin-color-grid{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
@media(min-width:821px){.product-main .product-info{top:var(--product-sticky-top,90px)}}
