/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/*              Trang danh mục sản phẩm chung                */
.section-title-category {
    padding-bottom: 0 !important;
}

.section-title-category .page-name {
    padding-left: 0;
}

.section-title-category .desc_title_page {
    width: 60%;
    margin: 0 auto;
}

.section-title-category .desc_title_page p {
    font-size: 13px;
    font-weight: 400;
}

.section_category {
    padding: 20px 50px !important;
}

.section_category .row_product_list {
    padding: 10px 80px !important;
    margin: 0 !important;
    justify-content: space-evenly;
}

.section_category .row_product_list .col {
    padding: 0 15px !important;
}

.product_cate_list {
    border-top: 1px solid #323232;
    /* height: 600px; */
}

.title_category {
    margin-top: 50px;
    margin-bottom: 30px;
}

.title_category h2 {
    font-size: 30px;
    font-weight: 700;
}

.section_category .row_product_list .product_cate_item {
    opacity: 0.6;
    cursor: pointer;
    /* gap: 20px; */
}

.section_category .row_product_list .product_cate_item:hover {
    opacity: 1;
}

.section_category .row_product_list .product_cate_item:hover .product_name {
    /* text-decoration: underline; */
    border-bottom: 2px solid #323232;

}

.amlab_stack_products {
    flex-wrap: wrap;
    gap: 30px 50px;
}

.amlab_stack_products .product_cate_item img {
    object-position: center bottom;
    background-size: cover;
    object-fit: cover;
    max-width: 150px;
    max-height: 150px;
    border-radius: 999999px;
}

.amlab_stack_products .product_cate_item {
    min-width: 200px;
    max-width: 200px;
    opacity: 0.6;
    cursor: pointer;
}

.amlab_stack_products .product_cate_item:hover {
    opacity: 1;
}

.amlab_stack_products .product_cate_item .box-text {
    padding: 0 !important;
}

.amlab_stack_products .product_cate_item .box-image {
    max-height: 150px;
    margin-bottom: 20px;
}

.amlab_stack_products .product_cate_item .box-text .product_name>* {
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
}

.amlab_stack_products .product_cate_item .product_name {
    width: fit-content;
}

.amlab_stack_products .product_cate_item:hover .product_name {
    border-bottom: 2px solid #323232;
}

.section_category .row_product_list .product_cate_item img {
    object-position: center bottom;
    background-size: cover;
    object-fit: cover;
    max-width: 150px;
    max-height: 150px;
    border-radius: 999999px;
}

.section_category .row_product_list .product_cate_item .product_name {
    display: inline-block;
}

.section_category .row_product_list .product_cate_item .product_name h4 {
    font-size: 13px;
    font-weight: 700;
    color: #323232;
    padding: 5px 0;
}

.section_leather_wallet .hide-for-small {
    padding: 0;
}

/* page liên hệ */
.shop-system-contact-page .accodition-system-ttk .accordion-inner {
    max-height: 300px;
    overflow-y: auto;
}

.off-canvas .mfp-content.off-canvas-cart {
    --drawer-width: 500px !important;
}

.mfp-wrap .cart-popup-inner .is-divider {
    display: none;
}

