/* header */
#header{
    box-shadow: 0 16px 32px -12px #585C5F1A;
}
#header #masthead .cart-item .header-cart-link{
    padding: 8px 24px;
    background-color: #C9252C;
    border-radius: 4px;
    color: white;
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
}
#header #masthead .cart-item .header-cart-link .icon-shopping-cart{
    margin-left: 0px !important;
}
#header #masthead .cart-item .header-cart-link .icon-shopping-cart:before{
    content: "";
    -webkit-mask: url(/wp-content/uploads/2025/03/icon-cart-w.png) center center no-repeat;
    mask: url(/wp-content/uploads/2025/03/icon-cart-w.png) center center no-repeat;
    background: white;
    display: inline-block;
    width: 24px;
    height: 24px;
}
#header #masthead .cart-item .header-cart-link .header-cart-title{
    display: flex;
    flex-direction: column;
}
#header #masthead .cart-item .header-cart-link .header-cart-title bdi{
    font-weight: 400;
}
#header #masthead .cart-item .header-cart-link .header-cart-title:before{
    content: 'Giỏ hàng';
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: none;
}
#header #wide-nav{
    min-height: fit-content;
}
#header #wide-nav .flex-col,
#header #wide-nav .flex-col ul.header-nav{
    width: 100%;
    justify-content: space-between;
}
#header #wide-nav .flex-col ul.header-nav > li > a{
    padding: 24px 0;
}
#header #wide-nav .flex-col ul > li > a{
    color: #231f20;
    font-size: 12px;
    line-height: 1.4;
    margin: 0px;
}
#header #wide-nav .flex-col ul > li:hover > a.nav-top-link{
    color: #C9252C;
}
#header #wide-nav .flex-col ul.sub-menu{
    padding: 0px;
    border-radius: 4px;
}
#header #wide-nav .flex-col ul.sub-menu > li > a{
    padding: 12px 16px;
    text-transform: none;
    font-weight: 400;
}
#header #wide-nav .flex-col ul.sub-menu > li:hover > a{
    background-color: #231f20;
    color: white;
}
#header #wide-nav .flex-col ul.sub-menu > li:first-child:hover > a{
    border-radius: 4px 4px 0 0;
}
#header #wide-nav .flex-col ul.sub-menu > li:last-child:hover > a{
    border-radius: 0 0 4px 4px;
}
#header #wide-nav .sub-menu.nav-dropdown,
#header #masthead .cart-item .nav-dropdown{
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.1);
    border: none;
    padding: 16px;
}
#header #wide-nav .sub-menu{
    display: flex;
    flex-direction: column;
}
#header #wide-nav .sub-menu .sub-menu{
    display: none;
}
#header #wide-nav .sub-menu > .menu-item.menu-item-has-children{
    position: relative;
    width: 100%;
}
#header #wide-nav .sub-menu > .menu-item.menu-item-has-children:hover .sub-menu{
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    background: white;
}
#header #wide-nav li.has-dropdown:before{
    border-width: 9px;
    margin-left: -9px;
}
.stuck .header-main .nav > li > a{
    line-height: 1.3 !important;
}
/*search*/
#header #masthead .header-search-form input[type='search']{
    background-color: #E8E8E8;
    border: none;
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.1);
    padding: 8px 16px;
    height: 45px;
    font-size: 12px;
}
#header #masthead .searchform > .flex-row.relative > .flex-col:last-child{
    margin-left: -42px;
}
#header #masthead .searchform button[type='submit']{
    display: flex;
    align-items: center;
    justify-content: center;
}
#header #masthead .btn.outline{
    border: 1px solid #C9252C;
    color: #C9252C;
    border-radius: 4px;
    padding: 8px 24px;
    font-size: 12px;
    line-height: 1.3;
    text-transform: none;
    font-weight: 500;
    display: flex;
    gap: 8px;
    align-items: center;
}
#header #masthead .btn.outline.white{
    border-color: white;
    color: #231F20 !important;
}
#header #masthead .btn.outline p{
    display: flex;
    flex-direction: column;
}
#header #masthead .btn.outline strong{
    font-weight: 700;
}

