/* change hikashop_product_quantity only module */

.hikashop_cart .hikashop_cart_product_quantity_value {
    justify-content: flex-start;
}

.hikashop_product_quantity_div {
    display: flex !important;
    align-items: center;
    border: 1px solid #dddddd;
    border-radius: 5px;
    width: fit-content !important;
}

input#hikashop_checkout_3_quantity_field_1 {
    border: unset;
    box-shadow: unset;
}

.hikashop_small_cart_checkout_link {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

div.hikashop_product_quantity_change_div_leftright span:hover {
    background: unset;
}

.details-product-cart-hikashop-lmskaran .hikashop_product_quantity_field_custom_Manual_code {
    margin: 0 !important;
    padding: 0 !important;
    color: #ef4056 !important;
    font-size: 17px !important;
} 

.quantity_field_custom_manual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
}

span.add-on-maximam,
.delete-product_custom_Manual_code {
    padding: 10px;
}

span.add-on-maximam {
    cursor: default;
}

.hikashop_cart_module_product_price_value.hikashop_cart_value {
    margin: 5px 0;
    padding: 5px;
}

/* end */

/*مخفی شدن سبد خرید خالی میباشد*/


/*.hikashop_cart .empty-cart {
    visibility: hidden;
    position: relative;
    width: 30px;
    height: 30px;
}*/

.hikashop_cart .empty-cart {
    position: relative;
}

.hikashop_cart .empty-cart>span {
    display: none;
}

.hikashop_cart .empty-cart .content-empty-cart {
    display: flex;
    align-items: flex-end;
    width: fit-content;
}

.hikashop_cart .empty-cart .content-empty-cart>span {
    position: absolute;
    right: 19px;
    top: -11px;
    background: #1499ba;
    border-radius: 50%;
    height: 19px;
    width: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 11px;
    padding-top: 3px;
    padding-left: 1px;
}

.hikashop_cart .empty-cart .content-empty-cart>div {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    line-height: 1;
    margin-top: 10px;
}

.hikashop_cart .empty-cart .content-empty-cart>div>span:first-child {
    color: #a8a8a8;
    font-size: 0.6rem;
    font-weight: lighter;
}

.hikashop_cart .empty-cart .content-empty-cart>div>span:nth-child(2) {
    color: #1499ba;
    margin-top: 4px;
    font-size: 0.8rem;
    font-weight: 300;
    width: 100px;
}

/*.hikashop_small_cart_checkout_link::before, before style*/
/* .hikashop_cart .empty-cart .content-empty-cart::before {
    content: url(/modules/mod_hikashop_cart/assets/cart.svg);
    width: 20px;
    height: 20px;
    display: block;
    visibility: initial;
    transition: 0.3s;
    opacity: 0.5;
    margin-bottom: 6px;
} */

.hikashop_cart .empty-cart .content-empty-cart::before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' id='shopping-bag'%3E%3Cpath fill='%236563FF' d='M19,7H16V6A4,4,0,0,0,8,6V7H5A1,1,0,0,0,4,8V19a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V8A1,1,0,0,0,19,7ZM10,6a2,2,0,0,1,4,0V7H10Zm8,13a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V9H8v1a1,1,0,0,0,2,0V9h4v1a1,1,0,0,0,2,0V9h2Z'/%3E%3C/svg%3E");
    width: 30px;
    height: 30px;
    display: block;
    visibility: initial;
    transition: 0.3s;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: unset;
    margin: 0;
}

#g-topheader.jl-sticky-fixed.jl-active .hikashop_small_cart_checkout_link::before,
#g-topheader.jl-sticky-fixed.jl-active .hikashop_cart .empty-cart::before {
    width: 30px;
    height: 30px;
    display: block;
    visibility: initial;
    filter: invert(0);
    transition: 0.3s;
    opacity: 0.5;
}

.hikashop_cart_dropdown_content form * {
    color: #4e4e4e !important;
}

.hikashop_small_cart_total_title {
    /* background: linear-gradient(45deg, #ff4747, #ff5b5b);
    padding: 0px 6px;
    border-radius: 50%;
    color: white !important;
    font-size: 12px;
    position: relative;
    left: 13px;
    top: 10px; */
}