.mfp-wrap .cart-popup-inner .cart-popup-title {
    text-align: left;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.mfp-wrap .cart-popup-inner .cart-popup-title span {
    font-size: 18px;
    font-weight: 500;
    color: #323232;
    text-transform: math-auto;
}

.mfp-wrap .cart-popup-inner a.remove {
    position: absolute;
    right: unset;
    left: 145px;
    top: 60%;

    display: inline-block;
    width: 25px;
    height: 25px;
    background: url('./assets/images/trash.png') no-repeat center;
    background-size: contain;
    color: transparent;
}

.mfp-wrap .cart-popup-inner a.remove:after {
    content: "Bỏ sản phẩm";
    font-size: 12px;
    color: #707070;
    font-weight: 400;
    position: absolute;
    left: 100%;
    /* Bên phải của nút */
    top: 50%;
    transform: translateY(-50%);
    margin-left: 6px;
    white-space: nowrap;
    cursor: pointer;
}

.mfp-wrap .cart-popup-inner a.remove:hover:after {
    color: #D82B2B;
}

.mfp-wrap .product_list_widget li a:not(.remove) {
    font-size: 14px;
    color: #323232;
    font-weight: 500;
}

.widget_shopping_cart ul.product_list_widget li {
    padding-bottom: 150px;
    padding-left: 145px;
    padding-top: 20px;
}

.mfp-wrap .cart-popup-inner img {
    height: 174px;
    width: 130px;
}

.mfp-wrap .cart-popup-inner {
    padding: 15px;
}

.mfp-wrap .woocommerce-mini-cart__buttons a:first-child {
    display: none;
}

.mfp-wrap .cart-popup-inner a.checkout {
    background-color: #424242;
    color: #fff;
    font-size: 14px;
    text-transform: math-auto;
    font-weight: 500;
    padding: 12px;
}

.mfp-wrap .cart-popup-inner .ux-mini-cart-qty span {
    font-weight: 500;
    font-size: 14px;
    color: #323232;
    opacity: 1;
}

.mfp-wrap .cart-popup-inner .woocommerce-mini-cart__total strong {
    font-size: 12px;
    font-weight: 400;
    color: #323232;
}

.mfp-wrap .cart-popup-inner .woocommerce-mini-cart__total span {
    font-size: 12px;
    font-weight: 400;
    color: #323232;
}
.ft-chatbox-skin1  .ft-cco-cus.ft-ccus svg{
    background-color: green;
}


.s_ft_amlab .text_12 p {
    margin-bottom: 0;
}

/*                          ux block payment                         */
.section_inf_payment .section-content {
    margin-left: unset;
}

.section_inf_payment p {
    font-size: 14px;
    font-weight: 500;
}

.section_inf_payment .inf_payment p {
    color: #EBEBEB;
}

.section_inf_payment .inf_payment::before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    /* bottom: -24px; */
    z-index: 999;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #424242;
    left: 30px;
    top: -10px;
    margin: 0 auto;
}

.section_inf_payment .inf_payment {
    /* top: 100%;
    right: 0; */
    background: #424242;
    width: 450px;
    padding: 16px;
}

.section_inf_payment .content_payment p {
    margin-top: 10px;
}

.section_inf_payment .col_img_pay {
    max-width: 60%;
    margin: 0 auto;
}

/* .section_inf_payment .img_payment{
    width: 150px;
} */
.section_inf_payment .img_payment img {
    width: 150px;
}


/*                  page thanh toán                      */
/* .woocommerce{
    padding: 30px 120px;
} */
.woocommerce .woocommerce-billing-fields h3 {
    font-size: 30px;
    font-weight: 600;
    text-transform: none !important;
}

.woocommerce .woocommerce-input-wrapper input,
.woocommerce .woocommerce-input-wrapper textarea {
    background: #f1f2f7;
    border: none;
    box-shadow: none;
}

.woocommerce .woocommerce-input-wrapper input::placeholder,
.woocommerce .woocommerce-input-wrapper textarea::placeholder {
    color: #323232;
    opacity: 1;
}

.woocommerce .wc_payment_method label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: normal;
}

.woocommerce .order_review_heading {
    font-size: 24px;
    font-weight: 500;
}

.woocommerce .checkout-sidebar .coupon-form {
    background: #f1f2f7;
}

.woocommerce .checkout-sidebar .coupon-form td {
    text-align: left !important;
    border-bottom: none !important;
}

.woocommerce .checkout-sidebar .coupon-form td span {
    font-size: 14px;
    font-weight: 500;
    color: #323232;
    padding: 10px 20px;
}

.woocommerce .checkout-sidebar .coupon {
    margin: 0 20px;
}

.woocommerce .checkout-sidebar .coupon #coupon_code {
    border: 1px solid #424242;
    border-right: none;
    height: 48px;
    box-shadow: none !important;
    margin-top: 0;
}

.woocommerce .checkout-sidebar .coupon .button.expand {
    position: relative;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #323232;
    border-left: none;
    display: inline;
    color: #323232;
    text-transform: none;
    height: 48px;
}

.woocommerce .checkout-sidebar .coupon .button.expand::after {
    content: '';
    height: 1px;
    width: 60px;
    top: 30px;
    position: absolute;
    background: #323232;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.woocommerce .checkout-sidebar .cart-subtotal .woocommerce-Price-amount bdi {
    font-size: 12px;
    font-weight: 400;
}

.woocommerce .checkout-sidebar .cart-subtotal th,
.woocommerce .checkout-sidebar .order-total th {
    font-size: 12px;
    font-weight: 400;
    color: #323232;
}

.woocommerce .checkout-sidebar .order-total th,
.woocommerce .checkout-sidebar .order-total td {
    border-bottom: none !important;
}

