/* MEGAFORMA — CATALOG / SHOP / PRODUCT CATEGORIES
   Split from the production stylesheet on 2026-10-16.
   Keep this file in /wp-content/uploads/megaforma/. */

/* MEGAFORMA — refactored from the current production CSS.
   Conservative cleanup: comments/whitespace removed and only declarations
   provably overridden later by the exact same selector/property were removed. */

.tax-product_cat .content-wrapper {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.tax-product_cat .woocommerce-page-header {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
    margin-bottom: 0 !important;
}

.tax-product_cat .woocommerce-page-header + .content-wrapper {
    margin-top: 0 !important;
    margin-bottom: 60px !important;
}

.tax-product_cat .woocommerce-breadcrumb {
    margin-bottom: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #777777;
}

.tax-product_cat .woocommerce-products-header {
    min-height: 0 !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    text-align: left !important;
}

.tax-product_cat .woocommerce-products-header__title.page-title {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left !important;
    color: #1E1E1E;
}

.megaforma-subcategories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 36px;
}

.megaforma-subcategory-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    background: #FFFFFF;
    color: #1E1E1E !important;
    text-decoration: none !important;
    transition: border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.megaforma-subcategory-card:hover {
    border-color: #FF6600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.megaforma-subcategory-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.25 / 1;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #F1F1F1;
    border-radius: 6px;
    background: #FFFFFF;
}

.megaforma-subcategory-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.megaforma-subcategory-name {
    padding-right: 22px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #1E1E1E;
}

.megaforma-subcategory-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 18px;
    line-height: 1;
    color: #1E1E1E;
    transition: color .2s ease,
        transform .2s ease;
}

.megaforma-subcategory-card:hover .megaforma-subcategory-arrow {
    color: #FF6600;
    transform: translateX(3px);
}

.tax-product_cat .megaforma-catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
}

.tax-product_cat .megaforma-filter-sidebar, .tax-product_cat .megaforma-products-column {
    min-width: 0;
    width: 100%;
}

.megaforma-filter-sidebar {
    width: 100%;
    font-family: "Manrope", sans-serif;
    color: #1E1E1E;
}

.megaforma-filter-box {
    width: 100%;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #FFFFFF;
}

.megaforma-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 14px;
    border-bottom: 1px solid #E8E8E8;
}

.megaforma-filter-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    color: #1E1E1E;
}

.megaforma-filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6600;
}

.megaforma-filter-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.megaforma-filter-reset {
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    color: #777777 !important;
    text-decoration: underline !important;
    transition: color .2s ease;
}

.megaforma-filter-reset:hover {
    color: #FF6600 !important;
}

.megaforma-filter-box .berocket_single_filter_widget {
    width: 100%;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.megaforma-filter-box .berocket_single_filter_widget:not(:last-child)::after {
    content: "";
    position: absolute;
    height: 1px;
    background: #E8E8E8;
}

.megaforma-filter-box .bapf_head {
    display: block !important;
}

.megaforma-filter-box .bapf_head h3 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
    cursor: pointer;
}

.megaforma-filter-box .bapf_head h3 .bapf_colaps_smb, .megaforma-filter-box .bapf_head h3 i {
    margin-left: auto !important;
    font-size: 12px !important;
    line-height: 1 !important;
    color: #1E1E1E !important;
}

.megaforma-filter-box .bapf_head:focus, .megaforma-filter-box .bapf_head *:focus {
    outline: none !important;
    box-shadow: none !important;
}

.megaforma-filter-box .bapf_body ul {
    list-style: none !important;
}

.megaforma-filter-box .bapf_body ul li {
    margin: 0 0 6px !important;
    padding: 0 !important;
}

.megaforma-filter-box .bapf_body ul li:last-child {
    margin-bottom: 0 !important;
}

.megaforma-filter-box .bapf_body label, .megaforma-filter-box .bapf_body li, .megaforma-filter-box .bapf_body span {
    font-family: "Manrope", sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #333333 !important;
}

