.dark-mode body #main,
.dark-mode body #wrapper {
    background-color: #3e3e3f;
    color: #f0f0f0;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #3e3e3f;
        color: #f0f0f0;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
}

body #main,
body #wrapper {
    background-color: var(--white);
}

#theme-toggle {
    padding: 0px;
}

#theme-toggle i {
    background: #3e3e3f;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    color: inherit;
    width: 40px;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* header */
.header-wrapper .header-bg-container .header-bg-color {
    background-color: var(--black);
}

.header-main .header-nav .menu-item .nav-top-link {
    font-size: 16px;
    font-weight: normal;
    font-family: var(--medium);
    color: var(--white);
    text-align: center;
    /* padding: 10px 15px; */
    text-transform: initial;
    height: 100%;
}

.header-main .hide-for-medium.flex-left {
    height: 100%;
}

.header-main .header-nav .menu-item {
    width: 100%;
    height: 100%;
    max-width: 13%;
    margin: 0;
    text-align: center;
}

.header-main .header-nav .menu-item:hover,
.header-main .header-nav .menu-item.active {
    background-color: #2d2d2d;
}

.header-main .logo-left .logo {
    margin: 0;
}

.header-main .header-nav.nav {
    height: 100%;
    display: flex;
    justify-content: center;
}

.header-main .header-nav.nav-right .header-button a {
    font-size: 17px;
    background-color: #2d2d2d;
    font-weight: normal;
}

.header-main .header-nav.nav-right .header-button i {
    font-weight: normal !important;
}

.header-cart-link.icon .icon-shopping-basket::after {
    background-color: red;
    opacity: 1;
    letter-spacing: normal;
}

/* footer */
.footer-wrapper .ux-menu .ux-menu-title {
    font-size: 22px;
    color: var(--white);
    font-family: var(--medium);
    font-weight: normal;
    text-transform: initial;
}

.footer-wrapper .section .row>.col {
    padding-top: 30px;
}

.footer-wrapper .ux-menu .ux-menu-link a:hover {
    color: var(--theme-color2);
}

#footer .absolute-footer {
    background-color: #323232;
}

.single-product .zoom-button i {
    top: 0 !important;
}

.single-product .zoom-button:hover,
#footer .back-to-top.button:hover {
    background-color: var(--theme-color2);
    border-color: var(--theme-color2);
}

.button.logo-cate,
.button.btn-apple {
    font-size: 36px;
    font-family: var(--medium);
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    margin: 0px !important;
}

.dark-mode .button.btn-apple,
.dark-mode .button.logo-cate {
    color: var(--white);
}

.button.logo-cate:hover,
.button.btn-apple:hover {
    color: var(--black);
}

.dark-mode .button.btn-apple:hover,
.dark-mode .button.logo-cate:hover {
    color: var(--white);
}

.btn-apple::before {
    content: '\f179';
    font-family: "Font Awesome 6 Brands";
    display: inline-block;
    margin-right: 5px;
}

/* trang chu */
.title-txt * {
    font-size: 32px;
    color: var(--white);
    font-family: var(--medium);
    font-weight: normal;
}

#main .home-sec-1 {
    padding-top: 0px;
}

/* Flash sale */
.dark-mode .group-row-fs>.col>.col-inner {
    background-color: #161616;
    border-radius: 10px;
}

.group-row-fs>.col>.col-inner {
    background-color: transparent;
    border-radius: 10px;
    border: 2px solid #ddd;
    padding-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.group-row-fs .header-group-fs {
    justify-content: space-between;
}

.group-row-fs .col-inner .row {
    margin: 0;
}

.row-small>.flickity-viewport>.flickity-slider>.product-small.col {
    padding: 10px 10px 30px;
}

.group-row-fs .product-small.box:hover {
    box-shadow: -4px -4px 8px rgba(172, 172, 172, 0.5), 4px 4px 8px rgba(28, 28, 28, .4);
}

.group-row-fs .product-small.box .product-title a {
    font-size: 16px;
    height: 45px;
}

.group-row-fs .product-small.box {
    padding: 20px 10px 0;
}

.group-row-fs #flashsale-countdown {
    margin: 20px 30px 0px 0px !important;
}

.group-row-fs #flashsale-countdown .countdown-label {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: normal !important;
    font-family: var(--semi);
    color: var(--black);
}

.dark-mode .group-row-fs #flashsale-countdown .countdown-label {
    color: var(--white);
}

.group-row-fs #flashsale-countdown .countdown-values span {
    background-color: #323232;
    padding: 5px;
    color: var(--white);
    border-radius: 5px;
}

.group-row-fs #flashsale-countdown .countdown-values {
    color: var(--black);
}

.dark-mode .group-row-fs #flashsale-countdown .countdown-values {
    color: var(--white);
}

