/* --------------------
    Cart & Checkout
-------------------- */
.gift-options .form-check input[type="radio"]:checked~label:before,
.woocommerce-shipping-methods input[type="radio"]:checked~label:before,
#payment input[type="radio"]:checked~label:before,
#customer-type_haghighi:checked~label[for=customer-type_haghighi].radio:before,
#customer-type_hoghooghi:checked~label[for=customer-type_hoghooghi].radio:before,
.woocommerce-checkout-review-order .wc_payment_methods li input[type="radio"]:checked~label:before {
    opacity: 1;
    background-position: 0 0;
}

.gift-options .form-check input[type="radio"]+label:before,
.woocommerce-form__label-for-checkbox span:before,
.woocommerce-shipping-methods li label:before,
#customer-type_field .woocommerce-input-wrapper label:before,
.woocommerce-checkout-review-order .wc_payment_methods li label:before {
    content: "";
    height: 16px;
    display: inline-block;
    width: 16px;
    margin: auto 0;
    padding-right: 0;
    border: 1px solid #212121;
    background: radial-gradient(#212121 50%, #fff 50%);
    background-position: 13px 0;
    background-repeat: no-repeat;
    border-radius: 50%;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;

}
.woocommerce-shipping-methods li input[type="hidden"] + label:before{
	content:none
}
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 16px;
    width: 16px;
    outline: none;
    cursor: pointer;
    background-color: #E8E2DD;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.woocommerce-form__label-for-checkbox input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    background-color: #1A1A1A;
    transition: 120ms transformease-in-out;
    transform-origin: bottom left;
    -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked+span:before,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked+span:after {
    opacity: 1;
}

.woocommerce-form__label-for-checkbox span:before {
    border-radius: 0;
}

.woocommerce-form__label-for-checkbox span {
    position: relative;
    display: flex;
    gap: 10px;
}

.gift-options .form-check input[type="radio"],
.woocommerce-shipping-totals.shipping #shipping_method input,
#customer-type_field .woocommerce-input-wrapper input,
.woocommerce-checkout-review-order .wc_payment_methods li input,
#ship-to-different-address input {
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    display: none;
}

.woocommerce-form__label-for-checkbox span:after {
    position: absolute;
    border-bottom: 2px solid #cc714b;
    border-right: 2px solid #cc714b;
    content: "";
    width: 6px;
    height: 12px;
    right: 3px;
    top: calc(50% - 8px);
    opacity: 0;
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    -o-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.woocommerce-cart-form-left-box {
    background-color: #fff;
    margin-bottom: 24px;
    padding: 12px;
}

.shop_table.shop_table_responsive .woocommerce-shipping-totals {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.woocommerce-cart-form-left-box tr.cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}

.woocommerce-cart-form-left-box tr.order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgb(224 179 162 / 20%);
    padding: 1rem;
}
.woocommerce-cart-form-left-box tbody {
    display: block;
}
.woocommerce-billing-fields .select2-container--default .select2-selection--single {
    border: 1px solid #e1e1e1;
    height: 46px;
    border-radius: 0;
    align-items: center;
    display: flex;
    background: #fff;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    top: 10px;
    display: flex;
    align-items: end;
}

.woocommerce-cart-form-left-box.cart-form-methods-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #212121;
}

.form-methods-box-title i {
    font-size: 22px;
    margin-left: 10px;
}

.woocommerce-shipping-methods label {
    padding-right: 30px;
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    position: relative;
    background: transparent;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    font-size: 13px;
}

.form-methods-box-title {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid #E8E2DD;
}

.product-item-title {
    font-family: var(--main_font);
    font-size: 14px !important;
    margin-bottom: 5px !important;
    line-height: 1.6;
    color: #151515;
}

.woocommerce-cart-form-totals .order-total {
    margin-top: 20px;
}

.order-total .price {
    color: #151515;
}

.woocommerce-order-details_items .inner .price img,
.order_details .total img,
.woocommerce-cart-form-totals img {
    filter: brightness(0);
}

