.routeProduct .detailGrid {
  --product-photo-height: clamp(390px, 65vh, 700px);
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(18px, 2.4vw, 36px);
  align-items: start;
}
.routeProduct > .breadcrumb {display:inline-block;margin-bottom:16px}
.productInfo {grid-area:1 / 2;min-width:0}
.productInfo h1 {font-size:clamp(22px,2.4vw,36px);line-height:1.2;margin:10px 0 16px;overflow-wrap:anywhere}
.productMedia {grid-area:1 / 1;min-width:0}
.productMedia .gallery {margin:8px 0 0;gap:8px}
.productMedia .gallery button {border:1px solid #e5d9ec;border-radius:8px;padding:3px;flex:none}
.productMedia .gallery button[aria-pressed=true] {border-color:#873fb1;box-shadow:inset 0 0 0 1px #873fb1}
.productMedia .gallery img {display:block;width:50px;height:56px}
.productZoom {min-width:0}
.productZoomFrame {display:block;position:relative;width:100%;padding:0;border:1px solid #eee3f1;border-radius:12px;background:white;overflow:hidden;cursor:zoom-in;line-height:0}
.productZoomFrame .detailImage {display:block;width:100%;height:var(--product-photo-height);object-fit:contain}
.productZoomLens {position:absolute;left:0;top:0;pointer-events:none;background:rgb(86 55 109 / 18%);border:1px solid rgb(80 43 102 / 50%)}
.productZoomPreview {grid-area:1 / 2;position:relative;align-self:start;z-index:2;pointer-events:none;overflow:hidden;height:var(--product-photo-height);border:1px solid #e5d9ec;border-radius:12px;background:#fff;box-shadow:0 8px 30px #3d21401a}
.productZoomDetail {display:block;position:absolute;left:0;top:0;max-width:none;max-height:none}
.productZoomHint {font-size:12px;color:#715b79;text-align:center;line-height:1.5;margin:9px 0}
.zoomTouchHint {display:none}
.product a.secondary {display:block;text-align:center}
@media(min-width:1050px) {
  .productMedia:has(.gallery) {display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px}
  .productMedia:has(.gallery) .productZoom {grid-area:1 / 2}
  .productMedia .gallery {grid-area:1 / 1;flex-direction:column;max-height:var(--product-photo-height);margin:0;padding:2px;align-items:flex-start}
}
@media(max-width:700px) {
  .routeProduct {padding-top:18px}
  .routeProduct .detailGrid {--product-photo-height:clamp(260px,55svh,480px);grid-template-columns:minmax(0,1fr);gap:18px;padding:14px}
  .productMedia,.productInfo {grid-area:auto}
}
@media(max-width:700px),(any-hover:none) {
  .productZoomPreview,.productZoomLens,.zoomDesktopHint {display:none}
  .zoomTouchHint {display:inline}
}
.imageZoomDialog{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;padding:0;margin:0;overflow:hidden;background:#fff;color:#382b3e;border-radius:0}
.imageZoomDialog[open]{display:flex;flex-direction:column}
.imageZoomDialog::backdrop{background:#201427dc;backdrop-filter:blur(5px)}
.imageZoomHeader{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 16px;border-bottom:1px solid #eee3f1;flex:none}
.imageZoomHeader h2{font:600 15px 'DM Sans',system-ui;margin:0;letter-spacing:0}
.imageZoomClose{border:0;border-radius:8px;background:#f8f0fb;color:#794293;font-size:28px;width:44px;height:44px;line-height:1;flex:none}
.imageZoomStage{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;background:#fff;touch-action:pan-x pan-y pinch-zoom}
.imageZoomLarge{display:block;margin:auto;max-width:none;max-height:none;object-fit:contain}
.imageZoomError{margin:30px;text-align:center;font-size:14px}
.imageZoomControls{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 15px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee3f1;background:#faf5fc;flex:none}
.imageZoomControls button{min-width:44px;min-height:44px;padding:4px 12px;border:1px solid #decae8;border-radius:9px;background:#fff;color:#77408f;font-size:24px;font-weight:600}
.imageZoomControls button:disabled{opacity:.35;cursor:default}
.imageZoomControls .imageZoomReset{font-size:13px;margin-left:8px}
.imageZoomControls [role=status]{min-width:34px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
@media(hover:none),(pointer:coarse){.zoomDesktopHint{display:none}.zoomTouchHint{display:inline}.productZoomFrame{cursor:pointer}}
@media(max-width:700px){.imageZoomDialog{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;border-radius:0}.imageZoomHeader{padding-top:calc(10px + env(safe-area-inset-top))}}


.imageZoomLarge[hidden]{display:none}
