ار/* Aani WooCommerce Fast Checkout Styles - Namespaced to avoid conflicts */
.mw-aani-fast-checkout-container,
.mw-aani-fast-checkout-container * {
  all: unset;
  box-sizing: border-box;
}
@font-face {
  font-family: "IRANSansWeb";
  src: url("../fonts/woff2/IRANSansWeb(FaNum).woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb(FaNum).woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb(FaNum).ttf") format("truetype"),
    url("../fonts/eot/IRANSansWeb(FaNum).eot");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansWeb";
  src: url("../fonts/woff2/IRANSansWeb(FaNum)_Black.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb(FaNum)_Black.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb(FaNum)_Black.ttf") format("truetype"),
    url("../fonts/eot/IRANSansWeb(FaNum)_Black.eot");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansWeb";
  src: url("../fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf") format("truetype"),
    url("../fonts/eot/IRANSansWeb(FaNum)_Bold.eot");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansWeb";
  src: url("../fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf") format("truetype"),
    url("../fonts/eot/IRANSansWeb(FaNum)_Medium.eot");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansWeb";
  src: url("../fonts/woff2/IRANSansWeb(FaNum)_Light.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb(FaNum)_Light.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb(FaNum)_Light.ttf") format("truetype"),
    url("../fonts/eot/IRANSansWeb(FaNum)_Light.eot");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansWeb";
  src: url("../fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf") format("truetype"),
    url("../fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
.mw-aani-fast-checkout-container,
.mw-aani-fast-checkout-container *,
.aani-modal,
.aani-modal * {
  font-family: "IRANSansWeb", Tahoma, Arial, sans-serif;
}
button.aani-open-cart {
  cursor: pointer;
}
.mw-aani-fast-checkout-container .dashicons {
  font-family: "dashicons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mw-aani-fast-checkout-container .mw-aa-notice {
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  color: white;
  background: #ee2121;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #d25757, #ee2121);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #d25757, #ee2121);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  width: 90%;
  margin: 20px auto;
}

.mw-aani-fast-checkout-container .mw-aa-notice b {
  font-weight: bold;
}

.mw-aani-fast-checkout-container .mw-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.mw-aani-fast-checkout-container .mw-aani-woocommerce-form-wrapper {
  max-width: 450px !important;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 25px 0 #751a2921;
  background-color: #fff;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section {
  box-sizing: border-box;
  background: linear-gradient(
      277.52deg,
      rgba(241, 239, 238, 0.8) 2.39%,
      rgba(252, 245, 240, 0.8) 99.21%
    ),
    #ffffff;
  box-shadow: 0px 0px 10px rgba(133, 7, 28, 0.1);
  padding: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: #000;
  position: relative;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section::after {
  content: "";
  background: linear-gradient(45deg, #751a293d, #751a29, #751a293d);
  height: 2px;
  width: 100%;
  position: absolute;
  top: 100%;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section
  .mw-aa-product-thumbnail {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section
  .mw-aa-product-thumbnail
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section
  .mw-aa-product-thumbnail
  .mw-cover-holder {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section
  .mw-aa-product-data {
  display: flex;
  flex-direction: column;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section
  .mw-aa-product-data
  .mw-aa-title {
  font-size: 30px;
  font-weight: bold;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-header-section
  .mw-aa-product-data
  .mw-aa-description {
  font-size: 18px;
  opacity: 0.5;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper
  label {
  color: #262626;
  font-weight: 500;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper
  input {
  background-color: #f8f4f1;
  padding: 15px;
  border-radius: 16px;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 16px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper
  input::placeholder {
  color: #0000003b;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-notice-box
  .mw-success {
  color: green;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-notice-box
  .mw-error {
  color: red;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-alert-item {
  color: #31708f;
  background-color: #d9edf7;
  border-right: 3px solid #bcdff1;
  padding: 12px;
  border-radius: 16px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper
  .mw-aa-payment-btn {
  padding: 18px;
  background: #751a2b;
  border-radius: 16px;
  color: #fff;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper
  .mw-aa-payment-btn:hover {
  background: #5a1420;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-field-wrapper
  .mw-aa-payment-btn
  .mw-icon {
  display: flex;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section {
  background-color: #751a2b0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-price-value-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-price-value-section
  .mw-del-value {
  width: fit-content;
  padding: 10px 20px;
  font-size: 22px;
  color: #ff2525;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-price-value-section
  .mw-del-value::after {
  content: "";
  position: absolute;
  background-color: #ce2d2d;
  left: 0;
  right: 0;
  height: 1px;
  top: 50%;
  width: 100%;
  opacity: 0.5;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-price-value-section
  .mw-price {
  font-size: 30px;
  font-weight: bold;
  color: #751a2b;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-price-value-section
  .mw-price
  .mw-price-value {
  font-weight: bold;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-discount-section {
  background-color: #751a2b;
  color: #fff;
  padding: 15px;
  border-radius: 16px;
  margin-top: 10px;
  text-align: center;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-discount-section
  .mw-aa-discount-percentage {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-discount-section
  .mw-aa-discount-percentage
  .mw-discount-value {
  color: #ffd700;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-discount-section
  .mw-aa-timer {
  font-size: 16px;
  font-weight: bold;
}

.mw-aani-fast-checkout-container
  .mw-aani-woocommerce-form-wrapper
  .mw-aa-body-section
  .mw-aa-price-section
  .mw-aa-discount-section
  .mw-aa-discount-suffix {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
}
[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
  color: #0054fd00;
  text-decoration: none;
}

.aani-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}
.aani-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  padding: 32px 24px 24px 24px;
  min-width: 400px;
  max-width: 1000px;
  width: 100%;
  position: relative;
}
.aani-modal-close {
  position: absolute;
  left: 16px;
  top: 20px;
  background: red;
  border: none;
  font-size: 22px;
  color: #ffffff !important;
  cursor: pointer;
  height: 33px;
  width: 25px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 5px;
  z-index: 999999;
}
.aani-modal-close:hover {
  background-color: red;
  color: #fff !important;
}
.aani-modal-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}
.aani-cart-items {
  margin-bottom: 18px;
}
.aani-cart-summary {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  text-align: left;
}
.aani-cart-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.aani-coupon-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
}
.aani-coupon-apply {
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 15px;
  border: 1px solid #006efd;
  transition: background 0.2s, color 0.2s;
}
.aani-coupon-apply:disabled {
  background: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
  border-color: #f5f5f5;
}
.aani-coupon-apply:not(:disabled) {
  background: #006efd;
  color: #fff;
  cursor: pointer;
}
.aani-coupon-apply:not(:disabled):hover {
  background: transparent;
  color: #006efd;
}
.aani-checkout-btn {
  width: 100%;
  background: #006efd;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
  border: 1px solid #006efd;
}
.aani-checkout-btn:hover {
  color: #006efd !important;
  background: transparent;
}
.aani-cart-item.loading {
  opacity: 0.5;
  position: relative;
}
.aani-cart-item .aani-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border: 3px solid #eee;
  border-top: 3px solid #1abc7b;
  border-radius: 50%;
  animation: aani-spin 0.7s linear infinite;
  z-index: 2;
}
@keyframes aani-spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* .aani-fast-checkout-step.jw.step-form {
    display: flex !important;
} */
/* اطمینان از مخفی بودن فرم در ابتدا */
.aani-fast-checkout-step.step-form {
  display: none !important;
}
/* نمایش فرم فقط زمانی که کلاس show اضافه شده باشد */
.aani-fast-checkout-step.step-form.show {
  display: block !important;
}
.aani-fast-checkout-step.jw.step-form {
  display: flex !important;
}
/* === استایل فرم مرحله دوم (aani-checkout-form) به صورت دو ستونه و مدرن === */
.aani-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 10px 20px 10px;
}
.aani-checkout-form .aani-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}
.aani-checkout-form .aani-form-row input,
.aani-checkout-form .aani-form-row select {
  /* flex: 1 1 0; */
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s;
}
.aani-checkout-form .aani-form-row input:focus,
.aani-checkout-form .aani-form-row select:focus {
  border-color: #dddddd;
  outline: none !important;
}
.aani-checkout-form .aani-form-row input[type="email"] {
  direction: ltr;
}
.aani-checkout-form .aani-form-row select {
  min-width: 120px;
}
.aani-checkout-form .aani-form-summary {
  text-align: left;
  font-size: 15px;
  color: #888;
  margin: 0 0 8px 0;
  display: flex;
  justify-content: space-between;
}
span.aani-mani-jamilweb {
  margin-left: 15px;
}
.aani-checkout-form .aani-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.aani-checkout-form .aani-checkout-pay {
  flex: 1 1 0;
  background: #006efd;
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  padding: 14px 0;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 10px;
  border: 1px solid #006efd;
}
.aani-checkout-form .aani-checkout-pay:hover {
  color: #006efd !important;
  background: transparent;
}
.aani-checkout-form .aani-checkout-back {
  background: #006efd12;
  color: #006efd;
  border: 1px solid #006efd;
  border-radius: 12px;
  font-size: 16px;
  padding: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.aani-checkout-form .aani-checkout-back:hover {
  background: #006efd;
  color: #ffffff !important;
}

/* گوشه‌های گرد و سایه برای کل پاپ‌آپ */
.aani-modal-content {
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #751a2921;
  background: #fff;
  padding-bottom: 0;
}

/* هدر فرم */
.aani-modal-header {
  font-size: 20px;
  font-weight: bold;
  text-align: right;
  color: #222;
}

/* فاصله بین فیلدها در موبایل */
@media (max-width: 600px) {
  .aani-checkout-form .aani-form-row {
    flex-direction: column;
    gap: 8px;
  }
  .aani-modal-content {
    min-width: 350px;
  }
  .aani-cart-summary {
    font-size: 14px;
  }
  .aani-modal-header {
    font-size: 16px;
  }
  .aani-modal-close {
    position: absolute;
    left: 16px;
    top: 20px;
    background: red;
    border: none;
    font-size: 22px;
    color: #ffffff !important;
    cursor: pointer;
    height: 25px;
    width: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px 4px;
    z-index: 999999;
  }
  .aani-shipping-list {
    display: flex !important;
    flex-direction: column !important;
  }
  .aani-checkout-form .aani-form-summary {
    text-align: unset;
    font-size: 15px;
    color: #888;
    display: flex;
  }
  span.aani-mani-jamilweb {
    margin-left: 0;
    text-align: end;
  }
  .aani-checkout-form {
    max-height: 57vh;
    overflow-y: auto;
    padding-left: 10px !important;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f5f5f5;
  }
  .aani-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0 10px 20px 10px;
  }
  .aani-form-row label {
    line-height: 2 !important;
  }
}

.aani-checkout-form {
  max-height: 57vh;
  overflow-y: auto;
  padding-left: 2px;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f5f5f5;
}
.aani-fast-checkout-step.step-form::-webkit-scrollbar {
  width: 7px;
  background: #f5f5f5;
  border-radius: 8px;
}
.aani-fast-checkout-step.step-form::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 8px;
}
.aani-modal-content {
  width: 50%;
  margin: auto;
  padding: 25px;
  display: block;
  max-width: 1000px;
  position: relative;
  background: #ffffff;
  border-radius: 22px;
}
.aani-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(4px);
}
.aani-form-row label {
  line-height: 3 !important;
}
.aani-gateways-list {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.jamilweb-aani-gateways-list label.aani-gateway-radio {
  max-width: unset;
}
label.aani-gateway-radio {
  padding: 10px;
  margin-left: 7px;
  margin-bottom: 0;
  height: fit-content;
  position: relative;
  border-radius: 10px;
  flex: 0 0 33.333333%;
  max-width: 31.333333%;
  -ms-flex: 0 0 33.333333%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* اضافه کردن CSS برای دکمه‌های بدون تعداد در سایت آنلاین */
.add_to_cart_button.aani-btn-with-spinner {
  max-width: 137px !important;
  max-height: 65px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  position: relative !important;
}

.add_to_cart_button.aani-btn-with-spinner .aani-btn-spinner {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
}
.jw-button,
.jw-button:hover,
.jw-button:focus,
.jw-button:active {
  transform: none !important;
  top: 0 !important;
  box-shadow: none;
  transition: none !important;
  outline: none !important;
  border: none !important;
}
.jw-button.add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  vertical-align: middle;
  transition: none !important;
}
button.aani-open-cart {
  display: flex;
}
.jw-aani-items ul li {
  display: flex;
  gap: 10px;
}
.jw-aani-items ul.wc-item-meta {
  padding: 0 !important;
  display: flex;
  gap: 10px;
}
.jw-aani-items ul.wc-item-meta li {
  border: 1px solid #e1efff !important;
  padding: 2px 10px !important;
  border-radius: 5px !important;
}
.jw-aani-items {
  display: flex !important;
}
/* تنظیم فیلد اصلی برای نمایش دو ستونه */
.aani-custom-fields {
    display: grid !important; /* اجبار به استفاده از گرید */
    grid-template-columns: repeat(2, 1fr); /* ایجاد دو ستون مساوی */
    gap: 15px !important; /* فاصله بین باکس‌ها */
    flex-direction: unset !important; /* حذف حالت ستونی قبلی */
}

/* اصلاح باکس‌های فرزند برای نمایش درست */
.aani-custom-fields .aani-global-fields, 
.aani-custom-fields .aani-product-fields,
.aani-custom-fields .aani-category-fields {
    width: 100% !important;
    margin: 0 !important;
}
.aani-custom-fields {
    width: 100% !important;
}
.aani-product-fields label {
    margin-bottom: -8px;
}
/* ریسپانسیو: در موبایل دوباره زیر هم نمایش داده شوند */
@media (max-width: 768px) {
  .aani-custom-fields {
      grid-template-columns: 1fr; /* یک ستونه در موبایل */
  }
    .aani-custom-fields {
    width: 100% !important;
    margin-top: 15px;
  }
}
@media (max-width: 767px) {
  .aani-gateways-list {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    width: 100% !important;
    flex-direction: column;
  }

  label.aani-gateway-radio {
    padding: 10px;
    margin-left: 0; /* چون تو حالت موبایل معمولاً فاصله افقی نمی‌خوایم */
    margin-bottom: 10px; /* برای فاصله بین گزینه‌ها */
    height: fit-content;
    position: relative;
    border-radius: 10px;
    flex: 0 0 100%; /* تمام عرض */
    max-width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}
@media (max-width: 1024px) {
  .aani-fast-checkout-step.step-cart,
  .aani-fast-checkout-step.step-form {
    max-width: 100% !important;
  }
  .jw-aani-cart-modal-goshi {
    display: flex;
    gap: 0;
    flex-direction: column;
  }
  .aani-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(4px);
  }
}
.jw-aani-cart-modal-goshi .aani-active-coupon {
  justify-content: space-between;
}
button.aani-remove-coupon {
  padding: 10px 0;
}
.jw-aani-cart-modal-goshi .aani-active-coupon {
  justify-content: space-between;
  margin-left: 0 !important;
}
.jw-aani-cart-modal-goshi .aani-cart-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-direction: column;
}
.aani-cart-coupon input[type="text"] {
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
  width: 100%;
}
