/* Keep the open search dropdown above the separate desktop navigation. */
body.sw1-menu-v3-canary .whb-main-header { z-index: 400; }
/* The theme places the category dropdown inside the search form. */
body.sw1-menu-v3-canary .whb-main-header form.searchform.wd-style-4 {
    overflow: visible !important;
}
body.sw1-menu-v3-canary .whb-main-header form.searchform.wd-style-4 input.s {
    padding-inline-start: 60px !important;
    border-radius: 14px;
}
body.sw1-menu-v3-canary .whb-main-header form.searchform.wd-style-4 .searchsubmit {
    border-start-start-radius: 13px;
    border-end-start-radius: 13px;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
}
body.sw1-menu-v3-canary .whb-main-header .wd-search-cat-btn {
    text-transform: none;
}
body.sw1-menu-v3-canary .whb-main-header .wd-dropdown-search-cat {
    width: 260px;
    max-width: calc(100vw - 32px);
}
/* Keep the promotion centred instead of leaving half its row empty. */
body.sw1d-home-native-v3 .sw1d-home-promo-v3 > .e-con-inner {
    justify-content: center !important;
    padding-block: 24px !important;
}
body.sw1d-home-native-v3 .sw1d-home-promo-v3 .elementor-element-d110342 {
    width: min(100%, 1000px) !important;
    flex-grow: 0;
    min-height: 260px;
    justify-content: center;
}
/* A compact grid adapts to desktop width; list and three-column views stay available. */
@media (min-width: 1025px) {
    body.sw1d-catalog-v2 main.wd-content-layout {
        width: calc(100% - 64px) !important;
        max-width: 1680px !important;
    }
    body.sw1d-catalog-v2 .elementor-element-f41f667 > .e-con-inner {
        gap: 28px !important;
    }
    body.sw1d-catalog-v2 .elementor-element-313de22 {
        width: 232px !important;
        flex: 0 0 232px !important;
    }
    body.sw1d-catalog-v2 .elementor-element-09276e2 {
        width: auto !important;
        flex: 1 1 0 !important;
        min-width: 0;
    }
    body.sw1d-catalog-v2 .products.grid-columns-4[data-source="main_loop"] {
        grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)) !important;
    }
}
@media (max-width: 767px) {
    body.sw1d-home-native-v3 .sw1d-home-promo-v3 .elementor-element-d110342 {
        min-height: 200px;
        padding: 24px 20px;
    }
}
