/* A spacious image gallery with an explicit, user-operated zoom viewer. */
.pd-gallery--landscape .pd-gallery-open{aspect-ratio:4/3}
.pd-gallery--landscape .pd-gallery-thumb img{aspect-ratio:4/3}
.product-page .pd-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px,4vw,64px); align-items: start; padding-top: 22px; padding-bottom: 72px; }
.product-page .pd-hero-copy { padding-top: 0; align-self: center; text-align: center; min-width: 0; }
.product-page .pd-hero-copy > .pd-eyebrow { justify-content: center; }
.product-page .pd-hero-copy > h1,
.product-page .pd-hero-copy > .pd-lede { margin-inline: auto; }
.product-page .pd-hero-copy .pd-quick > div { justify-items: center; }
.product-page .pd-hero-copy .pd-actions,
.product-page .pd-hero-copy .pd-trust { justify-content: center; }
.pd-gallery { min-width: 0; width: 100%; }
.product-page .pd-gallery-figure { margin: 0; border: 1px solid #d8e0e6; background: #eef0f2; }
.pd-gallery-open { display: block; width: 100%; aspect-ratio: 1.18; padding: 0; border: 0; border-radius: 0; position: relative; background: #e9ecef; cursor: zoom-in; overflow: hidden; }
.pd-gallery-main { display: block; width: 100%; height: 100%; object-fit: fill; }
.pd-gallery--photos .pd-gallery-open { background: #fff; }
.pd-gallery--photos .pd-gallery-thumb img { object-fit: fill; background: #fff; }
.pd-gallery-zoom-hint { display: inline-flex; align-items: center; gap: 8px; position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; background: #fffffff0; color: #213746; font-size: 12px; font-weight: 600; border: 1px solid #d7dee4; pointer-events: none; }
.pd-gallery-zoom-hint svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; }
.pd-gallery-figure figcaption { padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #f6f8f9; color: #293e4d; font-size: 13px; font-weight: 600; line-height: 1.5; }
.pd-gallery-figure [data-gallery-count] { font-variant-numeric: tabular-nums; color: #435b6c; flex-shrink: 0; }
.pd-gallery-thumbs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 15px; }
.pd-gallery-thumb { display: block; min-width: 0; padding: 4px; margin: 0; border: 1px solid #d8e0e6; background: #fff; border-radius: 0; color: #314b5e; cursor: pointer; transition: border-color .18s,background .18s; }
.pd-gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: #e9ecef; }
.pd-gallery-thumb span { display: block; font-size: 11px; font-weight: 600; line-height: 1.4; padding: 8px 2px 4px; min-height: 42px; }
.pd-gallery-thumb:hover { border-color: #6b879c; }
.pd-gallery-thumb.is-active { border-color: #213f58; outline: 1px solid #213f58; outline-offset: -1px; background: #edf3f7; }
.product-page .pd-gallery-note { color: #3b4b56; font-size: 12px; line-height: 1.7; font-weight: 500; margin-top: 13px; }
.pd-image-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0e1b25f5; color: #fff; overflow: hidden; z-index: 100; }
.pd-image-viewer[open] { display: grid; grid-template-rows: 72px minmax(0,1fr) 76px; }
.pd-image-viewer::backdrop { background: #0b1521ed; }
.pd-viewer-toolbar, .pd-viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 28px; background: #111f2b; }
.pd-viewer-counter { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-viewer-tools { display: flex; align-items: center; gap: 10px; }
.pd-image-viewer button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #9eafbc66; border-radius: 0; color: #fff; background: transparent; font: 500 23px/1 Inter,Arial,sans-serif; cursor: pointer; }
.pd-image-viewer button:hover { background: #ffffff14; border-color: #d7e4ec; }
.pd-image-viewer button:disabled { opacity: .4; cursor: default; }
.pd-image-viewer [data-viewer-action="reset"] { width: 70px; font-size: 13px; }
.pd-image-viewer [data-viewer-action="close"] { margin-left: 16px; font-size: 30px; }
.pd-viewer-stage { display: grid; place-items: center; overflow: hidden; position: relative; touch-action: none; cursor: zoom-in; }
.pd-viewer-stage.is-zoomed { cursor: grab; }
.pd-viewer-stage.is-dragging { cursor: grabbing; }
.pd-viewer-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center; }
.pd-image-viewer .pd-viewer-caption { color: #eff4f7; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center; margin: 0; }
.pd-viewer-bottom > button { flex-shrink: 0; }
@media(max-width:1100px) { .product-page .pd-hero { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 32px; }.pd-gallery-thumb span { font-size: 10px; }.pd-gallery-thumbs { gap: 9px; } }
@media(max-width:900px) { .product-page .pd-hero { grid-template-columns: 1fr; gap: 32px; }.product-page .pd-hero-copy { padding-top: 0; align-self: stretch; }.pd-gallery { grid-row: 1; }.pd-gallery-open { aspect-ratio: 1.3; }.pd-gallery-thumb span { font-size: 12px; }.pd-gallery-thumbs { gap: 12px; } }
@media(max-width:600px) {
  .product-page .pd-hero { padding-top: 10px; padding-bottom: 45px; }
  .pd-gallery-open { aspect-ratio: 1.08; }
  .pd-gallery-zoom-hint { right: 10px; bottom: 10px; padding: 7px 9px; font-size: 11px; }
  .pd-gallery-figure figcaption { font-size: 12px; padding: 12px; gap: 10px; }
  .pd-gallery-thumbs { gap: 7px; margin-top: 12px; }
  .pd-gallery-thumb { padding: 3px; }
  .pd-gallery-thumb img { aspect-ratio: 1; }
  .pd-gallery-thumb span { display: none; }
  .pd-gallery-thumbs button { min-height: 44px; }
  .product-page .pd-gallery-note { font-size: 12px; }
  .pd-image-viewer[open] { grid-template-rows: 68px minmax(0,1fr) 76px; }
  .pd-viewer-toolbar,.pd-viewer-bottom { padding: 10px 14px; gap: 12px; }
  .pd-viewer-tools { gap: 6px; }.pd-image-viewer [data-viewer-action="close"] { margin-left: 2px; }
  .pd-image-viewer [data-viewer-action="reset"] { width: 58px; }
  .pd-image-viewer .pd-viewer-caption { font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) { .pd-gallery-thumb { transition: none; } }