.order-total strong {
    font-family: inherit;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals>div {
    width: 100%;
}

.woocommerce-error a,
.woocommerce-error a strong,
.woocommerce-error strong {
    color: var(--danger);
    font-family: var(--main_font);
}

.route-bar {
    position: relative;
    margin: 0 0 30px 0;
    user-select: none;
}

.route-bar:before {
    content: "";
    position: absolute;
    top: 29px;
    display: inline-block;
    width: 100%;
    height: 2px;
    background-color: #E8E2DD;
}

.route-bar .step-box .wrapper {
    text-align: center;
}

.route-bar .step-box .title a:hover {
    color: rgba(208, 147, 125, 1);
}

.route-bar .step-box .title,
.route-bar .step-box .title a {
    margin: 0;
    color: rgba(208, 147, 125, 1);
}

.route-bar .step-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(208, 147, 125, 1);
    border-radius: 50%;
    margin: 0 auto 5px auto;
    background: #fff;
}

.route-bar .step-box .icon-svg {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0;
}

.woocommerce-cart .route-bar .first-step .icon-svg,
.woocommerce-checkout .route-bar .first-step .icon-svg,
.woocommerce-checkout .route-bar .second-step .icon-svg,
.woocommerce-order-pay .route-bar .first-step .icon-svg,
.woocommerce-order-pay .route-bar .second-step .icon-svg,
.woocommerce-order-pay .route-bar .third-step .icon-svg,
.woocommerce-order-received .route-bar .first-step .icon-svg,
.woocommerce-order-received .route-bar .second-step .icon-svg,
.woocommerce-order-received .route-bar .third-step .icon-svg,
.woocommerce-order-received .route-bar .fourth-step .icon-svg {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.route-bar .step-box a.icon:hover {
    background-color: rgba(208, 147, 125, 1);
}

.route-bar .step-box a.icon:hover img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.woocommerce-cart .route-bar .first-step .icon,
.woocommerce-checkout .route-bar .first-step .icon,
.woocommerce-checkout .route-bar .second-step .icon,
.woocommerce-order-pay .route-bar .first-step .icon,
.woocommerce-order-pay .route-bar .second-step .icon,
.woocommerce-order-pay .route-bar .third-step .icon,
.woocommerce-order-received .route-bar .first-step .icon,
.woocommerce-order-received .route-bar .second-step .icon,
.woocommerce-order-received .route-bar .third-step .icon,
.woocommerce-order-received .route-bar .fourth-step .icon {
    background-color: rgba(208, 147, 125, 1);
}


/* --------------------
    Cart 
-------------------- */
.section-cross-sells {
    grid-column: 1 / -1;
    width: 100%;
}

.count-head {
    font-size: 14px;
    padding-bottom: 1rem;
    font-weight: 800;
    border-bottom: 1px solid #E8E2DD;
    line-height: 1;
}

.cart-empty.woocommerce-info {
    margin-bottom: 20px;
}

.return-to-shop {
    text-align: center !important;
}

.woocommerce-shipping-destination {
    text-align: right;
    font-size: 12px;
}
table.shop_table {
    border-collapse: collapse;
    width: 100%;
}

table.shop_table .product-name .variation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
}

table.shop_table .product-name .variation dt {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    line-height: 2;
}

table.shop_table .product-name .variation dd {
    line-height: 2;
}

table.shop_table .actions {
    display: none !important;
}

.product-remove {
    font-size: 16px;
    margin-right: 17px;
}

.product-remove i::before{
    color: red;
}
.title-bundle-price{
    font-size: 14px;
}
.grid-card .woocommerce-cart-form .shop_table tr:not(.coupon-cart) {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) -webkit-max-content;
    grid-template-columns: 7rem minmax(0, 1fr) max-content;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
    row-gap: 5px;
}

.tools-card-items {
    display: flex;
    align-items: center;
    gap: 2.3rem;
    margin-top: auto;
}

.woocommerce-cart-form__cart-item .product-subtotal {
    font-size: 18px;
    color: rgba(208, 147, 125, 1);
    font-variation-settings: "wght" 400;
}

.woocommerce-cart-form__cart-item {
    border: 1px solid #e6e6e6;
    margin-bottom: 2rem;
    padding: 2rem;
}

.woocommerce-cart-form__cart-item .product-subtotal bdo {
    display: flex;
    align-items: anchor-center;
    flex-direction: row-reverse;
    gap: 8px;
}

.quantity button:hover {
    background: rgba(224, 179, 162, 1);
}

.tools-card-items .product-quantity {
    width: 100px;
}

.tools-card-items .product-remove i {
    vertical-align: middle;
}

td.product-subtotal {
    font-size: 18px;
}

.product-thumbnail img {
    background-color: #f6f6f6;
    border-radius: 6px;
    width: 110px;
    height: 110px;
}

.product-thumbnail {
    width: 100%;
}

