@font-face {
  font-family: 'GTS Vazirmatn';
  src: url('/assets/gts/fonts/vazirmatn/Vazirmatn-v33.003.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html:has(body.gts-fa-home) {
  scroll-padding-top: calc(var(--fa-header-height, 184px) + 16px) !important;
}
html body.gts-fa-home {
  --fa-font: 'GTS Vazirmatn', Tahoma, Arial, sans-serif;
  --gts-font: var(--fa-font);
  font-family: var(--fa-font);
  line-height: 1.9;
  padding-top: var(--fa-header-height, 184px) !important;
}
body.gts-fa-home :is(button, input, textarea, select),
body.gts-fa-home .gts-header,
body.gts-fa-home .gts-header * { font-family: var(--fa-font); }
body.gts-fa-home :is(h1, h2, h3, h4, h5, button, label, .btn) { letter-spacing: normal !important; }
body.gts-fa-home .fa-skip-link {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 20000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffcd11;
  color: #111;
}
body.gts-fa-home .fa-skip-link:focus { transform: none; }

/* The static Persian header reserves its actual height, including wrapped nav. */
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__top {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px !important;
  min-height: 72px !important;
  padding: 12px 20px !important;
}
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__logo { margin: 0 !important; flex: 0 0 auto; }
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__logo a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
}
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__logo img {
  width: 132px !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain;
}
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__right {
  display: flex !important;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__contacts { display: none !important; }
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__contacts-compact {
  display: flex !important;
  align-items: center;
  gap: 12px;
  direction: ltr;
}
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__switchers {
  display: flex !important;
  align-items: center;
  gap: 14px !important;
}
body.gts-fa-home #gts-menu .gts-fa-header .gts-header__buttons { margin: 0 !important; min-width: 0; }

html body.gts-fa-home .hero-section {
  width: min(1248px, calc(100% - 32px));
  min-height: 0;
  margin: 16px auto 0 !important;
  padding: clamp(28px, 3vw, 44px) 0 !important;
  background: radial-gradient(circle at 85% 0%, rgba(255,205,17,.13), transparent 34rem), #181611 !important;
}
body.gts-fa-home .hero-section::before,
body.gts-fa-home .hero-section::after,
body.gts-fa-home .hero-brand-backdrop { display: none !important; }
body.gts-fa-home .hero-container {
  width: min(1200px, calc(100% - 40px));
  max-width: none;
  margin-inline: auto;
  padding: 0 !important;
}
body.gts-fa-home .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px) !important;
  align-items: start !important;
  gap: clamp(24px, 3vw, 40px);
  padding: 0 !important;
}
body.gts-fa-home .hero-content { min-width: 0; max-width: none; }
body.gts-fa-home .hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.6rem) !important;
  line-height: 1.65 !important;
  margin-bottom: 18px;
}
body.gts-fa-home .hero-title .accent { font-size: .86em; }
body.gts-fa-home .hero-subtitle,
body.gts-fa-home .hero-trustline,
body.gts-fa-home .hero-note {
  display: block !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  font-size: 1rem !important;
  line-height: 1.95 !important;
}
body.gts-fa-home .hero-trustline { margin-bottom: 22px; }
body.gts-fa-home .hero-features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-bottom: 24px;
}
body.gts-fa-home .hero-feature {
  display: flex !important;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.9;
}
body.gts-fa-home .hero-feature-icon { flex: 0 0 20px; margin-top: 4px; }
body.gts-fa-home .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
body.gts-fa-home .hero-action { min-height: 44px; padding: 10px 16px; font-size: .95rem; line-height: 1.8; }
body.gts-fa-home .hero-import-link { display: inline-block; font-size: 1rem; line-height: 1.9; }
body.gts-fa-home .hero-note { margin-top: 12px; }

