/* Reset and Layout Smoothness */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Bilingual Font Styling */
html[dir="rtl"], html[dir="rtl"] * {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0;
  line-height: 1.7;
}

html[dir="ltr"], html[dir="ltr"] * {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0;
  line-height: 1.5;
}

/* Custom Selection Highlight */
::selection {
  background-color: rgba(161, 44, 47, 0.15);
  color: #a12c2f;
}

/* Page Load Slide-up Animation */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-page-in {
  animation: pageIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Scroll Reveal Base and Direction transforms */
.reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up { transform: translateY(30px); }
.reveal-down { transform: translateY(-30px); }
.reveal-left { transform: translateX(30px); }
.reveal-right { transform: translateX(-30px); }
.reveal-none { transform: scale(0.97); }

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Bilingual content display rules */
html[lang="fa"] .lang-en { display: none !important; }
html[lang="en"] .lang-fa { display: none !important; }

.lang-fa {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

.lang-en {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

html[lang="fa"] .lang-fa,
html[lang="en"] .lang-en {
  display: block;
  width: 100%;
}

html[lang="fa"] .text-left {
  text-align: right !important;
}

html[lang="en"] .text-right {
  text-align: left !important;
}

.brand-lockup {
  min-width: 0;
  align-items: flex-start;
}

.brand-wordmark {
  display: block !important;
  width: auto !important;
  color: #a12c2f;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  text-align: start !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.brand-wordmark.lang-fa {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  text-transform: none;
}

.brand-wordmark.lang-en {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  text-transform: none;
}

/* Custom Hero Slider transitions */
.hero-slide {
  transition: opacity 1200ms ease-in-out, transform 1200ms ease-in-out;
}

.hero-slide > img {
  filter: blur(0.15px) saturate(0.92) brightness(1.03);
  transform: scale(1.002);
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(231, 248, 250, 0.32) 48%, rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.1);
}

.hero-slide > .absolute.inset-0.flex {
  z-index: 2;
}

#hero-slider h1 > span {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

#hero-slider .slide-title-fa,
#hero-slider .slide-title-en {
  display: block;
  background: linear-gradient(90deg, #0f172a 0%, #0f172a 48%, #7f1d1d 72%, #a12c2f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #0f172a;
  -webkit-text-fill-color: transparent;
}

#hero-slider p {
  color: #334155 !important;
  font-weight: 600;
  text-shadow: none;
}

#hero-slider .lang-fa,
#hero-slider .lang-en {
  text-align: center !important;
}