.megaforma-filter-box .bapf_body input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    margin: 0 6px 0 0 !important;
    accent-color: #FF6600;
    cursor: pointer;
}

.megaforma-filter-box .bapf_slidr_jqrui .bapf_body {
    padding-bottom: 12px !important;
}

.megaforma-filter-box .bapf_slidr_jqrui .ui-slider, .megaforma-filter-box .bapf_body .ui-slider {
    position: relative !important;
    width: 100% !important;
    height: 4px !important;
    margin: 2px 0 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #E5E5E5 !important;
    box-shadow: none !important;
}

.megaforma-filter-box .ui-slider .ui-slider-range {
    height: 4px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #FF6600 !important;
    box-shadow: none !important;
}

.megaforma-filter-box .ui-slider .ui-slider-handle {
    top: 50% !important;
    width: 13px !important;
    height: 13px !important;
    margin-top: -6.5px !important;
    margin-left: -6.5px !important;
    border: 2px solid #FF6600 !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.megaforma-filter-box .ui-slider .ui-slider-handle:hover, .megaforma-filter-box .ui-slider .ui-slider-handle:focus {
    background: #FF6600 !important;
    outline: none !important;
}

.megaforma-filter-box .bapf_slidr_jqrui .bapf_body, .megaforma-filter-box .bapf_slidr_jqrui .bapf_body span {
    font-family: "Manrope", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.tax-product_cat .megaforma-products-column .woocommerce-result-count {
    margin: 0 !important;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    color: #666666;
}

.tax-product_cat .megaforma-products-column .woocommerce-ordering {
    margin: 0 0 28px !important;
}

.tax-product_cat .megaforma-products-column .woocommerce-ordering select {
    min-width: 200px;
    height: 42px;
    padding: 0 38px 0 13px;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    background-color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    color: #333333;
}

.tax-product_cat .megaforma-products-column ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tax-product_cat .megaforma-products-column ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #FFFFFF;
    transition: border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.tax-product_cat .megaforma-products-column ul.products li.product:hover {
    border-color: #D5D5D5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.tax-product_cat .megaforma-products-column ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
}

.tax-product_cat .megaforma-products-column ul.products li.product img {
    width: 100%;
    margin: 0 !important;
    object-fit: contain;
    background: #F7F8F8;
}

.tax-product_cat .megaforma-products-column ul.products li.product .woocommerce-loop-product__title {
    margin: 0 !important;
    padding: 14px 16px 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #1E1E1E !important;
}

.tax-product_cat .megaforma-products-column ul.products li.product .price {
    display: block;
    margin: 10px 0 16px !important;
    padding: 0 16px !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
}

.tax-product_cat .megaforma-products-column ul.products li.product .button {
    margin: 0 16px 16px !important;
    padding: 11px 16px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #FF6600 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
}

.tax-product_cat .megaforma-products-column ul.products li.product .button:hover {
    background: #E65C00 !important;
}

@media (max-width: 1024px) {
    .tax-product_cat .woocommerce-page-header {
        padding-top: 28px !important;
        padding-bottom: 20px !important;
    }

    .megaforma-subcategories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tax-product_cat .megaforma-catalog-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 24px;
    }

    .tax-product_cat .megaforma-products-column ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 767px) {
    .tax-product_cat .woocommerce-page-header {
        padding-top: 20px !important;
        padding-bottom: 16px !important;
    }

    .tax-product_cat .woocommerce-page-header + .content-wrapper {
        margin-bottom: 40px !important;
    }

    .tax-product_cat .woocommerce-products-header {
        margin-bottom: 20px !important;
    }

    .tax-product_cat .woocommerce-products-header__title.page-title {
        font-size: 28px;
    }

    .megaforma-subcategories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 24px;
    }

    .megaforma-subcategory-name {
        font-size: 13px;
    }

    .tax-product_cat .megaforma-catalog-layout {
        display: block;
    }

    .tax-product_cat .megaforma-filter-sidebar {
        display: none;
    }

    .tax-product_cat .megaforma-products-column {
        width: 100%;
    }

}

