/* --------------------
    Cart & Checkout
-------------------- */
.gift-options .form-check input[type="radio"]:checked ~ label:before,
.woocommerce-shipping-methods input[type="radio"]:checked ~ label:before,
.woocommerce-shipping-methods input[type="hidden"] ~ label:before, /* only one shipping method: WooCommerce prints no radio, it is selected (1.1.1) */
#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-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-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 {
    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: #FFFCF7;
    margin-bottom: 24px;
    padding: 12px;
}
.shop_table.shop_table_responsive .woocommerce-shipping-totals {
    margin-bottom: 20px;
}
.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;
}
.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;
}
.woocommerce-cart-form {
    background: #FFFCF7;
    padding: 1rem 0.75rem;
    height: fit-content;
}
.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: var(--color1);
}
.route-bar .step-box .title, .route-bar .step-box .title a {
    margin: 0;
    color: #363636;
    font-family: var(--main_font);
    font-size: 12px;
}
.route-bar .step-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    border: 1px solid #E8E2DD;
    border-radius: 50%;
    margin: 0 auto 5px;
    background: #FAF7F1;
    margin-top: 1.5rem;
}

.route-bar .step-box .icon-svg {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 0 !important;
}

.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: #121212;
}
.woocommerce-checkout .route-bar .second-step .icon:before,
.woocommerce-cart .route-bar .first-step .icon:before {
    content: "";
    background: #121212;
    width: 50%;
    display: inline-flex;
    height: 2px;
    position: absolute;
    right: 0;
}
.woocommerce-order-received .route-bar .second-step .icon:before,
.woocommerce-order-received .route-bar .third-step .icon:before,
.woocommerce-order-received .route-bar .fourth-step .icon:before,
.woocommerce-order-pay .route-bar .first-step .icon:before,
.woocommerce-order-pay .route-bar .second-step .icon:before,
.woocommerce-checkout .route-bar .first-step .icon:before{
	width: 100%;
	content: "";
    background: #121212;
    display: inline-flex;
    height: 2px;
    position: absolute;
    right: 0;
}

/* --------------------
    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: center !important;
}
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 {
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: #151515;
    line-height: 1;
}
td.product-subtotal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.product-thumbnail img {
    max-width: 70px;
}
.product-thumbnail {
    max-width: 70px;
    margin-left: 12px;
}
.wc-proceed-to-checkout {
    margin-top: 20px;
    text-align: center;
}
.wc-proceed-to-checkout .button {
    height: 45px;
    width: 100%;
    background: var(--color1);
    border: 1px solid var(--color1);
    color: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius:4px;
}
.cart-collaterals h2 {
    display: none;
}
.woocommerce-cart-form-left-box.woocommerce-cart-form-totals {
    padding: 20px 1rem 7px;
    background: #E8E2DD;
    font-weight: bold;
}
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;
}
.woocommerce-cart-form__cart-item {
    border-bottom: 1px solid #ececec;
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
	position:relative;
}
:nth-last-child(1 of .woocommerce-cart-form__cart-item) {
    border-bottom: none;
    padding-bottom: 0;
}
.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__cart-item:last-of-type {
    margin-bottom: 0;
    border-bottom: none;
}
.quantity {
    background: #E8E2DD;
    border-radius: 4px;
    align-items: center;
    line-height: 1;
    gap: 0.5rem;
    display: flex;
    max-width: 100px;
}
.quantity button {
    height: 100%;
    background: transparent;
    border: none;
    padding: 8px;
}
.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;
}
.woocommerce-cart-form-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #151515;
}
.wc-proceed-to-checkout {
    text-align: center;
    margin: 25px auto 20px;
    justify-content: center !important;
}
form.woocommerce-shipping-calculator {
    width: 100%;
}
#shipping-calculator-form .button {
    margin-top: 0;
	background:#212121;
	color:#fff;
	width:100%;
}
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: "\e912";
    font-family: icomoon;
    display: inline-block;
    line-height: 1;
    vertical-align: 2px;
    margin-right: 5px;
    font-size: 10px;
}
#shipping-calculator-form .button:hover {
    color: #212121;
}
#shipping-calculator-form .button:after{
	background: #fff;
	color:#212121
}
.cart-subtotal .value .woocommerce-Price-amount 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
-------------------- */
.checkout_billing {
    background: #FFFCF7;
    padding: 12px;
}
.woocommerce-form-coupon-toggle {
    background: #E8E2DD;
    padding: 1rem 0.5rem;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}
#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;
    color: #151515;
    text-align: justify;
    line-height: 1.8;
	margin-top: 1rem;
}
#payment label img {
    margin: 0;
    margin-right: 5px;
    vertical-align: middle;
}
.woocommerce-billing-fields__field-wrapper {
    margin-top: 1rem;
}
.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: #FFFCF7;
    border-radius: 5px;
    padding: 15px;
}
.checkout-inline-error-message {
    display: none;
}
.review-order-form-box > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.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 {
    flex-direction: row-reverse;
    color: #151515;
}
.payment_box {
    background: #E8E2DD;
    padding: 6px 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 13px;
    color: #151515;
}

