.breadcrumb-nav {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--nav-mega-top, 140px) !important;
    z-index: 950 !important;
    background: #ffffff !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 767.98px) {
    .breadcrumb-nav {
        top: 0px !important;
        padding-top: 12px !important;
        padding-bottom: 4px !important;
    }
}

.category-detail-filter-row {
    min-width: 0;
}

.category-detail-subcats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    /* padding-bottom: 0.25rem; */
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.category-detail-subcats:active {
    cursor: grabbing;
}

.category-detail-subcats * {
    -webkit-user-drag: none;
}

.category-detail-subcats::-webkit-scrollbar {
    display: none;
}

.sub-tab-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: var(--background);
    color: var(--kp-navy);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s, transform 0.2s;
}

.sub-tab-btn:hover {
    border-color: #183158 !important;
    color: #fff !important;
    background: #183158 !important;
}

.sub-tab-btn.active,
.sub-tab-btn[aria-pressed="true"] {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(225, 29, 109, 0.06);
}

.sub-tab-btn:focus-visible {
    outline: 2px solid rgba(225, 29, 109, 0.28);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .category-detail-subcats {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
    }
}

.category-detail-pagination nav {
    width: 100%;
}

.category-detail-pagination nav>.d-none.flex-sm-fill.d-sm-flex.align-items-sm-center.justify-content-sm-between {
    width: 100%;
}

.category-detail-pagination .pagination {
    margin-top: 0;
    margin-bottom: 0;
    gap: 0.5rem;
}

.category-detail-pagination .page-item {
    margin: 0;
}

.category-detail-pagination .page-link {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: var(--kp-navy);
    background: #f9fafb;
    padding: 0;
    transition: all 0.25s ease;
}

.category-detail-pagination .page-link:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.category-detail-pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.category-detail-pagination .page-item.disabled .page-link {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #d1d5db;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .category-detail-pagination .page-link span {
        display: none;
    }

    .category-detail-pagination .page-link {
        padding: 0 12px !important;
        min-width: 40px;
    }
}

/* ── Category Detail Banner Redesign ── */
.cd-hero-section {
    padding: 0 0 0;
    background: #fff;
}

.cd-hero-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.cd-hero-left {
    position: relative;
    width: 1030px;
    height: 600px;
    background: linear-gradient(36.58deg, #183158 16.44%, #E83161 77.19%);
    color: #fff;
    padding: 80px 65px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.cd-hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cd-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 25px;
    color: #fff;
}

.cd-subtitle-1 {
    font-size: 34px;
    font-weight: 500;
    margin: 0 0 35px;
    color: #fff;
    line-height: 1.1;
    width: 585px;
}

.cd-subtitle-2 {
    font-size: 20px;
    font-weight: 400;
    margin: 20px 0 65px;
    color: rgba(255, 255, 255, 0.9);
}

.cd-cta-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: auto;
}

.cd-btn-pink {
    display: inline-flex;
    align-items: center;
    justify-content: end;
    gap: 15px;
    width: 210px;
    height: 60px;
    background: #E83161;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 0 45px 0 0;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cd-btn-pink:hover {
    background: #ffffff !important;
    color: #183158 !important;
}

.cd-btn-pink:hover svg path {
    fill: #E73161 !important;
}

.cd-btn-pink svg path {
    transition: fill 0.3s ease;
}

.cd-browse-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.cd-decorative-svg {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}

.cd-hero-right {
    position: relative;
    width: 600px;
    height: 600px;
    overflow: hidden;
    background: #f7f8f9;
}

.cd-hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #173158;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.cd-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd-top-left-icon {
    position: absolute;
    top: 45px;
    left: 45px;
    z-index: 10;
    line-height: 0;
}

/* Responsive Adjustments */
@media (max-width: 1660px) {
    .cd-hero-left {
        width: 62.8%;
    }

    .cd-hero-right {
        width: 37.2%;
    }
}

