/* ==========================================================================
   Product detail page  (every /products/.../<model>.html)
   --------------------------------------------------------------------------
   One stylesheet for all 67 model pages, which used to be 67 hand-built
   Bootstrap layouts. Tokens come from mega-menu.css; shared furniture
   (.sd-hero, .sd-btn, .sd-cta, .sd-article__body) from inner-pages.css.
   ========================================================================== */

.sd-pd__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 40px 0 8px;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.sd-pd__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 30px;
    border: 1px solid var(--sd-line);
    border-radius: 18px;
    background: var(--sd-tint);
}

.sd-pd__shot {
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Every image is in the DOM; only the chosen one is displayed. With no
   JavaScript the first stays visible and the rest are simply not shown.

   The gallery script adds .is-live, which takes over from that fallback. It
   has to: the rule below never hid the FIRST image, so once a thumbnail was
   clicked the chosen image was shown underneath image one, which was still
   displayed. Clicking a thumbnail appeared to do nothing. */
.sd-pd__shot + .sd-pd__shot {
    display: none;
}

[data-sd-gallery].is-live .sd-pd__shot {
    display: none;
}

[data-sd-gallery].is-live .sd-pd__shot.is-shown,
.sd-pd__shot.is-shown {
    display: block;
}

.sd-pd__noshot {
    font-size: 46px;
    color: #C3CEDE;
}

.sd-pd__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.sd-pd__thumb {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 1px solid var(--sd-line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sd-pd__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sd-pd__thumb:hover,
.sd-pd__thumb:focus-visible {
    border-color: rgba(232, 106, 56, .55);
}

.sd-pd__thumb.is-active {
    border-color: var(--sd-orange);
    box-shadow: 0 0 0 2px rgba(232, 106, 56, .22);
}

/* --------------------------------------------------------------------------
   Summary column
   -------------------------------------------------------------------------- */

.sd-pd__brand {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-blue);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sd-pd__intro h1 {
    margin: 0 0 14px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--sd-navy);
}

.sd-pd__lead {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--sd-navy);
}

.sd-pd__cat {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    font-size: 14.5px;
    color: var(--sd-muted);
}

.sd-pd__cat i {
    color: var(--sd-orange);
}

.sd-pd__cat a {
    color: var(--sd-blue);
    font-weight: 600;
    text-decoration: none;
}

.sd-pd__cat a:hover {
    color: var(--sd-orange);
}

/* ---- headline specs ---- */

.sd-pd__key {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 26px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 13px;
    background: var(--sd-line);
}

.sd-pd__key > div {
    padding: 13px 16px;
    background: #fff;
}

.sd-pd__key dt {
    margin: 0 0 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-pd__key dd {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--sd-navy);
}

/* ---- actions ---- */

.sd-pd__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.sd-pd__actions form {
    margin: 0;
}

.sd-pd__tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--sd-navy);
    text-decoration: none;
}

.sd-pd__tel i {
    color: var(--sd-orange);
}

.sd-pd__tel:hover {
    color: var(--sd-orange-ink);
}

.sd-pd__wa i {
    color: #25D366;
    font-size: 19px;
}

/* --------------------------------------------------------------------------
   Shared section heading
   -------------------------------------------------------------------------- */

.sd-pd__h2 {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--sd-navy);
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */

.sd-pd__inds {
    padding: 46px 0 10px;
}

.sd-pd__ind-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-pd__ind-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 16px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    list-style: none;
}

.sd-pd__ind-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sd-tint);
}

.sd-pd__ind-icon img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.sd-pd__ind-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--sd-navy);
}

/* --------------------------------------------------------------------------
   Copy blocks
   -------------------------------------------------------------------------- */

.sd-pd__copy {
    padding: 46px 0 10px;
}

.sd-pd__copy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.sd-pd__block {
    min-width: 0;
}

/* These lists always sit inside .sd-article__body, which already sets
   list-style:none and draws the orange dot with a ::before. Adding a marker
   here as well produced two bullets per row, a black one and an orange one,
   so only the typography is set. */
.sd-pd__bullets ul {
    margin: 0;
}

.sd-pd__bullets ul li {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--sd-navy);
}

/* --------------------------------------------------------------------------
   Full specification
   -------------------------------------------------------------------------- */

.sd-pd__specs {
    padding: 46px 0 10px;
}

.sd-pd__spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    align-items: start;
}

.sd-pd__spec-list {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
}

.sd-pd__spec-list > div {
    display: grid;
    grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
    gap: 16px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--sd-line);
}

.sd-pd__spec-list > div:last-child {
    border-bottom: 0;
}

.sd-pd__spec-list > div:nth-child(odd) {
    background: #FAFCFF;
}

