/* Product Type layout. Overview media and specification groups are optional. */
.product-section__copy { max-width: 900px; }
.product-copy, .product-note, .product-list li { white-space: pre-line; }
.product-copy, .product-list, .product-note { color: var(--section-copy); }
.product-list { padding-left: 1.4em; margin: 20px 0; }
.product-list li + li { margin-top: 8px; }
.product-note { margin-top: 20px; font-size: 0.95rem; }
.product-group-images { display: grid; gap: 24px; margin: 24px 0; }
.product-group-images .product-overview__media { max-width: 1100px; }
.product-overview__media figcaption { padding: 12px 18px; color: var(--section-copy); font-size: 0.9rem; }
.product-table.product-table--v2 td, .product-table.product-table--v2 th { white-space: pre-line; }
.product-table.product-table--v2 th[scope="row"] { white-space: nowrap; }

/* Product v2: semantic sections share a small, explicit visual hierarchy. */
.product-overview--v2 h2,
.product-range--v2 .product-range__heading h2,
.product-section h2,
.product-visual-group > .container > h2 {
    font-size: clamp(28px, 2.4vw, 32px);
    line-height: 1.15;
}
.product-section h3,
.product-range--v2 .product-specifications h3 {
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.2;
    margin-bottom: 18px;
}
.product-section__copy { font-size: 16px; line-height: 1.65; }
.product-section .eyebrow,
.product-overview--v2 .eyebrow,
.product-range--v2 .eyebrow { font-size: 11px; }
.product-visual-group > .container > h2 { margin-bottom: 36px; }
.product-visual-group .product-section + .product-section { margin-top: clamp(28px, 4vw, 44px); }
.product-visual-group .product-section__copy > :last-child { margin-bottom: 0; }
.product-section--standalone {
    padding-block: clamp(48px, 4.5vw, 64px);
    background: var(--surface);
}
.product-section--standalone.section--soft { background: var(--surface-soft); }
.product-section--standalone .product-section__copy > :last-child,
.product-section--standalone > .container > :last-child { margin-bottom: 0; }

/* Supporting media stays separate from Overview and preserves the whole image. */
.product-group-images.product-supporting-media {
    grid-template-columns: minmax(0, 1fr);
    width: 650px;
    max-width: 100%;
    gap: 20px;
    align-items: start;
}
.product-group-images.product-supporting-media:has(> figure + figure) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 1000px;
}
.product-supporting-media .product-overview__media { min-width: 0; max-width: 100%; background: var(--surface); }
.product-supporting-media .product-media__open {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: var(--surface);
    color: var(--ink);
    cursor: zoom-in;
}
.product-supporting-media .product-media__open img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}
.product-media__open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.product-media__hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-button);
    background: var(--surface);
    color: var(--accent-strong);
    box-shadow: var(--shadow-card);
    font: 700 12px/1.4 var(--font-body);
}
.product-supporting-media figcaption { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 620px) {
    .product-group-images.product-supporting-media:has(> figure + figure) { grid-template-columns: minmax(0, 1fr); }
}

/* Native modal dialog: no animation, framework or Contact integration. */
html.product-lightbox-open { overflow: hidden; }
.product-lightbox {
    width: min(1100px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-block);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-float);
    overscroll-behavior: contain;
}
.product-lightbox::backdrop { background: rgba(9, 24, 31, .85); }
.product-lightbox__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.product-lightbox__controls { display: flex; flex: 1; min-width: 0; flex-wrap: wrap; align-items: center; gap: 10px; }
.product-lightbox button,
.product-lightbox__original {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-button);
    background: var(--surface);
    color: var(--accent-strong);
    font: 700 14px/1.4 var(--font-body);
    cursor: pointer;
}
.product-lightbox__original { display: inline-flex; align-items: center; text-decoration: none; }
.product-media__hint svg,
.product-lightbox__icon svg { width: 20px; height: 20px; flex: none; pointer-events: none; }
.product-lightbox .product-lightbox__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.product-lightbox button:focus-visible,
.product-lightbox__original:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.product-lightbox__figure { display: grid; justify-items: center; gap: 14px; margin: 0; }
.product-lightbox__figure img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 210px); object-fit: contain; }
.product-lightbox__figure figcaption { max-width: 900px; max-height: 18dvh; overflow: auto; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; color: var(--section-copy); }
.product-lightbox__count { font-size: 14px; }
.product-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.product-overview__grid:has(> .product-overview__media),
.product-overview__grid:has(> .product-gallery) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.product-overview__content { max-width: 650px; }
.product-overview--v2 .product-overview__grid {
    align-items: start;
}
.product-overview--v2 .product-overview__media {
    justify-self: center;
    width: fit-content;
    max-width: 100%;
}
.product-overview--v2 .product-overview__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}
.product-specifications--single > [data-feature-reveal-content] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.product-overview__content > p:not(.eyebrow) { color: var(--section-copy); }
.product-overview__content > :last-child { margin-bottom: 0; }
.product-overview__content > .button { margin-top: 12px; }
.product-overview__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-block);
  background: var(--mist);
  box-shadow: var(--shadow-card);
}
.product-overview__media img { width: 100%; height: auto; }
/* Optional gallery can replace the single overview photograph or stand alone. */
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-gallery > .product-overview__media { max-width: none; }
.product-range__heading { max-width: 700px; margin-bottom: 36px; }
.product-range__heading > p:last-child { margin-bottom: 0; color: var(--section-copy); }
.product-specifications + .product-specifications { margin-top: clamp(36px, 4vw, 52px); }
.product-specifications h3 { margin-bottom: 18px; font-size: clamp(23px, 2vw, 28px); }
.product-specifications__hint { display: none; }
.product-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.product-table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.product-table { width: 100%; min-width: 740px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.5; }
.product-table th, .product-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); }
.product-table thead th { background: var(--line); color: var(--ink); border-bottom: 1px solid var(--muted); font-size: 12px; font-weight: 700; vertical-align: bottom; }
.product-table tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.product-table td { color: var(--section-copy); white-space: nowrap; }
.product-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 820px) {
    .product-section--standalone { padding-block: clamp(32px, 5vw, 40px); }
  .product-overview__grid:has(> .product-overview__media),
  .product-overview__grid:has(> .product-gallery) { grid-template-columns: minmax(0, 1fr); }
  .product-overview__media { max-width: 650px; }
  .product-specifications__hint { display: block; margin: 0 0 24px; color: var(--muted); font-size: 13px; }
  .product-table th, .product-table td { padding: 13px 16px; }
}
@media (max-width: 520px) {
  .product-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