.hikashop_cart_proceed_to_checkout {
    background: #46aed6;
    color: white !important;
    transition: 0.3s;
}

.hikashop_cart_proceed_to_checkout:hover {
    background: #57aed6;
}


/* .hikashop_cart .empty-cart::after {
    content: "0";
    color: white;
    display: block;
    border-radius: 50%;
    background: red;
    position: absolute;
    visibility: initial;
    right: 26px;
    top: 16px;
    padding: 0px 6px;
    font-size: 13px;
    z-index: 0;
} */


/* new theme*/

.hikashop_small_cart_checkout_link {
    position: relative;
}

.hikashop_small_cart_checkout_link>span>span:first-child {
    position: absolute;
    right: 19px;
    top: -11px;
    background: #1499ba;
    border-radius: 50%;
    height: 19px;
    width: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 11px;
    padding-top: 3px;
    padding-left: 1px;
}

span.cart-welcome {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    line-height: 1;
    margin-top: 10px;
}

span.cart-welcome>span:first-child {
    color: #777;
    font-size: 11px;
}

span.cart-welcome>span:nth-child(2) {
    color: #1499ba;
    margin-top: 4px;
}


/*.hikashop_small_cart_checkout_link > span span:nth-child(2){
	position: relative;
	top: 14px;
	right: 10px;
}*/

/* new code customize */

.hikashop_cart_dropdown_content {
    width: 400px !important;
    left: 0px;
    top: 50px;
    border-radius: 10px;
    padding: 15px 0 0 0 !important;
}

.hikashop_cart_dropdown_content form[name="hikashop_cart_form"] {
    height: 400px;
    overflow-y: auto;
    margin: 0;
}

.hikashop_cart {
    display: flex;
    flex-direction: column-reverse;
}

.row-products-hikashop-lmskaran {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    position: relative;
}

.row-products-hikashop-lmskaran:not(:last-child)::before {
    content: "";
    width: 80%;
    height: 1px;
    background: #ededed;
    display: block;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.image-product-cart-hikashop-lmskaran {
    width: 40%;
    margin-left: 15px;
}

.details-product-cart-hikashop-lmskaran {
    width: 70%;
}

.details-product-cart-hikashop-lmskaran .hikashop_cart_module_product_name_value {
    font-weight: 700;
    color: black;
}

/* .hikashop_cart_module_product_delete_value.hikashop_cart_value {
    position: absolute;
    bottom: 25px;
    left: 10px;
} */ 

.hikashop_checkout_coupon_field::placeholder {
    font-weight: 300;
}

.delete-product-in-cart svg {
    width: 17px;
    height: auto;
}

.delete-product-in-cart svg path {
    fill: #ef4056;
}

.image-product-cart-hikashop-lmskaran img {
    width: 100%;
    border-radius: 10px;
}

span.hikashop_product_price_full{
    display: unset;
}

span.hikashop_product_price_full span {
    /* color: #2acb2a !important; */
    font-size: 0.9rem;
    font-weight: 500;
}

.number-this-product-lmskaran{
    font-size: 0.8rem;
    font-weight: 400;
    margin: 10px 0;
}

/* .number-this-product-lmskaran span:after {
    content: "عدد";
} */ 

.hikashop_checkout_coupon .hikashop_checkout_coupon_field {
    margin: 0 0 0 3px;
    border-radius: 5px;
    box-shadow: unset;
}

.hikashop_checkout_coupon .input-append {
    display: flex;
    justify-content: center;
}

.hikashop_checkout_coupon .input-append .hikashop_checkout_coupon_field {
    margin: 0 0 0 3px;
    border-radius: 5px;
    box-shadow: unset;
}

.hikashop_checkout_coupon .input-append button{
    background: #e1ebf3;
    color: #697ca2;
    border: 1px solid #cbd7e1;
    font-weight: 200;
    font-size: 0.8rem;
    padding: 5px 10px;
}


.hikashop_checkout_coupon label {
    font-weight: 300;
    font-size: 0.9rem;
    margin-right: 30px;
    margin-bottom: 10px;
    color: #8a8a8a;
    display: none !important;
}

.buttons-product-hikashop {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 15px 20px;
}

.buttons-product-hikashop > div:first-child {
    width: 50%;
}

.buttons-breack-cart {
    width: 50%;
    text-align: left;
}

.buttons-breack-cart a {
    margin: 2px;
    padding: 10px;
    border: unset;
}

.buttons-breack-cart a:nth-child(1){
    background: unset;
    color: #039eef !important;
    position: absolute;
    top: -2px;
    right: 10px;
    display: flex;
    align-items: center;
    background: #fff;
    width: 90%;
    border-bottom: 1px solid #e7e7e7;
    border-radius: 0;
}

.buttons-breack-cart a:nth-child(2){
    padding: 15px 15px;
    border-radius: 10px;
    transition:0.3s;
}

.buttons-breack-cart a:nth-child(2):hover{
    color: #fff !important
}

a.hikabtn.hikashop_cart_proceed_to_checkout::after {
    content: ">";
    content: "\f053";
    font-family: 'FontAwesome';
    margin-right: 5px;
    font-size: 0.6rem;
}

.hikashop_cart_module_product_total_title,
.hikashop_cart_module_coupon_title {
    color: #c2c2c2;
    text-align: right;
    font-size: 14px;
    font-weight: 300;
}

.hikashop_cart_module_product_total_value span {
    font-weight: 700 !important;
    font-family: inherit;
    font-size: 17px !important;
    margin-top: 5px;
    display: block;
    text-align: right !important;
}

.hikashop_checkout_coupon_field {
    padding: 5px 10px;
    width: 250px;
    max-width: 90%;
}

/* .hikashop_checkout_coupon{
    padding: 20px 0 0 0;
    border-top: 1px solid #e7e7e7;
} */

div#copon-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px;
    border-top: 1px solid #e7e7e7;
    padding-top: 10px;
    background: #fff;
}

