body.page-chrome #cssmenu > ul > :is(.storefront-drawer-controls, .storefront-drawer-language) {
    display: none;
}

@media (max-width: 1199px) {
    body.page-chrome header.header { backdrop-filter: none; }

    body.page-chrome .header-content > .container {
        position: relative;
        gap: 4px;
        padding-inline-start: 7px;
        min-width: 0;
    }

    body.page-chrome .header .logo {
        position: static;
        transform: none;
        flex: 0 1 149px;
        min-width: 0;
    }

    body.page-chrome .logo-img { display: block; max-width: 100%; height: auto; }

    body.page-chrome .header .home-header-actions {
        flex: 0 0 auto;
        position: static;
        transform: none;
        gap: 0;
        margin-inline-start: auto;
    }

    body.page-chrome .manu-wrapper,
    body.page-chrome .manu-wrapper #cssmenu,
    body.storefront .customer-header-account {
        position: static;
    }

    body.page-chrome .header .manu-wrapper {
        order: -1;
        margin: 0;
        width: auto;
        flex: 0 0 auto;
    }

    body.page-chrome #cssmenu #menu-button,
    body.page-chrome .home-header-actions :is(.user, .customer-header-avatar, .mini-cart .link) {
        display: grid;
        place-items: center;
        min-width: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
    }

    body.page-chrome #cssmenu #menu-button {
        background: transparent;
        font-size: 20px;
    }

    body.page-chrome .header-top {
        height: auto;
        overflow: visible;
    }

    body.page-chrome .header-top a {
        display: block;
        padding: 6px 0;
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
    }

    .storefront-menu-icon {
        position: relative;
        width: 20px;
        height: 2px;
        background: currentColor;
        color: var(--storefront-on-surface);
    }

    .storefront-menu-icon::before,
    .storefront-menu-icon::after {
        position: absolute;
        inset: 0;
        background: currentColor;
        content: "";
    }

    .storefront-menu-icon::before { transform: translateY(-6px); }
    .storefront-menu-icon::after { transform: translateY(6px); }
    .menu-opened .storefront-menu-icon { background: transparent; }
    .menu-opened .storefront-menu-icon::before { transform: rotate(45deg); }
    .menu-opened .storefront-menu-icon::after { transform: rotate(-45deg); }

    body.page-chrome .home-header-actions .mini-cart .link {
        grid-auto-flow: column;
        justify-content: center;
        gap: 2px;
        width: auto;
        line-height: 1;
    }

    body.page-chrome .header .home-header-actions :is(.mini-cart .icon, .customer-header-account .icon) {
        width: 25px;
        height: 44px;
    }

    body.storefront .header .home-header-actions .customer-header-avatar {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    body.page-chrome .home-header-actions .home-language { display: none; }

    body.page-chrome #cssmenu:has(> ul.open)::before {
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgb(15 10 7 / 62%);
        content: "";
    }

    body.page-chrome #cssmenu > ul {
        display: block;
        position: fixed;
        z-index: 111;
        inset: 0 auto 0 0;
        width: min(340px, calc(100vw - 36px));
        height: auto;
        padding: 10px 12px 20px;
        overflow-y: auto;
        overscroll-behavior: contain;
        color-scheme: dark;
        background: var(--storefront-surface-raised);
        box-shadow: var(--storefront-elevation);
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform 220ms ease-out;
    }

    body.page-chrome #cssmenu > ul.open {
        visibility: visible;
        transform: translateX(0);
    }

    body.page-chrome #cssmenu > ul > li > ul { display: block; }

    body.page-chrome #cssmenu > ul > .storefront-drawer-controls {
        display: flex;
        justify-content: flex-end;
        border-top: 0;
    }

    body.page-chrome #cssmenu > ul > .storefront-drawer-language { display: block; }

    body.page-chrome .storefront-drawer-close {
        min-width: 44px;
        min-height: 44px;
        border: 0;
        background: transparent;
        color: var(--storefront-on-surface);
        font: 400 28px/1 sans-serif;
        cursor: pointer;
    }

    @media (prefers-reduced-motion: reduce) {
        body.page-chrome #cssmenu > ul { transition: none; }
    }

    body.page-chrome .header #cssmenu > ul a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 12px;
        color: var(--storefront-on-surface);
        font-size: 15px;
        line-height: 1.35;
        letter-spacing: normal;
    }

    body.page-chrome .header #cssmenu > ul ul a { padding-inline-start: 28px; }
    body.page-chrome .header #cssmenu > ul a[aria-current="page"] { color: var(--storefront-primary); }

    body.storefront .header .customer-header-login {
        position: absolute;
        top: 100%;
        right: 12px;
        max-height: min(70dvh, 520px);
        overflow: auto;
        overscroll-behavior: contain;
        color-scheme: dark;
    }

    body.storefront .customer-header-login::before { display: none; }
}

@media (max-width: 767px) {
    body.pl-home .home-hero .slider-content .img-wrapper {
        width: 100%;
        float: none;
    }
}

@media (max-width: 650px) {
    body.storefront .product-category-filters a,
    body.storefront .product-index-detail-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 13px;
    }

    body.storefront .product-index-card-main p { font-size: 13px; }
    body.storefront .product-index-card-main { flex-wrap: wrap; }

    body.storefront .cart-summary .cart-button,
    body.storefront .checkout-panel .cart-button { width: 100%; }

    body.storefront .cart-line .cart-text-button { min-height: 44px; }
    body.storefront .cart-line .cart-quantity-form input { min-height: 44px; }
}

@media (max-width: 360px) {
    body.storefront .cart-line {
        grid-template-columns: minmax(0, 1fr);
    }
}