.sd-pd__spec-list dt {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--sd-muted);
}

.sd-pd__spec-list dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--sd-navy);
    /* Long unbroken values (URLs, comma-free lists) must not widen the grid. */
    overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   More in this range
   -------------------------------------------------------------------------- */

.sd-pd__more {
    margin-top: 46px;
    padding: 50px 0;
    background: var(--sd-tint);
    border-top: 1px solid var(--sd-line);
}

.sd-pd__more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.sd-pd__more-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sd-pd__more-card:hover {
    border-color: rgba(232, 106, 56, .45);
    box-shadow: 0 14px 30px rgba(16, 38, 73, .1);
    transform: translateY(-3px);
}

.sd-pd__more-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 14px;
    background: var(--sd-tint);
    border-bottom: 1px solid var(--sd-line);
    color: #C3CEDE;
    font-size: 24px;
}

.sd-pd__more-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sd-pd__more-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 16px;
}

.sd-pd__more-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-pd__more-name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sd-navy);
}

.sd-pd__more-card:hover .sd-pd__more-name {
    color: var(--sd-orange-ink);
}

.sd-pd__more-all {
    margin: 26px 0 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .sd-pd__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-top: 28px;
    }

    .sd-pd__intro h1 {
        font-size: 29px;
    }

    .sd-pd__stage {
        min-height: 300px;
        padding: 22px;
    }

    .sd-pd__shot {
        max-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .sd-pd__intro h1 {
        font-size: 25px;
    }

    .sd-pd__key {
        grid-template-columns: minmax(0, 1fr);
    }

    .sd-pd__inds,
    .sd-pd__copy,
    .sd-pd__specs {
        padding-top: 34px;
    }

    .sd-pd__copy-grid {
        gap: 28px;
    }

    .sd-pd__spec-list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
    }

    .sd-pd__actions {
        gap: 12px;
    }

    .sd-pd__actions form,
    .sd-pd__actions .sd-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sd-pd__thumb,
    .sd-pd__more-card {
        transition: none !important;
    }

    .sd-pd__more-card:hover {
        transform: none;
    }
}

/* --- The About block ------------------------------------------------------
   The description used to sit in the same auto-fit grid as the two bullet
   lists, so on a wide screen it was squeezed into a third of the page and a
   900-character description became a tall wall of text. It now runs across
   the page, with the line length held to a comfortable measure and real space
   between paragraphs. The two lists keep the grid below it.
-------------------------------------------------------------------------- */
.sd-pd__about {
    margin-bottom: 38px;
}

.sd-pd__about .sd-article__body {
    max-width: 68ch;
}

.sd-pd__about .sd-article__body p {
    margin: 0 0 16px;
}

.sd-pd__about .sd-article__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .sd-pd__about {
        margin-bottom: 26px;
    }
}

/* ==========================================================================
   Datasheet and video (client corrections, October 2026)
   ========================================================================== */

.sd-pd__actions { flex-wrap: wrap; }

.sd-pd__sheet {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    margin-bottom: 18px;
    border: 1px solid var(--sd-line, #E3E8F0);
    border-radius: 14px;
    background: var(--sd-tint, #F4F7FB);
}
.sd-pd__sheet-icon {
    flex: 0 0 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: #D93A2B;
    font-size: 24px;
}
.sd-pd__sheet-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; }
.sd-pd__sheet-text strong { color: var(--sd-navy, #0E2547); font-size: 16px; }
.sd-pd__sheet-text span { color: var(--sd-muted, #5B6B82); font-size: 14px; }

.sd-pd__spec-more summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-weight: 700;
    color: var(--sd-blue, #124A9A);
    list-style: none;
}
.sd-pd__spec-more summary::-webkit-details-marker { display: none; }
.sd-pd__spec-more summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    transition: transform .2s ease;
}
.sd-pd__spec-more[open] summary::after { transform: rotate(180deg); }
.sd-pd__spec-more[open] summary { margin-bottom: 14px; }

.sd-pd__video { padding: 10px 0 44px; }
.sd-pd__player {
    position: relative;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #0E2547;
}
.sd-pd__player iframe,
.sd-pd__play,
.sd-pd__play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sd-pd__play { padding: 0; cursor: pointer; background: transparent; }
.sd-pd__play img { object-fit: cover; }
.sd-pd__play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    margin: -37px 0 0 -37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(232, 106, 56, .95);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
}
.sd-pd__play:hover .sd-pd__play-icon { transform: scale(1.07); }

@media (max-width: 767.98px) {
    .sd-pd__sheet { flex-wrap: wrap; }
    .sd-pd__sheet .sd-btn { flex: 1 1 100%; justify-content: center; }
}
