/*!
Theme Name:   Audib
Theme URI:    dienkhonggian
Author:       Pavothemes
Author URI:   dienkhonggian
Description:  Audib is an easy-to-use and highly flexible Audio Store WooCommerce Theme. This theme will make a perfect choice to develop beautiful store websites in many businesses.
Version:      1.1.7
License:      GNU General Public License v2 or later
License URI:  dienkhonggian
Text Domain:  audib
Tags:         woocommerce, ecommerce, shop, elementor, fashion, modern, store, responsive, clean, furniture, multipurpose, shopping, electronics, fashion, sports
*/




.tieu_de_product_home_left {
    position: relative;
}

.tieu_de_product_home_left::before {
    content: "";
    height: 100%;
    width: 100vw;
    position: absolute;
    left: -50vw;
    background: #d8273c;

}

.tieu_de_product_home_right {
    position: relative;
}

.tieu_de_product_home_right::before {
    content: "";
    height: 100%;
    width: 100vw;
    position: absolute;
    right: -50vw;
    background: #d8273c;

}

.product_home .woocommerce-LoopProduct-link {
    box-shadow: 5px 10px red;
}


a.more-link {
    text-transform: unset;
}

.entry-title {
    color: var(--text_light);
}

.swiper-pagination {
    bottom: 50px !important;
}

.swiper-pagination .swiper-pagination-bullet {
    margin: 0px !important;
    border-radius: 0px;
    width: 150px;
    height: 2px;
}

.info_footer a {
    color: #fff;
}

.list_thuong_hieu {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background: var(--accent);

}

.list_thuong_hieu .btn_category_home {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 15px;
    background: transparent;
    transition: all .3s;
}

.list_thuong_hieu .btn_category_home:active,
.list_thuong_hieu .btn_category_home:hover {
    background: var(--primary);
}

.list_thuong_hieu .btn_category_home a {
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
}

.single-product div.product form.cart label.text-quantity,
.single-product div.product form.cart .quantity_wrap,
.single-product div.product form.cart .single_add_to_cart_button,

ul.products li.product .caption-bottom a[class*=product_type_] {
    display: none !important;
}

ul.products li.product .caption-bottom {
    overflow: unset !important;
}

ul.products li.product:hover .price {
    transform: translate(0) !important;
}

.summary.entry-summary .price,
ul.products li.product .price {
    position: relative;

}

.lien_he_tu_van {
    transition: all .3s;
    margin-bottom: 15px;
}

.lien_he_tu_van:hover {
    background: var(--accent);
}

.form_footer .ff_submit_btn_wrapper_custom button,
.form_footer form,
.form_footer form .ff-el-group {
    margin: 0px !important;
}

.form_footer form .ff-el-group .ff-el-input--content::before {
    font-family: "audib-icon";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
    content: "";
    position: absolute;
    top: 10px;
    color: #fff;
}


/* LOADER */
#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    /* Màu nền của background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader img {
    max-width: 300px;
    /* Điều chỉnh kích thước của logo */
    max-height: 300px;
}

.audib-sticky-add-to-cart__content-price,
.price {
    flex-direction: column;
    align-items: flex-start !important;
}

.audib-sticky-add-to-cart__content-price .giadenghi,
.price .giadenghi {
    font-size: 10px;
    color: var(--primary);
}

.onsale {
    border-radius: 0px 0px 50px 50px;
}

.audib-sticky-add-to-cart {
    display: none !important;
}

.tp-bullets .tp-bullet {
    height: 1px !important;
    width: 100px !important;
    background: #ffff !important;
}

.tp-bullets .tp-bullet.selected {
    background: #d8273c !important;
}

.chinhhang {
    z-index: 1 !important;
}

.single-product .deal-sold {
    display: none;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
}

._df_thumb {
    width: 100% !important;
}

.product-image {
    overflow: hidden;
}

li.product .product-image img {
    transform: scale(1);
    transition: all .3s;
}

li.product:hover .product-image img {
    transform: scale(1.2);
}

.breadcrumb-wrap {
    overflow: hidden;

}

.banner_breadcrums {
    position: relative;

}



.banner_breadcrums .banner_breadcrums_bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: all .3s;
}

.banner_breadcrums:hover .banner_breadcrums_bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: -1;
}


.banner_breadcrums .banner_breadcrums_bg .effet {
    content: "";
    position: absolute;
    top: 0;
    background: #000;
    opacity: 0.5;
    /* background: url(https://dienkhonggian.com.vn/wp-content/uploads/2024/05/glass1.png); */
    /* animation: glassc 30s linear infinite; */
    height: 100%;
    width: 100%;
    z-index: 11;
}