.product-small.box {
    background-color: rgb(248, 249, 250);
    padding: 40px 15px 0px;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode .product-small.box {
    background-color: #323232;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-small.box:hover {
    box-shadow: -4px -4px 8px rgba(134, 134, 134, .2), 4px 4px 8px rgba(28, 28, 28, .4);
}

.product-small.box .box-text .dynamic-price bdi {
    color: var(--black);
}

.product-small.box .box-text .dynamic-price {
    color: var(--black);
}

.dark-mode .product-small.box .box-text .dynamic-price bdi {
    color: var(--white);
}

.dark-mode .product-small.box .box-text .dynamic-price {
    color: var(--white);
}

.product-small.box .box-text {
    text-align: center;
}

.product-small.box .box-text .ux-swatch--label.selected {
    background: #101010;
    border: 1px solid #535353;
}

.product-small.box .box-text .ux-swatch--label {
    background-color: #222324;
    border-radius: 5px;
    border: 1px solid transparent;
    padding: 6px 7px;
    color: var(--white);
    box-shadow: none;
}

.product-small.box .product-title a {
    font-size: 18px;
    color: var(--black);
    font-weight: normal;
    font-family: var(--medium);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    height: 46px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.dark-mode .product-small.box .product-title a {
    color: var(--white);
}

.slider-show-nav .flickity-prev-next-button,
.slider:hover .flickity-prev-next-button {
    opacity: 1;
}

.slider-nav-circle .flickity-prev-next-button .arrow,
.slider-nav-circle .flickity-prev-next-button svg {
    color: var(--theme-color2);
    border-color: var(--theme-color2);
}

.slider-nav-circle .flickity-prev-next-button:hover .arrow,
.slider-nav-circle .flickity-prev-next-button:hover svg {
    background-color: var(--theme-color2);
    border-color: var(--theme-color2);
}

.flickity-page-dots .dot {
    background: #c7c7c7;
    border: 1px solid var(--white);
}

.flickity-page-dots .dot.is-selected {
    background-color: var(--white);
    border: 2px solid var(--theme-color2);
}

.home-sec-1 .flickity-page-dots {
    bottom: 5px;
}

/* home sec 2 */
.home-sec-2 .section-content>.row {
    padding-bottom: 10px;
}

.home-row-cate .flickity-button {
    display: none;
}

.home-sec-2 .home-row-cate .pro-cate {
    display: flex;
    flex-wrap: nowrap;
}

.home-sec-2 .home-row-cate .product-category {
    padding-top: 20px !important;
}

.home-sec-2 .home-row-cate .product-category .col-inner {
    background-color: rgb(248, 249, 250);
    padding: 0px;
    border-radius: 10px;
    margin: 0 10px;
}

.dark-mode .home-sec-2 .home-row-cate .product-category .col-inner {
    background-color: #323232;
}

.home-sec-2 .home-row-cate .product-category:hover .col-inner {
    box-shadow: -4px -4px 8px rgba(134, 134, 134, .2), 4px 4px 8px rgba(28, 28, 28, .4);
}

.home-sec-2 .home-row-cate .product-category .header-title {
    text-transform: inherit;
    color: var(--black);
    font-size: 16px;
    font-family: var(--medium);
    font-weight: normal;
}

.dark-mode .home-sec-2 .home-row-cate .product-category .header-title {
    color: var(--white);
}

.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0;
    opacity: 1;
}

/* home-row 8 */
.row-collapse.home-row-8 {
    background-color: rgb(248, 249, 250);
    padding: 30px 0 !important;
}

.dark-mode .row-collapse.home-row-8 {
    background-color: var(--black);
}

.dark-mode .row-collapse.home-row-8 .icon-box .icon-inner img {
    filter: invert(100%) brightness(200%);
}

.row-collapse.home-row-8 .icon-box .icon-box-text p {
    color: var(--black);
}

.dark-mode .row-collapse.home-row-8 .icon-box .icon-box-text p {
    color: var(--white);
}

/* home- row blog*/
.home-row-blog {
    padding-top: 30px;
}

.home-row-blog .post-item {
    padding-top: 15px;
}

.home-row-blog .post-item .box {
    background-color: rgb(248, 249, 250);
    border-radius: 25px;
}

.dark-mode .home-row-blog .post-item .box {
    background-color: #323232
}

.home-row-blog .post-item .box:hover {
    box-shadow: -4px -4px 8px rgba(134, 134, 134, .2), 4px 4px 8px rgba(28, 28, 28, .4);
}

.home-row-blog .post-item .box .box-image {
    border-radius: 25px 25px 0 0;
}

.home-row-blog .post-item .box .box-text {
    padding: 15px;
}

.home-row-blog .post-item .post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    font-family: var(--medium);
    font-weight: normal;
    color: var(--black);
    font-size: 18px;
    min-height: 70px;
}

.dark-mode .home-row-blog .post-item .post-title a {
    color: var(--white);
}

.home-row-blog .post-item:hover .post-title a {
    color: var(--theme-color2);
}

.home-row-blog .post-item .post-date {
    font-size: 14px;
    font-family: var(--medium);
    font-weight: normal;
    color: var(--black);
    max-width: fit-content;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-mode .home-row-blog .post-item .post-date {
    color: var(--white);
}

.home-row-blog .post-item .post-date pre {
    margin: 0;
    background-color: transparent;
    border: unset;
    overflow-x: unset;
    padding: 0px;
    line-height: 1;
}

/* Hệ thống cửa hàng */
.banner-htch::before {
    content: "";
    position: absolute;
    height: 40%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 2.68%, rgba(0, 0, 0, .72) 53.2%, rgba(0, 0, 0, .86) 69.35%, #000 86.01%);
    z-index: 1;
    pointer-events: none;
}

/* store */
.htch-sec-1 {
    padding-top: 60px !important;
}

#store-container .store-title {
    margin-bottom: 20px;
    text-align: center;
    color: var(--black);
}

