/* ===== Product detail: hero, features, video ===== */
@media only screen and (min-width: 0rem) {
    #product-hero-1920 {
        padding: clamp(7rem, 15vw, 9rem) 1rem clamp(3rem, 6vw, 4rem);
        position: relative;
        z-index: 1;
    }

    #product-hero-1920 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
    }

    #product-hero-1920 .cs-crumbs {
        font-size: 0.8125rem;
        color: var(--bodyTextColor);
        margin-bottom: 1.75rem;
    }

    #product-hero-1920 .cs-crumbs a {
        font-size: inherit;
        color: var(--bodyTextColor);
        text-decoration: none;
        transition: color 0.2s;
    }

    #product-hero-1920 .cs-crumbs a:hover {
        color: var(--primary);
    }

    #product-hero-1920 .cs-crumbs .cs-active {
        color: var(--primary);
    }

    #product-hero-1920 .cs-flex {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    #product-hero-1920 .cs-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        background-color: var(--secondaryShade);
        border: 1px solid #e8e8e8;
        border-radius: 0.75rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #9aa8a3;
        overflow: hidden;
    }

    #product-hero-1920 .cs-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #product-hero-1920 .cs-zoom {
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        border-radius: 50%;
        background-color: #fff;
        border: 1px solid #e8e8e8;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--bodyTextColor);
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }

    #product-hero-1920 .cs-zoom:hover {
        background-color: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    /* Image zoom lightbox */
    .cs-lightbox {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: none;
        justify-content: center;
        align-items: center;
        padding: clamp(1rem, 4vw, 3rem);
        background-color: rgba(0, 0, 0, 0.85);
    }

    .cs-lightbox.is-open {
        display: flex;
    }

    .cs-lightbox-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 0.5rem;
        background-color: #fff;
    }

    .cs-lightbox-close {
        position: absolute;
        top: clamp(0.75rem, 3vw, 1.5rem);
        right: clamp(0.75rem, 3vw, 1.5rem);
        width: 2.75rem;
        height: 2.75rem;
        font-size: 2rem;
        line-height: 1;
        color: #fff;
        background-color: rgba(255, 255, 255, 0.12);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cs-lightbox-close:hover {
        background-color: rgba(255, 255, 255, 0.28);
    }

    #product-hero-1920 .cs-brand {
        font-family: "Archivo", Arial, sans-serif;
        font-size: 0.8125rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--primary);
        margin-bottom: 1rem;
        display: block;
    }

    #product-hero-1920 .cs-prod-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        font-weight: 900;
        line-height: 1.1;
        color: var(--headerColor);
        margin: 0 0 0.75rem;
    }

    #product-hero-1920 .cs-tagline {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary);
        margin: 0 0 1rem;
    }

    #product-hero-1920 .cs-prod-text {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--bodyTextColor);
        margin: 0 0 1.75rem;
        max-width: 34rem;
    }

    #product-hero-1920 .cs-specs {
        margin: 0 0 1.75rem;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
    }

    #product-hero-1920 .cs-spec {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 0.625rem;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--headerColor);
    }

    #product-hero-1920 .cs-spec svg {
        color: var(--primary);
        flex: none;
    }

    #product-hero-1920 .cs-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    #product-hero-1920 .cs-btn-outline {
        font-family: "Oswald", Arial, sans-serif;
        font-size: 0.875rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
        height: 3.25rem;
        padding: 0 1.75rem;
        border-radius: 0.25rem;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        color: var(--headerColor);
        background-color: #fff;
        border: 1px solid #d7dcda;
        transition: border-color 0.2s, color 0.2s;
    }

    #product-hero-1920 .cs-btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    #product-hero-1920 .cs-button-solid {
        display: inline-flex;
        align-items: center;
        height: 3.25rem;
        line-height: 1;
        border-radius: 0.25rem;
        font-family: "Oswald", Arial, sans-serif;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    /* Match the hover fill to the button's square corners (global default is a
       3rem pill, which leaves the green corners showing through). */
    #product-hero-1920 .cs-button-solid:before {
        background-color: var(--secondaryDark);
        border-radius: 0.25rem;
    }

    /* Features */
    #product-features-1921 {
        padding: var(--sectionPadding);
        background-color: var(--secondaryShade);
    }

    #product-features-1921 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(2.5rem, 5vw, 3.5rem);
    }

    #product-features-1921 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    #product-features-1921 .cs-feature {
        list-style: none;
        background-color: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 0.75rem;
        padding: 1.75rem 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #product-features-1921 .cs-feature-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 1rem;
        border-radius: 50%;
        background-color: var(--secondaryShade);
        color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #product-features-1921 .cs-feature-title {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--headerColor);
        margin: 0 0 0.5rem;
    }

    #product-features-1921 .cs-feature-text {
        font-size: 0.8125rem;
        line-height: 1.5;
        color: var(--bodyTextColor);
        margin: 0;
    }

    /* Video */
    #product-video-1922 {
        padding: var(--sectionPadding);
    }

    #product-video-1922 .cs-container {
        width: 100%;
        max-width: 62rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(2rem, 4vw, 3rem);
    }

    #product-video-1922 .cs-video {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-color: #0e1c19;
        border-radius: 0.75rem;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #product-video-1922 .cs-video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    #product-video-1922 .cs-play {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 50%;
        background-color: var(--primary);
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #product-video-1922 .cs-video-hint {
        position: absolute;
        bottom: 1rem;
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