div#copon-section svg {
    width: 17px;
}

div#copon-section svg path {
    fill: #ef4056;
}

.hikashop_product_quantity_div span {
    /* font-weight: 100; */
    color: #c2c2c2 !important;
}

.hikashop_cart_module_coupon_value {
    font-size: 0.9rem;
    color: #ff7b7b;
    margin-top: 3px;
}


div#copon-section .hikashop_checkout_coupon {
    margin-left: 7px;
}

/* light */

.light-cart .content-empty-cart div > span:first-child {
    color: #d9d9d9 !important;
}

.light-cart .content-empty-cart div > span:nth-child(2) {
    color: #ffffff !important;
}

.light-cart .content-empty-cart::before{
    opacity: 1 !important;
    filter: invert(1);
}

div.hikashop_cart_dropdown_content {
    z-index: 1000;
    position: absolute;
    width: auto;
    padding: 4px;
    background-color: white;
}

#hikashop_cart_module div.hikashop_cart_dropdown_content::before {
    content: "";
    border-top: 10px solid transparent;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 10px solid white;
    display: block;
    position: absolute;
    top: -18px;
    left: 20px;
    filter: drop-shadow(0px -5px 4px #cdcdcd);
    z-index: 0;
}

.hikashop_cart_dropdown_container {
    position: relative;
}

@media only screen and (max-width:1200px){
    .hikashop_cart_dropdown_content {
        left: 10%;
        top: 50px;
    }
}

@media only screen and (max-width:500px){
    .hikashop_cart .empty-cart .content-empty-cart>div{
        display: none;
    }

    .hikashop_cart .empty-cart .content-empty-cart>span {
        top: 14px;
        right: 13px;
        font-size: 9px;
        padding-top: 5px;
        padding-left: 0px;
    }

    .hikashop_cart_dropdown_content{
        width: 330px !important;
        left: -100%;
        top: 40px;
    }

    .hikashop_cart_dropdown_content form[name="hikashop_cart_form"]{
        height: 125px;
    }
}

/* کد های موقت که باید اون مشکل برطرف بشه و تا این کد ها حذف بشه */

div#copon-section{
    display: none;
}

.buttons-product-hikashop{
    border-top: 1px solid #e7e7e7;
    padding: 15px 0px;
    margin: 0 20px;
}