@media (max-width: 767px) {
    .mobile-product-filter-toggle {
        display: flex;
    }

    .mobile-product-filter-column {
        display: block !important;
        position: fixed !important;
        top: -24px;
        left: 0;
        bottom: 0;
        width: 85% !important;
        max-width: 360px;
        height: 100dvh;
        padding: 20px 15px !important;
        background: #fff;
        z-index: 1060;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
        visibility: hidden;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    }

    .mobile-product-filter-column.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    body.mobile-filter-open {
        overflow: hidden;
    }

    body.mobile-filter-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1055;
    }

    .mobile-product-filter-column .filter-box--wrap {
        margin-bottom: 0 !important;
    }

    .product--topbar .row {
        display: flex;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .product--topbar .row > div:first-child {
        display: none;
    }

    .product--topbar .row > div:last-child {
        width: 100%;
        flex: 1;
    }

    .product--topbar form {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .product--topbar select {
        flex: 1;
        min-width: 0;
        font-size: 13px !important;
    }

    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        flex: 0 0 auto;
        padding: 11px 14px;
        border: 1px solid #330066;
        border-radius: 5px;
        background: #fff;
        color: #330066;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    .mobile-product-filter-column {
        position: relative;
    }

    .mobile-filter-close {
        position: absolute;
        top: 12px;
        right: 15px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: #f3eaf5;
        color: #330066;
        font-size: 20px;
        cursor: pointer;
    }

    .mobile-product-filter-column .filter-box--wrap {
        padding-top: 35px;
    }

    .product--card.style--three .thumb--wrap .thumb img {
        height: 100%;
        object-fit: contain;
    }
    .product--card.style--three .thumb--wrap .thumb {
        height: 100%;
        margin-top: -70px;
    }

    .all-product-grid .product--card .content--wrap .title {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: start;
    }
    @media (max-width: 767px) {
    .all-product-grid nav {
        width: 100%;
        justify-content: center !important;
    }

    .all-product-grid nav > .d-sm-none {
        width: 100%;
        flex: 0 0 100%;
        justify-content: center !important;
    }

    .all-product-grid nav > .d-sm-none .pagination {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .all-product-grid nav > .d-sm-none .page-item {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .all-product-grid nav > .d-sm-none .page-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 85px !important;
        height: 42px !important;
        padding: 8px 16px !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-decoration: none;
    }
}
}

@media (min-width: 768px) {
    .mobile-filter-toggle {
        display: none !important;
    }
}