#payment li:before {
    display: none;
}
#place_order {
    width: 100%;
    justify-content: center;
    display: flex;
    height: 45px;
    margin: 15px auto;
    background: #1A1A1A;
    color: #fff;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #1A1A1A !important;
}
#place_order:hover {
    color: #1a1a1a;
    background: transparent;
}
.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%;
}
.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 {
    color: #252525;
    position: relative;
    margin: 0;
    height: 54px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    font-size: 18px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #E8E2DD;
}
.woocommerce-shipping-fields input[type="text"], 
.woocommerce-billing-fields input[type="text"],
 .woocommerce-billing-fields input[type="tel"],
 .woocommerce-billing-fields input[type="email"] {
    border: 1px solid #e1e1e1;
    height: 46px;
    background: #fff;
    width: 100%;
	padding:6px 12px;
	font-size:14px;
	transition:0.3s;
}
.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 {
    color: #151515 !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.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;
    background: #FFFCF7;
    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: #FFFCF7;
}
.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: #E8E2DD;
    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;
}

.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: table;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}
.grid-checkout tbody {
    display: table-row-group;
}
.grid-checkout tr {
    display: table-row;
}
.grid-checkout .grid-checkout-col {
    display: table-cell;
    vertical-align: top;
    padding: 0;
}
.grid-checkout .grid-checkout-col-form {
    width: auto;
}
.grid-checkout .grid-checkout-col-review {
    width: 35%;
    padding-inline-start: 2rem;
}
.grid-checkout .checkout-side {
    margin-top: 0;
}
@media screen and (max-width: 61.999rem) {
    .grid-checkout,
    .grid-checkout tbody,
    .grid-checkout tr,
    .grid-checkout .grid-checkout-col {
        display: block !important;
        width: 100% !important;
    }
    .grid-checkout .grid-checkout-col-review {
        width: 100% !important;
        padding-inline-start: 0;
        margin-top: 2rem;
    }
}
#customer-type_field {
    order: -1;
}
.form-row-wide {
    clear: both;
    width: 100%;
	margin-bottom:12px;
}
#address_selector_field {
    grid-column: 1 / -1;
}
#billing_address_1_field {
    grid-column: 1 / -1;
}
#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 {
    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;
}
.woocommerce-form-coupon .button {
    background: none;
    color: #000;
    position: absolute;
    right: min(330px, calc(87% - 46px));
    min-width: auto;
    margin-top: 0;
    border: none;
    padding: 0;
    top: calc(6rem - 30px);
    height: auto;
    border-bottom: 1px solid #000;
	font-size:14px
}
.woocommerce-form-coupon .button:after {
    content: none;
}
.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: "\e90f";
    position: absolute;
    display: block;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-family: "icomoon";
    pointer-events: none;
    line-height: 1;
    font-size: 13px;
    color: #adadad;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
	justify-content: center;
	gap: 1rem;
	padding: 0;
	margin: 0;
	color: inherit;
}
/* --------------------
   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: #FFFCF7;
    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 {
    color: #151515;
    text-align: center;
    padding: 10px;
    border: 1px solid #1A1A1A1F;
    font-size: 13px;
    background: #E8E2DD;
    font-weight: bold;
}
.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;
}
.woocommerce-customer-details,
.woocommerce-order-details {
    border: 1px solid #1A1A1A1F;
    background: #FFFCF7;
	margin:20px 0;
	padding:0 12px;
}

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: #E8E2DD;
    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: 5;
    bottom: 3.5rem;
    left: 0;
    right: 0;
    background: #E8E2DD;
    margin-bottom: 0;
}
.mobile .wc-proceed-to-checkout .button {
    margin: 1rem 1.5rem;
}
.mobile #place_order:before {
    content: "";
    width: calc(100% - 3rem);
    background: #1A1A1A;
    position: absolute;
    height: calc(100% - 1.3rem);
    z-index: -1;
    border-radius: 4px;
}
.mobile #place_order {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 43;
    height: 68px;
    border-radius: 0;
	background:#E8E2DD;
	border-color: #E8E2DD !important;
}

.woocommerce-cart-form-totals .tax-row{
	margin: 15px 0 0 0;
}
.woocommerce-cart-form-totals .tax-row .woocommerce-Price-amount{
	display: flex; 
	gap: 4px;
}

@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) {

	.grid-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 31%;
		gap: 1.5rem;
		position: relative;
	}
	.woocommerce-billing-fields__field-wrapper {
		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;
	}
    .woocommerce-EditAccountForm fieldset p:nth-of-type(1),
    .woocommerce-EditAccountForm fieldset p:nth-of-type(2) {
        width: 100%;
    }
	.woocommerce-billing-fields__field-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    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;
    }
	td.product-subtotal {
		width: fit-content;
		gap: 3rem;
		margin-right: auto;
		min-width:50%;
		margin-top:1.5rem;
	}
	td.product-name {
		max-width: 40%;
	}
}
@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%;
    }
}