.wc-proceed-to-checkout {
    margin-top: 1rem;
    text-align: center;
	width:100%;
}

.wc-proceed-to-checkout .button {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
}


.woocommerce-cart-form-left-box.woocommerce-cart-form-totals {
    position: -webkit-sticky;
    position: sticky;
    top: 13rem;
    background: rgb(224 179 162 / 20%);
    padding: 1.5rem;
}

form .prd-cart-rc .quantity input::-webkit-outer-spin-button,
form .prd-cart-rc .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prd-cart-rc {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 0 10px;
    width: 100%;
    justify-content: space-between;
    order: 1;
}

form .prd-cart-rc .remove {
    font-size: 13px;
    color: #151515;
}

form .prd-cart-rc .remove:hover {
    color: red;
}

.woocommerce-cart-form-price-box {
    padding: 0 10px 0px;
    align-self: center;
    margin-right: auto;
    flex: 0 0 100%;
    font-size: 12px;
    margin-top: 20px;
    order: 0;
}

.woocommerce-cart-form-price-box .product-price {
    display: flex;
    justify-content: center;
    text-decoration: none !important;
    flex-direction: column;
    align-items: flex-end;
    color: #252525;
    position: relative;
    font-size: 12px;
    gap: 0;
}

.woocommerce-cart-form-price-box .product-price ins {
    text-decoration: none;
}

.woocommerce-cart-form-price-box .product-price>span:not(.on-sale),
.woocommerce-cart-form-price-box .product-subtotal>span:not(.on-sale) {
    color: #212121;
}

.woocommerce-cart-form-price-box .product-price>ins::before,
.woocommerce-cart-form-price-box .product-price>.woocommerce-Price-amount::before {
    content: 'قیمت';
    color: #212121;
}

.woocommerce-cart-form-price-box .product-price>.amount,
.woocommerce-cart-form-price-box .product-subtotal>.amount {
    color: #252525
}

.woocommerce-cart-form-price-box .product-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #d9d9db;
    margin-top: 10px;
    padding-top: 10px;
}

ul.cart-attributes li span {
    display: inline-flex;
    align-items: center;
    padding-left: 3px;
}




.cart-img {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
}

.cart-item-info {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.woocommerce-cart-form-totals>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #151515;
}

form.woocommerce-shipping-calculator {
    width: 100%;
    margin-top: 1rem;
}
#shipping-calculator-form .button {
    margin-top: 0;
    width: 100%;
	height: 32px;
}

a.shipping-calculator-button {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
a.shipping-calculator-button:after {
      content: "\e915";
    font-family: icomoon;
    display: inline-block;
    line-height: 1;
    vertical-align: 2px;
    margin-right: 5px;
    font-size: 10px;
        transition: 0.3s;
}

.cart-form-methods-box .woocommerce-shipping-calculator label{
        display: block;
    font-weight: 500;
    font-size: 16px;
    color: rgba(51, 63, 72, 1);
    text-align: right;
}

.cart-form-methods-box .woocommerce-shipping-calculator input{
          padding: 7px;
    border: 1px solid rgba(223, 226, 247, 1);
    background: rgba(255, 255, 255, 1);
        width: 100%;
}

.cart-form-methods-box .select2-selection__rendered{
        padding: 7px;
    border: 1px solid rgba(223, 226, 247, 1);
    background: rgba(255, 255, 255, 1);
    width: 100%;
    display: block;
	height:44px
}

.cart-form-methods-box .select2-selection--single{
        border: none;
            height: max-content;
}
.cart-form-methods-box .select2-selection__arrow{
    top: 3px !important;
}
.shipping-calculator-button[aria-expanded="true"]:after{
        transform: rotate(180deg);
}

.cart-subtotal .value .woocommerce-Price-amount bdi,
.order-total bdi {
    display: flex;
    align-items: center;
    display: flex;
    gap: 4px;
    line-height: 22px;
    flex-direction: row-reverse;
}

.woocommerce-cart-form-price-box .product-price>del .woocommerce-Price-amount bdi {
    text-decoration: line-through;
}

.woocommerce-cart-form-price-box .product-price>del {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}

.woocommerce-cart-form-price-box .product-price>ins,
.woocommerce-cart-form-price-box .product-price>.woocommerce-Price-amount {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.cart-empty-page-top {
    margin: 30px auto;
    padding: 2rem 1rem;
    text-align: center;
}

.cart-empty-top-sub {
    text-align: center;
    font-size: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}

.cart-empty-top-sub i.icon-shopping {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cart-empty-top-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cart-empty-page-bottom .title-site p {
    text-align: center;
}

.cart-empty-page-bottom .title-heading {
    font-size: 20px;
}

.cart-empty-page-bottom {
    margin-top: 80px;
}

.product-subtotal .price .price_holder del bdi .woocommerce-Price-currencySymbol {
    display: flex;
    gap: 2px;
}

.product-subtotal .price .price_holder del bdi .woocommerce-Price-currencySymbol:before {
    content: "تخفیف";
    display: flex;
    font-size: 11px;
}

.product-subtotal .price .price_holder del {
    text-decoration: none;
}

/* --------------------
    Gift
-------------------- */
#gift-wrapper .left-side.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 1rem 0;
}

#gift-wrapper {
    background: #FFFCF7;
    margin-bottom: 12px;
    padding: 0 1rem;
}

.gift-options .form-check {
    border-top: 1px solid #E8E2DD;
    padding: 1rem 0;
}

#gift-card-msg {
    width: 100%;
    font-family: var(--main_font);
    font-size: 13px;
    padding: 12px;
    min-height: 90px;
    border: 1px solid #1A1A1A1F;
    margin-bottom: 1rem;
}