@media (max-width: 1199.98px) {
    .cd-hero-wrap {
        flex-direction: column;
    }

    .cd-hero-left,
    .cd-hero-right {
        width: 100%;
        height: auto;
        min-height: 450px;
    }

    .cd-hero-left {
        padding: 60px 40px;
    }
}

/* ── PC Refinements (Min-width 992px) ── */
@media (min-width: 992px) {

    /* Breadcrumb */
    .breadcrumb-nav p {
        font-size: 14px !important;
    }

    /* Category Title & Icon Box */
    .cd-page-title {
        font-size: 48px !important;
        font-weight: 600 !important;
        color: #152C50 !important;
        margin-top: 60px !important;
    }

    .cd-title-icon-box {
        width: 80px !important;
        height: 80px !important;
        background: #152C50 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Subcategory Filter Tabs */
    .sub-tab-btn {
        width: 240px !important;
        height: 48px !important;
        min-height: 48px !important;
        font-size: 16px !important;
        border-radius: 0 !important;
        justify-content: center !important;
        background: #F4F7F9 !important;
        border: none !important;
    }

    .sub-tab-btn.active {
        background: var(--accent) !important;
        color: #fff !important;
    }

    /* Product Card PC Overrides */
    .cat-section .product-card-v2 {
        border: none !important;
        padding: 0 !important;
    }

    .cat-section .product-card-v2 .card-img {
        width: 387px !important;
        height: 387px !important;
        border: 2px solid #EDEFF2 !important;
        margin-bottom: 20px !important;
        position: relative !important;
    }

    .cat-section .product-card-v2 .card-img .tag {
        width: 48px !important;
        height: 48px !important;
        background: #E83161 !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        border-radius: 0 !important;
    }

    .cat-section .product-card-v2 .card-info {
        padding: 0 !important;
    }

    .cat-section .product-card-v2 .card-meta {
        font-size: 14px !important;
        margin-bottom: 8px !important;
        color: #707070 !important;
    }

    .cat-section .product-card-v2 h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        color: #183158 !important;
    }

    .cat-section .product-card-v2 .card-variants {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        color: #707070 !important;
    }

    .cat-section .product-card-v2 .buy-btn {
        width: 168px !important;
        height: 42px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        background: #fff !important;
        border: 2px solid #E83161 !important;
        color: #E83161 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 0 !important;
        transition: background 0.3s ease, color 0.3s ease !important;
    }

    .cat-section .product-card-v2 .buy-btn:hover {
        background: #E83161 !important;
        color: #fff !important;
    }

    .cat-section .product-card-v2 .buy-btn span {
        margin-left: 0 !important;
    }
}

