/* Layout / toman display fixes (2.9.22) — after page CSS */

.ic-cir-montaj-price {
  display: inline-flex !important;
  flex-direction: row !important;
  direction: rtl !important;
}

.ic-cart > .ic-cat-header {
  padding-bottom: 10px !important;
}

.ic-cart-list {
  padding-top: 4px !important;
}

.ic-cart-empty {
  margin-top: 4px;
}

.ic-cart-total strong {
  font-size: 20px !important;
  font-weight: 500 !important;
  font-family: "IRANYekanFa", "IRANYekan", sans-serif !important;
  color: #000 !important;
}

.ic-cart-total strong .ic-toman,
.ic-cart-total strong .ic-toman-num,
.ic-cart-total strong .ic-toman-unit {
  font-size: inherit !important;
  font-weight: 700 !important;
  font-family: "IRANYekanFa", "IRANYekan", sans-serif !important;
  color: #000 !important;
}

.ic-cart-total strong .ic-free {
  font-size: inherit !important;
  font-weight: 700 !important;
  font-family: "IRANYekanFa", "IRANYekan", sans-serif !important;
  color: #43a047 !important;
}

/* سبد با محصول فیزیکی — فرم بلند با آدرس و ارسال */
.ic-check.has-physical > .ic-check-form-wrap > .ic-cat-header,
.ic-check.has-physical > .ic-check-result > .ic-cat-header {
  padding-top: calc(28px + env(safe-area-inset-top, 0px));
  padding-bottom: 20px !important;
}

.ic-check.has-physical .ic-check-form-wrap > .ic-check-field:first-of-type {
  margin-top: 20px !important;
}

/* فقط فایل / مجازی — فاصلهٔ کمتر (فرم کوتاه‌تر) */
.ic-check.is-no-physical > .ic-check-form-wrap > .ic-cat-header,
.ic-check.is-no-physical > .ic-check-result > .ic-cat-header {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: 12px !important;
}

.ic-check.is-no-physical .ic-check-form-wrap > .ic-check-field:first-of-type {
  margin-top: 12px !important;
}

.ic-check-pay {
  padding: 0 16px calc(40px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (max-width: 800px) {
  .ic-check-pay {
    padding: 0 16px calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