.gift-options .rightside,
.gift-options .form-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.gift-card-msg-wrapper small {
    font-size: 12px;
    margin-top: -12px;
    display: block;
    color: #757575;
    margin-bottom: 12px;
}

/* --------------------
    Checkout
-------------------- */

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: rgba(224, 179, 162, 0.4);
    color: rgba(51, 63, 72, 1);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-size: clamp(14px, 13.4288px + 0.1786vw, 16px);
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: rgba(51, 63, 72, 1);
}

.woocommerce-form-coupon-toggle .showcoupon {
    font-variation-settings: "wght" 400;
    border-bottom: 1px solid;
    font-size: 15px;
}

#customer-type_field .woocommerce-input-wrapper label,
.woocommerce-checkout-review-order .wc_payment_methods li label {
    font-size: 13px !important;
    margin-right: 0;
    display: inline-flex;
    align-items: unset;
    margin-bottom: 0 !important;
    flex-wrap: wrap;
    line-height: 1.2;
    padding-right: 13px;
    cursor: pointer;
}

#customer-type_field .woocommerce-input-wrapper label[for="customer-type_haghighi"] {
    padding-right: 0;
}

#customer-type_field .woocommerce-input-wrapper label:before {
    position: unset;
    margin-left: 5px;
}

#billing_country_field,
#shipping_country_field {
    display: none;
}

#payment {
    margin-top: 15px;
}

#payment ul li {
    user-select: none;
}

#payment label {
    cursor: pointer;
    margin-bottom: 0;
    vertical-align: middle;
    display: inline-flex !important;
    align-items: center;
    position: relative;
    background: transparent;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
    color: #212121 !important;
    z-index: 0;
}

.payment_box.payment_method_cod p {
    margin: 0 !important;
}

.woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    text-align: justify;
    line-height: 1.8;
    margin-top: 1rem;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: rgba(208, 147, 125, 1);
}

#payment label img {
    margin: 0;
    margin-right: 5px;
    vertical-align: middle;
}


.wc_payment_method input {
    float: none !important;
    clear: both !important;
    position: relative;
    top: 1px;
    margin-left: 10px;
}

.wc_payment_methods.payment_methods.methods li {
    background-color: #fff;
    padding: 15px;
}

.review-order-form-box>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.woocommerce-shipping-methods label .woocommerce-Price-amount.amount bdi,
.review-order-form-box .woocommerce-Price-amount.amount bdi, 
.review-order-form-box .woocommerce-Price-amount.amount {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.review-order-form-box>.coupon-test div:has(.woocommerce-Price-amount) {
    font-size: 0;
}

.woocommerce-remove-coupon {
    font-size: 14px;
}

.review-order-form-box .cart-discount>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-subtotal .woocommerce-Price-amount.amount bdi {
    color: #151515;
}

.payment_box {
    background: rgba(208, 147, 125, 1);
    padding: 6px 15px;
    margin-top: 15px;
    font-size: 13px;
    color: #fff;
}

#payment li:before {
    display: none;
}

.place-order .button {
    width: 100%;
}

.place-order .button, .map-checkout-container .button{
    background: rgba(208, 147, 125, 1);
}

.checkout-inline-error-message {
    display: none;
}