#footer .sec__branch {
    padding: 32px 0px;
    background-color: white !important;
}
#footer .sec__branch .branch-list{
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 16px;
}
#footer .sec__branch .branch-list .branch-item .branch-title{
    background-color: #C9252C;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    padding: 8px;
    margin-bottom: 8px;
}
#footer ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0px;
}
#footer ul li{
    margin-bottom: 0px;
}
#footer ul li a{
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}
#footer .sec__info{
    padding: 32px 0;
}
#footer .sec__info .row{
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
}
#footer .sec__info .row .col{
    padding: 0px;
    padding: 0 48px;
    flex-basis: 20%;
}
#footer .sec__info .info.col{
    flex-basis: 40%;
    padding-left: 0px;
}
#footer .sec__info .col:nth-child(4n){
    padding-right: 0px;
}
#footer .sec__info .title{
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}
#footer .sec__info ul li a{
    font-size: 14px;
}
#footer .sec__info .info.col p{
    margin-bottom: 16px;
}
#footer .absolute-footer{
    display: none;
}

section, main{
    background-color: #F9F9F9 !important;
}
.gap-default{
    padding: 42px 0;
}
.gap-y-default{
    padding-top: 42px;
    padding-bottom: 42px;
}
.pb-0{
    padding-bottom: 0px;
}
section .container{
    margin: auto;
    padding: 0px 16px;
}
section .container.wrapper{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
section .container.wrapper:after{
    display: none;
}
section .row{
    /*margin: 0px !important;*/
}
section .row:before,
section .row:after{
    display: none;
}

@media (min-width: 1024px){
    section .row.nowrap{
    flex-wrap: nowrap;
    }
}
section p{
    margin: 0px;
}
section h2.title{
    font-size: 28px;
    line-height: 1.4;
    margin: 0px;
}
section .slick-slider .slick-arrow{
    background-color: #C9252C;
    width: 32px;
    height: 32px;
    opacity: 0;
}
section .slick-slider:hover .slick-arrow{
    opacity: 1;
    z-index: 1;
}
section .slick-slider .slick-prev.slick-arrow{
    left: -16px;
}
section .slick-slider .slick-prev.slick-arrow:before{
    content: "";
    -webkit-mask: url(../image/chevron-left-solid.svg) center center no-repeat;
    mask: url(../image/chevron-left-solid.svg) center center no-repeat;
    background: white;
    display: inline-block;
    width: 20px;
    height: 20px;
}
section .slick-slider .slick-next.slick-arrow{
    right: -16px;
}
section .slick-slider .slick-next.slick-arrow:before{
    content: "";
    -webkit-mask: url(../image/chevron-right-solid.svg) center center no-repeat;
    mask: url(../image/chevron-right-solid.svg) center center no-repeat;
    background: white;
    display: inline-block;
    width: 20px;
    height: 20px;
}
section .slick-slider .slick-dots{
    bottom: -32px;
}
section .slick-slider .slick-dots li,
section .slick-slider .slick-dots li button,
section .slick-slider .slick-dots li button:before{
    width: 12px;
    height: 12px;
    line-height: 12px;
    padding: 0px;
}
section .btn{
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 24px;
    width: fit-content;
    margin: auto;
}
section .btn.btn-default{
    background-color: #C9252C;
    color: white;
    font-size: 14px;
    line-height: 1.4;
}
section .btn.btn-default:hover{
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
}
section .products{
    margin: 0px;
}
section .products .product{
    padding: 0px;
    width: 100%;
}
section .products .product .col-inner{
    height: 100%;
    padding: 16px;
    background-color: white;
    border: 1px solid #E6E6E6;
    border-radius: 6px;
}
section .products .product .box-image img{
    object-fit: contain;
    aspect-ratio: 4/3;
    object-position: top;
}
section .products .product .box-text-products{
    padding: 16px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
section .products .product .box-text-products .star-rating {
    margin: 0px 0px 4px;
}
section .products .product .box-text-products .name a{
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
section .products .product .box-text-products .price{
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    line-height: 1.4;
}
section .products .product .box-text-products .price > .woocommerce-Price-amount,
section .products .product .box-text-products .price ins .woocommerce-Price-amount{
    color: #C9252C !important;
}
section .products .product .box-text-products .price del{
    font-size: 12px;
    line-height: 1.4;
    color: #6F6667 !important;
}
section .products .product .badge-container.top{
    margin-top: 16px;
    margin-left: 16px;
}
section .products .product .badge{
    height: fit-content;
}
section .products .product .badge .on-sale{
    padding: 6px 8px;
    border-radius: 4px;
    background-color: #C9252C;
    font-size: 12px;
    line-height: 1.2;
}
section .products .product .box-text-products .btns{
    display: flex;
    gap: 8px;
}
section .products .product .box-text-products .btns a{
    margin: 0px;
    height: 38px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}
section .products .product + a.devvn_buy_now{
    margin: 0px;
    height: 38px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    text-transform: none;
    background-color: var(--fs-color-primary);
    border-color: rgba(0, 0, 0, .05);
    color: #fff;
    width: max-content;
    display: inline-flex;
    min-height: 2.5em;
    padding: 0 1.2em;
    border: 1px solid transparent;
    border-radius: 4px;
    position: absolute;
    bottom: 16px;
    left: 76px;
}
section .products .product + a.devvn_buy_now:before {
    content: "";
    -webkit-mask: url(../image/icon-buynow-l.svg) center center no-repeat;
    mask: url(../image/icon-buynow-l.svg) center center no-repeat;
    background: white;
    display: inline-block;
    width: 24px;
    height: 24px;
    transform: scale(0.7);
}
section .products .product .box-text-products .btns a.add_to_cart_button{
    width: 50px;
    font-size: 1px;
    line-height: 1;
    color: transparent;
    border: 1px solid #C9252C;
    padding: 0px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
section .products .product .box-text-products .btns a.added_to_cart.wc-forward{
    display: none;
}
section .products .product .box-text-products .btns a.add_to_cart_button:before{
    content: "";
    -webkit-mask: url(../image/icon-cart.svg) center center no-repeat;
    mask: url(../image/icon-cart.svg) center center no-repeat;
    background: #C9252C;
    width: 20px;
    height: 20px;
    position: absolute;
}
section .products .product .box-text-products .btns a.buy-now:before{
    content: "";
    -webkit-mask: url(../image/icon-buynow-l.svg) center center no-repeat;
    mask: url(../image/icon-buynow-l.svg) center center no-repeat;
    background: white;
    display: inline-block;
    width: 24px;
    height: 24px;
    transform: scale(0.7);
}
section .products .product .box-text-products .btns a.add_to_cart_button:hover:before{
    background: white;
}

.sec__ux .row{
    margin: auto !important;
}
.sec__ux form input,
.sec__ux form textarea{
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: none;
    padding: 4px 8px;
    height: fit-content;
    font-size: 14px;
}
.sec__ux .title{
    font-size: 24px;
    line-height: 1.3;
    display: block;
    margin-bottom: 16px;
}
.sec__ux .title.h3{
    font-size: 18px;
}
.sec__ux .icon-box{
    padding: 12px 0px;
    border-bottom: 1px dashed #6F6667;
}
.sec__ux .icon-box:first-child{
    padding-top: 0px;
}
.sec__ux .icon-box:last-child{
    border: none;
    padding-bottom: 0px;
}
.sec__ux .content__box{
    padding: 24px;
    background-color: white;
    border-radius: 4px;
    margin-top: 16px;
}
.sec__ux .content__box h2,
.sec__ux .content__box h3,
.sec__ux .content__box h4{
    font-weight: 500;
    margin-bottom: 8px;
}
.sec__ux .content__box h2{
    font-size: 24px;
}
.sec__ux .content__box h3{
    font-size: 20px;
}
.sec__ux .content__box h4{
    font-size: 16px;
}
.sec__ux .content__box p{
    font-size: 14px;
    margin-bottom: 8px;
}
/* checkout */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block{
    background-color: white;
}
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block *{
    font-size: 14px;
}
.woocommerce-checkout .wc-block-components-sidebar{
    padding: 0px;
}

/*buy now popup*/
.devvn-popup-quickbuy *{
    font-family: 'Inter';
}
.devvn-popup-quickbuy .installment-button,
.devvn-popup-quickbuy .homepay-button{
    display: none;
}
.devvn-popup-quickbuy .devvn-popup-title,
.devvn-popup-quickbuy  .popup-customer-info-group .devvn-order-btn{
    background: #C9252C;
}
.devvn-popup-quickbuy  .popup-customer-info-group .devvn-order-btn{
    font-weight: 500;
}
.devvn-popup-quickbuy .devvn-popup-info .devvn_title{
    font-size: 20px;
    padding-bottom: 0px;
}
.devvn-popup-quickbuy .devvn-popup-info  .devvn_price .woocommerce-Price-amount > bdi {
    font-size: 24px;
}
.devvn-popup-quickbuy .devvn-popup-content-desc{
    font-size: 12px;
}
.devvn-popup-quickbuy .devvn_prod_variable,
.devvn-popup-quickbuy .devvn_prod_variable form,
.devvn-popup-quickbuy .devvn-popup-prod{
    margin-bottom: 8px;
}

.woocommerce-product-gallery .zoom-button{
    display: none !important;
}
@media(max-width: 576px){
    .sec__products .products.columns-4{
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
}
@media (max-width:1024px){
    #header #masthead .cart-item .header-cart-link{
        padding: 4px 16px;
    }
    #header #masthead .cart-item .header-cart-link .icon-shopping-cart:before{
        transform: scale(0.7);
    }
    .sec__ux .mb-reverse-col{
        flex-direction: column-reverse;
    }
    #footer .sec__branch .branch-list{
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    #footer .sec__info{
        padding: 16px 0px;
    }
    #footer .sec__info .col{
        flex-basis: 100% !important;
        padding: 12px 0px !important;
    }
    #footer .sec__info .col.quick_links-item{
        flex-basis: 30% !important;
    }
    #footer .sec__info .title,
    #footer .sec__info .col p.title{
        font-size: 16px;
        margin-bottom: 8px;
    }
    #footer .sec__info .col p,
    #footer .sec__info .col li a{
        font-size: 12px;
        
    }
    .sec__products .products.columns-4{
        grid-template-columns: 1fr 1fr 1fr;
        gap: 4px;
    }
    section .products .product .col-inner{
        padding: 8px;
    }
    section .products .product .badge-container.top{
        margin-top: 8px;
        margin-left: 8px;
    }
    section .products .product .badge .on-sale{
        font-size: 10px;
    }
    section .products .product .box-text-products .star-rating{
        font-size: 12px;
    }
    section .products .product .box-text-products .name a,
    section .products .product .box-text-products .price{
        font-size: 12px;
    }
    section .products .product .box-text-products{
        padding: 8px 0px 0px 0px;
        gap: 4px;
    }
    section .products .product .box-text-products .btns a{
        font-size: 10px;
        height: 30px;
        padding: 0 8px;
    }
    section .products .product + a.devvn_buy_now{
        font-size: 10px;
        height: 30px;
        padding: 0 8px;
        bottom: 8px;
        left: 68px;
    }
    section .products .product .box-text-products .price{
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: start;
        gap: 0px;
    }
    section .products .product .box-text-products .price del{
        order: 2;
        margin-left: 4px;
    }
    section .slick-slider .slick-arrow{
        width: 24px;
        height: 24px;
    }
    section .slick-slider .slick-prev.slick-arrow:before,
    section .slick-slider .slick-next.slick-arrow:before{
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 767px){
    #footer .sec__info .col.quick_links-item{
        flex-basis: 50% !important;
    }
    
    section .products .product{
        height: 100%;
        align-items: stretch;
        display: flex;
        flex-flow: column;
        justify-content: space-between;
    }
}