a.product-image-stage{position:relative;cursor:zoom-in}
a.product-image-stage::before{content:'SP';position:absolute;left:12px;bottom:15px;z-index:1;color:#9aa5ae;font:700 11px/1 Arial,sans-serif;letter-spacing:1px;pointer-events:none;user-select:none}
a.product-image-stage::after{content:'⊕';position:absolute;bottom:10px;right:12px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:#405368;background:#f2f5f7;border:1px solid #d5dfe6;font:24px/1 Arial,sans-serif;pointer-events:none}
dialog.product-lightbox{position:fixed;inset:0;margin:auto;width:min(1120px,94vw);max-width:94vw;height:min(850px,90dvh);max-height:90dvh;padding:0;border:1px solid #d7e0e6;border-radius:18px;background:#fff;color:#263748;box-shadow:0 20px 80px #0004;overflow:hidden}
dialog.product-lightbox[open]{display:flex;flex-direction:column}
dialog.product-lightbox::backdrop{background:rgba(17,27,37,.72)}
.product-lightbox header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e0e6eb;flex-shrink:0}
.product-lightbox h2{margin:0;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.product-lightbox header>div{display:flex;gap:8px;flex-shrink:0}
.product-lightbox button{min-height:44px;padding:8px 12px;background:#eef2f5;color:#263748;border:1px solid #ccd7df;border-radius:8px;font:inherit;cursor:pointer}
.product-lightbox button:focus-visible{outline:3px solid #a86137;outline-offset:2px}
.product-lightbox-stage{position:relative;flex:1;min-height:0;overflow:hidden;overscroll-behavior:contain;background:#fff;touch-action:pan-y;user-select:none}
.product-lightbox-stage img{position:absolute;left:50%;top:50%;display:block;max-width:none;max-height:none;object-fit:contain;border-radius:0;transform-origin:center;pointer-events:none;user-select:none}
.product-lightbox-stage.is-zoomed{cursor:grab;touch-action:none}
.product-lightbox-stage.is-swiping{cursor:grabbing}
.product-gallery-hint{margin:0;padding:7px 18px;color:#637b8c;background:#f7f9fb;border-bottom:1px solid #e3e9ee;font:500 12px/1.5 system-ui;flex-shrink:0}
.product-lightbox-stage.is-dragging{cursor:grabbing}
.product-lightbox output{min-width:48px;align-self:center;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
.product-lightbox button:disabled{opacity:.4;cursor:default}
.product-lightbox-caption{margin:0;padding:12px 20px;color:#5d6c7a;font-size:13px;border-top:1px solid #e0e6eb;flex-shrink:0}
@media(max-width:600px){.product-lightbox header{align-items:flex-start;flex-direction:column;padding:12px}.product-lightbox header>div{width:100%;justify-content:flex-end}.product-lightbox h2{font-size:16px}.product-lightbox header>div{gap:5px;flex-wrap:wrap}.product-lightbox button{padding:8px 10px}}

.sp-photo-thumbs{display:flex;align-items:center;gap:7px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:9px 0 12px;padding:2px 0 4px}.sp-photo-thumbs button{flex:0 0 46px;width:46px;height:46px;min-height:46px;padding:3px;border:1px solid #bdcbd6;border-radius:6px;background:white;cursor:pointer}.sp-photo-thumbs button[aria-pressed=true]{border:2px solid #b8521f}.sp-photo-thumbs img{width:100%;height:100%;max-height:100%;object-fit:contain}.sp-photo-thumbs span{font-size:12px;color:#536b7b;white-space:nowrap}.product-photo>a.product-image-stage{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.product-photo figcaption{max-height:3em;overflow:hidden}.product-gallery-navigation{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 18px;border-bottom:1px solid #e0e6eb;flex-shrink:0}.product-gallery-navigation a{font-size:13px;color:#914519;margin-left:6px}.product-gallery-navigation button{min-width:44px}.product-gallery-navigation output{min-width:45px}.price-product-photo .sp-photo-thumbs{justify-content:center}.price-product-photo figcaption{position:static}.price-product-photo{min-width:0}
@media(max-width:600px){.product-gallery-navigation{gap:6px;padding:7px 12px}.product-gallery-navigation a{font-size:12px}.product-lightbox-caption{padding:8px 12px;font-size:12px}}
.offer-card>.sp-photo-thumbs{grid-column:1/-1}.offer-card .catalog-photo figcaption{max-height:3em;overflow:hidden}

/* Discoverable inline gallery controls; reserve space and never cover product pixels. */
.sp-inline-photo-frame{position:relative;min-width:0;padding:0 46px;box-sizing:border-box}
.sp-inline-photo-frame .product-image-stage{width:100%;min-width:0}
.sp-inline-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:48px;border:1px solid #d7dfe4;border-radius:10px;background:#fffaf3;color:#9c5427;font:400 34px/1 system-ui;cursor:pointer;z-index:2}
.sp-inline-photo-arrow.is-prev{left:0}.sp-inline-photo-arrow.is-next{right:0}
.sp-inline-photo-arrow:hover{background:#fbe7ce}.sp-inline-photo-arrow:focus-visible{outline:3px solid #ad632c;outline-offset:2px}
.sp-inline-photo-hint{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:10px 0;font:12px/1.5 system-ui;color:#687d89}
.sp-inline-photo-count{padding:3px 9px;border-radius:20px;background:#253d48;color:#fff;font-weight:650}
@media(max-width:600px){.sp-inline-photo-frame{padding:0 40px}.sp-inline-photo-arrow{width:40px;min-height:44px;height:44px}.sp-inline-photo-hint{font-size:11px;gap:7px}}