.checkout_coupon.woocommerce-form-coupon {
    background: #E8E2DD;
    padding: 1rem;
    border: 1px solid #E3E3E3;
    margin: auto;
    position: relative;
    font-size: 14px;
}

.checkout.woocommerce-checkout {
    margin-top: 20px;
}

.clear {
    clear: both;
}

.checkout_coupon.woocommerce-form-coupon p:not(.form-row) {
    margin-bottom: 10px;
}

#order_review_heading {
    display: none;
}

.woocommerce-checkout .woocommerce-error {
    margin: 20px 0;
    padding: 5px;
}

.woocommerce-checkout .woocommerce-error li {
    margin: 5px 0;
    color: var(--danger);
    font-size: 14px;
    justify-content: flex-end;
    padding: 0 1rem;
}

.delivery-wrapper {
    margin-bottom: 15px;
}

.delivery-wrapper .title {
    flex: 100%;
    margin-bottom: 16px;
}

.delivery-wrapper select {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}

.checkout-review-order-wrap .cart_item-review:last-of-type {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.cart_item-review_top h3 {
    line-height: 1.8;
    text-align: right;
}

.woocommerce-order .delivery-wrap {
    text-align: center;
    margin: 12px auto;
    position: relative;
    border: 1px solid #1A1A1A1F;
    font-size: 13px;
    background: #FFFCF7;
    padding: 0 12px;
}

.delivery-wrap ul li span {
    font-weight: bold;
}

.delivery-wrap ul li strong i {
    font-size: 18px;
    margin-left: 12px;
    color: var(--color2);
}

.delivery-wrap ul li strong {
    display: flex;
    align-items: center;
    color: #939393;
    font-weight: normal;
}

.delivery-wrap ul {
    color: var(--color1);
    margin-bottom: 0 !important;
}

.delivery-wrap ul li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#ship-to-different-address label {
    position: unset;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent;
}


.delivery-wrapper .title,
.woocommerce-additional-fields>h3,
.woocommerce-billing-fields>h3 {
    text-align: center;
    font-size: clamp(16px, 15.429px + 0.1786vw, 18px);
    font-variation-settings: "wght" 400;
    background: #fff;
    padding: 1rem;
}

.woocommerce-additional-fields__field-wrapper {
    margin: 2rem 0 4rem;
}

.woocommerce-shipping-fields input[type="text"],
.woocommerce-billing-fields input[type="text"],
.woocommerce-billing-fields input[type="tel"],
.woocommerce-billing-fields input[type="email"] {
    padding: 18px 22px;
    border: 1px solid rgba(223, 226, 247, 1);
    background: rgba(255, 255, 255, 1);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
}

.woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.woocommerce-additional-fields__field-wrapper textarea {
    border: 1px solid #e1e1e1;
    background: #fff;
    width: 100%;
    min-height: 110px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
    font-family: var(--main_font);
}

.woocommerce-shipping-fields input[type="text"]:focus,
.woocommerce-billing-fields input[type="text"]:focus,
.woocommerce-billing-fields input[type="tel"]:focus,
.woocommerce-billing-fields input[type="email"]:focus,
.woocommerce-additional-fields__field-wrapper textarea:focus {
    border-color: var(--color1);
}

.woocommerce-shipping-fields label,
.woocommerce-billing-fields label,
.woocommerce-additional-fields__field-wrapper label {
    display: block;
    font-weight: 500;
    margin: 0 0 3px;
    padding: 0;
    font-size: 14px;
    color: rgba(51, 63, 72, 1);
    text-align: right;
}

.required {
    margin-left: 5px;
    text-decoration: none;
    color: red;
}

.woocommerce-checkout-review-order-table #shipping_method {
    width: 100%;
    margin: 0;
}

.woocommerce-checkout-review-order-table #shipping_method li {
    width: 100%;
    margin: 0;
}

.woocommerce-additional-fields {
    margin-top: 1rem;
    padding: 12px;
}

.cart_item-review-image {
    flex: 0 0 15%;
}

.cart_item-review-image img {
    margin: 0;
}

.review-order-form-box {
    margin-top: 20px;
}

.cart_item-review_top {
    display: flex;
    gap: 10px;
}

.checkout-review-order-wrap .cart_item-review {
    margin-bottom: 10px;
    border-bottom: 1px solid #ececec;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.checkout-review-order-wrap {
    padding: 12px;
    background: #fff;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals .woocommerce-cart-form-left-box {
    border: none;
    box-shadow: none;
    padding: 20px 0px 7px 0px;
    margin-bottom: 22px;
    width: 100%;
}

