@font-face {
  font-family: "Vazirmatn";
  src: url('../assets/fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* add english font for latin characters */
form.checkout .tav-input--latin,
form.checkout .tav-input--digit {
  direction: ltr;
  text-align: left;
  font-family: "Vazirmatn", Arial, sans-serif;
}

#billing_email,
#billing_phone {
  direction: ltr !important;
  text-align: left !important;
}
.wcpay-upe-form {
    direction: ltr !important;
}





body.woocommerce-checkout .tavazo-progress-bar {
  margin: 0;
}
form.woocommerce-checkout .sections {
  display: flex;
  flex-direction: row;
  gap: 64px;
  margin-block: 48px 32px;
  align-items: flex-start;
}
form.woocommerce-checkout {
}

form.woocommerce-checkout ul.woocommerce-error {
  padding: 0;
  margin: 48px 0 0 0;
}

form.woocommerce-checkout ul.woocommerce-error li,
form.woocommerce-checkout ul.woocommerce-error a {
  color: red;
}

.checkout-inline-error-message {
  font-size: 14px;
  color: red;
}

form.woocommerce-checkout .fields {
  flex: 1;
  width: 100%;
}

form.woocommerce-checkout .actions {
  width: 420px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid var(--Neutral-50, #f4f4f4);
  padding: 35px;
}

form.woocommerce-checkout > div {
}

form.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--Neutral---100, #ebebeb);
  background: var(--White, #fff);
  padding: 24px;
}
.woocommerce-shipping-fields {
  border-radius: 0;
  border: 1px solid var(--Neutral---100, #ebebeb);
  background: var(--White, #fff);
  padding: 24px;
  border-top: 0;
}

.woocommerce-additional-fields {
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--Neutral---100, #ebebeb);
  background: var(--White, #fff);
  padding: 24px;
  border-top: 0;
}

.woocommerce-shipping-fields #ship-to-different-address {
  margin: 0;
  color: #414651;
  font-family: IRANSansX;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.woocommerce-shipping-fields #ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.woocommerce-shipping-fields #ship-to-different-address label input {
  margin: 0;
}

.woocommerce-additional-fields p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.woocommerce-additional-fields p textarea {
  width: 100%;
}
.before-checkout-form {
  /* margin-block: 32px 0px;
  border-radius: 12px;
  border: 1px solid var(--Neutral---100, #ebebeb);
  background: var(--White, #fff);
  padding: 24px; */
}

.mailchimp-newsletter {
    border-radius: 0;
    border: 1px solid var(--Neutral---100, #ebebeb);
    background: var(--White, #fff);
    padding: 24px;
    border-top: 0;
    border-bottom: 0;
    margin: 0;
}

.mailchimp-newsletter label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mailchimp-newsletter label input {
    margin: 0;
}

ul.wc_payment_methods {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul.wc_payment_methods li {
  border-radius: 10px;
  border: 1px solid #e6e8e7;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 0;
}

ul.wc_payment_methods li input[type="radio"] {
  position: absolute;
  left: 0;
  margin: 0;
  transform: translate(16px, 18px);
  display: none;
}

ul.wc_payment_methods li {
  color: var(--Neutral---700, #3d3d3d);
  font-size: 14px;
  font-weight: 600;
  line-height: 120%; /* 16.8px */
}
ul.wc_payment_methods li.active {
  border-color: #2a91ff;
  box-shadow: 0 1px 10px 0 rgb(0 0 0 / 10%);
}

ul.wc_payment_methods li label {
  width: 100%;
  padding: 16px;
  cursor: pointer;
}

ul.wc_payment_methods li .payment_box {
  padding-bottom: 0;
  display: block !important;
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-inline: 16px;
  transition: 0s;
}
.woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table tr {
}

.woocommerce-checkout-review-order-table tr td:first-child,
.woocommerce-checkout-review-order-table tr th:first-child {
  text-align: right;
  color: var(--Neutral-color-500, #666);
  font-size: 14px;
  font-weight: 400;
  line-height: 150%; /* 21px */
}

.woocommerce-checkout-review-order-table tr td:last-child,
.woocommerce-checkout-review-order-table tr th:last-child {
  text-align: left;
  color: var(--Neutral-900, #060709);
  font-family: IRANSansX;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 21px */
}
.woocommerce-checkout-review-order-table tr td,
.woocommerce-checkout-review-order-table tr th {
  padding: 5px 0;
}

#order_review_heading {
  color: var(--Neutral---900, #1a1a1a);
  font-size: 16px;
  font-weight: 700;
  line-height: 150%; /* 24px */
  margin: 0 0 16px 0;
}
ul.wc_payment_methods li.active .payment_box {
  padding-bottom: 16px;
  height: 100%;
}
.woocommerce-checkout-payment button#place_order {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--Primary, #0c3c30);
  background: var(--Primary, #0c3c30);
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  padding: 10px;
  height: 56px;
  color: var(--White, #fff);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px; /* 125% */
  margin-top: 20px;
}

.woocommerce-checkout-payment button#place_order:hover {
  background: #000;
  border-color: #000;
}
.woocommerce-checkout-review-order .tdev-free-shipping {
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table tr td dl {
  display: inline-flex;
  margin: 0;
}

.woocommerce-checkout-review-order-table tr td dl dt {
}

.woocommerce-checkout-review-order-table tr td dl dd {
  margin: 0;
}

.woocommerce-checkout-review-order-table tr td dl p {
  margin: 0;
}

.woocommerce-checkout-review-order-table tr ul {
  padding: 0;
  margin: 0;
}

.woocommerce-checkout-review-order-table tr ul li {
  display: inline-flex;
}

.woocommerce-checkout-review-order-table tbody tr th,
.woocommerce-checkout-review-order-table tbody tr td {
  /* border-bottom: 1px dashed var(--Neutral---200, #d6d6d6); */
}

.woocommerce-checkout-review-order-table ul#shipping_method {
}

.woocommerce-checkout-review-order-table ul#shipping_method li label {
  display: flex;
  align-items: center;
  text-wrap-mode: nowrap;
  /* gap: 10px; */
}

.woocommerce-checkout-review-order-table tfoot tr:first-child th,
.woocommerce-checkout-review-order-table tfoot tr:first-child td {
  /* border-top: 1px solid var(--Neutral---200, #d6d6d6); */
  padding-top: 30px;
}
ul.wc_payment_methods li .payment_box,
ul.wc_payment_methods li .payment_box p {
  color: var(--Neutral---400, #8f8f8f);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 166.667% */
  margin: 0;
}

.woocommerce-checkout-review-order-table thead tr th {
  color: var(--Neutral---800, #292929) !important;
  font-family: IRANSansX;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 600 !important;
  /* 21px */
  padding: 0 0 16px 0 !important;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(0, 1fr);
  gap: 18px;
  align-items: start;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(1),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(1) {
  grid-column: span 2 / span 2;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(2),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(2) {
  grid-column: span 2 / span 2;
  grid-column-start: 3;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(3),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(3) {
  grid-column: span 2 / span 2;
  grid-column-start: 5;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(4),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(4) {
  grid-column: span 3 / span 3;
  grid-row-start: 2;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(5),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(5) {
  grid-column: span 3 / span 3;
  grid-column-start: 4;
  grid-row-start: 2;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(6),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(6) {
  grid-column: span 6 / span 6;
  grid-row-start: 3;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(7),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(7) {
  grid-column: span 3 / span 3;
  grid-row-start: 4;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(8),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(8) {
  grid-column: span 3 / span 3;
  grid-column-start: 4;
  grid-row-start: 4;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(9),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(9) {
  grid-column: span 3 / span 3;
  grid-row-start: 5;
}

.woocommerce-billing-fields__field-wrapper > *:nth-child(10),
.woocommerce-shipping-fields__field-wrapper > *:nth-child(10) {
  grid-column: span 3 / span 3;
  grid-column-start: 4;
  grid-row-start: 5;
}

#customer_details input[type="text"],
#customer_details input[type="email"],
#customer_details input[type="tel"],
#customer_details textarea {
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #d5d7da);
  background: var(--White, #fff);

  /* Shadow/xs */
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  height: 48px;
  width: 100%;
  padding: 10px 14px;
}

.woocommerce-billing-fields__field-wrapper > p,
.woocommerce-shipping-fields__field-wrapper > p {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding-top: 30px;
}

.woocommerce-billing-fields__field-wrapper > p label,
.woocommerce-shipping-fields__field-wrapper > p label {
  color: var(--Gray-700, #414651);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  margin-bottom: 6px;
  position: absolute;
  top: 0;
  right: 5px;
}

#customer_details .woocommerce-input-wrapper,
#customer_details .woocommerce-input-wrapper span.select2-selection {
  height: 48px;
}

#customer_details .woocommerce-input-wrapper span.select2-selection {
}

#customer_details textarea {
  min-height: 100px;
}

.woocommerce-additional-fields .woocommerce-input-wrapper {
  height: unset !important;
}
.woocommerce-shipping-fields .shipping_address {
  margin-top: 30px;
}
.woocommerce-billing-fields h3 {
  margin: 0 0 16px 0;
  color: var(--Gray-700, #414651);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px; /* 125% */
}

/* order recived */
.thankyou-page .woocommerce-order {
  border-radius: 24px;
  border: 1px solid var(--Neutral---100, #ebebeb);
  background: var(--White, #fff);
  padding: 24px;
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thankyou-page .order-status {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 8px 0 32px 0;
}

.thankyou-order-received {
  color: var(--Gray-700, #414651);
  text-align: center;
  font-size: 16px;
  line-height: 20px; /* 125% */
  font-weight: 700;
}

.tracking-code {
  color: var(--Neutral---400, #8f8f8f);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.tracking-code a {
  color: var(--Info, #2c84e5);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.thankyou-page .action-btns {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.thankyou-page .action-btns .tavazo-btn {
  width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
}
.checkout-feedback {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 56px;
}

.checkout-feedback h3 {
  margin: 0 0 24px 0;
  color: var(--Gray-700, #414651);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px; /* 125% */
}
.checkout-feedback .stars {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.checkout-feedback .stars span {
}
.checkout-feedback .stars span svg {
  width: 28px;
  height: 28px;
}
.checkout-feedback .stars > span {
  display: flex;
  cursor: pointer;
}
.checkout-feedback .stars-caption {
  margin-bottom: 24px;
}
.checkout-feedback div {
}
.checkout-feedback .cf-comment-form label {
  color: var(--Gray-700, #414651);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px; /* 142.857% */
}
.checkout-feedback .cf-comment-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #d5d7da);
  background: var(--White, #fff);

  /* Shadow/xs */
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  padding: 10px 14px;
  margin: 6px 0 17px 0;
}
.checkout-feedback button {
  border-radius: 8px;
  border: 1px solid var(--Primary, #0c3c30);
  background: var(--Primary, #0c3c30);

  /* Shadow/xs */
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  color: var(--White, #fff);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px; /* 142.857% */
  padding: 10px 58px;
  cursor: pointer;
  align-self: end;
}
.checkout-feedback .cf-comment-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.checkout-feedback button:hover {
  background: #222;
}
.cfb-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
  font-size: 32px;
}
.cfb-stars input {
  display: none;
}
.cfb-stars label {
  cursor: pointer;
  color: #c8c8c8;
  user-select: none;
  line-height: 1;
}
.cfb-stars label:hover,
.cfb-stars label:hover ~ label {
  color: #ffb20c;
}
.cfb-stars input:checked ~ label {
  color: #ffb20c;
}
.alredy-rated {
  margin: 40px 10px 10px 10px;
}

/* coupon form */
#tavazo-coupon-box {
  margin: 20px 0;
}
#tavazo-coupon-box .tvcoupon-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  display: none;
}
#tavazo-coupon-box .tvcoupon-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
#tavazo-coupon-box .tvcoupon-input {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid var(--Neutral-color-200, #d6d6d6);
  background: #fff;
  height: 48px;
  padding: 4px 16px 4px 24px;
}
#tavazo-coupon-box .tvcoupon-notices {
  margin-top: 10px;
}
#tavazo-coupon-box .is-busy {
  opacity: 0.6;
  pointer-events: none;
}

#tavazo-coupon-box .tvcoupon-apply {
  border-radius: 100px;
  background: var(--Secondary---100, #ffedd0);
  height: 48px;
  padding: 8px 20px;
  border: 0;
  color: var(--Secondary---800, #705c3d);
  font-size: 14px;
  font-weight: 500;
  line-height: 150%; /* 21px */
}

#tavazo-coupon-box .tvcoupon-input,
#tavazo-coupon-box .tvcoupon-input::placeholder {
  color: var(--Neutral-color-400, #8f8f8f);
  font-size: 14px;
  font-weight: 400;
  line-height: 150%; /* 21px */
}

#tavazo-coupon-box .tvcoupon-notices .woocommerce-error {
  margin: 0;
}
a.woocommerce-remove-coupon {
    font-size: 0;
    display: flex;
    margin-inline-start: 12px;
}

a.woocommerce-remove-coupon:before {
    content: '';
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE2IDE4IiBmaWxsPSJub25lIj48cGF0aCBkPSJNMS4zMzMgNC44MzNoMTMuMzM0TTYuMzMzIDguMTY3djVtMy4zMzQtNXY1bS03LjUtOC4zMzQuODMzIDEwQTEuNjY2IDEuNjY2IDAgMCAwIDQuNjY3IDE2LjVoNi42NjZBMS42NjcgMS42NjcgMCAwIDAgMTMgMTQuODMzbC44MzMtMTBtLTguMzMzIDB2LTIuNWEuODMzLjgzMyAwIDAgMSAuODMzLS44MzNoMy4zMzRhLjgzMy44MzMgMCAwIDEgLjgzMy44MzN2Mi41IiBzdHJva2U9IiNEMTIwMzAiIHN0cm9rZS13aWR0aD0iMS43IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.woocommerce-checkout-review-order-table tr.cart-discount td {display: flex;align-items: center;justify-content: flex-end;}




/* login in checkout */
.woocommerce-form-login-toggle {
margin-block: 32px 0px;
  border-radius: 12px;
  border: 1px solid var(--Neutral---100, #ebebeb);
  background: var(--White, #fff);
  padding: 24px;
}

form.woocommerce-form-login {
    margin-top: 30px;
}

.woocommerce-form-login-toggle .showlogin {
    background: var(--Primary, #0C3C30);
    color: #fff;
    padding: 4px 15px;
    border-radius: 8px;
    font-size: 14px;
}

form.woocommerce-form-login p {
    position: relative;
}

form.woocommerce-form-login p label:not(.woocommerce-form-login__rememberme) {
    position: absolute;
    right: 14px;
    top: -10px;
    background-color: #fff;
    padding: 0 4px;
    color: var(--Neutral---500, #666);
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    z-index: 1;
}

form.woocommerce-form-login p input:not([type="checkbox"]) {
    border-radius: 10px;
    border: 1px solid #D9D9D9;
    display: flex;
    width: 100%;
    padding: 16px;
    position: relative;
}

form.woocommerce-form-login p input:not([type="checkbox"]):focus {
outline: unset;
    border: 1.5px solid #367AFF;
}

label.woocommerce-form-login__rememberme {
    display: flex;
    margin-block: 20px 30px;
}

form.woocommerce-form-login p:first-child {
    font-size: 15px;
    margin-bottom: 40px;
}


form.woocommerce-form-login p.lost_password a {
    font-size: 15px;
    color: #222;
}






/*responsive*/
@media (max-width: 1024px) {
  form.woocommerce-checkout .actions {
    width: 330px;
  }

  form.woocommerce-checkout {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  form.woocommerce-checkout .sections {
    display: flex;
    flex-direction: column;
  }

  form.woocommerce-checkout .actions {
    width: 100%;
  }

  .woocommerce-billing-fields__field-wrapper > p,
  .woocommerce-shipping-fields__field-wrapper > p {
    grid-column: span 6 / span 6 !important;
    grid-row-start: unset !important;
  }
}