/* Active navigation link styling */
.active-nav-link {
  color: #a12c2f !important;
  font-weight: 600;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(22rem, 42vw, 30rem);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

/* Images managed from the admin panel stay hidden until their saved sources are
   loaded, so the static HTML fallback never flashes on navigation. */
[data-site-image] {
  visibility: hidden;
}

.site-images-ready [data-site-image] {
  visibility: visible;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: blur(0.15px) saturate(0.92) brightness(1.03);
  transform: scale(1.002);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(231, 248, 250, 0.32) 48%, rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.1);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__content > .reveal {
  display: inline-flex;
  max-width: min(100%, 52rem);
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero h1 {
  color: #0f172a !important;
  text-shadow: none;
}

.page-hero h1 .lang-fa,
.page-hero h1 .lang-en {
  display: block;
  background: linear-gradient(90deg, #0f172a 0%, #0f172a 48%, #7f1d1d 72%, #a12c2f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #0f172a;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  color: #334155 !important;
  font-weight: 600;
  text-shadow: none;
}

.page-hero__eyebrow {
  box-shadow: 0 10px 30px rgba(161, 44, 47, 0.08);
}

.page-hero .lang-fa,
.page-hero .lang-en {
  text-align: center;
}

.contact-page-hero .page-hero__image {
  filter: none;
  transform: none;
}

.contact-page-hero .page-hero__overlay {
  background: transparent;
}

.contact-page-hero .page-hero__content {
  width: min(100%, 72rem);
  max-width: none;
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
  direction: ltr;
  text-align: left !important;
}

.contact-page-hero .page-hero__content > .reveal {
  width: min(100%, 34rem);
  align-items: flex-start;
}

.contact-page-hero .page-hero__eyebrow {
  margin-inline: 0;
}

.contact-page-hero h1 .lang-fa,
.contact-page-hero h1 .lang-en,
.contact-page-hero p .lang-fa,
.contact-page-hero p .lang-en {
  text-align: left !important;
}

.contact-page-hero h1 .lang-fa,
.contact-page-hero h1 .lang-en {
  background: none !important;
  color: #020617 !important;
  -webkit-text-fill-color: #020617 !important;
}

.contact-page-hero p,
.contact-page-hero p .lang-fa,
.contact-page-hero p .lang-en {
  color: #020617 !important;
}

.contact-page-hero p {
  margin-inline: 0 !important;
}

.contact-submit-btn {
  width: min(100%, 16rem) !important;
  min-height: 3.25rem;
  margin-inline: auto;
  padding-inline: 1.5rem !important;
  border-radius: 0.75rem !important;
  background: linear-gradient(135deg, #a12c2f, #b73539) !important;
  box-shadow: 0 14px 28px rgba(161, 44, 47, 0.18);
  line-height: 1;
}

.contact-submit-btn .lang-fa,
.contact-submit-btn .lang-en {
  text-align: center !important;
}

html[dir="rtl"] .contact-submit-btn i {
  transform: scaleX(-1);
}

.site-cta {
  text-align: center;
}

.site-cta > div {
  width: min(100%, 48rem);
  margin-inline: auto;
  text-align: center !important;
}

.site-cta h2,
.site-cta p,
.site-cta .lang-fa,
.site-cta .lang-en {
  text-align: center !important;
}

.site-cta p {
  margin-inline: auto;
}

.site-cta a {
  margin-inline: auto;
}

.technology-transfer-intro {
  margin-inline: auto;
  text-align: center !important;
}

.technology-transfer-intro h2,
.technology-transfer-intro p,
.technology-transfer-intro .lang-fa,
.technology-transfer-intro .lang-en,
.technology-transfer-cta h2,
.technology-transfer-cta p,
.technology-transfer-cta .lang-fa,
.technology-transfer-cta .lang-en {
  text-align: center !important;
}

.technology-transfer-intro p,
.technology-transfer-cta p {
  margin-inline: auto;
}

main > section > div > .reveal:first-child:has(h2),
main > section > div > .reveal:first-child:has(h3),
#services-sections-container > div > .reveal:first-child {
  text-align: center !important;
  margin-inline: auto;
}

main > section > div > .reveal:first-child:has(h2) h2,
main > section > div > .reveal:first-child:has(h3) h3,
main > section > div > .reveal:first-child:has(h2) p,
main > section > div > .reveal:first-child:has(h3) p,
main > section > div > .reveal:first-child:has(h2) .lang-fa,
main > section > div > .reveal:first-child:has(h3) .lang-fa,
main > section > div > .reveal:first-child:has(h2) .lang-en,
main > section > div > .reveal:first-child:has(h3) .lang-en,
#services-sections-container > div > .reveal:first-child h3,
#services-sections-container > div > .reveal:first-child p,
#services-sections-container > div > .reveal:first-child .lang-fa,
#services-sections-container > div > .reveal:first-child .lang-en {
  text-align: center !important;
}

main > section > div > .reveal:first-child:has(h2) p,
main > section > div > .reveal:first-child:has(h3) p,
#services-sections-container > div > .reveal:first-child p {
  margin-inline: auto;
}

footer > div > .grid {
  align-items: start;
}

footer > div > .grid > div {
  min-width: 0;
  grid-column: auto !important;
}

footer > div > .grid > div:nth-child(2) ul {
  display: flex !important;
  flex-direction: column;
  gap: 0.65rem;
}

footer > div > .grid > div:nth-child(2) li,
footer > div > .grid > div:nth-child(3) li {
  width: 100%;
}

footer > div > .grid > div:nth-child(2) a,
footer > div > .grid > div:nth-child(3) a,
footer > div > .grid > div:nth-child(3) li {
  overflow-wrap: anywhere;
}

footer > div > .grid > div:nth-child(3) ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

footer > div > .grid > div:nth-child(3) a[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block !important;
  width: auto !important;
  max-width: 100%;
}

@media (min-width: 768px) {
  footer > div > .grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(9rem, 0.8fr) minmax(13rem, 1fr);
  }
}