.woocommerce-checkout-review-order-table .order-total {
    background-color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-top: 20px;
    color: #212121;
    font-size: 18px;
    font-weight: bold;
}

.woocommerce-checkout-review-order-table .order-total strong {
    font-family: var(--main_font);
    font-weight: bold;
}

.woocommerce-checkout-review-order-table .order-total bdi {
    color: #252525;
}

.cart_item-review .product-total>div {
    display: flex;
    align-items: center;
    justify-content: end;
    color: var(--color2);
}

.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper #national-code_field {
    width: 100% !important;
}

.woocommerce-billing-fields__field-wrapper,
#wbs-receiver-wrapper .receiver-extra-fields .wrap {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    -moz-column-gap: 1.5rem;
    column-gap: 1.5rem;
    grid-template-rows: -webkit-min-content -webkit-min-content;
    grid-template-rows: min-content min-content;
    grid-auto-rows: -webkit-min-content;
    grid-auto-rows: min-content;
    grid-auto-flow: dense;
    align-items: end;
}

.coupon-label {
    white-space: nowrap;
}

.coupon-fields {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-right: auto;
}

.coupon-fields .button {
    min-width: 125px;
    gap: 5px;
    margin-top: 0;
}

.cart-attributes {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 0;
    color: #757575;
}

.grid-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

#customer-type_field {
    grid-column: 1 / -1;
}

.form-row-wide {
    clear: both;
    width: 100%;
    margin-bottom: 12px;
}

#address_selector_field {
    grid-column: 1 / -1;
}

#billing_address_1_field {
    grid-column: 2 / -1;
}


.woocommerce-billing-fields .select2,
.woocommerce-billing-fields .select2-selection {
    min-height: 57.2px;
}

#delivery_day_field .woocommerce-input-wrapper label {
    padding: 1rem .5rem !important;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#delivery_day_field .woocommerce-input-wrapper input[type="radio"] {
    visibility: hidden;
    position: absolute
}

#delivery_day_field .woocommerce-input-wrapper input[type="radio"]:checked+label {
    color: var(--color_paragraph) !important;
    border-bottom: 2px solid var(--color2);
    font-family: var(--bold_font);
}

#delivery_day_field input[type="radio"]:disabled,
#delivery_time_field input[type="radio"]:disabled,
#delivery_time_field input[type="radio"]:disabled+label,
#delivery_day_field input[type="radio"]:disabled+label {
    opacity: .5;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    cursor: wait
}

#delivery_day_field .woocommerce-input-wrapper {
    display: flex
}

.delivery-inner {
    background: #fff;
    border: 1px solid #e1e1e1;
    margin: 1rem 0;
}

#delivery_day_field {
    padding: 0 1rem;
    border-bottom: 1px solid #e1e1e1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: auto;
    white-space: nowrap
}

#delivery_time_field>label,
#delivery_day_field>label {
    display: none !important
}

#delivery_time_field {
    padding: 0rem 1rem;
}

#delivery_time_field .woocommerce-input-wrapper label {
    display: inline-block;
    margin-bottom: 0.5rem;
    width: calc(100% - 16px - 1rem);
    font-size: 16px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

#delivery_time_field input[type="radio"]:checked {
    border: 1px solid #212121 !important;
    box-sizing: border-box !important;
    background: #212121 !important;
    box-shadow: inset 0 0 0 3px #fff !important;
}

#delivery_time_field input[type="radio"] {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    border: 1px solid #212121;
    margin-left: 7px;
    vertical-align: middle;
}

#invoice-extra-fields {
    display: none;
}

.woocommerce-form-coupon input {
    width: min(400px, 100%);
    margin-bottom: 0 !important;
    padding-left: 8rem;
    min-height: 46px;
    border: 1px solid #1A1A1A1F;
    padding: 12px 12px 12px 8rem;
}

a.showcoupon {
    color: #000;
    font-size: 12px;
    border-bottom: 1px solid #000;
}


.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.mce-panel .mce-btn i.mce-caret:before,
.select2-selection--single .select2-selection__arrow:before {
    content: "\e915";
    display: block;
    z-index: 1;
    font-family: "icomoon";
    pointer-events: none;
    line-height: 1;
    font-size: 13px;
    color: #adadad;
}