.dark-mode #store-container .store-title {
    color: var(--white);
}

#store-container .box-info {
    display: flex;
    align-items: center;
    border: 0.5px solid var(--theme-color2);
    border-radius: 10px;
    background: #fcfcfc;
    padding: 20px;
    margin-bottom: 20px;
    gap: 40px;
}

#store-container .box-info .box-image {
    width: 200px;
    flex-shrink: 0;
}

#store-container .box-info .box-text {
    padding: 0;
}

#store-container .box-info .box-image {
    border-radius: 50%;
}

#store-container .box-info ul {
    list-style: none;
    margin: 0;
}

#store-container .box-info ul li {
    margin-left: 0;
    display: flex;
    margin-bottom: 0;
    padding: 10px 0;
}

#store-container .box-info .title {
    width: 160px;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 15px;
    font-family: var(--medi);
}

.list-store .store-item {
    cursor: pointer;
}

#store-container .video-fit {
    border-radius: 10px;
    padding-top: 100%;
    background-color: #fafafa;
}

#store-container .display-post {
    max-height: 520px;
    overflow-y: auto;
    margin-top: 20px;
}

#store-container .store-item+.store-item {
    margin-top: 12px;
}

#store-container .list-store {
    padding-right: 10px
}

#store-container .store-item {
    background-color: var(--white);
    padding: 10px 10px;
    border-radius: 6px;
    color: #292929;
    border: 1px solid transparent;
    display: flex
}

#store-container .store-item .box-image {
    width: 25%;
    flex-shrink: 0;
    border-radius: 6px;
}

#store-container .store-item .box-image .image-cover {
    border-radius: 6px;
}

#store-container .store-item .box-text {
    padding: 0px 0 0 20px
}

#store-container .store-item .box-text .store-addr {
    margin: 0px 0px 5px;
}

#store-container .store-item .box-text .store-name {
    text-transform: uppercase;
    font-family: var(--medium);
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#store-container .store-item .box-text .icon-map {
    background-image: url(/wp-content/uploads/2023/03/outline-place-24px.png);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    flex: auto 0 0;
}

#store-container .store-item.active .box-text .store-addr,
#store-container .store-item.active .box-text .store-phone,
#store-container .store-item:hover .box-text .store-addr,
#store-container .store-item:hover .box-text .store-phone {
    color: #292929;
}

#store-container .store-item.active .box-text h3,
#store-container .store-item:hover .box-text h3 {
    color: var(--theme-color2);
}

#store-container .store-item .box-text .store-phone {
    margin-top: 8px;
}

#store-container .store-item:hover,
#store-container .store-item.active {
    background-color: #f8faf9;
}

#store-container .filter-store select {
    background-color: white;
    color: #292929;
    border: 0;
    height: 42px;
    border-bottom: 0.5px solid #ddd;
    border-radius: 5px;
    margin-bottom: 0;
    box-shadow: none;
}

#store-container .filter-store select option {
    color: #2d2d2d !important
}

#store-container .col-right .col-inner {
    background: transparent linear-gradient(125deg, #C1C1C110 0%, #C1C1C129 100%) 0% 0% no-repeat padding-box;
    backdrop-filter: blur(5px);
    border: 1px solid #ffffff33;
    padding: 30px 12px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .1);
    height: 100%;
}

#store-container .list-store {
    padding-right: 10px;
    overflow-y: auto;
    max-height: 520px;
}

#store-container .filter-store {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sec-chinhanh .title-home {
    margin-bottom: 40px
}

.sec-chinhanh .title-home h1,
.sec-chinhanh .title-home h2 {
    margin-bottom: 10px;
}

.sec-chinhanh .bg {
    height: 475px;
}

#main:has(.sec-chinhanh) {
    /* 	background: linear-gradient(0deg, #FFF0E8, #F5F5F5, #FFF0E8); */
    background-color: #F5F5F5;
    border-bottom: 1px solid #C5C5C5;
}

#main .sec-chinhanh {
    padding-bottom: 30px !important
}

#store-container .store-item .fa-circle {
    padding-top: 2px;
}

#store-container .store-item:hover .fa-circle,
#store-container .store-item.active .fa-circle {
    color: var(--theme-color2);
}

#store-container .store-item:hover .fa-circle:before,
#store-container .store-item.active .fa-circle:before {
    content: '\f058' !important;
}

/* sản phẩm */
.dark-mode .shop-page-title.child .shop-title,
.dark-mode .shop-page-title.child .category-logo-wrapper img {
    filter: none;
    color: var(--white);
}

.shop-page-title.child .shop-title,
.shop-page-title.child .category-logo-wrapper img {
    margin: 40px 0;
    filter: invert(100%) brightness(0%);
}

.shop-page-title.child .category-banner-swiper,
.shop-page-title.child .category-banner-single {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
}

.shop-page-title.child .category-banner-swiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 98px;
}

.shop-page-title.child .woocommerce-ordering select:focus {
    box-shadow: none;
}

.shop-page-title.child .page-title-inner.container::after {
    content: '';
    display: none;
}

.shop-page-title.child .ft-cate {
    display: flex;
    gap: 30px;
}