@media (max-width: 767px) {
  .contact-page-hero .page-hero__content {
    justify-content: center;
    text-align: center !important;
  }

  .contact-page-hero .page-hero__content > .reveal {
    align-items: center;
  }

  .contact-page-hero h1 .lang-fa,
  .contact-page-hero h1 .lang-en,
  .contact-page-hero p .lang-fa,
  .contact-page-hero p .lang-en {
    text-align: center !important;
  }

  footer > div > .grid,
  footer > div > .grid > div,
  footer h4,
  footer p,
  footer li,
  footer a {
    text-align: center !important;
  }
}

/* The contact CTA is also the active page link, but must keep its white label. */
#main-header a[href^="contact"].active-nav-link[class*="bg-"] {
  color: #fff !important;
}

.product-catalog-link:focus-visible {
  outline: 2px solid rgba(161, 44, 47, 0.45);
  outline-offset: 2px;
}

.product-catalog-shell {
  max-width: 66rem;
  margin-inline: auto;
}

.site-search {
  position: relative;
  z-index: 20;
}

.site-search__field {
  position: relative;
  display: flex;
  align-items: center;
  width: 16rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  color: #94a3b8;
  transition: width 220ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-search__field:focus-within {
  width: 19rem;
  border-color: rgba(161, 44, 47, 0.35);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(161, 44, 47, 0.07);
}

.site-search__field svg,
.site-search__mobile-field svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.site-search__field input,
.site-search__mobile-field input {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.75rem;
}

.site-search__field input { padding-inline: 0.55rem; }
.site-search__field input::-webkit-search-cancel-button,
.site-search__mobile-field input::-webkit-search-cancel-button { display: none; }

.site-search__prompt {
  position: absolute;
  z-index: 1;
  inset-inline-start: 2.25rem;
  top: 50%;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 140ms ease;
}

.site-search__field:has(input:not(:placeholder-shown)) .site-search__prompt,
.site-search__mobile-field:has(input:not(:placeholder-shown)) .site-search__prompt {
  opacity: 0;
}

.site-search__scope {
  display: inline-grid;
  width: 3.45rem;
  height: auto;
  flex: 0 0 auto;
  overflow: hidden;
  color: #b65357;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-align: start;
  vertical-align: baseline;
}

.site-search__scope-item {
  position: static;
  grid-area: 1 / 1;
  display: inline-block;
  line-height: inherit;
  white-space: nowrap;
  will-change: opacity, transform;
}

.site-search__scope-item--services {
  animation: site-search-scope-services 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.site-search__scope-item--products {
  animation: site-search-scope-products 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes site-search-scope-services {
  0%, 44% { opacity: 1; }
  49%, 94% { opacity: 0; }
  99%, 100% { opacity: 1; }
}

@keyframes site-search-scope-products {
  0%, 44% { opacity: 0; }
  49%, 94% { opacity: 1; }
  99%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-search__scope-item { animation: none; }
  .site-search__scope-item--products { display: none; }
}

.site-search__compact,
.site-search__mobile-field { display: none; }

.site-search__panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  inset-inline-end: 0;
  width: min(27rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.35rem);
  transition: opacity 160ms ease, visibility 160ms ease, transform 180ms ease;
}

.site-search.is-open .site-search__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-search__results {
  max-height: min(28rem, calc(100vh - 7rem));
  padding: 0.4rem;
  overflow-y: auto;
}

.site-search__result {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border-radius: 0.6rem;
  transition: color 160ms ease, background 160ms ease;
}

.site-search__result:hover,
.site-search__result:focus-visible {
  color: #a12c2f;
  background: #fff5f5;
  outline: none;
}

.site-search__result-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: #fff1f2;
  color: #a12c2f;
}

.site-search__result-icon svg { width: 1rem; height: 1rem; }
.site-search__result-copy { min-width: 0; }
.site-search__result-copy strong,
.site-search__result-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-search__result-copy strong { color: #0f172a; font-size: 0.8rem; }
.site-search__result-copy small { margin-top: 0.2rem; color: #94a3b8; font-size: 0.66rem; }
.site-search__result-type { color: #a12c2f; font-size: 0.62rem; font-weight: 700; }
.site-search__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1.25rem 1.6rem;
  color: #64748b;
  text-align: center;
}

.site-search__empty-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.8rem;
  border-radius: 0.85rem;
  background: #fff1f2;
  color: #a12c2f;
}

.site-search__empty-icon svg { width: 1.2rem; height: 1.2rem; }
.site-search__empty strong { color: #0f172a; font-size: 0.82rem; line-height: 1.7; }
.site-search__empty small { max-width: 20rem; margin-top: 0.3rem; color: #94a3b8; font-size: 0.69rem; line-height: 1.85; }
.site-search__empty > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: #a12c2f;
  font-size: 0.7rem;
  font-weight: 700;
  transition: gap 160ms ease, color 160ms ease;
}
.site-search__empty > a:hover { gap: 0.55rem; color: #842326; }
.site-search__empty > a svg { width: 0.8rem; height: 0.8rem; }

.all-products-section {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.all-products-section__head {
  margin-bottom: 2rem;
  text-align: center;
}

.all-products-section__head h3 {
  color: #0f172a;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 900;
}

.all-products-section__head p {
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.85rem;
}

.all-products-section__head h3 .lang-fa,
.all-products-section__head h3 .lang-en,
.all-products-section__head p .lang-fa,
.all-products-section__head p .lang-en {
  text-align: center !important;
}

.product-level-list--all-products {
  margin-top: 0;
}

.global-brand-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.global-brand-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.global-brand-loader.is-leaving {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

.brand-loading-region {
  display: grid;
  place-items: center;
}

.brand-loading-region.hidden {
  display: none;
}

.brand-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 3.5rem;
  min-height: 2rem;
}

.brand-loader i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #a12c2f;
  animation: brand-loader-pulse 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.brand-loader i:nth-child(2) {
  animation-delay: 120ms;
}

.brand-loader i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes brand-loader-pulse {
  0%, 70%, 100% {
    opacity: 0.25;
    transform: translateY(0) scale(0.82);
  }
  35% {
    opacity: 1;
    transform: translateY(-0.3rem) scale(1);
  }
}

.product-hierarchy-depth .page-hero {
  display: none;
}

.product-hierarchy-depth #products-catalog-container {
  min-height: 24rem;
}

.product-catalog-head {
  position: relative;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

.product-breadcrumb a {
  transition: color 160ms ease;
}

.product-breadcrumb a:hover,
.product-breadcrumb [aria-current="page"] {
  color: #a12c2f;
}

.product-breadcrumb svg {
  width: 0.8rem;
  height: 0.8rem;
}

.product-catalog-head h2 {
  margin-bottom: 0.75rem;
  color: #0f172a;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.35;
}

.product-catalog-head > p {
  max-width: 42rem;
  margin-inline: auto;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.9;
}

.product-catalog-head h2 .lang-fa,
.product-catalog-head h2 .lang-en,
.product-catalog-head > p .lang-fa,
.product-catalog-head > p .lang-en {
  text-align: center !important;
}

.product-level-list {
  border-bottom: 1px solid #e2e8f0;
}

.product-level-list--products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  border-bottom: 0;
}

.product-level-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto 1.5rem;
  align-items: center;
  gap: 1.25rem;
  min-height: 7.5rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  transition: color 180ms ease, padding 220ms ease, background 180ms ease;
}

.product-level-row:last-child {
  border-bottom: 0;
}

.product-level-row:hover,
.product-level-row:focus-visible {
  padding-inline: 1rem;
  color: #a12c2f;
  background: #fff7f7;
  outline: none;
}

.product-level-row__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #fff1f2;
  font-size: 1.25rem;
}

.product-level-row__number {
  display: grid;
  place-items: center;
  color: #a12c2f;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-level-row__image {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
}

.product-level-row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 320ms ease;
}

.product-level-row--product:hover .product-level-row__image img,
.product-level-row--product:focus-visible .product-level-row__image img {
  transform: scale(1.06);
}

.product-level-list--products .product-level-row--product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 18rem minmax(5rem, auto) auto;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 2px 9px rgba(15, 23, 42, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-level-list--products .product-level-row--product:hover,
.product-level-list--products .product-level-row--product:focus-visible {
  padding: 0;
  color: inherit;
  background: #fff;
  border-color: rgba(161, 44, 47, 0.22);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-0.3rem);
}

.product-level-list--products .product-level-row__image {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 18rem;
  overflow: hidden;
  background: transparent;
}

.product-level-list--products .product-level-row__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  padding: 0;
  object-fit: contain;
}