@media (max-width: 711.98px) {
    .cd-title {
        font-size: 42px;
    }

    .cd-subtitle-1 {
        font-size: 26px;
    }

    .cd-subtitle-2 {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .cd-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cd-hero-left {
        padding: 40px 20px;
    }

    .cd-hero-right {
        min-height: 350px;
    }

    /* New Mobile Banner Layout (Synced with Categories) */
    .cd-hero-wrap-mob {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .cd-hero-left-mob {
        width: 322px !important;
        height: 248px !important;
        margin: 0 auto !important;
        background: linear-gradient(36.58deg, #173158 16.44%, #E83161 77.19%) !important;
        border-radius: 0 !important;
    }

    .cd-hero-right-mob {
        width: 322px !important;
        height: 322px !important;
        margin: 8px auto 0 !important;
        border-radius: 0 !important;
        background: #f7f8f9 !important;
        position: relative;
    }

    .cd-hero-right-mob::after {
        content: '';
        position: absolute;
        inset: 0;
        background: #173158;
        opacity: 0.2;
        z-index: 1;
        pointer-events: none;
    }

    .cd-hero-right-mob img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Product Section Mobile Refinements */
    .cd-page-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        margin-top: 25px;
    }

    .category-detail-subcats {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 10px !important;
        padding: 5px 0 !important;
    }

    .category-detail-subcats .sub-tab-btn {
        flex: 0 0 156px !important;
        width: 156px !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        display: block !important;
        text-align: center !important;
        line-height: 32px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        padding: 0 10px !important;
        border: 1px solid #EDEDED !important;
        border-radius: 0 !important;
    }

    /* Product Grid Mobile Refinements */
    .cd-mobile-product-grid .product-card-v2 {
        border: none !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
    }

    .cd-mobile-product-grid .product-card-v2 .card-img {
        width: 156px !important;
        height: 156px !important;
        border: 1px solid #EDEDED !important;
        position: relative !important;
    }

    .cd-mobile-product-grid .product-card-v2 .card-img img {
        width: 122px !important;
        height: 122px !important;
        object-fit: contain !important;
    }

    .cd-mobile-product-grid .product-card-v2 .card-img .tag {
        width: 33px !important;
        height: 30px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #E83161 !important;
        color: #fff !important;
    }

    /* .cd-mobile-product-grid .product-card-v2 .card-meta {
        font-size: 12px !important;
    } */

    .cd-mobile-product-grid .product-card-v2 h3 {
        /* font-size: 14px !important; */
        font-weight: 600 !important;
        margin-top: 5px !important;
        width: 147px !important;
        height: 84px;
    }

    /* .cd-mobile-product-grid .product-card-v2 .card-variants {
        font-size: 12px !important;
    } */
}

/* ── Shared Lower Sections (Reviews, Stay Updated, FAQ) ── */

/* Reviews Section */
.reviews-section {
    height: auto;
    padding: 4rem 0;
    background: #fff;
    position: relative !important;
}

.reviews-section .kp-section-title {
    color: #152C50;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.5;
}

/* .reviews-section .reviews-see-all {
    width: 180px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E83161;
    color: #E83161;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 500;
    transition: all 0.3s ease;
} */

.reviews-section .reviews-see-all:hover {
    background: #E83161;
    color: #fff;
}

.reviews-section .reviews-desktop-nav,
.reviews-section .reviews-desktop-prev,
.reviews-section .reviews-desktop-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-section .reviews-desktop-prev {
    left: 0;
    background: #EDEFF2;
}

.reviews-section .reviews-desktop-next {
    right: 0;
    background: #E83161;
}

/* .reviews-section .reviews-desktop-prev:disabled,
.reviews-section .reviews-desktop-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
} */

/* .reviews-section .reviews-desktop-next::before {
    content: '';
    width: 21px;
    height: 23px;
    background: url('../../images/arrows/slider_arrow/right_slider.svg') center / contain no-repeat;
    display: block;
} */

/* .reviews-section .reviews-desktop-prev::before {
    content: '';
    width: 21px;
    height: 23px;
    background: url('../../images/arrows/slider_arrow/left_slider.svg') center / contain no-repeat;
    display: block;
} */

/* Stay Updated Section */
.stay-updated-section {
    padding: 65px 0 !important;
    background: #fff;
}

.stay-updated-section .border {
    border: 0 !important;
}

.stay-updated-section .d-flex.flex-column.flex-lg-row {
    max-height: none !important;
    height: 600px;
}

.stay-updated-section .position-relative.d-flex.flex-column {
    background: #E83161 !important;
    padding: 64px 72px !important;
    justify-content: center;
}

.stay-updated-section h2 {
    max-width: 596px !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #fff !important;
}

.stay-updated-section p {
    color: #fff !important;
}

.stay-updated-section .subscribe-open-btn {
    width: 210px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #183158;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* Support & FAQ Section */
.support-faq-section {
    background: #F7F8F9 !important;
    padding: 0 !important;
}

.support-faq-section .kp-container>div {
    min-height: 878px !important;
    /* display: flex !important;
    align-items: center !important;
    justify-content: center !important; */
    background: #F7F8F9 !important;
}

.support-faq-section h2 {
    color: #152C50 !important;
    font-weight: 600 !important;
}

.support-faq-section a.btn-primary,
.support-faq-section .btn {
    width: 210px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 0;
}

/* ───────── Mobile Overrides (Copied from Home.css) ───────── */
@media (max-width: 711.98px) {

    /* Reviews Mobile */
    .reviews-section .reviews-topbar {
        margin-bottom: 24px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .reviews-section h2.kp-section-title {
        font-size: 24px !important;
        font-weight: 600 !important;
    }

    .reviews-see-all {
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid #E83161 !important;
    }

    .reviews-see-all span {
        display: none !important;
    }

    .reviews-see-all svg {
        width: 9px !important;
        height: 9px !important;
        margin: 0 !important;
    }

    .rating-summary {
        width: 322px !important;
        height: 322px !important;
        min-height: 322px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: #F8F9FA !important;
        padding: 30px !important;
        margin: 0 auto 30px !important;
    }

    .rating-summary .stars svg {
        width: 30px !important;
        height: 30px !important;
        fill: #E83161 !important;
    }

    .rating-num {
        font-size: 36px !important;
        font-weight: 600 !important;
        color: #152C50 !important;
    }

    .rating-label {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #152C50 !important;
    }

    .review-mobile-slider .review-card {
        width: 300px !important;
        height: 300px !important;
        min-height: 300px !important;
        padding: 30px !important;
        border: 1px solid #dee2e6 !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
    }

    /* Stay Updated Mobile */
    .stay-updated-section {
        padding: 40px 0 !important;
    }

    .stay-updated-text-box {
        width: 322px !important;
        height: 322px !important;
        padding: 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin: 0 auto !important;
        background: #E83161 !important;
    }

    .stay-updated-text-box h2 {
        font-size: 36px !important;
        margin-bottom: 15px !important;
    }

    .stay-updated-image-box {
        width: 322px !important;
        height: 322px !important;
        margin: 0 auto !important;
    }

    /* Support & FAQ Mobile */
    .support-mobile-box {
        background: #F8F9FA !important;
        padding: 40px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .support-mob-title {
        font-size: 36px !important;
        width: 300px !important;
        margin-bottom: 20px !important;
        font-weight: bold !important;
    }

    .support-mob-btn {
        width: 260px !important;
        height: 48px !important;
        background: #E83161 !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .faq-mobile-box {
        width: 322px !important;
        height: 322px !important;
        margin: 0 auto !important;
        padding: 20px !important;
        background: #fff !important;
    }

    /* Mobile Top Bar requirements */
    .cat-mobile-top-bar {
        border-radius: 0;
    }

    .cat-breadcrumb-text {
        font-size: 10px !important;
        font-weight: 500;
    }

    .cat-breadcrumb-text a,
    .cat-breadcrumb-text span {
        font-size: 10px !important;
    }
}

@media (max-width: 575.98px) {

    .kp-container,
    .cat-section .container,
    .breadcrumb-nav .container,
    .cd-hero-section>.kp-container {
        width: 330px !important;
    }
}

/* Laptop Screen Overrides (992px to 1639.98px) */
@media (min-width: 992px) and (max-width: 1639.98px) {

    .kp-container,
    .cd-hero-section>.kp-container,
    .breadcrumb-nav>.kp-container,
    .cat-section>.kp-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    /* Hero Banner Laptop Adjustments */
    .cd-hero-left {
        height: 500px !important;
        padding: 60px 45px !important;
        width: calc(62.8% - 6px) !important;
    }

    .cd-hero-right {
        height: 500px !important;
        width: calc(37.2% - 4px) !important;
    }

    .cd-title {
        font-size: 44px !important;
        margin-bottom: 25px !important;
    }

    .cd-subtitle-1 {
        font-size: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
        line-height: 1.2 !important;
    }

    .cd-cta-row {
        margin-top: auto !important;
        gap: 20px !important;
    }

    .cd-btn-pink {
        width: 180px !important;
        height: 52px !important;
        font-size: 15px !important;
    }

    .cd-browse-link {
        font-size: 16px !important;
    }

    /* Subcategory Filter Tabs */
    .sub-tab-btn {
        width: 190px !important;
        height: 44px !important;
        min-height: 44px !important;
        font-size: 15px !important;
    }

    /* Product Cards Laptop Adjustments */
    .cat-section .product-card-v2 .card-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        padding: 1.5rem !important;
        margin-bottom: 15px !important;
    }

    .cat-section .product-card-v2 .card-img img {
        width: 80% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
    }

    .cat-section .product-card-v2 h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        min-height: 45px !important;
        max-height: 45px !important;
        height: 45px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    .cat-section .product-card-v2 .card-info {
        padding: 0 !important;
    }

    .cat-section .product-card-v2 .card-variants {
        margin-bottom: 15px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Tablet Screen Overrides (768px to 991.98px)
   At tablet the global .kp-container is 1640px with no responsive
   fallback in this range, so content overflows. The hero already
   stacks via `(max-width: 1199.98px)`, but typography is still PC
   sized and the product cards default to 400×400 (too big for the
   `col-md-4` grid at tablet widths).

   Mobile <768 keeps the existing `(max-width: 767.98px)` rules, and
   laptop 992–1639.98 keeps its own block. PC ≥1640 is not touched.
   ═══════════════════════════════════════════════════════════════════ */
/* ───────── Shift Breakpoint for Category Detail Page (apply mobile until 712px, then tablet) ───────── */
@media (min-width: 712px) and (max-width: 767.98px) {

    /* Hide Mobile Layout */
    .d-md-none {
        display: none !important;
    }

    /* Show Tablet/Desktop Layout */
    .d-none.d-md-block {
        display: block !important;
    }

    .d-none.d-md-flex {
        display: flex !important;
    }

    .d-none.d-md-inline {
        display: inline !important;
    }
}

@media (min-width: 712px) and (max-width: 991.98px) {

    /* Containers: make fluid for the tablet range. */
    .kp-container,
    .cd-hero-section>.kp-container,
    .breadcrumb-nav>.kp-container,
    .cat-section>.kp-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Hero — override the existing `(max-width: 1199.98px)` rule that
       stacks `.cd-hero-wrap` to `flex-direction: column`. At tablet we
       want the image to stay on the right side of the gradient card,
       like PC/laptop, but with smaller proportions. */
    .cd-hero-wrap {
        flex-direction: row !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .cd-hero-left {
        width: calc(50% - 5px) !important;
        height: 320px !important;
        min-height: 320px !important;
        padding: 28px 26px !important;
    }

    .cd-hero-right {
        width: calc(50% - 5px) !important;
        height: 320px !important;
        min-height: 320px !important;
    }

    .cd-description {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
    }

    .category-detail-filter-row {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .category-detail-subcats {
        flex-grow: 1 !important;
        margin-bottom: 0 !important;
    }

    .category-detail-filter-row .cat-filter-dropdown-wrap {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
    }

    .category-detail-filter-row .cat-filter-btn {
        width: 200px !important;
        height: 48px !important;
        min-width: 200px !important;
    }

    .cd-hero-right img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .cd-hero-content {
        max-width: 100% !important;
    }

    .cd-title {
        font-size: 28px !important;
        margin-bottom: 12px !important;
        line-height: 1.15 !important;
    }

    .cd-subtitle-1 {
        display: none !important;
    }

    .cd-subtitle-2 {
        font-size: 13px !important;
        margin: 10px 0 18px !important;
        line-height: 1.4 !important;
    }

    .cd-cta-row {
        gap: 14px !important;
        margin-top: 18px !important;
        flex-wrap: wrap !important;
    }

    .cd-btn-pink {
        width: 200px !important;
        height: 44px !important;
        font-size: 13px !important;
    }

    .cd-browse-link {
        font-size: 13px !important;
    }

    /* Decorative SVG inside the hero left card — clamp so it doesn't
       dominate the smaller tablet card. */
    .cd-decorative-svg svg {
        display: none;
        max-width: 260px !important;
        max-height: 260px !important;
        opacity: 0.45 !important;
    }

    /* Top-left icon */
    .cd-top-left-icon {
        top: 22px !important;
        left: 22px !important;
    }

    .cd-top-left-icon svg {
        width: 38px !important;
        height: 38px !important;
    }

    /* Page title row */
    .cd-page-title {
        font-size: 30px !important;
        font-weight: 600 !important;
        color: #152C50 !important;
    }

    .cd-title-icon-box {
        width: 56px !important;
        height: 56px !important;
        background: #152C50 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cd-title-icon-box svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* Subcategory filter tabs — tighter for tablet width */
    .sub-tab-btn {
        width: 180px !important;
        height: 40px !important;
        min-height: 40px !important;
        font-size: 14px !important;
        border-radius: 0 !important;
        justify-content: center !important;
        background: #F4F7F9 !important;
        border: none !important;
    }

    .sub-tab-btn.active {
        background: var(--accent) !important;
        color: #fff !important;
    }

    /* Product cards — the base styles default to 400×400 which is too
       big for the `col-md-4` grid at tablet. Make them fluid with a
       1:1 aspect ratio, similar to the laptop block. */
    .cat-section .product-card-v2 {
        border: none !important;
        padding: 0 !important;
    }

    .cat-section .product-card-v2 .card-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        padding: 1rem !important;
        border: 2px solid #EDEFF2 !important;
        margin-bottom: 12px !important;
    }

    .cat-section .product-card-v2 .card-img img {
        width: 80% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
    }

    .cat-section .product-card-v2 .card-img .tag {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        border-radius: 0 !important;
    }

    .cat-section .product-card-v2 .card-info {
        padding: 0 !important;
    }

    .cat-section .product-card-v2 .card-meta {
        font-size: 12px !important;
        margin-bottom: 6px !important;
        color: #707070 !important;
    }

    .cat-section .product-card-v2 h3 {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        color: #152C50 !important;
    }

    .cat-section .product-card-v2 .card-variants {
        font-size: 12px !important;
        margin-bottom: 14px !important;
        color: #707070 !important;
    }

    .cat-section .product-card-v2 .buy-btn {
        width: 150px !important;
        height: 38px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        background: #fff !important;
        border: 2px solid #E83161 !important;
        color: #E83161 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 !important;
        transition: background 0.3s ease, color 0.3s ease !important;
    }

    .cat-section .product-card-v2 .buy-btn:hover {
        background: #E83161 !important;
        color: #fff !important;
    }
}

/* Disable product card hover shadow and transitions specifically on category-detail page */
.cat-section .product-card-v2:hover,
.cd-mobile-product-grid .product-card-v2:hover {
    box-shadow: none !important;
}

.cat-section .product-card-v2,
.cd-mobile-product-grid .product-card-v2 {
    transition: none !important;
}

/* ─── Filter Dropdown (Brands Filter in Category Detail) ─── */
.cat-filter-btn {
    width: 300px;
    height: 48px;
    min-width: 300px;
    flex: 0 0 300px;
    padding: 0 18px;
    border: 1px solid #BAC2CD;
    border-radius: 0 !important;
    background: #fff;
    color: #183158;
    font-size: 16px;
    font-weight: 500;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.cat-filter-btn:hover,
.cat-filter-btn.is-open {
    border-color: #BAC2CD;
    background: #fff;
}

.cat-filter-btn.is-open {
    border-bottom-color: transparent !important;
    z-index: 601;
}

.cat-filter-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.cat-filter-toggle .cat-filter-icon {
    display: inline-block;
    flex-shrink: 0;
}

.cat-filter-toggle .cat-icon-minus {
    display: none;
}

.cat-filter-toggle.is-open .cat-icon-plus {
    display: none;
}

.cat-filter-toggle.is-open .cat-icon-minus {
    display: inline-block;
}

.cat-filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 100%;
    background: #fff;
    border: 1px solid #BAC2CD;
    border-top: none;
    border-radius: 0 !important;
    z-index: 600;
}

.cat-fdd-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #F7F8F9;
    margin: 12px 16px 8px;
    border-bottom: none;
}

.cat-fdd-count-text {
    font-size: 14px;
    color: #183158;
    font-family: var(--cat-font);
    font-weight: 400;
}

.cat-fdd-count {
    font-weight: 500;
    color: #E83161;
    font-size: 16px;
    margin-right: 2px;
}

.cat-fdd-reset {
    font-size: 14px;
    font-weight: 500;
    color: #E83161;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--cat-font);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.cat-fdd-reset:hover {
    text-decoration: underline;
}

.cat-fdd-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 4px 0 6px;
}

.cat-fdd-list::-webkit-scrollbar {
    width: 4px;
}

.cat-fdd-list::-webkit-scrollbar-track {
    background: #F7F8F9;
}

.cat-fdd-list::-webkit-scrollbar-thumb {
    background: #BAC2CD;
}

.cat-fdd-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 16px;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    transition: background 0.12s;
}

.cat-fdd-item:hover {
    background: #F7F8F9;
}

.cat-fdd-item:hover .cat-fdd-item-label {
    color: #E83161;
}

.cat-fdd-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cat-fdd-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #BAC2CD;
    background: #fff;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.cat-fdd-checkbox:checked+.cat-fdd-box {
    background: #fff;
    border-color: #E83161;
}

.cat-fdd-checkbox:checked+.cat-fdd-box::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #E83161;
}

.cat-fdd-item-label {
    font-size: 14px;
    color: #183158;
    font-family: var(--cat-font);
    transition: color 0.15s;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

@media (min-width: 712px) and (max-width: 991.98px) {
    .breadcrumb-nav {
        top: 85px !important;
    }
}

/* Mobile filter styles */
@media (max-width: 767.98px) {
    .cat-mobile-filter {
        width: 100%;
        height: 34px;
        border-radius: 0;
        background: #ffffff;
        border: 1px solid #BAC2CD;
        cursor: pointer;
    }

    .cat-mobile-filter--disabled {
        opacity: 0.4;
        cursor: default;
        pointer-events: none;
    }

    .cat-mobile-filters-group {
        position: relative;
    }

    .cat-mobile-filters-tabs {
        position: relative;
        z-index: 602;
    }

    .cat-mobile-filters-group .cat-filter-dropdown-wrap {
        position: static;
        min-width: 0;
    }

    .cat-mobile-filters-group .cat-filter-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        margin-top: -1px;
        border-top: 1px solid #BAC2CD;
        box-shadow: none;
    }

    .cat-mobile-filters-group .cat-mobile-filter.is-open,
    .cat-mobile-filters-group .cat-filter-toggle.is-open {
        border-bottom-color: transparent !important;
        z-index: 603;
    }

    .cat-mobile-filters-group .cat-fdd-meta {
        margin: 0;
        padding: 8px 16px;
        background: #F7F8F9;
        border-bottom: 1px solid #E8ECF0;
    }

    .cat-mobile-filters-group .cat-fdd-count-text {
        font-size: 12px;
        color: #173158;
    }

    .cat-mobile-filters-group .cat-fdd-count {
        font-size: 14px;
        color: #E83161;
    }

    .cat-mobile-filters-group .cat-fdd-reset {
        font-size: 12px;
    }

    .cat-mobile-filters-group .cat-fdd-list {
        max-height: 280px;
        padding: 0;
    }

    .cat-mobile-filters-group .cat-fdd-item {
        padding: 10px 16px;
    }

    .cat-mobile-filters-group .cat-fdd-item:active,
    .cat-mobile-filters-group .cat-fdd-item:hover {
        background: #F7F8F9;
    }

    .cat-mobile-filters-group .cat-fdd-item:active .cat-fdd-item-label,
    .cat-mobile-filters-group .cat-fdd-item:hover .cat-fdd-item-label {
        color: #E83161;
    }

    .cat-mobile-filters-group .cat-fdd-item-label {
        font-size: 12px;
        color: #173158;
    }

    .cat-filter-dropdown-menu {
        width: 100%;
        min-width: 100%;
        left: 0;
        right: auto;
    }

    .category-detail-filter-row {
        margin-bottom: 0px !important;
    }
}