/*
 * ChamaeleonStyle V5 – Responsive breakpoints
 * ============================================
 */
@media (max-width: 1350px) {
    .cs-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1220px) {
    .cs-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cs-home-offer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-service-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .utility-links {
        display: none;
    }

    .brand-row {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 12px;
    }

    .brand-image img {
        max-height: 64px;
    }

    .nav-toggle {
        display: block;
        width: 100%;
        min-height: 50px;
        padding: 0;
        background: #fff;
        border: 0;
        font-weight: 800;
        text-align: left;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        padding-bottom: 10px;
        border-top: 1px solid var(--cs-border);
    }

    .main-nav.is-open .main-menu {
        display: flex;
    }

    .main-menu > li > a,
    .main-menu > li:first-child > a {
        min-height: 44px;
        padding: 0 4px;
        border-bottom: 1px solid var(--cs-border);
    }

    .main-menu > li:hover > a {
        box-shadow: none;
    }

    .submenu-toggle {
        display: block;
        position: absolute;
        top: 3px;
        right: 0;
        width: 42px;
        height: 38px;
        background: transparent;
        border: 0;
        font-size: 20px;
    }

    .main-menu ul {
        display: none !important;
        position: static;
        min-width: 0;
        margin: 0 0 6px 10px;
        padding: 0;
        border: 0;
        border-left: 2px solid var(--cs-border);
    }

    .main-menu li.submenu-open > ul {
        display: block !important;
    }

    .main-menu li:hover > ul {
        display: none;
    }

    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero__media,
    .home-hero__media img {
        min-height: 360px;
    }

    .cs-product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .productpicture {
        min-height: 0;
    }

    #productimage_small {
        max-height: 640px;
    }

    .cs-checkout-shell {
        grid-template-columns: 1fr;
    }

    .cs-checkout-side {
        position: static;
    }

    .footer-help__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-help__grid > div:first-child {
        grid-column: 1 / -1;
        padding-bottom: 18px;
    }
}

@media (max-width: 760px) {
    :root {
        --cs-page-padding: 18px;
    }

    .cs-product-grid,
    .cs-home-offer-grid,
    .home-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-promo {
        min-height: 220px;
    }

    .home-promo img {
        min-height: 220px;
    }

    .home-section-head {
        display: block;
    }

    .home-section-head p {
        text-align: left;
    }

    .cs-grid-2,
    .cs-form-grid-2,
    .flexlcentcont,
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .cs-checkout-progress span {
        padding-inline: 7px;
        font-size: 9px;
    }
}

@media (max-width: 560px) {
    .site-utility__inner {
        min-height: 40px;
    }

    .utility-actions {
        width: 100%;
        justify-content: space-between;
    }

    .brand-row {
        padding-block: 10px;
    }

    .brand-image img {
        max-height: 52px;
    }

    .site-search {
        min-height: 43px;
    }

    .home-hero__media,
    .home-hero__media img {
        min-height: 280px;
    }

    .home-hero__copy {
        padding: 28px 20px;
    }

    .home-hero__copy h1 {
        font-size: clamp(2.25rem, 12vw, 3.8rem);
    }

    .home-service-strip,
    .footer-help__grid,
    .footer-grid,
    .cs-grid-2,
    .cs-form-grid-2,
    .flexlcentcont {
        grid-template-columns: 1fr !important;
    }

    .cs-product-grid,
    .cs-home-offer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-product-card__body {
        padding: 13px;
    }

    .cs-product-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .productpicture {
        padding: 12px;
    }

    .product_description h1 {
        font-size: 2rem;
    }

    .cs-warranty-notice {
        grid-template-columns: 1fr;
    }

    .footer-bottom .site-container {
        display: block;
        padding-block: 14px;
    }
}

@media (max-width: 410px) {
    .cs-product-grid,
    .cs-home-offer-grid,
    .home-promo-grid {
        grid-template-columns: 1fr;
    }
}