@media only screen and (min-width: 30rem) {
    #product-features-1921 .cs-card-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 64rem) {
    #product-features-1921 .cs-card-group {
        grid-template-columns: repeat(4, 1fr);
    }

    #product-hero-1920 .cs-flex {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.5rem;
    }

    #product-hero-1920 .cs-image {
        width: 48%;
        max-width: 34rem;
        flex: none;
        align-self: flex-start;
    }

    #product-hero-1920 .cs-info {
        flex: 1;
        align-self: center;
    }
}

/* ===== Product downloads + related ===== */
@media only screen and (min-width: 0rem) {
    #downloads-1923 {
        padding: var(--sectionPadding);
    }

    #downloads-1923 .cs-container {
        width: 100%;
        max-width: 62rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: clamp(2rem, 4vw, 2.75rem);
    }

    #downloads-1923 .cs-list {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        background-color: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 0.75rem;
        overflow: hidden;
    }

    #downloads-1923 .cs-download {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        transition: background-color 0.2s;
    }

    #downloads-1923 .cs-download:last-child {
        border-bottom: none;
    }

    #downloads-1923 .cs-download:hover {
        background-color: var(--secondaryShade);
    }

    #downloads-1923 .cs-dl-icon {
        width: 2.5rem;
        height: 2.5rem;
        flex: none;
        border-radius: 0.375rem;
        background-color: #fdeceb;
        color: #d64541;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #downloads-1923 .cs-dl-icon.cs-cad {
        background-color: var(--secondaryShade);
        color: var(--primary);
    }

    #downloads-1923 .cs-dl-info {
        flex: 1;
        min-width: 0;
    }

    #downloads-1923 .cs-dl-name {
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--headerColor);
        line-height: 1.3;
    }

    #downloads-1923 .cs-dl-type {
        font-size: 0.75rem;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: var(--bodyTextColor);
        margin-top: 0.15rem;
    }

    #downloads-1923 .cs-dl-arrow {
        flex: none;
        color: var(--primary);
    }

    #related-1924 {
        padding: var(--sectionPadding);
        background-color: var(--secondaryShade);
    }

    #related-1924 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: clamp(2rem, 4vw, 2.75rem);
    }

    #related-1924 .cs-card-group {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
        gap: 1.25rem;
    }

    #related-1924 .cs-item {
        background-color: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 0.75rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        text-align: center;
        transition: box-shadow 0.2s, transform 0.2s;
    }

    #related-1924 .cs-item:hover {
        transform: translateY(-3px);
        box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    }

    #related-1924 .cs-picture {
        width: 100%;
        aspect-ratio: 1 / 1;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #9aa8a3;
    }

    #related-1924 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #related-1924 .cs-item-flex {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        flex: 1;
    }

    #related-1924 .cs-item-name {
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--headerColor);
        margin: 0;
    }

    #related-1924 .cs-item-btn {
        margin-top: auto;
        font-family: "Oswald", Arial, sans-serif;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--headerColor);
        border: 1px solid #d7dcda;
        border-radius: 0.25rem;
        padding: 0.5rem 1rem;
        transition: border-color 0.2s, color 0.2s;
    }

    #related-1924 .cs-item:hover .cs-item-btn {
        border-color: var(--primary);
        color: var(--primary);
    }
}