.shop-page-title.child .ft-cate a {
    color: #aaa;
    font-size: 16px;
    font-family: var(--medium);
    font-weight: normal;
    text-decoration: none;
}

.shop-page-title.child .ft-cate a.active,
.shop-page-title.child .ft-cate a:hover {
    color: var(--black);
    border-bottom: 1px solid var(--black);
}

.dark-mode .shop-page-title.child .ft-cate a.active,
.dark-mode .shop-page-title.child .ft-cate a:hover {
    color: var(--white);
    border-bottom: 1px solid var(--white);
}

.single_variation .woocommerce-variation-price .price {
    display: none !important;
}

.shop-page-title.child .orderby {
    border-radius: 10px;
}

.nav-pagination>li>a,
.nav-pagination>li>span {
    border-radius: 10px;
    color: rgb(46 48 52 / 20%) !important;
}

.nav-pagination>li {
    height: 40px;
    width: 40px;
    align-content: center;
    font-size: 16px;
}

.nav-pagination>li>a>i {
    color: rgb(46 48 52 / 20%);
}

.nav-pagination>li>.current,
.nav-pagination>li>a:hover,
.nav-pagination>li>span:hover,
.nav-pagination>li>a:hover>i {
    background-color: transparent;
    border-color: var(--theme-color2);
    color: var(--theme-color2) !important;
}

.dark-mode .nav-pagination>li>.current,
.dark-mode .nav-pagination>li>a:hover,
.dark-mode .nav-pagination>li>span:hover,
.dark-mode .nav-pagination>li>a:hover>i {
    color: var(--theme-color2) !important;
}

.dark-mode .nav-pagination>li>a,
.dark-mode .nav-pagination>li>span,
.dark-mode .nav-pagination>li>a>i {
    color: #ddd !important;
}

/* Chi tiết sản phẩm*/
.single-product .product-main {
    padding-bottom: 60px;
}

.single-product .woocommerce-product-gallery {
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid #ddd;
}

.single-product .product-images .image-tools {
    top: 10px;
    right: 10px;
    left: auto !important;
    height: fit-content;
}

.single-product .product-gallery-slider .flickity-prev-next-button {
    opacity: 1;
    transform: translateX(0%) !important;
    background-color: #d5d5d5;
    top: 50%;
    bottom: 50%;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: .5;
}

.single-product .product-gallery-slider .flickity-prev-next-button:hover {
    opacity: 1.5;
}

.single-product .flickity-prev-next-button svg,
.single-product .flickity-prev-next-button .arrow {
    color: #6d6d6e !important;
    border-color: #6d6d6e !important;
    padding: 12px;
}

.single-product .product-thumbnails .flickity-slider a {
    border-radius: 10px;
}

.single-product .product-info .breadcrumbs {
    color: var(--black);
    font-size: 16px;
    font-family: var(--regular);
    font-weight: normal;
}

.dark-mode .single-product .product-info .breadcrumbs {
    color: var(--white);
}

.single-product .product-info .breadcrumbs a {
    color: var(--black);
}

.dark-mode .single-product .product-info .breadcrumbs a {
    color: var(--white);
}

.single-product .product-info .breadcrumbs .divider {
    opacity: 1;
}

.single-product .product-info .product_title {
    font-size: 32px;
    font-family: var(--semi);
    font-weight: normal;
    color: var(--black);
    margin-bottom: 10px;
}

.dark-mode .single-product .product-info .product_title {
    color: var(--white);
}

.single-product .product-info .is-divider {
    display: none;
}

.single-product .product-info .product-page-price .amount,
.single-product .product-info .custom-variation-price .amount {
    color: var(--black);
    font-size: 24px;
    font-weight: normal;
}

.dark-mode .single-product .product-info .product-page-price .amount,
.dark-mode .single-product .product-info .custom-variation-price .amount {
    color: var(--white);
}

.product-info .price {
    color: var(--black);
}

.single-product .product-info .variations label {
    font-size: 16px;
    font-family: var(--medium);
    font-weight: normal;
    color: var(--black);
}

.dark-mode .single-product .product-info .variations label {
    color: var(--white);
}

.single-product .product-info .variations .ux-swatch--label {
    background-color: rgb(248, 249, 250);
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    color: var(--black);
    box-shadow: none;
}

.dark-mode .single-product .product-info .variations .ux-swatch--label {
    background-color: #2f3033;
    color: var(--white);
}

.single-product .product-info .variations .ux-swatch--label.selected {
    background: #1c1c1d;
    border: 1px solid #535353;
    color: var(--white);
}

.single-product .product-info .variations .ux-swatch--color.selected {
    box-shadow: 0 0 0 2px var(--theme-color2);
}

.single-product .product-info .variations .reset_variations,
.single-product .product-info .woocommerce-variation {
    display: none !important;
}

.single-product .product-info .button.alt {
    background-color: #2f3033;
    border-radius: 5px;
    border: 1px solid transparent;
    padding: 0px 30px;
    color: var(--white);
    box-shadow: none;
    text-transform: initial;
    font-size: 16px;
    font-family: var(--medium);
    font-weight: normal;
}

.single-product .product-info .button.alt:active,
.single-product .product-info .button.alt:hover,
.single-product .product-info .button.alt:focus {
    background: #1c1c1d;
    border: 1px solid #535353;
}

