/* Shared product gallery: a clear image stage and a separate, visible photo strip. */
.product-gallery{width:100%;min-width:0;display:block;height:auto;min-height:0;padding:0;align-self:start;overflow:hidden;border:1px solid #e4e7eb;background:#f6f7f9}
.product-gallery .gallery-top{z-index:2;align-items:center;pointer-events:none}
.product-gallery .gallery-top button{pointer-events:auto;background:#fff}
.gallery-stage{position:relative;padding:44px 18px 14px}
.gallery-main{display:block;width:100%;padding:8px 28px 28px;background:transparent;border:0;cursor:zoom-in;position:relative;border-radius:10px}
.product-gallery #main-product-image{display:block;width:100%;height:clamp(190px,calc(100svh - 500px),320px);object-fit:contain;mix-blend-mode:multiply;cursor:zoom-in}
.gallery-main:disabled{cursor:default}.gallery-main:disabled img{cursor:default;opacity:.6}
.gallery-zoom-hint{display:flex;align-items:center;gap:6px;position:absolute;bottom:0;right:0;padding:7px 10px;background:#fff;border:1px solid #e0e4e9;border-radius:6px;font-size:11px;color:#424b56}
.gallery-zoom-hint .icon{width:15px;height:15px}
.gallery-position{position:absolute;bottom:23px;left:23px;background:#fff;border:1px solid #e0e4e9;border-radius:20px;padding:5px 11px;font-size:12px;font-weight:600;color:#4c5662;pointer-events:none}
.gallery-unavailable{display:block;text-align:center;font-size:12px;color:#68717c}
.gallery-arrow{display:grid;place-items:center;position:absolute;z-index:1;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #dce1e7;border-radius:50%;background:#fff;color:#343a43;box-shadow:0 2px 8px #16253a0a;cursor:pointer;font-size:30px;line-height:1;padding:0 0 3px}
.gallery-arrow-prev{left:14px}.gallery-arrow-next{right:14px}.gallery-arrow:hover{border-color:#cf2825;color:#cf2825;background:#fff8f8}
.gallery-strip{padding:12px 20px 13px;border-top:1px solid #e1e5e9;background:white;min-width:0}
.gallery-strip-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.gallery-strip-heading strong{display:flex;align-items:center;gap:8px;font-size:13px;color:#303640}
.gallery-strip-heading strong span{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#fbecec;color:#bd2321;font-size:11px}
.gallery-strip-heading small{font-size:11px;color:#737c88}
.gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:3px 2px 6px;scrollbar-width:thin;scroll-snap-type:x proximity}
.gallery-thumb{position:relative;width:94px;height:94px;flex:none;display:grid;place-items:center;padding:8px;background:#fff;border:1px solid #dce1e7;border-radius:9px;cursor:pointer;scroll-snap-align:start}
.gallery-thumb[aria-pressed=true]{border:2px solid #cf2825;padding:7px;box-shadow:0 0 0 3px #fbecec}
.gallery-thumb:hover{border-color:#cf2825}
.product-gallery .gallery-thumb img,.gallery-modal .gallery-thumb img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;padding:0;margin:0;cursor:pointer}
.gallery-thumb-number{position:absolute;bottom:5px;right:5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:4px;background:#f1f3f5;color:#66717d;font-size:10px;font-weight:600}
.gallery-thumb[aria-pressed=true] .gallery-thumb-number{background:#cf2825;color:white}
.gallery-main:focus-visible,.gallery-arrow:focus-visible,.gallery-thumb:focus-visible{outline:3px solid #cf2825;outline-offset:3px}
.gallery-modal{width:900px;max-width:100%}.gallery-modal h2{font-size:19px;line-height:1.4;padding-right:20px;margin-bottom:14px}
.gallery-viewer{position:relative;display:grid;place-items:center;min-height:160px}
.gallery-viewer .modal-image{width:100%;height:46vh;max-height:520px;object-fit:contain;padding:10px 46px}
.gallery-viewer .gallery-arrow-prev{left:0}.gallery-viewer .gallery-arrow-next{right:0}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px;color:#596572;font-size:12px}
.gallery-controls>a{font-size:12px}.gallery-strip-modal{padding:14px 0 0;margin-top:12px}.gallery-strip-modal .gallery-thumb{width:76px;height:76px}
@media(max-width:980px){.product-gallery #main-product-image{height:270px}.gallery-stage{padding:48px 14px 18px}.gallery-strip{padding:15px}.gallery-thumb{width:84px;height:84px}.gallery-strip-heading small{display:none}}
@media(max-width:700px){.product-gallery{height:auto;min-height:0;padding:0}.gallery-stage{padding:46px 12px 15px}.product-gallery #main-product-image{height:260px}.gallery-main{padding:5px 28px 32px}.gallery-position{bottom:18px;left:17px}.gallery-arrow{width:40px;height:40px}.gallery-arrow-prev{left:9px}.gallery-arrow-next{right:9px}.gallery-strip{padding:14px 15px 13px}.gallery-strip-heading small{display:block}.gallery-thumb{width:82px;height:82px}.gallery-thumbnails{gap:10px}.gallery-modal{padding:22px 15px}.gallery-modal h2{font-size:16px}.gallery-viewer .modal-image{height:42vh;padding:8px 36px}.gallery-strip-modal{padding:12px 0 0}.gallery-strip-modal .gallery-thumb{width:66px;height:66px}.gallery-controls>a{font-size:11px}}
@media(max-width:420px){.product-gallery #main-product-image{height:225px}.gallery-strip-heading small{font-size:10px}.gallery-thumb{width:76px;height:76px}}
/* Merchant descriptions use sanitized semantic HTML and our typography. */
.product-description{margin-top:30px;padding-top:27px;border-top:1px solid #e4e7eb}
.product-description>h2{margin:0 0 20px;font-size:23px}
.product-description .product-copy{margin:0;color:#4e5965;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.product-copy p{margin:0 0 17px}.product-copy h2,.product-copy h3,.product-copy h4,.product-copy h5{color:#222a33;line-height:1.4;margin:26px 0 12px;font-weight:650}.product-copy h2{font-size:23px}.product-copy h3{font-size:20px}.product-copy h4,.product-copy h5{font-size:17px}
.product-copy ul,.product-copy ol{margin:12px 0 20px;padding-left:24px}.product-copy li{margin:6px 0}.product-copy ul{list-style:disc}.product-copy ol{list-style:decimal}
.product-copy figure{margin:22px 0;text-align:center}.product-copy img{display:block;max-width:100%;height:auto;max-height:680px;object-fit:contain;margin:0 auto;border-radius:8px}.product-copy figcaption{font-size:12px;color:#73808e;margin-top:8px}
.product-copy table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:20px 0;font-size:13px}.product-copy th,.product-copy td{border:1px solid #e3e7ec;padding:10px 13px;text-align:left}.product-copy th{background:#f6f7f9;color:#303944}
.product-copy blockquote{margin:20px 0;padding:12px 18px;border-left:3px solid #cf2825;background:#f8f9fa}.product-copy hr{border:0;border-top:1px solid #e4e7eb;margin:24px 0}
@media(max-width:700px){.product-description{margin-top:24px;padding-top:22px}.product-description .product-copy{font-size:13px;line-height:1.8}.product-copy h2{font-size:21px}.product-copy h3{font-size:18px}.product-copy h4{font-size:16px}.product-copy figure{margin:18px 0}}