.megaforma-filter-box .berocket_single_filter_widget {
    position: relative;
    margin: 0 !important;
    padding: 12px 14px !important;
}

.megaforma-filter-box .bapf_head {
    margin: 0 !important;
    padding: 0 !important;
}

.megaforma-filter-box .bapf_head h3 {
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.megaforma-filter-box .bapf_body {
    margin: 0 !important;
    padding: 0 !important;
}

.megaforma-filter-box .berocket_single_filter_widget:has(.bapf_body:not([style*="display: none"])) .bapf_body {
    margin-top: 10px !important;
}

.megaforma-filter-box .bapf_body[style*="display: none"] {
    margin: 0 !important;
    padding: 0 !important;
}

.megaforma-filter-box .bapf_body ul {
    margin: 0 !important;
    padding: 0 !important;
}

.megaforma-filter-box .berocket_single_filter_widget:not(:last-child)::after {
    left: 14px;
    right: 14px;
    bottom: 0;
}

.megaforma-filter-box .berocket_single_filter_widget_272 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.megaforma-filter-box .berocket_single_filter_widget_272 .bapf_body {
    margin-top: 6px !important;
    padding: 0 !important;
}

.megaforma-filter-box .berocket_single_filter_widget_272 .ui-slider {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

.megaforma-filter-box .berocket_single_filter_widget_272 .megaforma-price-inputs {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.megaforma-filter-box .megaforma-price-field {
    position: relative !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.megaforma-filter-box .megaforma-price-field input[type="number"] {
    display: block !important;
    width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    padding: 0 20px 0 8px !important;
    box-sizing: border-box !important;
    border: 1px solid #D9D9D9 !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 12px !important;
    line-height: 28px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.megaforma-filter-box .megaforma-price-field input[type="number"]:focus {
    border-color: #FF6600 !important;
}

.megaforma-filter-box .megaforma-price-currency {
    position: absolute !important;
    top: 50% !important;
    right: 7px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #777777 !important;
    pointer-events: none !important;
}

.megaforma-filter-box .megaforma-price-separator {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 8px !important;
    min-width: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #888888 !important;
}

.megaforma-filter-box .megaforma-price-field input[type="number"]::-webkit-inner-spin-button, .megaforma-filter-box .megaforma-price-field input[type="number"]::-webkit-outer-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
}

.megaforma-mobile-toolbar, .megaforma-mobile-filter-drawer {
    display: none;
}

@media (max-width: 767px) {
    body.megaforma-filter-drawer-open {
        overflow: hidden !important;
    }

    .megaforma-mobile-toolbar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        margin: 0 0 20px;
    }

    .megaforma-mobile-sort {
        min-width: 0;
        width: 100%;
    }

    .megaforma-mobile-sort .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .megaforma-mobile-sort .woocommerce-ordering select {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 0 34px 0 12px !important;
        border: 1px solid #DCDCDC !important;
        border-radius: 6px !important;
        background-color: #FFFFFF !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #1E1E1E !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .megaforma-mobile-filter-open {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        height: 42px;
        min-height: 42px;
        margin: 0 !important;
        padding: 0 12px !important;
        border: 1px solid #DCDCDC !important;
        border-radius: 6px !important;
        background: #FFFFFF !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #1E1E1E !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    .megaforma-mobile-filter-open-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FF6600;
    }

    .megaforma-mobile-filter-open-icon svg {
        display: block;
        width: 17px;
        height: 17px;
    }

    .megaforma-mobile-filter-drawer {
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 999999;
        visibility: hidden;
        pointer-events: none;
    }

    .megaforma-mobile-filter-drawer.is-open {
        visibility: visible;
        pointer-events: auto;
    }

    .megaforma-mobile-filter-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        opacity: 0;
        transition: opacity .25s ease;
    }

    .megaforma-mobile-filter-drawer.is-open .megaforma-mobile-filter-overlay {
        opacity: 1;
    }

    .megaforma-mobile-filter-panel {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        width: min(92vw, 390px);
        height: 100%;
        max-height: 100%;
        background: #FFFFFF;
        transform: translateX(100%);
        transition: transform .25s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
    }

    .megaforma-mobile-filter-drawer.is-open .megaforma-mobile-filter-panel {
        transform: translateX(0);
    }

    .megaforma-mobile-filter-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        padding: 0 18px;
        border-bottom: 1px solid #E8E8E8;
        flex: 0 0 auto;
    }

    .megaforma-mobile-filter-title {
        font-family: "Manrope", sans-serif;
        font-size: 18px;
        font-weight: 700;
        color: #1E1E1E;
    }

    .megaforma-mobile-filter-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: transparent !important;
        font-family: Arial, sans-serif !important;
        font-size: 26px !important;
        font-weight: 300 !important;
        color: #1E1E1E !important;
        cursor: pointer;
        box-shadow: none !important;
    }

    .megaforma-mobile-filter-content {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0 18px 22px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget {
        position: relative;
        width: 100%;
        margin: 0 !important;
        padding: 16px 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: #E8E8E8;
    }

    .megaforma-mobile-filter-content .bapf_head {
        margin: 0 !important;
        padding: 0 !important;
    }

    .megaforma-mobile-filter-content .bapf_head h3 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1E1E1E !important;
    }

    .megaforma-mobile-filter-content .bapf_body {
        margin: 10px 0 0 !important;
        padding: 0 !important;
    }

    .megaforma-mobile-filter-content .bapf_body[style*="display: none"] {
        margin: 0 !important;
        padding: 0 !important;
    }

    .megaforma-mobile-filter-content .bapf_body ul {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .megaforma-mobile-filter-content .bapf_body li {
        margin: 0 0 8px !important;
        padding: 0 !important;
    }

    .megaforma-mobile-filter-content .bapf_body label, .megaforma-mobile-filter-content .bapf_body li, .megaforma-mobile-filter-content .bapf_body span {
        font-family: "Manrope", sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #333333 !important;
    }

    .megaforma-mobile-filter-content input[type="checkbox"] {
        width: 15px !important;
        height: 15px !important;
        margin: 0 7px 0 0 !important;
        accent-color: #FF6600;
        cursor: pointer;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_272 .megaforma-price-inputs {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
    }

    .megaforma-mobile-filter-content .megaforma-price-field {
        position: relative !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .megaforma-mobile-filter-content .megaforma-price-field input[type="number"] {
        display: block !important;
        width: 100% !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        margin: 0 !important;
        padding: 0 22px 0 9px !important;
        box-sizing: border-box !important;
        border: 1px solid #D9D9D9 !important;
        border-radius: 4px !important;
        background: #FFFFFF !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 12px !important;
        line-height: 30px !important;
        color: #333333 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .megaforma-mobile-filter-content .megaforma-price-field input[type="number"]:focus {
        border-color: #FF6600 !important;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_272 .ui-slider {
        width: 100% !important;
        height: 4px !important;
        margin: 0 0 7px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #E5E5E5 !important;
        box-shadow: none !important;
    }

    .megaforma-mobile-filter-content .ui-slider .ui-slider-range {
        height: 4px !important;
        border-radius: 999px !important;
        background: #FF6600 !important;
    }

    .megaforma-mobile-filter-content .ui-slider .ui-slider-handle {
        top: 50% !important;
        width: 14px !important;
        height: 14px !important;
        margin-top: -7px !important;
        margin-left: -7px !important;
        border: 2px solid #FF6600 !important;
        border-radius: 50% !important;
        background: #FFFFFF !important;
        box-shadow: none !important;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_469 {
        padding-top: 20px !important;
        padding-bottom: 8px !important;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_469::after, .megaforma-mobile-filter-content .berocket_single_filter_widget_472::after {
        display: none !important;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_469 button, .megaforma-mobile-filter-content .berocket_single_filter_widget_469 input[type="button"], .megaforma-mobile-filter-content .berocket_single_filter_widget_469 input[type="submit"], .megaforma-mobile-filter-content .berocket_single_filter_widget_469 .bapf_button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        border: 1px solid #FF6600 !important;
        border-radius: 6px !important;
        background: #FF6600 !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_472 {
        padding-top: 0 !important;
        padding-bottom: 8px !important;
    }

    .megaforma-mobile-filter-content .berocket_single_filter_widget_472 button, .megaforma-mobile-filter-content .berocket_single_filter_widget_472 input[type="button"], .megaforma-mobile-filter-content .berocket_single_filter_widget_472 input[type="submit"], .megaforma-mobile-filter-content .berocket_single_filter_widget_472 .bapf_button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 38px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 0 !important;
        background: transparent !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #666666 !important;
        text-decoration: underline !important;
        box-shadow: none !important;
        cursor: pointer;
    }

}

@media (max-width: 767px) {
    .megaforma-mobile-filter-content .megaforma-price-field {
        position: relative !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .megaforma-mobile-filter-content .megaforma-price-currency {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: 8px !important;
        transform: translateY(-50%) !important;
        z-index: 2 !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 11px !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        color: #777777 !important;
        pointer-events: none !important;
    }

    .megaforma-mobile-filter-content .megaforma-price-separator {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 8px !important;
        min-width: 8px !important;
        height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 12px !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        color: #888888 !important;
    }

    .megaforma-mobile-filter-content .megaforma-price-field input[type="number"] {
        padding-right: 24px !important;
    }

}

body.post-type-archive-product .content-wrapper {
    width: 100%;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.post-type-archive-product .woocommerce-page-header {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
    margin-bottom: 0 !important;
}

body.post-type-archive-product .woocommerce-breadcrumb {
    margin: 0 0 18px !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #777777 !important;
}

body.post-type-archive-product .woocommerce-products-header {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.post-type-archive-product .woocommerce-products-header__title.page-title {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 36px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product .woocommerce-page-header + .content-wrapper {
    margin-top: 36px !important;
    margin-bottom: 64px !important;
}

body.post-type-archive-product .megaforma-shop-category-section {
    width: 100%;
    margin: 0 0 38px !important;
}

body.post-type-archive-product .megaforma-shop-category-title {
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product .megaforma-shop-categories {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
}

body.post-type-archive-product .megaforma-shop-products-title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product .woocommerce-result-count {
    margin: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 14px !important;
    color: #666666 !important;
}

body.post-type-archive-product .woocommerce-ordering {
    width: auto !important;
    max-width: none !important;
    margin: 0 0 28px !important;
}

body.post-type-archive-product .woocommerce-ordering select {
    border: 1px solid #DDDDDD !important;
    border-radius: 6px !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    body.post-type-archive-product .content-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.post-type-archive-product .megaforma-shop-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 767px) {
    body.post-type-archive-product .woocommerce-page-header {
        padding-top: 20px !important;
        padding-bottom: 18px !important;
    }

    body.post-type-archive-product .woocommerce-breadcrumb {
        margin-bottom: 12px !important;
        font-size: 12px !important;
    }

    body.post-type-archive-product .woocommerce-products-header__title.page-title {
        font-size: 28px !important;
    }

    body.post-type-archive-product .woocommerce-page-header + .content-wrapper {
        margin-top: 24px !important;
        margin-bottom: 40px !important;
    }

    body.post-type-archive-product .content-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.post-type-archive-product .megaforma-shop-category-section {
        margin-bottom: 30px !important;
    }

    body.post-type-archive-product .megaforma-shop-category-title, body.post-type-archive-product .megaforma-shop-products-title {
        font-size: 21px !important;
    }

    body.post-type-archive-product .megaforma-shop-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

}

body.post-type-archive-product ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.post-type-archive-product ul.products li.product {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid #E5E5E5 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    transition: border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

body.post-type-archive-product ul.products li.product:hover {
    border-color: #D5D5D5 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06) !important;
    transform: translateY(-2px);
}

body.post-type-archive-product ul.products li.product .woocommerce-LoopProduct-link {
    text-decoration: none !important;
}

body.post-type-archive-product ul.products li.product img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    background: #F7F8F8 !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
    margin: 0 !important;
    padding: 14px 14px 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product ul.products li.product .price {
    display: block !important;
    margin: 10px 0 14px !important;
    padding: 0 14px !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product ul.products li.product .price del {
    margin-right: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #8A8A8A !important;
}

body.post-type-archive-product ul.products li.product .price ins {
    text-decoration: none !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product ul.products li.product .button {
    border: 0 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

body.post-type-archive-product ul.products li.product .button:hover {
    background: #E65C00 !important;
}

body.post-type-archive-product ul.products li.product .onsale {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border-radius: 5px !important;
    background: #FF6600 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
}

@media (max-width: 1024px) {
    body.post-type-archive-product ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

}

@media (max-width: 767px) {
    body.post-type-archive-product ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
        padding: 10px 10px 0 !important;
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }

    body.post-type-archive-product ul.products li.product .price {
        margin: 8px 0 10px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    body.post-type-archive-product ul.products li.product .button {
        width: calc(100% - 20px) !important;
        margin: auto 10px 10px !important;
        padding: 9px 8px !important;
        font-size: 11px !important;
    }

    body.post-type-archive-product ul.products li.product .onsale {
        top: 8px !important;
        left: 8px !important;
        padding: 4px 6px !important;
        font-size: 10px !important;
    }

}

@media (max-width: 767px) {
    body.post-type-archive-product .woocommerce-result-count {
        float: none !important;
        width: 100% !important;
        margin: 0 0 12px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    body.post-type-archive-product .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin: 0 0 20px !important;
    }

    body.post-type-archive-product .woocommerce-ordering select {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 42px !important;
        padding: 0 34px 0 12px !important;
        border: 1px solid #DCDCDC !important;
        border-radius: 6px !important;
        background-color: #FFFFFF !important;
        background-image: none !important;
        appearance: auto !important;
        -webkit-appearance: menulist !important;
        -moz-appearance: auto !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #1E1E1E !important;
        box-shadow: none !important;
        outline: none !important;
    }

}

body.post-type-archive-product .woocommerce-ordering select {
    width: 250px !important;
    min-width: 250px !important;
    height: 42px !important;
    padding: 0 34px 0 13px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #FFFFFF !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' fill='none' stroke='%231E1E1E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 10px 6px !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    body.post-type-archive-product .woocommerce-ordering select {
        width: 100% !important;
        min-width: 0 !important;
    }

}

body.post-type-archive-product ul.products li.product {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-LoopProduct-link {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    min-height: 40px !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}

body.post-type-archive-product ul.products li.product .price {
    margin-top: auto !important;
}

body.post-type-archive-product ul.products li.product .button {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 28px) !important;
    margin: 0 14px 14px !important;
    padding: 11px 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-radius: 6px !important;
    background: #FF6600 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

body.post-type-archive-product ul.products li.product:hover .button {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: #E65C00 !important;
}

@media (max-width: 767px) {
    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
        min-height: 34px !important;
        font-size: 12px !important;
    }

    body.post-type-archive-product ul.products li.product .button {
        width: calc(100% - 20px) !important;
        margin: 0 10px 10px !important;
        padding: 9px 6px !important;
        font-size: 11px !important;
    }

}

/* =========================================================
   MEGAFORMA — CATALOG SORTING SPACING
   Result count / sorting → products
   ========================================================= */

body.tax-product_cat .woocommerce-sorting-wrapper,
body.post-type-archive-product .woocommerce-sorting-wrapper {
    margin: 0 0 24px !important;
    padding: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {

    body.tax-product_cat .woocommerce-sorting-wrapper,
    body.post-type-archive-product .woocommerce-sorting-wrapper {
        margin-bottom: 18px !important;
        padding-bottom: 0 !important;
    }

}