.single-product .product-info .single_variation_wrap,
.single-product .product-info .cart {
    border-bottom: 1px dotted #ddd;
}

.single-product .product-info .policy li {
    list-style: none;
    margin-left: 0px;
}

.single-product .product-info .policy li img {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    filter: none;
}

.dark-mode .single-product .product-info .policy li img {
    filter: invert(100%) brightness(200%);
}

.single-product .product-info .policy li {
    list-style: none;
    margin-left: 0px;
    color: var(--black);
}

.dark-mode .single-product .product-info .policy li {
    color: var(--white);
}

.single-product .product-info .policy li a {
    color: var(--theme-color2);
    font-size: 16px;
    font-weight: normal;
}

.single-product .product-info .product_meta .sku_wrapper,
.single-product .product-info .product_meta .posted_in {
    color: var(--black);
}

.dark-mode .single-product .product-info .product_meta .sku_wrapper,
.dark-mode .single-product .product-info .product_meta .posted_in {
    color: var(--white);
}

.single-product .product-info .product_meta .posted_in a {
    color: var(--theme-color2);
    font-weight: normal;
}

.social-icons i {
    top: 0px;
}

.single-product .product-footer {
    background-color: var(--white);

}

.single-product .product-footer>.container {
    border-top: 1px solid #ddd;
}

.single-product .product-footer .woocommerce-tabs {
    width: 60%;
    color: var(--black);
    padding-top: 60px;
    border: none;
}

.single-product .product-footer .woocommerce-tabs .tab-panels {
    padding: 30px 0px;
}

.single-product .product-footer .woocommerce-tabs .tab-panels th {
    font-weight: normal;
    text-transform: initial;
    font-family: var(--semi);
    font-size: 16px;
}

.single-product .product-footer .woocommerce-tabs .tabs li {
    margin-left: 25px;
}

.single-product .product-footer .woocommerce-tabs .tabs li a {
    border: 1px solid #e5e5e5;
    color: var(--black);
    font-family: var(--medium);
    padding: 0px 15px;
    font-size: 16px;
    text-transform: initial;
    border-radius: 8px;
    font-weight: normal;
    cursor: pointer;
}

.single-product .product-footer .woocommerce-tabs .tabs li:hover a,
.single-product .product-footer .woocommerce-tabs .tabs li.active a {
    border-color: var(--theme-color2);
}

.single-product .product-footer .woocommerce-tabs .tab-panels #tab-description img {
    margin-bottom: 0px;
}

.desc-content {
    max-height: 350px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

#tab-description.expanded {
    max-height: 9999px;
}

.desc-content {
    position: relative;
    transition: max-height 0.3s ease;
}

.view-more-button {
    height: 90px;
    position: relative;
    margin-top: -90px;
    text-align: center;
    display: flex;
    color: var(--theme-color2);
    font-weight: normal;
    cursor: pointer;
    padding: 8px 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: column-reverse;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 2.68%, rgba(255, 255, 255, 0.72) 53.2%, rgba(255, 255, 255, 0.86) 69.35%, #fff 86.01%);
}

.tskt-items {
    padding: 10px 0;
}

