/* Product detail additions. All selectors are scoped with the pdt- prefix. */
.pdt-gallery__stage { position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; background: #f7f8fa; box-shadow: 0 18px 45px rgba(20, 30, 45, .10); }
.pdt-gallery__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 24px rgba(255,255,255,.78); }
.pdt-gallery__main { display: block; width: 100%; aspect-ratio: 1 / .74; object-fit: contain; padding: clamp(16px, 3vw, 34px); transition: opacity .24s ease, transform .42s ease; }
.pdt-gallery__main.is-switching { opacity: .3; transform: scale(.985); }
.pdt-gallery__thumbs { display: flex; gap: 12px; margin-top: 16px; padding: 2px; overflow-x: auto; scrollbar-width: thin; }
.pdt-gallery__thumb { flex: 0 0 84px; width: 84px; height: 76px; padding: 5px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pdt-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pdt-gallery__thumb:hover:not(:disabled), .pdt-gallery__thumb.is-active { border-color: var(--theme-color-3, #0d5b96); box-shadow: 0 0 0 2px rgba(13,91,150,.14), 0 8px 16px rgba(13,91,150,.17); transform: translateY(-2px); }
.pdt-gallery__thumb.is-empty { display: grid; place-items: center; cursor: default; background: linear-gradient(145deg,#fbfbfc,#f1f3f5); opacity: .72; }
.pdt-gallery__empty-mark { display: block; width: 22px; height: 22px; border: 1px dashed rgba(0,0,0,.25); border-radius: 50%; }
.pdt-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.pdt-info-card { min-height: 132px; padding: 18px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(19,30,46,.05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.pdt-info-card:hover { border-color: rgba(13,91,150,.36); box-shadow: 0 13px 26px rgba(13,91,150,.12); transform: translateY(-3px); }
.pdt-info-card__label { display: block; margin-bottom: 10px; color: var(--theme-color-3, #0d5b96); font-weight: 700; }
.pdt-info-card p { margin: 0; font-size: 14px; line-height: 1.65; }
.pdt-viewer-section { position: relative; }
.pdt-viewer-heading { max-width: 690px; margin-bottom: 28px; }
.pdt-viewer { position: relative; min-height: 600px; overflow: hidden; border: 1px solid rgba(13,91,150,.16); border-radius: 20px; background: radial-gradient(circle at 50% 35%, #fff 0%, #f6f8fa 68%, #eef1f4 100%); box-shadow: inset 0 0 32px rgba(13,91,150,.06), 0 18px 45px rgba(19,30,46,.11); }
.pdt-viewer canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.pdt-viewer__loading, .pdt-viewer__fallback { position: absolute; top: 50%; left: 50%; z-index: 2; width: min(90%, 400px); transform: translate(-50%, -50%); padding: 14px 18px; border-radius: 10px; text-align: center; background: rgba(255,255,255,.82); color: #36424d; box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.pdt-viewer__fallback { color: #8c3840; }
.pdt-viewer-help { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; padding: 15px 18px; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; background: #fafbfc; color: #53606c; font-size: 14px; line-height: 1.5; }
@media (max-width: 767.98px) { .pdt-gallery__main { aspect-ratio: 1 / .85; } .pdt-gallery__thumb { flex-basis: 70px; width: 70px; height: 64px; } .pdt-info-grid { grid-template-columns: 1fr; } .pdt-viewer { min-height: 420px; border-radius: 16px; } .pdt-viewer-help { align-items: flex-start; flex-direction: column; gap: 8px; } }