.woocommerce-product-gallery .flex-viewport .wpgs_image,
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
    height: 550px;
}

.woocommerce-product-gallery .flex-viewport .wpgs_image img,
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
    object-fit: contain;
}

.slick-slide img{
    aspect-ratio: 1/1 ;
}

@keyframes glassc {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }

    100% {
        background-position: 500px 1000px, 400px 400px;
    }
}

.tabproduct_home .elementor-tabs-wrapper .elementor-active {
    background: #d8273c;
    border-radius: 50px;
}

.wpgs-image .slick-arrow,
.wpgs-thumb .slick-arrow {
    display: none !important;
}

.st0 {
    fill: #d8273c !important;
}

ul.products li.product .price .woocs_price_code {
    flex-wrap: wrap;
}

.star-rating span::before,
.star-rating::before {
    color: #ff9727 !important;
    font-size: 12px !important;
}

ul.products li.product .woocommerce-product-rating .woocommerce-review-link {
    display: flex;
    gap: 5px;
    line-height: 20px;
    font-size: 14px;
}

ul.products li.product .caption-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

ul.products li.product .woocommerce-loop-product__title {

    min-height: 40px;
}

ul.products li.product .product-block {
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    padding: 15px;
    background: #fff;
}


ul.product-ajax {
    gap: 20px !important;
    margin: 0px 0px 20px 0px !important;
}

ul.product-ajax li.product-list {
    max-width: 18.5% !important;
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    padding: 15px;
    background: #fff;
    margin-bottom: 0px !important;
    position: relative;
}

span.chinhhang {
    z-index: 1;
    background: #ed1b24;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    color: white;
    line-height: 39px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    font-weight: bold;
}

