
/*
 * 2.16.79 — Direct Component Geometry Expansion & Unified Desktop Scale Authority
 *
 * No DOM moves, cloning, reordering, or image reassignment.
 * This layer works directly on the stable visible catalog components.
 */

body.slc-hc-21679-page {
    overflow-x: hidden !important;
}

body.slc-hc-21679-page #slc21617-rehost {
    width: min(1480px, calc(100vw - 96px)) !important;
    max-width: min(1480px, calc(100vw - 96px)) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.slc-hc-21679-page #slc21617-rehost,
body.slc-hc-21679-page #slc21617-rehost * {
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* Main live canvas */
body.slc-hc-21679-page #slc21617-rehost .slc21679-canvas {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Hero / intro / CTA blocks expand with the same authority. */
body.slc-hc-21679-page #slc21617-rehost .slc21679-wide-block {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Direct model row authority. */
body.slc-hc-21679-page #slc21617-rehost .slc21679-model-row {
    display: grid !important;
    grid-template-columns: minmax(0, 2.22fr) minmax(270px, 0.78fr) !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: start !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.slc-hc-21679-page #slc21617-rehost .slc21679-primary {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.slc-hc-21679-page #slc21617-rehost .slc21679-support {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Preserve natural image proportions while allowing visible growth. */
body.slc-hc-21679-page #slc21617-rehost .slc21679-primary img,
body.slc-hc-21679-page #slc21617-rehost .slc21679-support img,
body.slc-hc-21679-page #slc21617-rehost img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

body.slc-hc-21679-page #slc21617-rehost .slc21679-primary img,
body.slc-hc-21679-page #slc21617-rehost .slc21679-support img {
    width: 100% !important;
    object-fit: contain !important;
}

/* Metadata/table rows follow the same expanded width. */
body.slc-hc-21679-page #slc21617-rehost .slc21679-meta {
    width: 100% !important;
    max-width: 100% !important;
}

/* Linden gallery gets the same width authority, preserving 3x2. */
body.slc-hc-21679-page #slc21617-rehost .slc21679-gallery,
body.slc-hc-21679-page #slc21617-rehost .slc21626-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
}

body.slc-hc-21679-page #slc21617-rehost .slc21679-gallery img,
body.slc-hc-21679-page #slc21617-rehost .slc21626-gallery img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
}

@media (max-width: 1180px) {
    body.slc-hc-21679-page #slc21617-rehost {
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
    }

    body.slc-hc-21679-page #slc21617-rehost .slc21679-model-row {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 250px) !important;
        gap: 22px !important;
    }
}

@media (max-width: 820px) {
    body.slc-hc-21679-page #slc21617-rehost {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    body.slc-hc-21679-page #slc21617-rehost .slc21679-model-row {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.slc-hc-21679-page #slc21617-rehost .slc21679-primary,
    body.slc-hc-21679-page #slc21617-rehost .slc21679-support {
        grid-column: 1 !important;
        width: 100% !important;
    }

    body.slc-hc-21679-page #slc21617-rehost .slc21679-gallery,
    body.slc-hc-21679-page #slc21617-rehost .slc21626-gallery {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
}

@media (max-width: 520px) {
    body.slc-hc-21679-page #slc21617-rehost {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
    }

    body.slc-hc-21679-page #slc21617-rehost .slc21679-gallery,
    body.slc-hc-21679-page #slc21617-rehost .slc21626-gallery {
        grid-template-columns: 1fr !important;
    }
}