.product-level-list--products .product-level-row__body {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 1.15rem 1.25rem 0.8rem;
  text-align: center;
}

.product-level-list--products .product-level-row__body strong {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.product-level-list--products .product-level-row__body small {
  display: -webkit-box;
  overflow: hidden;
  color: #64748b;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-level-list--products .product-level-row__meta--action {
  display: flex;
  grid-column: 1;
  grid-row: 3;
  justify-content: center;
  width: calc(100% - 2.5rem);
  margin: 0 1.25rem 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.35rem;
  background: rgba(161, 44, 47, 0.09);
  color: #a12c2f;
  font-size: 0.78rem;
}

.product-level-list--products .product-level-row__arrow {
  display: none;
}

html[lang="fa"] .product-level-row__number .lang-fa,
html[lang="en"] .product-level-row__number .lang-en {
  display: inline !important;
  width: auto;
  text-align: center !important;
}

.product-level-row__body {
  min-width: 0;
}

.product-level-row__body strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.65;
}

.product-level-row__body small {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.75;
}

.product-level-row__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #94a3b8;
  font-size: 0.72rem;
  white-space: nowrap;
}

html[lang="fa"] .product-level-row__meta .lang-fa,
html[lang="en"] .product-level-row__meta .lang-en {
  display: inline !important;
  width: auto;
  text-align: inherit !important;
}

