.woocommerce div.product form.cart .button:hover {
    background: var(--e-global-color-primary );
}
.woocommerce div.product form.cart .button{
    font-size: 16px;
}
p.woocommerce-mini-cart__empty-message {
    margin-top: 10px;
    text-align: center;
}
.note-cart{
    display: none;
}
form .elementor-field-group-products_enquiry {
    position: absolute;
    z-index: -999;
    opacity: 0;
    visibility: hidden;
}
#button-updated {
    padding: 8px 18px;
    background: var(--e-global-color-accent );
    color: #fff;
    cursor: pointer;
}
.shop_table thead tr th{
    border-bottom: 1px solid rgb(196 196 196 / 40%) !important;
}
.shop_table .quantity .eael-cart-qty-minus{
    border-bottom: 1px solid #C4C4C4;
    border-left: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
}
.shop_table .quantity .input-text{
    border-bottom: 1px solid #C4C4C4 !important;
    border-top: 1px solid #C4C4C4 !important;
    border-radius: 0 !important;
}
.shop_table .quantity .eael-cart-qty-plus{
    border-bottom: 1px solid #C4C4C4;
    border-right: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
}

#enquiry-form .number-spinner{
    display: flex;
    align-items: center;
    width: 120px;
}
#enquiry-form .product_quantity_down{
    border-bottom: 1px solid #C4C4C4;
    border-left: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
}
#enquiry-form .btn-upqty{
    display: block;
    width: 46px;
    height: 25px;
    font-weight: 500;
    text-align: center;
    background: #D2CFCF;
    border-radius: 100px;
    line-height: 24px;
}
#enquiry-form .up_num{
    border: 0;
    background: transparent;
    border-radius: 0;
    text-align: center;
    font-weight: 600;
}
#enquiry-form .product_quantity_up{
    border-bottom: 1px solid #C4C4C4;
    border-right: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
}
#enquiry-form td{
    font-size: 18px;
    vertical-align: middle;
}
.header-mini-cart i.far.fa-edit {
    font-size: 20px;
    position: relative;
    bottom: -2px;
    color: var( --e-global-color-primary );
}

.header-mini-cart #total-items {
    position: absolute;
    top: 0;
    right: -3px;
    background: #C42328;
    border-radius: 50%;
    width: 16px;
    text-align: center;
    height: 16px;
    line-height: 16px;
    font-size: 10px;
    color: #fff;
}
.header-mini-cart .header-enquiry-dropdown{
    position: relative;
}
.header-mini-cart ul.nav-dropdown {
    list-style: none;
    position: absolute;
    min-width: 320px;
    max-height: 0;
    z-index: 9;
    padding: 10px 15px;
    opacity: 0;
    margin: 0;
    -webkit-transition: opacity .25s;
    -o-transition: opacity .25s;
    transition: opacity .25s;
    color: #777;
    background-color: #fff;
    text-align: left;
    display: none;
    -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    right: 0;
    bottom: 40px;
}
.header-mini-cart .nav-dropdown .product_list_widget {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 500px;
    max-height: 50vh;
}
.header-mini-cart ul.product_list_widget li {
    list-style: none;
    padding: 10px 0 5px 70px;
    min-height: 80px;
    overflow: hidden;
    vertical-align: top;
    line-height: 1.33;
}
.header-mini-cart ul.product_list_widget li+li {
    border-top: 1px solid #ececec;
}
.header-mini-cart.current-dropdown ul.nav-dropdown,
.header-mini-cart:hover ul.nav-dropdown{
    opacity: 1;
    max-height: inherit;
    display: block;
}
.header-mini-cart a.remove {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
    display: block;
    width: 20px;
    height: 20px;
    font-size: 15px!important;
    line-height: 18px!important;
    border-radius: 100%;
    color: #ccc;
    font-weight: 700;
    text-align: center;
    border: 1px solid;
    display: none !important;
}
.header-mini-cart  ul.product_list_widget li a:not(.remove) {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    line-height: 1.2;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    text-transform: capitalize;
}
/* mỗi item là 1 container */
.header-mini-cart ul.product_list_widget li {
    position: relative;
    padding-left: 70px; /* chừa chỗ cho ảnh */
    min-height: 70px;
}

/* ảnh sản phẩm */
.header-mini-cart ul.product_list_widget li img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    margin: 0;
    object-fit: cover;
}

/* link chứa tên + ảnh */
.header-mini-cart ul.product_list_widget li a.product-title-with-image {
    display: block;
    line-height: 1.4;
}

/* quantity */
.header-mini-cart ul.product_list_widget li .quantity {
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

.header-mini-cart .quantity{
    font-size: 16px;
}
.header-mini-cart .nav-dropdown .elementor-button--checkout {
    background: #E5151F;
    font-weight: 500;
    padding: 14px 20px;
    font-size: 14px;
}
.woocommerce-mini-cart-item.mini_cart_item div{
    font-size: 16px !important;
}

.header-mini-cart .attrs {
    font-size: 14px;
}

.widget_enquiry .woocommerce-mini-cart {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#enquiry-form{
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.enquiry-table {
    border: 1px solid #EDEDED;
}
.enquiry-table th {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #fff;
    text-align: left;
    background: #E5151F;
    border-bottom: 1px solid rgba(196, 196, 196, 0.3) !important;
    border-top: 0 !important;
}
.enquiry-table th.title-enquiry-product{
    padding-left: 50px;
}

.enquiry-table th,
.enquiry-table td {
    border: 0;
}

.enquiry-table td.rsname{
    width: 150px;
}
.enquiry-table td.rsname img{
    width: 100px;
}
.enquiry-table td.rsdel{
    width: 300px;
}
.enquiry-table td.remove-btn i{
    color: #EF3E29;
}
.enquiry-table tbody tr td {
    border-bottom: 1px solid #EDEDED;
    background: #F9F9F9 !important;
}

.name-product1 h4 {
    font-weight: 400;
    font-size: 18px;
    color: #353535;
    margin: 0;
}
.rsdel .up_num {
    max-width: 140px;
    padding-right: 0;
}
.remove-btn a {
    color: #545454;
}
.custom-product-enquiry-form.cart .quantity {
    float: left;
    margin-right: 15px;
}
.custom-product-enquiry-form.cart button {
    border-radius: 99px;
    text-transform: uppercase;
}
button.close-mini-cart {
    background: transparent;
    border: 0;
    color: #222;
    padding: 0;
    width: 100%;
    outline: unset;
    display: none;
}
button.close-mini-cart:hover{
    background: transparent;
    color: var(--e-global-color-accent );
}
.title-product1{
    min-height: 50px;
}
@media screen and (max-width: 1200px){
    .enquiry-table td.rsname {
        width: auto;
    }
}
@media screen and (max-width: 848px){
    .enquiry-table td.rsdel{
        width: auto;
    }
}
@media screen and (max-width: 767px){
    #enquiry-form{
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        width: 100%;
        white-space: nowrap;
        margin-bottom: 30px;
    }
    #enquiry-form td{
        font-size: 16px;
    }
    .woocommerce-ordering{
        margin-top: 10px !important;
        float: left !important;
    }
    .title-product1{
        min-height: auto !important;
        margin-bottom: 10px;
    }
    .title-product1 .product_title{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

    }
    .header-mini-cart ul.nav-dropdown{
        right: -50px;
    }
}

/* nút xoá trong enquiry cart */
.enquiry-table .button-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 22px;     /* kích thước dấu X */
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* hover */
.enquiry-table .button-remove:hover {
    color: #e5151f;
}