.woocommerce .checkout-sidebar .order-total .woocommerce-Price-amount bdi {
    color: #335628;
    font-size: 24px;
    font-weight: 600;
}

.woocommerce .cart_item .product-name .product_title-name {
    color: #323232;
    font-size: 14px;
}

.woocommerce .cart_item .product-name .variation {
    display: none;
}

.woocommerce .cart_item .product-name .amlab-product-price_container {
    margin: 10px 0;
}

#payment .place-order #place_order {
    background: #434343;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    min-height: 58px;
}

/* Label chứa radio */
.woocommerce .wc_payment_method label {
    position: relative;
    padding-left: 36px;
    cursor: pointer;
}

.woocommerce .wc_payment_method input[type=radio] {
    display: none;
}

/* Hình tròn giả */
.woocommerce .wc_payment_method label::before {
    content: "";
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
}

.woocommerce .input-radio:checked+label::before {
    content: "";
    position: absolute;
    background-image: url(./assets/images/btn_choose.png);
    background-position: center;
    top: 50%;
    background-size: 36px 36px;
    border: none;
}

.note_payment p {
    color: #707070;
    font-size: 12px !important;
}

.product-main .directions_amlab a {
    font-size: 12px;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
    color: #323232;
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.product-main .directions_amlab a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    background-image: url(./assets/images/ruler.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .amlab_stack_products .product_cate_item {
        opacity: 1;
    }

    .amlab_stack_products .product_cate_item .box-text .product_name>* {
        font-size: 14px;
    }

    .amlab_stack_products .product_cate_item {
        min-width: 50%;
        max-width: 50%;
    }

    .amlab_stack_products {
        gap: 20px 0;
        justify-content: flex-start !important;
    }

    .dvls_maps_header_right {
        float: unset !important;

    }

    .dvls_maps_sidebar {
        margin-top: 20px;
    }

    .dvls_result_item {
        margin: 0 !important;
    }

    #header .header-inner {
        padding: 0 20px !important;
    }

    .nav-dropdown-has-border .nav-dropdown {
        left: auto !important;
        right: -50px !important;
    }

    .menu-overlay .logo-wrapper .logo img {
        height: 25px !important;
    }

    .mfp-close {
        top: 30px !important;
        right: 10px !important;
    }

    .section-title-category .title {
        padding-top: 0;
        margin-top: 10px;
    }

    .section-title-category .desc_title_page {
        width: 100%;
    }

    .section_category {
        border-top: 1px solid #323232;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .section_category .product_cate_list {
        border-top: none;
        height: auto;
    }

    .section_category .product_cate_list .row_product_list {
        padding: 0 !important;
        justify-content: flex-start;
    }

    .section_category .product_cate_list .row_product_list .cate_pro_item {
        margin-left: unset;
        text-align: left;
    }

    .title_category {
        margin-top: 20px;
    }

    .title_category h2 {
        font-size: 18px;
    }

    .section_category .row_product_list .product_cate_item {
        opacity: 1;
        cursor: pointer;
        /* gap: 20px; */
    }

    .section_category .row_product_list .product_cate_item:hover .product_name {
        /* text-decoration: underline; */
        border-bottom: none;

    }

    .section_inf_payment .row {
        max-width: 100% !important;
        margin: 0 auto !important;
        flex-direction: column !important;
    }

    .section_inf_payment .inf_payment {
        width: 100%;
    }

    .woocommerce .woocommerce-billing-fields h3 {
        font-size: 18px;
        text-align: center;
    }

    .woocommerce .checkout-sidebar .coupon .flex-row {
        flex-flow: nowrap;
    }

    .woocommerce .checkout-sidebar .coupon .flex-col:nth-child(1) {
        flex: 0 0 70%;
    }

    .woocommerce .checkout-sidebar .coupon .flex-col:nth-child(2) {
        flex: 0 0 30%;
    }

    .woocommerce .checkout-sidebar .amlab-product-price_container bdi {
        font-size: 12px;
    }

    .woocommerce .checkout-sidebar .order-total .woocommerce-Price-amount bdi {
        font-size: 20px;
    }

    .woocommerce .woocommerce-checkout .row {
        flex-direction: column-reverse;
    }

    .woocommerce .checkout-sidebar .coupon-form td span {
        font-size: 13px;

    }

    /* .section_belt .row,
    .section_leather_wallet .row,
    .section_leather_watch_strap .row{
        display: flex;
        flex-direction: column-reverse;
    } */
}