.product-level-row__meta b {
  color: #475569;
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
}

.product-level-row__meta--action {
  color: #a12c2f;
  font-weight: 700;
}

.product-level-row__arrow {
  width: 1rem;
  color: #a12c2f;
  opacity: 0;
  transform: translateX(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-level-row:hover .product-level-row__arrow,
.product-level-row:focus-visible .product-level-row__arrow {
  opacity: 1;
  transform: translateX(0);
}

.product-catalog-empty {
  padding: 4rem 1rem;
  color: #94a3b8;
  text-align: center;
}

html[dir="ltr"] .product-breadcrumb svg,
html[dir="ltr"] .product-level-row__arrow {
  transform: scaleX(-1);
}

@media (max-width: 640px) {
  .product-level-list--products {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-level-list--products .product-level-row--product {
    grid-template-rows: 17rem minmax(5rem, auto) auto;
  }

  .product-level-list--products .product-level-row__image {
    width: 100%;
    height: 17rem;
  }

  .product-level-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
    gap: 0.8rem;
    min-height: 6.75rem;
  }

  .product-level-row__meta {
    display: none;
  }

  .product-level-list--products .product-level-row__meta--action {
    display: flex;
  }

  .product-level-row__icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }

  .product-level-row__image {
    width: 2.5rem;
    height: 2.5rem;
  }

  .product-level-row__arrow {
    opacity: 0.65;
  }
}

@media (max-width: 1279px) {
  .site-search { margin-inline-start: 0.65rem; }
  .site-search__field { display: none; }
  .site-search__compact {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.55rem;
    color: #64748b;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
  }
  .site-search__compact:hover,
  .site-search__compact:focus-visible { color: #a12c2f; border-color: rgba(161, 44, 47, 0.3); background: #fff7f7; outline: none; }
  .site-search__compact svg { width: 1rem; height: 1rem; }
  .site-search__mobile-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.65rem;
    padding: 0.78rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    color: #94a3b8;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .site-search__panel {
    position: fixed;
    top: 4.6rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: none;
  }
  .site-search__mobile-field .site-search__prompt {
    inset-inline-start: 2.45rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .product-level-list--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-media-frame {
  background: transparent;
}

.product-media-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0.875rem;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-media-frame:hover img {
  transform: scale(1.025);
}

.contact-location-image {
  height: clamp(9rem, 24vw, 13rem);
}

#mobile-menu nav > div:has(> a[href^="contact"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.25rem;
  align-items: center;
  gap: 0.75rem;
}

#mobile-menu nav > div > a[href^="contact"] {
  min-width: 0;
  height: 2.75rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem !important;
  border-radius: 0.625rem !important;
  background: linear-gradient(135deg, #a12c2f, #b73539) !important;
  box-shadow: 0 10px 24px rgba(161, 44, 47, 0.18);
  line-height: 1;
  white-space: nowrap;
}

#mobile-menu nav > div > a[href^="contact"]::before {
  content: '';
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.92;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 11.19 19a19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8 9.67a16 16 0 0 0 6.33 6.33l1.23-1.23a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 11.19 19a19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8 9.67a16 16 0 0 0 6.33 6.33l1.23-1.23a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#mobile-menu nav > div > a[href^="contact"] .lang-fa,
#mobile-menu nav > div > a[href^="contact"] .lang-en {
  text-align: center !important;
}

#mobile-menu nav > div > .lang-toggle-btn {
  width: 3.25rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 0.625rem !important;
  background: #fff;
}

