.category-item-slider:not([data-cat-ready="1"]) {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-item-slider:not([data-cat-ready="1"])::-webkit-scrollbar {
    display: none;
}

.category-item-slider:not([data-cat-ready="1"]) > .category-item {
    flex: 0 0 calc(100% / var(--cat-cols, 6));
    max-width: calc(100% / var(--cat-cols, 6));
    box-sizing: border-box;
}

.category-item-slider:not([data-cat-ready="1"]) > .category-item > .category-item__link {
    height: 100%;
}

@media (min-width: 992px) {
    .banner {
        padding-top: 48px !important;
    }
}

.latest-template .tab-content > .tab-pane > .row.gy-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}

.latest-template .tab-content > .tab-pane > .row.gy-4 > [class*="col"] {
    width: auto;
    max-width: none;
    flex: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1199px) {
    .category-item-slider:not([data-cat-ready="1"]) {
        --cat-cols: 5;
    }
}

@media (max-width: 991px) {
    .latest-template .tab-content > .tab-pane > .row.gy-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .category-item-slider:not([data-cat-ready="1"]) {
        --cat-cols: 3;
    }
}

@media (max-width: 424px) {
    .latest-template .tab-content > .tab-pane > .row.gy-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }
}

@media (max-width: 400px) {
    .category-item-slider:not([data-cat-ready="1"]) {
        --cat-cols: 2;
    }
}

.featured-products .col-xxl-6.col-lg-7 > .row.gy-4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.featured-products .col-xxl-6.col-lg-7 > .row.gy-4 > [class*="col"] {
    width: auto;
    max-width: none;
    flex: none;
    margin: 0;
    padding: 0;
}

.profile-menu-page {
    padding-top: clamp(36px, 4vw, 60px);
    padding-bottom: 60px;
}

.browse-best-selling.py-120,
.weekly-best-selling.py-120 {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

@media (max-width: 767px) {
    .browse-best-selling.py-120,
    .weekly-best-selling.py-120 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

.cta .cta-thumb {
    transform: translateY(20px);
}

@media (min-width: 768px) {
    .cta {
        padding-top: clamp(16px, 2vw, 28px) !important;
    }

    .cta .row > div:first-child {
        display: flex;
        align-items: center;
    }

    .cta .cta-content.pt-120 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transform: translateY(12px);
    }

    .cta .row > div:last-child {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .cta .row > div:last-child .cta-thumb {
        width: 100%;
        margin-top: 0 !important;
    }
}

@media (max-width: 575px) {
    .featured-products .col-xxl-6.col-lg-7 > .row.gy-4 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-item-slider:not([data-cat-ready="1"]),
    .category-item-slider:not([data-cat-ready="1"]) > .category-item {
        scroll-behavior: auto;
        transition: none;
    }
}
