.tda-archive-product-categories .tda-product-carousel-wrapper {
    padding-bottom: 50px;
}

.tda-page-parent-category-bg {
    background-color: #FAFAFA;
}

section.tda-page-parent-category {
    max-width: 1806px;
    margin: 0 auto;
    padding: 25px 20px 40px 20px;
    background-color: #FAFAFA;
}

.tda-page-parent-category a,
.tda-page-parent-category p {
    font-size: 15px;
    font-weight: 600;
    color: #252525 !important;
}

.tda-page-parent-category a:hover {
    color: #0B9B5C !important;
}

.tda-page-parent-category span {
    line-height: 0;
    margin-top: 2px;
}

.tda-page-parent-category .tda-breadcrumb {
    display: flex;
}

.tda-parent-category-title-lv1 {
    font-size: 60px !important;
    font-weight: 600 !important;
    padding-top: 70px;
    padding-bottom: 15px;
    line-height: 72px;
}

p.tda-parent-category-desc-lv1 {
    font-size: 17px !important;
    opacity: 70%;
    font-weight: 400 !important;
    max-width: 530px;
}

.tda-container-danh-muc {
    padding-left: 62px;
}

.tda-page-category-section {
    overflow: visible;
    position: relative;
    display: flex;
}

.swiper-clip-wrapper {
    position: relative;
    overflow-x: hidden;
    flex: 1;
}

.tda-product-popup-swiper {
    position: relative;
    overflow: visible;
    padding-right: 70px;
    margin-right: -100px;
    padding-left: 33px;
    margin-left: 0;
}

.tda-product-popup-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    overflow: visible;
}


.tda-page-category {
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}


.tda-page-category-info {
    width: 22.4%;
    padding-right: 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 25px;
}

.tda-page-category-carousel-wrapper {
    width: 77%;
    overflow: visible;
    position: relative;
}

.tda-product-popup-swiper {
    overflow: visible;
    width: 100%;
}

.tda-page-category-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}

.tda-page-category-product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    flex-grow: 1;
}


.tda-page-category-product-popup-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.tda-product-popup-prev {
    left: 5px;
}

.tda-product-popup-prev img {
    transform: rotate(180deg);
}

.tda-product-popup-next {
    right: 3.5%;
}

h2.tda-page-category-cat-title {
    font-size: 32px !important;
    display: flex;
    align-items: flex-start;
    line-height: 40px !important;
    letter-spacing: -0.96px !important;
}

.tda-cat-count {
    color: #252525;
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    margin-left: 10px;
    opacity: 40%;
}

p.tda-page-category-cat-desc {
    font-size: 17px;
    max-width: 320px;
    font-weight: 400;
    letter-spacing: 0px !important;
    margin-bottom: 30px;
    opacity: 70%;
}

a.tda-page-category-cat-link {
    display: inline-block;
    color: #0B9B5C !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #0B9B5C;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 90px;
}

.tda-page-category-product-slide {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: auto;
    height: 100%;
}

.tda-page-category-product-image .attachment-full.size-full.wp-post-image {
    width: 100%;
    max-width: 429px;
    aspect-ratio: 429 / 536.25;
    height: auto;
    border-radius: 10px;
}

.tda-page-category-section .tda-page-category-product-desc {
    font-size: 14px !important;
    color: #252525;
    flex-grow: 1;
    opacity: 60%;
    margin-bottom: -40px;
    font-weight: 400;
    max-width: 380px;
}

h3.tda-page-category-product-title {
    color: #252525 !important;
    font-size: 16px !important;
    letter-spacing: 0px !important;
    opacity: 80%;
    padding: 0;
    margin-top: -10px;
    margin-bottom: 0px;
}

.tda-page-category-discover-btn {
    display: inline-block;
    color: #0B9B5C !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #0B9B5C;
    transition: all 0.3s ease;
    font-size: 15px;
}

@media (max-width: 1870px) {
    .tda-container-danh-muc {
        padding-left: 30px;
    }
}

@media (max-width: 1810px) {
    .tda-container-danh-muc {
        padding-left: 15px;
    }
}

@media (max-width: 1600px) {
    .tda-page-category-product-popup-nav {
        width: 40px;
        height: 40px;
    }

    .tda-product-popup-next {
        right: 2.5%;
    }
}

@media (max-width: 1023.98px) {
    .tda-page-category-info {
        display: none;
    }

    .tda-product-popup-next {
        display: none;
    }

    .tda-page-category-info-mobile {
        display: block !important;
        width: 100%;
    }

    p.tda-page-category-cat-desc {
        margin-bottom: -25px;
    }

    a.tda-page-category-cat-link {
        margin-bottom: 30px;
    }

    .tda-page-category {
        padding: 20px 0;
    }
}

@media (max-width: 767px) {
    p.tda-page-category-cat-desc {
        margin-bottom: 15px;
        max-width: 100%;
        font-size: 15px;
        letter-spacing: 0.2px !important;
    }

    h3.tda-page-category-product-title {
        color: #252525 !important;
        font-size: 16px !important;
        letter-spacing: 0px !important;
        opacity: 80%;
        padding: 0;
        margin-top: 0px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 22px !important;
        width: 70%;
        margin: 10px 0;
    }

    .tda-page-category-product-slide {
        margin-right: 10px !important;
    }

    h2.tda-page-category-cat-title {
        font-size: 24px !important;
        letter-spacing: 0 !important;
    }

    .tda-product-popup-swiper {
        padding-right: 10px;
    }

    p.tda-page-category-product-desc {
        display: none;
    }

    .tda-parent-category-title-lv1 {
        font-size: 36px !important;
        line-height: 42px;
        padding-bottom: 0;
    }

    p.tda-parent-category-desc-lv1 {
        font-size: 16px !important;
    }

}

@media (max-width: 400px) {
    .tda-page-category-product-image .attachment-full.size-full.wp-post-image {
        width: 100%;
        max-width: 169px;
        aspect-ratio: 169 / 211.25;
        height: auto;
        border-radius: 10px;
    }
}