.tskt-question {
    background: #f5f5f7;
    padding: 15px 10px;
    color: var(--black);
    line-height: 20px;
    font-weight: normal;
    font-size: 16px;
    font-family: var(--medium);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.tskt-answer {
    display: none;
    padding: 8px 0 0 15px;
    color: var(--black);
}

.tskt-items.active .tskt-answer {
    display: block;
}

.tskt-items .icon {
    color: red;
    font-weight: normal;
}

.tskt-toggle {
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    color: red;
}

.tskt-question i {
    transition: transform 0.3s ease;
}

.tskt-items.active .tskt-question i {
    transform: rotate(180deg);
}

.tskt-toggle i {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.tskt-wrapper .tskt-item li {
    display: flex;
    list-style: none;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    margin: 0;
}

.tskt-wrapper .tskt-item li .tskt-item-title {
    text-align: left;
    width: 150px;
    margin-right: 30px;
    display: inline-block;
    font-size: 16px;
    font-family: var(--regular);
    font-weight: normal;
    color: var(--black);
}

.tskt-wrapper .tskt-item li .tskt-item-content {
    display: inline-block;
    text-align: left;
    font-size: 16px;
    font-family: var(--regular);
    font-weight: normal;
    color: var(--black);
}

.single-product .product-section {
    border: none;
    padding: 30px 0;
}

.single-product .product-section .row {
    border-top: 1px solid #ececec;
    padding-top: 30px;
}

.single-product .product-section-title {
    padding-bottom: 10px;
    margin: 0px;
    border-bottom: 2px solid var(--theme-color2);
    width: fit-content;
    color: var(--black);
    font-size: 30px;
    font-family: var(--semi);
    font-weight: normal;
    text-transform: initial;
}

.single-product .product-section .flickity-button {
    opacity: 1;
    background-color: var(--white);
    color: var(--theme-color2) !important;
    border: 2px solid var(--theme-color2);
    box-shadow: unset;
    top: 45%;
    width: 35px !important;
    min-height: 35px;
    height: 35px;
    box-shadow: unset;
    font-weight: normal;
    border-radius: 99px;
}

.single-product .product-section .flickity-button:hover {
    background-color: var(--theme-color2);
    border-color: var(--theme-color2);
    color: var(--white);
}

.single-product .slider .flickity-prev-next-button:hover .arrow,
.slider .flickity-prev-next-button:hover svg {
    fill: var(--white) !important;
}

.single-product .product-section .flickity-button svg {
    margin-top: 0;
    padding: 10px !important;
}

.single-product .product-section .flickity-button.next {
    right: -7px !important;
    transform: translateX(-25%) !important;
}

.single-product .product-section .slider:hover .flickity-button.next {
    transform: translateX(-25%) !important;
}

.single-product .product-section .flickity-button.previous {
    right: -7px !important;
    transform: translateX(3%) !important;
}

.single-product .product-section .slider:hover .flickity-button.previous {
    transform: translateX(3%) !important;
}

/* tin tuc */
/* sec noi bat */
.custom-latest-posts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.sec-noi-bat .post-item .image-cover {
    padding-top: 57%;
}

.sec-noi-bat .post-left.post-item {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.sec-noi-bat .post-item .post-title {
    position: absolute;
    bottom: 0;
    padding: 25px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 2.68%, rgba(0, 0, 0, .72) 53.2%, rgba(0, 0, 0, .86) 69.35%, #000 86.01%);
}

.sec-noi-bat .post-left.post-item .post-title * {
    font-size: 30px;
    font-family: var(--semi);
    font-weight: normal;
    color: var(--white) !important;
    line-height: 1.4;
    margin: 0;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 84px;
}

.sec-noi-bat .post-right .post-item .post-title * {
    font-size: 18px;
    font-family: var(--semi);
    font-weight: normal;
    color: var(--white) !important;
    line-height: 1.4;
    margin: 0;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.sec-noi-bat .post-right {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sec-noi-bat .post-right .post-item {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sec-noi-bat .post-right .post-item:first-child {
    border-top-right-radius: 20px;
}

.sec-noi-bat .post-right .post-item:last-child {
    border-bottom-right-radius: 20px;
}

.image-zoom {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-zoom img {
    transition: transform 0.5s ease;
    will-change: transform;
}

.post-item:hover .image-zoom img {
    transform: scale(1.05);
    /* Phóng to nhẹ khi hover */
}

/*  */
/* .tin-tuc {
    background-color: #3e3e3f;
} */

.sec-danh-muc .category-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.sec-danh-muc .category-item {
    text-align: center;
    background-color: rgb(248, 249, 250);
    width: 13.2%;
    height: 60px;
    padding: 5px 10px;
    border-radius: 10px;
}

.dark-mode .sec-danh-muc .category-item {
    background-color: #323232;
}

.sec-danh-muc .category-item a {
    display: flex;
    align-items: center;
}

.sec-danh-muc .category-title {
    font-family: var(--medium);
    font-size: 16px;
    font-weight: normal;
    color: var(--black);
    margin: 0;
}

.dark-mode .sec-danh-muc .category-title {
    color: var(--white);
}

.sec-danh-muc .category-list .category-item img {
    filter: invert(100%) brightness(0%);
}

.dark-mode .sec-danh-muc .category-list .category-item img {
    filter: none;
}

/* danh sach tin tuc */
.sec-list-post .post-title.title-txt * {
    font-size: 30px;
    font-family: var(--semi);
    font-weight: normal;
    color: var(--black);
    line-height: normal;
    width: fit-content;
    margin-bottom: 24px !important;
}

.dark-mode .sec-list-post .post-title.title-txt * {
    color: var(--white);
}

.sec-list-post .post-title.title-txt {
    display: flex;
}

.sec-list-post .post-title.title-txt::before {
    content: '';
    display: block;
    width: 3px;
    background-color: var(--theme-color2);
    margin: 0px 10px 25px 0px;
}

.sec-list-post .post-list .post-thumbnail {
    position: relative;
}

.sec-list-post .post-list .post-thumbnail .post-categories {
    position: absolute;
    top: 20px;
    left: 0;
}

.sec-list-post .post-list .post-thumbnail .post-categories a {
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 5px 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.sec-list-post .post-list .post-excerpt {
    font-size: 16px;
    color: var(--black);
    line-height: 1.3em;
    font-weight: normal;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.dark-mode .sec-list-post .post-list .post-excerpt {
    color: var(--white);
}

.sec-list-post .post-list .post-item .image-cover {
    padding-top: 62% !important;
    border-radius: 10px;
}

.sec-list-post .post-list .post-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #F2F2F2;
    box-sizing: border-box;
    box-shadow: 0px 4px 6px 0px rgba(44, 44, 44, 0.04);
}

.sec-list-post .post-list .post-item .post-title {
    margin-bottom: 10px !important;
}

.sec-list-post .post-list .post-item .post-meta {
    margin-bottom: 10px;
    color: #999;
    font-size: 14px;
}

.sec-list-post .post-list .post-item .post-info .post-title a {
    font-family: var(--medium);
    font-size: 18px;
    color: var(--black);
    font-weight: normal;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 46px;
}

.dark-mode .sec-list-post .post-list .post-item .post-info .post-title a {
    color: var(--white);
}

.sec-list-post .post-list .post-item:hover .post-info .post-title a {
    color: var(--theme-color2);
}

.load-more-wrapper .load-more-posts,
.post-detail .load-more-btn {
    background-color: var(--white);
    color: var(--theme-color2);
    border: 1px solid var(--theme-color2);
    border-radius: 10px;
    text-transform: unset;
    font-family: var(--medium);
    font-weight: normal;
}

.load-more-wrapper .load-more-posts:hover,
.post-detail .load-more-btn:hover {
    background-color: var(--theme-color2);
    color: var(--white);
    box-shadow: unset;
}

/* Chi tiet bai viet */

.single-post .entry-header-text.text-center {
    padding: 0 0 25px;
}

.single-post .entry-title {
    font-size: 36px;
    font-family: var(--semi);
    font-weight: normal;
    color: var(--black);
    text-align: left;
}

.dark-mode .single-post .entry-title {
    color: var(--white);
}

.single-post .entry-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.single-post .entry-meta .post-date {
    background: rgb(248, 249, 250);
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 14px;
    font-family: var(--medium);
    font-weight: normal;
    color: var(--black);
    max-width: fit-content;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-mode .single-post .entry-meta .post-date {
    color: var(--white);
}

.single-post .entry-meta .post-date pre {
    margin: 0;
    background-color: transparent;
    border: unset;
    overflow-x: unset;
    padding: 0px;
    line-height: 1;
}

.single-post .entry-meta .separator {
    border-bottom: 1px dashed #e4e4e4;
    width: 100%;
}

.single-post .entry-meta .post-author {
    max-width: fit-content;
    width: 100%;
    text-transform: initial;
    font-size: 14px;
    font-weight: normal;
    color: var(--black);
}

.dark-mode .single-post .entry-meta .post-author {
    color: var(--white);
}

.single-post .post-author strong {
    color: var(--black);
}

.dark-mode .single-post .post-author strong {
    color: var(--white);
}

.single-post .entry-content {
    background-color: var(--white);
    color: var(--black);
}

.single-post .entry-content p,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content ul {
    padding: 0 20px;
    color: var(--black) !important;
}

.entry-content p:has(img) {
    padding: 0 !important;
}

/* sidebar */
.single-post .post-sidebar .widget-area,
.sidebar {
    position: sticky;
    top: 100px;
}

.custom-sidebar .title-txt {
    font-size: 28px;
    font-family: var(--semi);
    font-weight: normal;
    color: var(--black);
    line-height: normal;
    border-bottom: 2px solid var(--theme-color2);
    padding-bottom: 5px;
    width: fit-content;
    margin-bottom: 24px !important;
}

.dark-mode .custom-sidebar .title-txt {
    color: var(--white);
}

.custom-sidebar .box-blog-post {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 5px;
}

.custom-sidebar .box-blog-post:last-child {
    border: none;
}

.custom-sidebar .post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    font-family: var(--medium);
    font-weight: normal;
    color: var(--black);
    font-size: 18px;
}

.dark-mode .custom-sidebar .post-title a {
    color: var(--white);
}

.custom-sidebar .box-blog-post:hover .post-title a {
    color: var(--theme-color2);
}

.custom-sidebar .box-image {
    height: fit-content;
    border-radius: 5px;
    margin-bottom: 10px;
}

.custom-sidebar .box-text {
    padding: 0px;
}

.custom-sidebar .post-date {
    font-size: 14px;
    font-family: var(--medium);
    font-weight: normal;
    color: #999;
    max-width: fit-content;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-sidebar .post-date pre {
    margin: 0;
    background-color: transparent;
    border: unset;
    overflow-x: unset;
    padding: 0px;
    line-height: 1;
}

/* gioi thieu */
.col-menu .ux-menu-link {
    margin-bottom: 10px !important;
}

.col-menu .ux-menu-link {
    color: var(--black);
}

.dark-mode .col-menu .ux-menu-link {
    color: var(--white);
}

.col-menu .ux-menu-link.active>a,
.col-menu .ux-menu-link:hover>a {
    background: #323232;
    border-radius: 8px;
    color: var(--white);
}

.dark-mode .col-menu .ux-menu-link.active>a,
.dark-mode .col-menu .ux-menu-link:hover>a {
    background: #323232;
    border-radius: 8px;
    color: var(--white);
}

.col-menu .ux-menu-link>a {
    padding: 5px 15px;
    min-height: unset;
}

.col-menu .col-inner {
    position: sticky;
    top: 100px;
}

.col-content .col-inner {
    background-color: rgb(248, 249, 250);
    padding: 30px;
    border-radius: 8px;
    color: var(--black);
}

.dark-mode .col-content .col-inner {
    background-color: #323232;
    color: var(--white);
}

.col-content .col-inner h2 {
    color: var(--white);
    font-size: 22px;
    line-height: 25px;
    padding: 0 0 10px;
    font-family: var(--bold);
    font-weight: normal;
}

.col-content .col-inner a {
    color: var(--theme-color2);
}

.col-content h3,
.col-content h4,
.col-content h5,
.col-content h6,
.col-content td,
.col-content strong {
    color: var(--black);
    font-weight: normal;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode .col-content h3,
.dark-mode .col-content h4,
.dark-mode .col-content h5,
.dark-mode .col-content h6,
.dark-mode .col-content td,
.dark-mode .col-content strong {
    color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.policy-select-menu {
    display: none;
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

select:focus {
    box-shadow: unset !important;
}

@media (max-width: 980px) {
    .policy-sidebar .ux-menu-link {
        display: none !important;
    }

    .policy-select-menu {
        display: block;
    }
}

@media (max-width:980px) {

    /* header */
    .mobile-nav .header-search .header-button a {
        background-color: #2d2d2d;
        font-size: 17px;
        font-weight: normal;
    }

    #header .btn-menumobi span {
        background-color: var(--white);
    }

    #main-menu.mobile-sidebar .menu-item a {
        color: var(--black);
    }

    #main-menu.mobile-sidebar .menu-item.current-menu-item {
        background-color: #2d2d2d !important;
    }

    #main-menu.mobile-sidebar .menu-item.current-menu-item a {
        color: var(--white) !important;
    }

    /* footer */
    #footer .section {
        padding-top: 60px;
    }

    .footer-wrapper .section .row>.col {
        padding-top: 0px;
        padding-bottom: 15px !important;
    }

    /* home-sec 2 */
    .home-sec-2 .flickity-button {
        display: none;
    }

    .group-row-fs .flickity-page-dots .dot {
        background-color: #ddd;
    }

    .row-collapse.home-row-8 {

        background-color: transparent;
    }

    .row-collapse.home-row-8 .col:first-child,
    .row-collapse.home-row-8 .col:last-child {
        background-color: var(--black);
    }

    .row-collapse.home-row-8 .col:first-child .icon-box .icon-box-text p,
    .row-collapse.home-row-8 .col:last-child .icon-box .icon-box-text p {
        color: var(--white);
    }

    .row-collapse.home-row-8 .col:first-child .icon-box .icon-box-img img,
    .row-collapse.home-row-8 .col:last-child .icon-box .icon-box-img img {
        filter: invert(100%) brightness(200%);
    }

    .row-collapse.home-row-8 .col .col-inner {
        padding: 15px;
    }

    /* danh sach san pham */

    .swiper-pagination-fraction,
    .swiper-pagination-custom,
    .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 132PX;
    }

    .shop-page-title.child .page-title-inner {
        align-items: flex-start;
    }

    .shop-page-title.child .page-title-inner .medium-text-center {
        text-align: right !important;
    }

    .product-small.box .box-text .dynamic-price {
        min-height: 47px;
    }

    /* chi tiết sản phẩm */
    .single-product .product-main {
        padding: 0px;
    }

    .single-product .product-info .next-prev-thumbs {
        display: none;
    }

    .single-product .product-footer .woocommerce-tabs .tab-panels {
        padding-bottom: 0px;
    }

    .single-product .product-info .variations .ux-swatch--label {
        padding: 15px 20px;
        font-size: 16px;
    }

    .single-product .product-info .button.alt {
        padding: 10px 30px;
    }

    .single-product .product-footer .woocommerce-tabs {
        width: 100%;
    }

    .single-product .product-section {
        padding-top: 10px;
    }

    /* tin tưc */
    .sec-noi-bat .post-left.post-item .post-title * {
        font-size: 24px;
        line-height: 1.2;
    }

    .sec-noi-bat .post-item .post-title {
        padding: 15px;
    }

    .sec-noi-bat {
        padding-bottom: 0px !important;
    }

    .custom-latest-posts {
        gap: 10px;
    }

    .sec-noi-bat .post-right {
        gap: 10px;
    }

    .sec-danh-muc .category-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .sec-danh-muc .category-item {
        width: 100%;
    }

    .sec-list-post {
        padding-top: 0px;
    }

    .custom-sidebar .post-list-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .custom-sidebar .post-list-box .box:nth-child(n+5) {
        display: none;
    }

    /* chi nhanh cua hang */
    .store.row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    #store-container .display-post .list-store {
        max-height: 400px;
    }

    #store-container .video-fit {
        padding-top: 56.5%;
    }
}

@media (max-width:500px) {

    /* Trang chủ */
    .group-row-fs .header-group-fs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .group-row-fs #flashsale-countdown {
        margin: 0px !important;
    }

    .home-sec-2 .home-row-cate .product-category .col-inner {
        margin: 0 auto;
    }

    .row-collapse.home-row-8 .col:last-child {
        background-color: transparent;
    }

    .row-collapse.home-row-8 .col:nth-child(odd) {
        background-color: var(--black);
    }

    .row-collapse.home-row-8 .col:nth-child(odd) .icon-box .icon-box-text p {
        color: var(--white);
    }

    .row-collapse.home-row-8 .col:nth-child(odd) .icon-box .icon-box-img img {
        filter: invert(100%) brightness(200%);
    }

    .row-collapse.home-row-8 .col:last-child .icon-box .icon-box-text p {
        color: var(--black);
    }

    .row-collapse.home-row-8 .col:last-child .icon-box .icon-box-img img {
        filter: none;
    }

    /* Chi tiết sản phẩm */
    .single-product .product-info .variations .ux-swatch--label {
        padding: 10px 8px;
    }

    .single-product .product-info .button.alt {
        padding: 0px 30px;
    }

    .single-product .product-footer .woocommerce-tabs .tabs {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 15px;
        justify-content: flex-start;
    }

    /* Tin tức */
    .sec-danh-muc .category-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .sec-list-post .post-list .post-item {
        grid-template-columns: 1fr;
    }

    .custom-sidebar .post-list-box {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .single-post .entry-title {
        font-size: 26px;
    }
}