/* Product-only gallery and image viewer. Native vertical page scroll is retained. */
.dtpp-gallery .dtpp-stage{position:relative}
.dtpp-gallery .dtpp-main-image{cursor:default;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.dtpp-gallery .dtpp-main-image:focus-visible{outline:2px solid #ff501b;outline-offset:-3px}
.dtpp-gallery-count{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);padding:3px 9px;background:rgba(255,255,255,.92);border-radius:20px;font:500 12px/1.5 Arial,sans-serif;pointer-events:none;color:#172031}
html body .dtpp-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;min-width:44px;padding:0;border:1px solid #e1e5eb;border-radius:50%;background:rgba(255,255,255,.94);color:#182231;font:400 30px/1 Arial,sans-serif;cursor:pointer;z-index:2}
.dtpp-gallery-prev{left:6px}.dtpp-gallery-next{right:6px}
/* Compact six-point strip: reduce icon and whitespace, retain readable copy. */
html body .dtpp .dtpp-shop-trust-strip{grid-template-columns:repeat(6,minmax(0,1fr));margin:8px 0;border-radius:7px}
html body .dtpp .dtpp-shop-trust-point{padding:6px 8px;min-height:0;justify-content:flex-start}
html body .dtpp .dtpp-shop-trust-icon{height:18px;margin-bottom:3px}
html body .dtpp .dtpp-shop-trust-icon svg{width:17px;height:17px}
html body .dtpp .dtpp-shop-trust-point strong{font-size:11.5px;line-height:1.25}
html body .dtpp .dtpp-shop-trust-point p{font-size:10.5px;line-height:1.25;margin:3px 0 0}
@media(max-width:767px){html body .dtpp .dtpp-shop-trust-strip{grid-template-columns:repeat(3,minmax(0,1fr));margin:6px 0}html body .dtpp .dtpp-shop-trust-point{padding:6px 5px}html body .dtpp .dtpp-shop-trust-point strong{font-size:11px}html body .dtpp .dtpp-shop-trust-point p{font-size:10px}}

/* Swipe-only stage: no popup/zoom or navigation icons. */
.dtpp-gallery .dtpp-stage{touch-action:pan-y pinch-zoom}
.dtpp-gallery .dtpp-stage:focus-visible{outline:2px solid #ff501b;outline-offset:2px}
html body .dtpp-gallery .dtpp-gallery-nav{display:none!important}
/* v1.5.10: full-source viewer and pointer-relative magnifier on the pilot only. */
html body .dtpp-premium .dtpp-stage{cursor:zoom-in;overflow:hidden}
html body .dtpp-premium .dtpp-main-image{cursor:zoom-in}
.dtpp-zoom-lens{position:absolute;z-index:4;border:1.5px solid #202832;border-radius:50%;background-color:#fff;background-repeat:no-repeat;box-shadow:0 4px 18px #0002;pointer-events:none}
.dtpp-zoom-lens[hidden]{display:none!important}
html body .dtpp-premium .dtpp-view-image{position:absolute;right:10px;bottom:10px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #d9dfe8;border-radius:50%;background:#fff;color:#202832;font:24px/1 Arial,sans-serif;cursor:zoom-in;z-index:3;padding:0}
.dtpp-gallery-hint{order:3;font:12px/1.5 Poppins,Arial,sans-serif;color:#596675;text-align:center;margin:2px 0}
html body dialog.dtpp-image-viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#fff;color:#202832;z-index:2147483000;box-sizing:border-box}
html body dialog.dtpp-image-viewer:not([open]){display:none}
html body dialog.dtpp-image-viewer[open]{display:flex;flex-direction:column}
.dtpp-image-viewer::backdrop{background:#000b}
html body .dtpp-viewer-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;flex:0 0 auto;padding:12px;border-bottom:1px solid #d9dfe8;background:#fff;box-sizing:border-box}
html body .dtpp-viewer-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #202832;border-radius:7px;color:#202832;background:#fff;font:500 15px/1.2 Poppins,Arial,sans-serif;cursor:pointer}
html body .dtpp-viewer-toolbar button[hidden]{display:none!important}
html body .dtpp-viewer-toolbar [data-viewer-close]{margin-left:auto;font-size:26px}
html body .dtpp-viewer-toolbar [data-viewer-count]{font:14px/1.5 Arial,sans-serif}
html body .dtpp-viewer-canvas{flex:1;min-height:0;overflow:auto;display:block;touch-action:pan-x pan-y pinch-zoom;padding:8px;box-sizing:border-box}
html body .dtpp-viewer-canvas img{display:block;margin:auto;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 92px);object-fit:contain}
html body .dtpp-viewer-canvas img.is-zoomed{max-width:none;max-height:none;object-fit:initial}
html body .dtpp-image-viewer button:focus-visible{outline:2px solid #ff501b;outline-offset:3px}
@media(hover:none),(pointer:coarse){.dtpp-zoom-lens{display:none!important}.dtpp-gallery-hint{font-size:0}.dtpp-gallery-hint:after{content:'Swipe images · Tap to view full image';font-size:12px}}