.header-social-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.header-social-menu.is-open .header-social-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header-social-menu.is-open .header-social-trigger {
  color: #a12c2f;
  border-color: rgba(161, 44, 47, 0.3);
  background: rgba(255, 241, 242, 0.65);
}

@media (max-width: 1023px) {
  #mobile-menu {
    max-height: calc(100svh - 4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  #mobile-menu nav {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .mobile-products-menu {
    overflow: hidden;
    border-radius: 0.625rem;
  }

  .mobile-products-menu [hidden] {
    display: none !important;
  }

  .mobile-products-menu__toggle,
  .mobile-products-menu__branch-toggle {
    width: 100%;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 0;
    background: transparent;
    color: #334155;
    cursor: pointer;
    font: inherit;
    text-align: start;
  }

  .mobile-products-menu__toggle {
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .mobile-products-menu.is-current > .mobile-products-menu__toggle,
  .mobile-products-menu.is-open > .mobile-products-menu__toggle {
    color: #a12c2f;
    background: #fff1f2;
  }

  .mobile-products-menu__label,
  .mobile-products-menu__branch-toggle > span:not(.mobile-products-menu__category-icon),
  .mobile-products-menu__leaf > span:not(.mobile-products-menu__category-icon) {
    min-width: 0;
    flex: 1;
  }

  .mobile-products-menu__label .lang-fa,
  .mobile-products-menu__label .lang-en,
  .mobile-products-menu__branch-toggle .lang-fa,
  .mobile-products-menu__branch-toggle .lang-en,
  .mobile-products-menu__leaf .lang-fa,
  .mobile-products-menu__leaf .lang-en {
    text-align: start !important;
  }

  .mobile-products-menu__chevron {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: #94a3b8;
    transition: transform 180ms ease, color 180ms ease;
  }

  [data-mobile-product-toggle][aria-expanded="true"] > .mobile-products-menu__chevron {
    color: #a12c2f;
    transform: rotate(180deg);
  }

  .mobile-products-menu__panel {
    margin-top: 0.25rem;
    padding: 0.45rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
    animation: mobileProductsReveal 180ms ease both;
  }

  .mobile-products-menu__panel-header {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0.65rem 0.65rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .mobile-products-menu__panel-header strong {
    color: #0f172a;
    font-size: 0.8125rem;
  }

  .mobile-products-menu__panel-header a {
    flex: 0 0 auto;
    color: #a12c2f;
    font-size: 0.6875rem;
    font-weight: 700;
  }

  .mobile-products-menu__items {
    padding-top: 0.35rem;
  }

  .mobile-products-menu__items--nested {
    padding-top: 0;
  }

  .mobile-products-menu__branch + .mobile-products-menu__branch,
  .mobile-products-menu__branch + .mobile-products-menu__leaf,
  .mobile-products-menu__leaf + .mobile-products-menu__branch,
  .mobile-products-menu__leaf + .mobile-products-menu__leaf {
    border-top: 1px solid #e8edf3;
  }

  .mobile-products-menu__branch-toggle,
  .mobile-products-menu__leaf {
    min-height: 2.75rem;
    padding: 0.65rem 0.6rem;
    font-size: 0.8125rem;
    line-height: 1.65;
  }

  .mobile-products-menu__branch-toggle {
    justify-content: flex-start;
    font-weight: 600;
    transition: color 160ms ease;
  }

  .mobile-products-menu__branch.is-open > .mobile-products-menu__branch-toggle {
    color: #a12c2f;
  }

  .mobile-products-menu__branch-toggle > .mobile-products-menu__chevron {
    margin-inline-start: auto;
  }

  .mobile-products-menu__category-icon {
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 0.45rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    font-size: 0.9rem;
  }

  .mobile-products-menu__children {
    margin: 0 0.45rem 0.45rem;
    padding: 0.3rem 0.45rem 0.4rem;
    border-inline-start: 2px solid #fecdd3;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.78);
    animation: mobileProductsReveal 180ms ease both;
  }

  .mobile-products-menu__children--products {
    margin-inline-end: 0;
    background: #fff;
  }

  .mobile-products-menu__branch--subcategory > .mobile-products-menu__branch-toggle {
    min-height: 2.55rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 500;
  }

  .mobile-products-menu__leaf {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #475569;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .mobile-products-menu__leaf:active {
    color: #a12c2f;
    background: #fff1f2;
  }

  .mobile-products-menu__leaf > svg {
    width: 0.875rem;
    height: 0.875rem;
    flex: 0 0 auto;
    color: #94a3b8;
  }

  .mobile-products-menu__leaf--product {
    min-height: 2.35rem;
    padding-block: 0.45rem;
    font-size: 0.75rem;
  }

  html[dir="rtl"] .mobile-products-menu__leaf > svg {
    transform: scaleX(-1);
  }

  @keyframes mobileProductsReveal {
    from {
      opacity: 0;
      transform: translateY(-0.3rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.products-mega-menu {
  display: none;
}

@media (min-width: 1024px) {
  .products-mega-trigger,
  .products-mega-trigger__label {
    position: relative;
  }

  .products-mega-menu {
    position: absolute;
    z-index: 80;
    top: 100%;
    display: block;
    width: min(20rem, calc(100vw - 3rem));
    height: auto;
    max-height: calc(100vh - 5rem);
    overflow: hidden auto;
    direction: rtl;
    border: 1px solid #e2e8f0;
    border-top: 2px solid #a12c2f;
    border-radius: 0 0 1rem 1rem;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.55rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  #main-header.products-mega-is-open .products-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .products-mega-menu[data-visible-columns="2"] {
    width: min(40rem, calc(100vw - 3rem));
  }

  .products-mega-menu[data-visible-columns="3"] {
    width: min(60rem, calc(100vw - 3rem));
  }

  .products-mega-menu__tree {
    position: relative;
    height: auto;
  }

  .products-mega-column {
    position: absolute;
    top: 0;
    inset-inline-start: 100%;
    width: 20rem;
    height: 100%;
    overflow: visible;
    border-inline-end: 1px solid #e2e8f0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(0.4rem);
    transition: opacity 150ms ease, transform 180ms ease, visibility 150ms ease;
  }

  .products-mega-column--level-2 {
    position: relative;
    inset-inline-start: 0;
    width: 20rem;
    height: auto;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none;
  }

  #main-header.products-mega-is-open .products-mega-column--level-2 {
    visibility: visible;
    pointer-events: auto;
  }

  .products-mega-column--level-3,
  .products-mega-column--level-4 {
    width: 20rem;
  }

  .products-mega-column--level-3 {
    z-index: 1;
  }

  .products-mega-column--level-4 {
    z-index: 2;
  }

  .products-mega-branch:hover > .products-mega-column,
  .products-mega-branch:focus-within > .products-mega-column,
  .products-mega-branch.is-active > .products-mega-column {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .products-mega-column__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 3.65rem;
    padding: 0.8rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafafa;
  }

  .products-mega-column__header strong {
    display: block;
    text-align: start;
  }

  .products-mega-column__header strong {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.86rem;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .products-mega-column__items {
    max-height: calc(100% - 3.65rem);
    overflow-y: auto;
    padding: 0.55rem;
  }

  .products-mega-column--level-2 > .products-mega-column__items {
    max-height: none;
    overflow: visible;
    padding-bottom: 0.2rem;
  }

  .products-mega-link {
    display: grid;
    grid-template-columns: 1.65rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.65rem;
    padding: 0.45rem 0.7rem;
    border-radius: 0.6rem;
    color: #475569;
    font-size: 0.77rem;
    line-height: 1.55;
    transition: color 150ms ease, background 150ms ease, padding 180ms ease;
  }

  .products-mega-link:hover,
  .products-mega-link:focus-visible,
  .products-mega-branch:focus-within > .products-mega-link {
    padding-inline: 0.85rem;
    color: #a12c2f;
    background: #fff1f2;
    outline: none;
  }

  .products-mega-branch:hover > .products-mega-link {
    color: #a12c2f;
    background: #fff1f2;
  }

  .products-mega-link__icon {
    font-size: 0.95rem;
    text-align: center;
  }

  .products-mega-link svg {
    width: 0.85rem;
    height: 0.85rem;
    opacity: 0.55;
  }

  .products-mega-link--product {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .products-mega-column--level-3 > .products-mega-column__items > .products-mega-branch > .products-mega-link {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .products-mega-link > span:not(.products-mega-link__icon),
  .products-mega-link > span:not(.products-mega-link__icon) > .lang-fa,
  .products-mega-link > span:not(.products-mega-link__icon) > .lang-en {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .products-mega-empty {
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 0.72rem;
    text-align: center;
  }

  .products-mega-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.15rem 0.8rem 0.65rem;
    min-height: 2.6rem;
    border-top: 1px solid #f1f5f9;
    background: rgba(255, 255, 255, 0.96);
    color: #a12c2f;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .products-mega-view-all svg {
    width: 0.85rem;
  }

  html[dir="ltr"] .products-mega-menu {
    direction: ltr;
  }

  html[dir="ltr"] .products-mega-link > svg,
  html[dir="ltr"] .products-mega-view-all svg {
    transform: scaleX(-1);
  }
}

.developer-credit {
  direction: rtl;
  color: #94a3b8;
  transition: color 180ms ease;
}

.developer-credit:hover {
  color: #a12c2f;
}

.developer-credit__handle {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
}

.developer-credit svg {
  transition: transform 180ms ease;
}

.developer-credit:hover svg {
  transform: translateY(-1px);
}

.developer-credit:focus-visible {
  color: #a12c2f;
  outline: 2px solid rgba(161, 44, 47, 0.3);
  outline-offset: 4px;
  border-radius: 4px;
}

html[dir="ltr"] .developer-credit {
  direction: ltr;
}

/* Collaboration process timeline */
.process-timeline {
  --timeline-gutter: 3.25rem;
  --timeline-marker-size: 2.25rem;
  --timeline-step-gap: 1.25rem;
}

.process-timeline__line {
  display: none;
}

.process-step {
  min-height: 4.75rem;
  padding-inline-start: var(--timeline-gutter);
}

.process-steps.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  margin-top: var(--timeline-step-gap) !important;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 1.125rem;
  inset-inline-start: calc(var(--timeline-marker-size) / 2);
  width: 2px;
  height: calc(100% + var(--timeline-step-gap));
  background: #e2e8f0;
  transform: translateX(-50%);
}

.process-step__marker {
  inline-size: var(--timeline-marker-size) !important;
  block-size: var(--timeline-marker-size) !important;
  inset-inline-start: 0;
  top: 0;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  background: linear-gradient(135deg, #a12c2f, #bf3a3e) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(161, 44, 47, 0.18);
  font-family: 'Vazirmatn', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}

.process-step__content {
  min-width: 0;
  text-align: start;
}

.process-step__content h3,
.process-step__content p {
  overflow-wrap: anywhere;
}

.process-step__marker .lang-fa,
.process-step__marker .lang-en {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 1em;
  block-size: 1em;
  line-height: 1 !important;
  text-align: center !important;
  transform: translateY(-0.02em);
}

@media (min-width: 768px) {
  .process-timeline__line {
    display: block;
    left: 50%;
    top: 1.75rem;
    bottom: 1.75rem;
    transform: translateX(-50%);
  }

  .process-step {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr);
    padding-inline-start: 0;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step__content {
    grid-column: 1;
    align-self: center;
    justify-self: end;
    max-width: 25rem;
    text-align: end;
  }

  .process-step--even .process-step__content {
    grid-column: 3;
    justify-self: start;
    text-align: start;
  }

  .process-step__marker {
    position: relative !important;
    inline-size: 2.375rem !important;
    block-size: 2.375rem !important;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }

  .process-step--even .process-step__marker {
    justify-self: center;
  }

  .process-step > .hidden {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(24px);
  }

  .process-step__content h3 {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0.35rem;
  }

  .process-step__content p {
    font-size: 0.8125rem;
  }
}

html[dir="rtl"] .header-social-panel {
  transform-origin: top right;
}

@media (prefers-reduced-motion: reduce) {
  .animate-page-in,
  .reveal,
  .product-media-frame img,
  .product-level-row__image img,
  .brand-loader i {
    animation: none !important;
    transition: none !important;
  }

  .header-social-panel {
    transition: none !important;
  }

  .developer-credit,
  .developer-credit svg {
    transition: none !important;
  }

  .mobile-products-menu__panel,
  .mobile-products-menu__children {
    animation: none !important;
  }

  .mobile-products-menu__toggle,
  .mobile-products-menu__branch-toggle,
  .mobile-products-menu__chevron,
  .mobile-products-menu__leaf {
    transition: none !important;
  }
}