body.gts-fa-home .rfq-card { align-self: start; min-width: 0; padding: 20px; }
body.gts-fa-home .rfq-card h2 { font-size: 1.3rem; line-height: 1.8; }
body.gts-fa-home .rfq-card__lead { font-size: .9rem; line-height: 1.9; }
body.gts-fa-home .rfq-grid { gap: 12px; }
body.gts-fa-home .rfq-field { min-width: 0; }
body.gts-fa-home .rfq-field label { font-size: .86rem; line-height: 1.8; }
body.gts-fa-home .rfq-field :is(input, select, textarea) {
  min-width: 0;
  font-size: .9rem;
  line-height: 1.8;
  text-align: start;
}
body.gts-fa-home .rfq-field input:is([type='tel'], [type='email']) { text-align: left; direction: ltr; }
body.gts-fa-home .rfq-submit { font-size: 1rem; font-weight: 800; line-height: 1.8; }
body.gts-fa-home .rfq-consent { font-size: .8rem; line-height: 1.95; }
body.gts-fa-home .rfq-attach-label { font-size: .9rem; line-height: 1.9; white-space: normal; unicode-bidi: plaintext; }
body.gts-fa-home #home-rfq,
body.gts-fa-home section[id],
body.gts-fa-home footer[id] { scroll-margin-top: 0 !important; }

/* Six brands form two complete rows; reuse the full, correctly cropped marks. */
body.gts-fa-home .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.gts-fa-home .brand-card { min-width: 0; padding: 22px; gap: 18px; }
body.gts-fa-home .brand-card img {
  width: 188px;
  max-width: 100%;
  height: 80px;
  padding: 12px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}
body.gts-fa-home .brand-card h3 { margin: 0; direction: ltr; font-size: 1.18rem; line-height: 1.6; }
body.gts-fa-home .brand-request { min-height: 44px; gap: 5px; font-size: .92rem; line-height: 1.8; white-space: normal; }
body.gts-fa-home bdi { unicode-bidi: isolate; }
body.gts-fa-home .trust-metric strong { direction: ltr; unicode-bidi: isolate; }

body.gts-fa-home footer.gts-home-shop-footer .footer-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
body.gts-fa-home footer.gts-home-shop-footer h5 { letter-spacing: normal; }
body.gts-fa-home footer.gts-home-shop-footer .footer-contacts__item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  direction: rtl;
  flex-wrap: wrap;
  margin-bottom: 12px;
  line-height: 1.9;
}
body.gts-fa-home footer.gts-home-shop-footer .footer-contacts__item span {
  direction: rtl;
  unicode-bidi: isolate;
  color: #d4d0c5;
}
body.gts-fa-home footer.gts-home-shop-footer .footer-contacts__item a {
  direction: ltr;
  unicode-bidi: isolate;
  color: #fff;
  font-size: .87rem;
  white-space: nowrap;
}
body.gts-fa-home .footer-bottom { align-items: center; }
body.gts-fa-home .footer-bottom > a { direction: ltr; unicode-bidi: isolate; }

@media (max-width: 1100px) {
  body.gts-fa-home footer.gts-home-shop-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__top {
    min-height: 60px !important;
    padding: 10px 14px !important;
  }
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__logo img { width: 110px !important; max-height: 34px !important; }
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__contacts-compact { display: none !important; }
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__main-menu {
    width: 100% !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 6px !important;
    padding: 4px !important;
    overflow: visible !important;
  }
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__menu-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 6px !important;
    height: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 4px !important;
    overflow: visible !important;
  }
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__menu-item { flex: 0 0 auto !important; width: auto !important; height: auto !important; }
  body.gts-fa-home #gts-menu .gts-fa-header .gts-header__menu-link {
    min-height: 36px !important;
    padding: 8px 10px !important;
    font-size: .76rem !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
  }
  body.gts-fa-home .hero-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 28px; }
  body.gts-fa-home .hero-layout > .rfq-card { justify-self: center; }
  body.gts-fa-home .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html body.gts-fa-home .hero-section { width: calc(100% - 16px); padding: 24px 0 !important; margin-top: 12px !important; }
  body.gts-fa-home .hero-container { width: calc(100% - 24px); }
  body.gts-fa-home .hero-features { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.gts-fa-home .hero-actions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.gts-fa-home .hero-action { width: auto; padding: 9px 10px; font-size: .85rem; }
  body.gts-fa-home .brands-grid { grid-template-columns: minmax(0, 1fr); }
  body.gts-fa-home .rfq-card { padding: 16px; }
  body.gts-fa-home .rfq-grid { grid-template-columns: minmax(0, 1fr); }
  body.gts-fa-home footer.gts-home-shop-footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