/* --------------------
   Thankyou
-------------------- */
p.order-print {
    display: none;
}

ul.order_details {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px solid #1A1A1A1F;
    font-size: 13px;
    background: #fff;
    margin: 12px 0;
    gap: 0.5rem;
    align-items: center;
}

.order_details li {
    width: 100%;
    color: #939393;
}

.woocommerce-order-received strong {
    color: #1A1A1A;
}

.order_details .total strong bdi {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.order_details .total {
    display: flex;
    align-items: center;
}

.woocommerce-table--order-details td h3,
.woocommerce-order-received strong {
    font-family: inherit;
    font-weight: bold;
}

.woocommerce-thankyou-order-received {
    text-align: center;
    font-size: clamp(16px, 15.429px + 0.1786vw, 18px);
    font-variation-settings: "wght" 400;
    background: rgba(224, 179, 162, 0.4);
    padding: 1rem;
}

.delivery-wrap h2 {
    border-bottom: 1px solid #E8E2DD;
    text-align: right;
    font-size: 14px;
    font-family: inherit;
    font-weight: bold;
    padding: 1rem 0;
}

.woocommerce-order-details__title,
.woocommerce-customer-details .woocommerce-column__title {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #212121;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
    border-bottom: 1px solid #E8E2DD;
}

.myaccount-order-details-product-w {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
}


.woocommerce-customer-details,
.woocommerce-order-details {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 16px;
}

.woocommerce-order-details_items {
    margin-bottom: 16px;
}

table.order_details thead th {
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border-bottom: 1px solid #1A1A1A1F;
}

.woocommerce-order-overview+p {
    display: none;
}

.woocommerce-table--order-details td,
.woocommerce-table--order-details th {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce-table--order-details td {
    font-size: 13px;
}

.woocommerce-table--order-details td small {
    font-size: 12px;
}

th.order-actions--heading+td {
    gap: 1rem;
}

.woocommerce-table--order-details tfoot th {
    background: #E8E2DD;
    border-bottom: 1px solid #1A1A1A1F;
}

.woocommerce-table--order-details tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce-customer-details address {
    padding: 12px;
}

.woocommerce-order-details_items .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-size: 14px;
    padding: 20px 12px;
    text-align: center;
}

.inner.shipping .value {
    font-size: 0;
}

.inner.shipping .price {
    font-size: 16px;
}

.woocommerce-order-details_items .inner .shipped_via {
    display: none;
}

.order-details-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50%;
    gap: 1rem;
}

.order-details-total .title {
    color: #939393;
    font-size: 13px;
}

.woocommerce-order-details_items .inner .price {
    color: #151515;
}

.myaccount-order-details-product-w .product-subtotal {
    margin-right: auto;
}

.myaccount-order-details-product-w .product-name {
    display: flex;
    flex-direction: column;
}

.myaccount-order-details-product-w .product-name span {
    font-size: 12px;
}

/* --------------------
   Responsive
-------------------- */

.mobile .wc-proceed-to-checkout {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    background: #E8E2DD;
    margin-bottom: 0;
}

.mobile .wc-proceed-to-checkout .button {
    margin: 1rem 1.5rem;
}


.mobile #place_order {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 43;
    height: 68px;
    border-radius: 0;

}

.grid-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 31%;
    gap: 2.3rem;
    position: relative;
}

.product-quantity .icon-minus {
    font-size: 2px;
}


.quantity {
    align-items: center;
    min-width: 139px;
    line-height: 1;
    padding: 10px !important;
    border: 1px solid rgba(218, 222, 227, 1);
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
}