span.onsale {
    position: absolute;
    bottom: 0;
    height: 50px;
    top: auto;
    display: none;
    width: 50px !important;
    border-radius: 50% !important;
    line-height: 50px !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.single span.chinhhang {
    display: none;
}

/* ul.products li.product .group-action{
    top: 0;
    left: 0;
    right: unset;
    bottom: unset;
} */
li.product-list .item_tag_product {
    position: absolute;
    top: 15px;
    left: 15px;
    right: unset;
    bottom: unset;
}

.product-action-main {
    position: absolute;
    top: 0;
    left: 0;
    right: unset;
    bottom: unset;
}

li.product-list .item_tag_product,
.product-action-main .product-item-action {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

li.product-list .tag-item,
.product-action-main .product-item-action .tag-item {
    font-size: 10px;
    font-weight: bold;
    color: #ffff;
    padding: 5px;
    border-radius: 5px;
}

li.product-list .tag-item.new,
.product-action-main .product-item-action .tag-item.new {
    background: forestgreen;
}

li.product-list .tag-item.hot,
.product-action-main .product-item-action .tag-item.hot {
    background: #d8273c;
}

li.product-list .tag-item.banchay,
.product-action-main .product-item-action .tag-item.banchay {
    background: #ff9727;
}

.banner_product_home a {
    width: 100%;
}

/* .post_home .elementor-posts .elementor-post{
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}
.post_home .elementor-posts .elementor-post .elementor-post__thumbnail__link{
    flex-basis: 40%;
    margin-bottom: 0px !important;
}
.post_home .elementor-posts .elementor-post .elementor-post__text{
    flex-basis: 60%;
} */
.list-contact {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 0px;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    margin: 0;

}

.list-contact .list-contact-item a .list-contact-image {
    width: 50px;
    height: 50px;
    padding: 10px;
    border: 1px solid #eeee;
    object-fit: contain;
    border-radius: 50px;
}

.list-contact .list-contact-item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-radius: 50px;
    transition: all .3s;
    background: transparent;
    padding: 5px;
    background: rgba(0, 0, 0, .5);
    transition: all .3s;
}

.list-contact .list-contact-item a {
    background: linear-gradient(270deg, #ed1b24, #0071bc);
    background-size: 400% 400%;
    animation: BorderBox 3s infinite;
}

@keyframes BorderBox {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.list-contact .list-contact-item a .list-contact-content {
    opacity: 0;
    transition: all .3s;
    color: #fff;
}

/* Contact1
.list-contact .list-contact-item:nth-child(1):hover a.list-contact-item-hotline {
    transform: translateX(-170px);
    background: #13990a;
}

.list-contact .list-contact-item:nth-child(1):hover a .list-contact-content {
    opacity: 1;
}

/* Contact2 */
/* .list-contact .list-contact-item:nth-child(2):hover a.list-contact-item-zalo {
    transform: translateX(-170px);
    background: #0fa8e2;
} */
/* 
.list-contact .list-contact-item:nth-child(2):hover a .list-contact-content {
    opacity: 1;
} */

/* Contact3 */
/* .list-contact .list-contact-item:nth-child(3):hover a.list-contact-item-mail {
    transform: translateX(-170px);
    background: #b24026;
} */

/* 
.list-contact .list-contact-item:nth-child(3):hover a .list-contact-content {
    opacity: 1;
} */

/* Contact4 */
/* .list-contact .list-contact-item:nth-child(4):hover a.list-contact-item-messenger {
    transform: translateX(-170px);
    background: #0084ff;
}
 */

/* .list-contact .list-contact-item:nth-child(4):hover a .list-contact-content {
    opacity: 1;
} */

.wpgs-thumb .slick-track,
.tab_product_home .slick-track {
    margin: 0px !important;
}

.tab_product_home .e-n-tab-title {
    padding: 5px 20px;
}

.tab_product_home .e-n-tab-title-text {
    font-size: 14px;
    line-height: 26.4px;
}

.woocommerce-product-details__short-description ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.woocs_price_code {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sale-percentage {
    position: absolute;
    right: 0px;
    bottom: 0px;
    background: #FFE0E0;
    color: red;
    font-size: 12px;
    font-weight: normal;
    padding: 5px;
    border-radius: 25px;
}

.products-list .navigation.pagination .nav-links {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
}

.products-list .navigation.pagination .nav-links>* {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    width: 50px;
    height: 50px;
    color: var(--accent);
    border: 1px solid var(--border);
}

.products-list .navigation.pagination .nav-links .page-numbers.current,
.products-list .navigation.pagination .nav-links>*:hover {
    color: #fff;
    text-decoration: none;
    background-color: var(--accent);
    border-color: var(--accent);
}

#woocommerce-accordion h2 {
    display: inline-block;
    font-size: 28px;
    font-weight: normal;
    color: #fff;
    background: #d8273c;
    padding: 10px 15px;
    position: relative;
}

.related.products ul.products.columns-4 li.product {
    max-width: 100% !important;
}

.wpgs-thumb .slick-slide.slick-current img {
    border: 1px solid #d8273c !important;
    box-shadow: 0px 0px 3px 0px #d8273c;
}

.single-product div.product .product_title {
    color: #d8273c;
}

.searchwp-modal-form-trigger-el:active,
.searchwp-modal-form-trigger-el:hover,
.searchwp-modal-form-trigger-el {
    position: relative;
    color: transparent;
}

.searchwp-modal-form-trigger-el::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f002";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    color: #d8273c;
}

.tabs.wc-tabs {
    display: flex;
    justify-content: center;
}

.tabs.wc-tabs li:nth-child(1) {
    order: 1;
}

.tabs.wc-tabs li:nth-child(2) {
    order: 3;
}

.tabs.wc-tabs li:nth-child(3) {
    order: 2;
}

.search_form_menu form {
    margin-bottom: 0px;
}

.tieu_de_san_pham {
    background: #d8273cab;
    margin-bottom: 15px;
}

.tieu_de_san_pham h4 {
    padding: 13px 15px;
    background: #d8273c;
    position: relative;
    line-height: 30px;
    margin-right: 35px;
    color: #fff !important;
    float: left;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

.tieu_de_san_pham h4::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 25px;
    bottom: 0;
    right: -26px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 27px solid #d8273c;
    z-index: 1;
}

/* .woocommerce-Tabs-panel--description img {
    height: 500px;
    object-fit: contain;
} */

.products.columns-1.slick-initialized.slick-slider {
    min-height: 392.39px;
}

.primary-navigation ul.sub-menu {
    padding: 0px;
}

.primary-navigation ul.sub-menu li.menu-item {
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.primary-navigation ul.sub-menu li.menu-item a {
    padding: 0px;
}


ul.tab-header {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
    text-wrap: nowrap;
    margin-bottom: 20px;
}

ul.tab-header li {
    margin-right: 10px;
}

ul.tab-header li a {
    text-decoration: none;
    padding: 5px 20px;
    border: none;
    display: block;
    background-color: #f5f5f5;
    border-radius: 50px;
    color: #000;
    text-wrap: nowrap;
}

ul.tab-header li a.active {
    background-color: #d8273c;
    font-weight: bold;
    color: #fff;
}

#tab-content {
    margin-top: 20px;
}

/* CSS cho hiệu ứng loading */

.loading img {
    width: 50px;
    /* Kích thước của ảnh loading */
    height: 50px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

input.qty[value="50"]::-webkit-outer-spin-button,
input.qty[value="50"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

input.qty[value="50"] {
    appearance: textfield;
}



@media only screen and (max-width: 678px) {

    .tieu_de_product_home_right::before,
    .tieu_de_product_home_left::before {
        left: 0vw;
    }

    .swiper-pagination .swiper-pagination-bullet {
        width: 50px;
    }

    .list_thuong_hieu {
        flex-wrap: wrap;
    }

    .list_thuong_hieu .btn_category_home {
        flex-basis: 30%;
    }

    .tp-bullets .tp-bullet {
        width: 30px !important;
    }

    .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
        height: 350px;
    }

    .tabproduct_home .elementor-tabs-wrapper {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: scroll !important;
    }

    .tabproduct_home .elementor-tabs-wrapper .elementor-tab-title {
        min-width: 215px;
        text-align: center;
    }

    .tabproduct_home .elementor-tabs-content-wrapper .elementor-tab-title {
        display: none !important;
    }

    .search_mobile {
        position: absolute;

    }

    .search_mobile .hfe-search-button-wrapper {
        margin: 0px !important;
    }


    .tab_product_home .e-n-tabs-heading {
        justify-content: flex-start;
    }

    .tab_product_home .e-n-tabs-heading .e-n-tab-title {
        min-width: auto;
        white-space: nowrap;

    }

    .sale-percentage {
        font-size: 8px;
    }

    ul.products .slick-arrow {
        width: 30px;
        height: 25px;
    }

    ul.products .slick-arrow.slick-prev {
        left: -15px;
    }

    ul.products .slick-arrow.slick-next {
        right: -15px;
    }

    .products-list ul.products li.product {
        width: 50%;
    }


    .ff-t-container.ff-column-container.ff_columns_total_2 {
        display: flex;
    }

    .searchwp-modal-form__overlay {
        align-items: flex-start !important;
    }

    .tabs.wc-tabs {
        display: flex !important;
        justify-content: space-around;
    }

    .tabs.wc-tabs li a {
        padding: 15px 5px !important;
    }

    .resp-accordion {
        display: none !important;
    }

    .tieu_de_san_pham h4 {
        padding: 10px;
        background: #d8273c;
        position: relative;
        line-height: 30px;
        margin-right: 35px;
        color: #fff !important;
        float: left;
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        min-height: 60px;
    }

    .tieu_de_san_pham .elementor-button-text {
        font-size: 12px;
        line-height: 25px;
    }

    .tieu_de_san_pham h4::after {
        top: 30px;
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-left: 27px solid #d8273c;
    }

    .post_home .elementor-posts-container {
        display: flex;
        /* Use flexbox to arrange children in a row */
        overflow-x: scroll;
        /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory;
        /* Define snap points along the x-axis */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        scroll-behavior: smooth;
        /* Smooth scrolling behavior */
    }

    .post_home .elementor-posts .elementor-post {
        flex-direction: column;
        flex: 0 0 auto;
        /* Prevent items from shrinking or growing */
        scroll-snap-align: start;
        /* Align the start of each item with the snap point */
        width: 80%;
        /* Each item takes up the full width of the viewport */

    }

    .list-contact .list-contact-item a .list-contact-image {
        width: 35px;
        height: 35px;
        padding: 6px;
    }

    .tieu_de_san_pham .elementor-widget-button {
        flex-basis: 40%;
    }

    .tieu_de_san_pham .elementor-widget-button .elementor-button-wrapper {
        display: flex;
        justify-content: flex-end;
    }

    .tieu_de_san_pham .elementor-widget-heading {
        flex-basis: 60%;
    }

    .woocommerce-Tabs-panel--description img {
        max-width: 100%;
        height: auto;
        object-fit: unset;
    }

    .product-ajax {
        display: flex;
        /* Use flexbox to arrange children in a row */
        overflow-x: scroll;
        /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory;
        /* Define snap points along the x-axis */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        scroll-behavior: smooth;
        /* Smooth scrolling behavior */
        flex-wrap: nowrap !important;
    }

    .product-ajax li {
        flex-direction: column;
        flex: 0 0 auto;
        /* Prevent items from shrinking or growing */
        scroll-snap-align: start;
        /* Align the start of each item with the snap point */
        width: 45% !important;
        /* Each item takes up the full width of the viewport */

    }

    ul.tab-header {
        overflow-x: scroll;
        text-wrap: nowrap;
    }

    ul.tab-header li .tab-header-item {
        text-wrap: nowrap !important;
        text-align: center;
        white-space: nowrap !important;
    }

    ul.product-ajax li.product-list {
        min-width: 40% !important;
    }

}