.quantity button {
    min-width: 35px;
    max-width: 35px;
    height: 35px;
    background: rgba(213, 216, 222, 1);
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.quantity input {
    width: 100%;
    height: 36px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.25rem;
}

td.product-name {
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout-review-order-table tr{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.woocommerce-checkout-review-order-table thead{
    background-color: #fff;
    padding: 12px;
    display: block;
    margin-bottom: 16px;
}

.woocommerce-checkout-review-order-table tbody{
    background-color: #fff;
    padding: 12px;
    display: flex;
    margin-bottom: 16px;
    flex-direction: column;
    gap: 16px;
}
.woocommerce-checkout-review-order-table thead .product-name, .woocommerce-checkout-review-order-table thead .product-total{
    font-weight: 700;
}
.woocommerce-checkout-review-order-table .cart-subtotal{
    background-color: #fff;
    padding: 12px;
    display: flex;
    margin-bottom: 16px;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals{
    background-color: #fff;
    padding: 12px;
    margin-bottom: 16px;
    flex-direction: column;
}

.woocommerce-checkout-review-order-table bdi{
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: inherit;
}
@media screen and (min-width: 22.5rem) {
    .product-subtotal>.price {
        min-width: 200px;
        justify-content: flex-end;
    }

    .product-subtotal>.price:before {
        content: "قیمت:";
        margin-left: 6px;
        display: inline-flex;
    }
}

@media screen and (min-width: 768px) {
    table.shop_table td.product-quantity .quantity {
        max-width: 150px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 48rem) {
    .delivery-wrap ul {
        display: flex;
        gap: 4rem;
    }

    .woocommerce-cart-form-price-box {
        margin-top: 0;
    }

    .cart-img {
        flex: 0 0 15%;
        max-width: 15%;
        padding: 0 10px;
    }

    .woocommerce-cart-form-price-box {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .cart-item-info {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .woocommerce-Address-title.title h3 {
        margin-bottom: 0 !important;
    }

    .woocommerce-Addresses .woocommerce-Address {
        flex: 0 0 48%;
        max-width: 48%;
        margin-bottom: 20px;
    }

    #customer_login,
    .woocommerce-Addresses,
    .woocommerce-account.logged-in .woocommerce {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #customer_login .u-column,
    #customer_login .u-column1,
    #customer_login .u-column2 {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .woocommerce-MyAccount-navigation {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .woocommerce-MyAccount-content {
        flex: 0 0 73%;
        max-width: 73%;
    }

    .order-details-total {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 62rem) {

    .woocommerce-EditAccountForm fieldset p:nth-of-type(1),
    .woocommerce-EditAccountForm fieldset p:nth-of-type(2) {
        width: 100%;
    }

    .woocommerce-billing-fields__field-wrapper,
    #wbs-receiver-wrapper .receiver-extra-fields .wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-checkout {
        grid-template-columns: minmax(0, 1fr) 31%;
    }

    ul.order_details li {
        flex: 0 0 calc(20% - 0.5rem);
        max-width: calc(20% - 0.5rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


}

@media screen and (min-width: 75em) {

    .cart-item-info {
        justify-content: flex-start;
    }

    .prd-cart-rc {
        position: absolute;
        bottom: 0;
        flex: 0 0 45%;
        max-width: 45%;
        right: 15%;
        bottom: 10px;
        margin-top: 0;
    }

    .coupon-fields .button {
        min-width: 155px;
    }

    .woocommerce-cart-form-price-box {
        flex: 0 0 40%;
    }
}

@media only screen and (max-width: 87.5rem) and (min-width: 75em) {
    .product-item-title {
        margin-bottom: 0 !important
    }
}

@media screen and (min-width: 87.5rem) {
    .cart_item-review.cart_item .product-name {
        flex: 0 0 65%;
    }

    .cart_item-review.cart_item .product-total {
        flex: 0 0 35%;
    }

    .woocommerce-cart-form-price-box {
        flex: 0 0 30%;
    }
}

.checkout_coupon {
    display: flex;
    align-items: center;
    gap: 24px;
}

.checkout_coupon button {
    margin: 0;
}

@media screen and (max-width: 771rem) {
    .route-bar .step-box .icon {
        width: 47px;
        height: 47px;
    }

    .route-bar .step-box .icon img {
        width: 21px;
        height: 21px;
    }

    .route-bar .step-box .title,
    .route-bar .step-box .title a {
        font-size: 13px;
        font-variation-settings: "wght" 400;
    }


    .product-subtotal bdi {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        gap: 4px;
    }

    .woocommerce-cart .websima-footer-swiper {
        z-index: 0;
    }

 


}

@media screen and (max-width: 771px) {
    .woocommerce-billing-fields__field-wrapper,
    #wbs-receiver-wrapper .receiver-extra-fields .wrap {
        display: block;
    }

    .product-subtotal {
        grid-column: 2;
    }

    .grid-card .woocommerce-cart-form .shop_table tr:not(.coupon-cart) {
        grid-template-columns: 6rem minmax(0, 1fr);
        gap: 8px;
        padding: 15px;
    }

    .quantity {
        min-width: 125px;
        padding: 6px !important;
    }

    .product-remove {
        margin-right: 0px;
    }

    .woocommerce-cart .mobile-quick-access {
        display: none;
    }

    .grid-card {
        grid-template-columns: auto;
    }

}