/* JETMECH combined-site UX refinement — 2026-07-18
   Loaded after the legacy inline header rules so this file is the final visual source of truth. */

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --type-display: clamp(44px, 5.2vw, 68px);
  --type-section: clamp(31px, 3.5vw, 44px);
  --type-product: clamp(24px, 2.4vw, 32px);
  --type-subhead: 20px;
  --type-body: 16px;
  --type-small: 14px;
  --header-height: 76px;
}

html {
  scroll-padding-top: 158px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: 1.65;
  font-kerning: normal;
}

button,
input,
select,
textarea {
  font: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(29, 112, 194, 0.34);
  outline-offset: 3px;
}

.hero h1 {
  max-width: 800px;
  font-size: var(--type-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.hero-lead {
  max-width: 690px;
  font-size: 17px;
  line-height: 1.68;
}

.hero-actions .button {
  min-height: 50px;
  border-radius: 10px;
  padding-inline: 22px;
  font-weight: 750;
}

.hero-actions .button-primary {
  background: linear-gradient(135deg, #b3132a, #7d0918);
}

.hero-actions .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.section-header h2,
.company-panel h2,
.contact-copy h2 {
  font-size: var(--type-section);
  font-weight: 800;
  letter-spacing: -0.018em;
}

.section-header p:not(.eyebrow),
.company-panel p,
.contact-copy p {
  line-height: 1.68;
}

.eyebrow,
.product-label,
.detail-summary span,
.spec-highlight-grid span,
.spec-table span {
  font-weight: 750;
}

.detail-section-title h4,
.visual-config-heading h4,
.spec-block h4 {
  font-weight: 750;
}

.product-copy h3,
.detail-header h3 {
  font-size: var(--type-product);
  font-weight: 800;
  letter-spacing: -0.012em;
}

.spec-table,
.spec-highlight-grid,
.shedding-spec-table {
  font-variant-numeric: tabular-nums;
}

/* Lifetime visits followed by the current Beijing-day count. */
[data-site-visit-values] {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

[data-site-visit-daily-count] {
  display: inline-block;
  min-width: 3ch;
  text-align: left;
}

/* Persistent product choice */
.product-tabs {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  z-index: 32;
  width: min(1120px, 100%);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 3px;
  background: rgba(243, 247, 252, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(7, 31, 88, 0.09);
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
}

.product-tab {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px;
  color: #24405e;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-tab span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-tab strong {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  opacity: 0.82;
  white-space: nowrap;
}

.product-tab:hover {
  background: rgba(15, 99, 189, 0.06);
}

.product-tab.is-selected,
.product-tab[aria-selected="true"] {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(23, 111, 190, 0.66), rgba(10, 62, 130, 0.66));
  border-color: rgba(9, 71, 137, 0.46);
  box-shadow: 0 6px 16px rgba(13, 91, 172, 0.16);
}

.product-tab-waterjet.is-selected,
.product-tab-waterjet[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(181, 28, 49, 0.66), rgba(123, 9, 24, 0.66));
  border-color: rgba(146, 12, 31, 0.48);
  box-shadow: 0 6px 16px rgba(169, 15, 34, 0.15);
}

.product-card {
  min-height: 560px;
  grid-template-rows: 280px 1fr;
}

.product-card.is-selected {
  transform: translateY(-4px);
}

.product-detail-panel {
  scroll-margin-top: 158px;
}

.mobile-product-switch {
  display: none !important;
}

/* Quote form */
.contact-shell {
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.08fr);
  gap: 42px;
}

.contact-side {
  gap: 14px;
}

.quote-form {
  padding: 22px;
  color: #1b2c42;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(2, 19, 52, 0.24);
}

.quote-form,
.quote-form * {
  -webkit-user-select: text;
  user-select: text;
}

.quote-form-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.quote-form-heading span {
  color: #9e1227;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quote-form-heading strong {
  color: #09285e;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-form label,
.quote-form .quote-form-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.quote-form label > span,
.quote-form .quote-product-label {
  color: #41556d;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.2;
}

.quote-form input,
.quote-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: #13263e;
  background: #f8fafc;
  border: 1px solid #ccd8e5;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.3;
}

.quote-form input::placeholder {
  color: #8290a0;
}

.quote-form input:focus,
.quote-form select:focus {
  background: #ffffff;
  border-color: #2777bd;
  box-shadow: 0 0 0 3px rgba(39, 119, 189, 0.13);
  outline: none;
}

/*
 * Mobile loom-type selector — local review v73.
 * Android and iOS render the expanded native select outside the page, so its
 * oversized white chooser cannot be styled. The enhanced control keeps the
 * original select as the FormData source and uses a compact in-page list only
 * on small screens; desktop retains the native select.
 */
.quote-product-picker {
  display: none;
  position: relative;
  min-width: 0;
}

.quote-product-trigger,
.quote-product-option {
  width: 100%;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.quote-product-trigger {
  min-height: 44px;
  padding: 9px 12px;
  color: #17324f;
  background: linear-gradient(135deg, rgba(238, 245, 251, 0.98), rgba(225, 236, 246, 0.94));
  border: 1px solid rgba(42, 101, 151, 0.25);
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(15, 55, 91, 0.08);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.25;
  text-align: start;
}

.quote-product-trigger:hover {
  border-color: rgba(31, 108, 171, 0.42);
}

.quote-product-trigger:focus-visible,
.quote-product-option:focus-visible {
  outline: 3px solid rgba(39, 119, 189, 0.2);
  outline-offset: 2px;
}

.quote-product-picker.is-open .quote-product-trigger {
  border-color: #2777bd;
  box-shadow: 0 0 0 3px rgba(39, 119, 189, 0.12);
}

.quote-product-options {
  position: absolute;
  z-index: 40;
  inset-block-start: calc(100% + 6px);
  inset-inline: 0;
  display: grid;
  gap: 4px;
  padding: 5px;
  background: rgba(228, 238, 247, 0.97);
  border: 1px solid rgba(28, 79, 124, 0.2);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(4, 31, 61, 0.17);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.quote-product-options[hidden] {
  display: none;
}

.quote-product-option {
  min-height: 44px;
  padding: 9px 11px;
  color: #1a2d43;
  background: rgba(249, 252, 255, 0.42);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  text-align: start;
}

.quote-product-option:hover,
.quote-product-option:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(31, 108, 171, 0.18);
}

.quote-product-option.is-selected {
  color: #0b558f;
  background: rgba(36, 119, 189, 0.13);
  border-color: rgba(36, 119, 189, 0.34);
  font-weight: 800;
}

.quote-product-option[data-value="Water Jet Loom"].is-selected {
  color: #8f1427;
  background: rgba(169, 15, 34, 0.1);
  border-color: rgba(169, 15, 34, 0.28);
}

.quote-product-option[data-value="Need Recommendation"].is-selected {
  color: #304c67;
  background: rgba(101, 130, 157, 0.12);
  border-color: rgba(74, 105, 133, 0.25);
}

.quote-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #b5152c, #7c0918);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(169, 15, 34, 0.22);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.quote-submit:hover {
  background: linear-gradient(135deg, #c31a33, #890b1c);
}

.quote-form-note {
  margin: 9px 0 0 !important;
  color: #6d7b8c !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

.contact-company-info {
  grid-template-columns: 1.3fr 1fr;
  padding: 0 16px;
}

.contact-company-info div {
  padding: 12px 0;
}

.contact-company-info div + div {
  padding-left: 16px;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-company-info .contact-factory-name dd {
  font-size: 14px;
  white-space: normal;
}

.contact-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-actions .button {
  min-height: 46px;
  padding: 10px 12px;
  font-size: 12.5px;
}

@media (max-width: 1100px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: 140px;
  }

  .site-header[data-header] .header-whatsapp {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: none !important;
    height: 40px !important;
    padding: 0 12px !important;
    color: #ffffff !important;
  }

  .site-header[data-header] .header-whatsapp span {
    color: #ffffff !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    opacity: 1 !important;
    text-transform: none !important;
  }

  .site-header[data-header] .header-whatsapp strong {
    display: none !important;
  }

  .site-header[data-header] .site-nav {
    position: absolute !important;
    top: 68px !important;
    right: 10px !important;
    left: auto !important;
    width: min(300px, calc(100vw - 20px)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100svh - 82px) !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    padding: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overscroll-behavior: contain;
  }

  .site-header[data-header] .site-nav.is-open,
  .site-header[data-header] .site-nav[data-open="true"] {
    display: flex !important;
  }

  .site-header[data-header] .site-nav > a:not(.nav-whatsapp) {
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    color: #15324f !important;
    background: #ffffff !important;
    border: 1px solid rgba(27, 66, 111, 0.1) !important;
    border-radius: 10px !important;
  }

  .product-tabs {
    top: calc(var(--header-height) + 4px);
  }

  .product-detail-panel {
    scroll-margin-top: 140px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: min(690px, calc(100svh - var(--header-height)));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding: 42px 0 30px;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(34px, 9.8vw, 40px);
    line-height: 1.06;
  }

  .hero-lead {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .hero-actions .button {
    width: min(100%, 330px);
    min-height: 46px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .section-header h2,
  .company-panel h2,
  .contact-copy h2 {
    font-size: 28px;
  }

  .section-header p:not(.eyebrow),
  .company-panel p,
  .contact-copy p {
    font-size: 14.5px;
    line-height: 1.62;
  }

  .product-tabs {
    width: 100%;
    margin-bottom: 10px;
    gap: 3px;
    padding: 1px;
    border-radius: 10px;
  }

  .product-tab {
    min-width: 0;
    min-height: 30px;
    container-type: inline-size;
    justify-content: center;
    gap: 3px;
    padding: 2px 4px;
    border-radius: 8px;
    touch-action: manipulation;
  }

  .product-tab span {
    min-width: 0;
    flex: 0 1 auto;
    font-size: clamp(7.8px, 2.5vw, 9.3px);
    font-size: clamp(7.8px, 5.2cqi, 9.3px);
    letter-spacing: 0.025em;
  }

  .product-tab strong {
    min-width: 0;
    flex: 0 1 auto;
    font-size: clamp(7.1px, 2.15vw, 8.2px);
    font-size: clamp(7.1px, 4.7cqi, 8.2px);
    opacity: 0.76;
  }

  .product-grid,
  .product-grid.is-mobile-focused {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-grid.is-mobile-focused .product-card:not(.is-selected) {
    display: grid !important;
  }

  .product-card,
  .product-grid.is-mobile-focused .product-card {
    min-height: 0 !important;
    grid-template-rows: 112px auto !important;
    border-radius: 12px !important;
    transform: none !important;
  }

  .product-card::after {
    display: none !important;
  }

  .product-photo-air img,
  .product-photo-water img {
    object-position: center !important;
  }

  .product-copy {
    min-width: 0;
    padding: 11px !important;
  }

  .product-copy .product-label {
    min-height: 23px;
    padding: 0 7px;
    font-size: 9px !important;
    white-space: nowrap;
  }

  .product-copy h3 {
    margin-top: 8px;
    font-size: 15px !important;
    line-height: 1.22;
    text-wrap: pretty;
  }

  .product-copy > p:not(.product-label),
  .product-copy ul,
  .product-copy .text-link {
    display: none !important;
  }

  .product-detail-panels,
  .product-grid.is-mobile-focused + .product-detail-panels {
    margin-top: 12px;
  }

  .product-detail-panel {
    padding: 16px !important;
  }

  .detail-header h3 {
    font-size: 24px;
  }

  .detail-header p:not(.eyebrow),
  .detail-intro-points li,
  .model-note p {
    font-size: 14px;
  }

  .shedding-spec-table-wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .shedding-spec-table {
    width: 100% !important;
    min-width: 720px !important;
  }

  .shedding-spec-table thead th {
    padding: 9px 8px !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    overflow-wrap: normal !important;
  }

  .shedding-spec-table tbody th,
  .shedding-spec-table tbody td {
    padding: 8px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
  }

  .contact-section {
    padding: 42px 18px;
  }

  .contact-shell {
    gap: 24px;
  }

  .quote-form {
    padding: 17px;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quote-form input,
  .quote-form select {
    min-height: 48px;
    font-size: 16px;
  }

  .contact-company-info,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-company-info div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

/* Compact shedding comparison table and reveal hidden columns. */
.shedding-spec-table thead th:first-child {
  width: 18%;
}

.shedding-spec-table-shell {
  position: relative;
  --shedding-sticky-column-width: 144px;
}

.shedding-table-scroll-cue {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 24px;
  height: 34px;
  place-items: center;
  margin-top: -17px;
  padding: 0;
  appearance: none;
  pointer-events: none;
  cursor: pointer;
  opacity: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(190, 22, 48, 0.24);
  transition: opacity 160ms ease, transform 160ms ease;
}

.shedding-table-scroll-cue--previous {
  right: auto;
  left: calc(var(--shedding-sticky-column-width) + 6px);
  border-radius: 4px 12px 12px 4px;
  box-shadow: 6px 0 14px rgba(18, 63, 118, 0.15);
  transform: translateX(-3px);
}

.shedding-table-scroll-cue--next {
  right: 6px;
  left: auto;
  border-radius: 12px 4px 4px 12px;
  box-shadow: -6px 0 14px rgba(18, 63, 118, 0.15);
  transform: translateX(3px);
}

.shedding-table-scroll-cue::before {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 3px solid #c51632;
  border-right: 3px solid #c51632;
}

.shedding-table-scroll-cue--previous::before {
  transform: rotate(-135deg);
}

.shedding-table-scroll-cue--next::before {
  transform: rotate(45deg);
}

.shedding-spec-table-shell.has-scroll-overflow:not(.is-at-scroll-start) .shedding-table-scroll-cue--previous,
.shedding-spec-table-shell.has-scroll-overflow:not(.is-at-scroll-end) .shedding-table-scroll-cue--next {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.shedding-spec-table-shell.has-scroll-overflow:not(.is-at-scroll-start) .shedding-table-scroll-cue--previous {
  animation: shedding-scroll-nudge-previous 1.45s ease-in-out 3;
}

.shedding-spec-table-shell.has-scroll-overflow:not(.is-at-scroll-end) .shedding-table-scroll-cue--next {
  animation: shedding-scroll-nudge-next 1.45s ease-in-out 3;
}

.shedding-table-scroll-cue:focus-visible {
  outline: 3px solid rgba(197, 22, 50, 0.24);
  outline-offset: 2px;
}

.shedding-table-scroll-cue:disabled {
  pointer-events: none;
}

@keyframes shedding-scroll-nudge-previous {
  50% {
    transform: translateX(-3px);
  }
}

@keyframes shedding-scroll-nudge-next {
  50% {
    transform: translateX(3px);
  }
}

@media (max-width: 640px) {
  .shedding-spec-table-wrap {
    overflow-x: auto !important;
    padding-inline-end: 36px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: var(--shedding-sticky-column-width);
    scroll-behavior: smooth;
    touch-action: pan-x pan-y;
  }

  .shedding-spec-table {
    width: 720px !important;
    min-width: 720px !important;
  }

  .shedding-spec-table thead th:first-child {
    box-sizing: border-box;
    width: var(--shedding-sticky-column-width) !important;
    min-width: var(--shedding-sticky-column-width) !important;
    max-width: var(--shedding-sticky-column-width) !important;
  }

  .shedding-spec-table thead th:not(:first-child) {
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .shedding-spec-table tbody th {
    box-sizing: border-box;
    width: var(--shedding-sticky-column-width) !important;
    min-width: var(--shedding-sticky-column-width) !important;
    max-width: var(--shedding-sticky-column-width) !important;
    padding-inline: 12px 10px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal;
  }
}

/* Keep specification labels visible while model columns scroll horizontally. */
.shedding-spec-table thead th:first-child,
.shedding-spec-table tbody th {
  position: sticky;
  left: 0;
  inset-inline-start: 0;
  background-clip: padding-box;
  box-shadow: 7px 0 12px -10px rgba(9, 42, 99, 0.62);
}

.shedding-spec-table tbody th {
  z-index: 3;
}

.shedding-spec-table thead th:first-child {
  z-index: 6;
}

html[dir="rtl"] .shedding-spec-table thead th:first-child,
html[dir="rtl"] .shedding-spec-table tbody th {
  right: 0;
  left: auto;
  box-shadow: -7px 0 12px -10px rgba(9, 42, 99, 0.62);
}

@media (prefers-reduced-motion: reduce) {
  .shedding-spec-table-shell.has-scroll-overflow .shedding-table-scroll-cue {
    animation: none;
  }
}

@media (max-width: 390px) {
  .site-header[data-header] .brand img {
    width: min(100%, 136px) !important;
    max-width: 136px !important;
  }

  .site-header[data-header] .header-whatsapp {
    min-width: 88px !important;
    padding-inline: 9px !important;
  }

  .site-header[data-header] .header-whatsapp span {
    font-size: 10.5px !important;
  }

  .product-tabs {
    top: calc(var(--header-height) + 3px);
    margin-bottom: 8px;
    gap: 2px;
  }

  .product-tab {
    min-height: 28px;
    gap: 2px;
    padding-inline: 3px;
    border-radius: 7px;
  }

  .product-copy h3 {
    font-size: 14px !important;
  }
}

/* Keep the established hero crop while exposing the image to search engines. */
.hero-media {
  background-image: none !important;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
}

@media (max-width: 1120px) {
  .hero-media > img {
    inset: auto;
    top: 50%;
    left: 80%;
    width: auto;
    height: 92%;
    transform: translate(-80%, -50%);
    object-fit: fill;
  }
}

@media (max-width: 760px) {
  .hero-media {
    background-image: none !important;
  }

  .hero-media > img {
    left: 84%;
    transform: translate(-84%, -50%);
  }
}

/* V85: the header WhatsApp control uses one correctly cased label only. */
.site-header .header-whatsapp > span {
  font-size: clamp(11px, 0.9vw, 13px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Desktop WhatsApp balance refinement — 2026-07-19 */
@media (min-width: 1121px) {
  .site-header[data-header] .header-whatsapp {
    flex: 0 0 146px !important;
    width: 146px !important;
    min-width: 146px !important;
    max-width: 146px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 5px 8px !important;
    gap: 1px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #1b78bd 0%, #1769a9 100%) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 3px 10px rgba(7, 81, 156, 0.14) !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
  }

  .site-header[data-header] .header-whatsapp span {
    font-size: 7.6px !important;
    letter-spacing: 0.08em !important;
    opacity: 0.9 !important;
  }

  .site-header[data-header] .header-whatsapp strong {
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
  }

  .site-header[data-header] .header-whatsapp::before,
  .site-header[data-header] .header-whatsapp::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  .site-header[data-header] .header-whatsapp:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 12px rgba(7, 81, 156, 0.16) !important;
  }
}

/* Mobile header compact refinement — 2026-07-19 */
@media (max-width: 1120px) {
  :root {
    --header-height: 50px;
  }

  html {
    scroll-padding-top: 108px;
  }

  .site-header[data-header] {
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    padding-inline: 8px !important;
  }

  .site-header[data-header] .header-inner {
    min-height: var(--header-height) !important;
    padding-block: 2px !important;
    gap: 6px !important;
  }

  .site-header[data-header] .brand img {
    width: min(100%, 166px) !important;
    max-width: 166px !important;
    max-height: 34px !important;
  }

  .site-header[data-header] .header-whatsapp {
    width: auto !important;
    min-width: 104px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding-inline: 7px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #1b78bd 0%, #1769a9 100%) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 2px 6px rgba(7, 81, 156, 0.12) !important;
  }

  .site-header[data-header] .header-whatsapp span {
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  .site-header[data-header] .header-whatsapp::before,
  .site-header[data-header] .header-whatsapp::after {
    display: none !important;
  }

  .site-header[data-header] .header-whatsapp:hover {
    transform: none !important;
    box-shadow: 0 2px 6px rgba(7, 81, 156, 0.12) !important;
  }

  .site-header[data-header] .menu-toggle {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    border-radius: 10px !important;
  }

  .site-header[data-header] .site-nav {
    top: var(--header-height) !important;
    max-height: calc(100svh - var(--header-height) - 12px) !important;
  }

  .product-tabs {
    top: calc(var(--header-height) + 4px);
  }

  .product-detail-panel {
    scroll-margin-top: 108px;
  }
}

@media (max-width: 390px) {
  .site-header[data-header] .brand img {
    width: min(100%, 136px) !important;
    max-width: 136px !important;
  }

  .site-header[data-header] .header-whatsapp {
    min-width: 98px !important;
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
    padding-inline: 5px !important;
  }

  .site-header[data-header] .header-whatsapp span {
    font-size: 8.2px !important;
  }
}

/* Unified fine-frame specification cards — local review v30 */
.product-detail-panel .spec-table > div {
  border: 1px solid rgba(204, 218, 235, 0.68);
  box-shadow: none;
}

/* Footer brand typography refinement — local review v34 */
.footer-brand strong {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-rendering: geometricPrecision;
}

/* Mobile and narrow-screen header balance refinement — local review v35 */
@media (max-width: 900px) {
  :root {
    --header-height: 44px;
  }

  html {
    scroll-padding-top: 102px;
  }

  .site-header[data-header] {
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    padding-block: 0 !important;
  }

  .site-header[data-header] .header-inner {
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    padding-block: 1px !important;
    gap: 6px !important;
    align-items: center !important;
  }

  .site-header[data-header] .header-whatsapp {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding-inline: 6px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(7, 81, 156, 0.08) !important;
    touch-action: manipulation;
  }

  .site-header[data-header] .header-whatsapp span {
    font-size: 7.8px !important;
  }

  .site-header[data-header] .header-whatsapp:hover {
    transform: none !important;
    box-shadow: 0 1px 4px rgba(7, 81, 156, 0.08) !important;
  }

  .site-header[data-header] .menu-toggle {
    flex: 0 0 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 9px !important;
    box-shadow: 0 1px 4px rgba(11, 42, 82, 0.07) !important;
    touch-action: manipulation;
  }

  .site-header[data-header] .menu-toggle span {
    width: 16px !important;
  }

  .product-detail-panel {
    scroll-margin-top: 102px;
  }
}

@media (max-width: 390px) {
  .site-header[data-header] .header-whatsapp {
    flex-basis: 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
    padding-inline: 5px !important;
  }

  .site-header[data-header] .header-whatsapp span {
    font-size: 7.6px !important;
  }
}

/* Mobile frosted header and image request cleanup — local review v36 */
@media (max-width: 640px) {
  .site-header[data-header] {
    background: rgba(247, 250, 255, 0.91) !important;
    -webkit-backdrop-filter: blur(10px) saturate(118%) !important;
    backdrop-filter: blur(10px) saturate(118%) !important;
    border-bottom: 1px solid rgba(149, 171, 204, 0.32) !important;
    box-shadow: 0 2px 10px rgba(14, 46, 89, 0.06) !important;
  }

  .site-header[data-header] .header-inner {
    background: transparent !important;
  }
}

/* Six-language header controls with Russian placeholder — local review v49 */
.site-language-row {
  box-sizing: border-box;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(190, 207, 228, 0.78);
  border-radius: 9px;
  background: rgba(238, 244, 251, 0.88);
}

.site-language-row--desktop {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(6, auto);
  margin-left: 0;
}

.site-language-row--mobile {
  display: none;
}

.site-language-option {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(3px, 0.4vw, 6px);
  border: 1px solid transparent;
  border-radius: 7px;
  color: #173a60;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: clamp(9.2px, 0.72vw, 10.5px);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
}

.site-language-option[lang="id"] {
  font-size: clamp(8.9px, 0.7vw, 10.2px);
  letter-spacing: -0.015em;
}

.site-language-option.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #b31228, #8f0a19);
  border-color: rgba(143, 10, 25, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 10px rgba(169, 15, 34, 0.15);
}

.site-language-option[aria-disabled="true"] {
  color: #173a60;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1120px) {
  :root {
    --site-language-row-space: 22px;
  }

  .site-header[data-header] {
    height: calc(var(--header-height) + var(--site-language-row-space)) !important;
    min-height: calc(var(--header-height) + var(--site-language-row-space)) !important;
    transition: height 180ms ease, min-height 180ms ease !important;
  }

  .site-language-row--desktop {
    display: none;
  }

  .site-language-row--mobile {
    width: min(1360px, 100%);
    height: 18px;
    max-height: 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    margin: 2px auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    transform: translateY(0);
    transition:
      height 180ms ease,
      max-height 180ms ease,
      margin 180ms ease,
      opacity 150ms ease,
      transform 180ms ease;
  }

  .site-language-row--mobile .site-language-option {
    min-height: 18px;
    height: 18px;
    padding: 0 3px;
    border-color: rgba(194, 209, 228, 0.68);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.78),
      0 1px 3px rgba(18, 53, 94, 0.05);
    font-size: clamp(8.7px, 1.05vw, 10.2px);
  }

  .site-language-row--mobile .site-language-option[lang="id"] {
    font-size: 7.8px;
  }

  .site-language-row--mobile .site-language-option.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #b31228, #8f0a19);
    border-color: rgba(143, 10, 25, 0.76);
  }

  .site-header[data-header].is-site-language-row-hidden {
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
  }

  .site-header[data-header].is-site-language-row-hidden .site-language-row--mobile {
    height: 0;
    max-height: 0;
    margin-block: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
  }

  html:not(.site-language-row-hidden) .product-tabs {
    top: calc(var(--header-height) + var(--site-language-row-space) + 4px);
  }
}

@media (max-width: 900px) {
  .site-header[data-header] .site-nav {
    top: 100% !important;
    max-height: calc(100svh - var(--header-height) - var(--site-language-row-space) - 12px) !important;
  }

  .site-header[data-header].is-site-language-row-hidden .site-nav {
    max-height: calc(100svh - var(--header-height) - 12px) !important;
  }
}

@media (max-width: 640px) {
  .site-language-row--mobile {
    gap: 2px;
  }

  .site-language-row--mobile .site-language-option {
    padding-inline: 1px;
    font-size: clamp(7.4px, 2.05vw, 8.6px);
  }

  .site-language-row--mobile .site-language-option[lang="id"] {
    font-size: clamp(7.2px, 1.95vw, 8.2px);
  }

  .site-language-row--mobile .site-language-option[lang="ru"] {
    font-size: clamp(7.3px, 2vw, 8.4px);
  }
}

@media (max-width: 360px) {
  .site-language-row--mobile {
    gap: 1px;
  }

  .site-language-row--mobile .site-language-option {
    padding-inline: 0;
    font-size: 7.6px;
  }

  .site-language-row--mobile .site-language-option[lang="id"] {
    font-size: 7.2px;
  }

  .site-language-row--mobile .site-language-option[lang="ru"] {
    font-size: 7.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header[data-header],
  .site-language-row--mobile {
    transition: none !important;
  }
}

/*
 * Multilingual mobile text containment — local review v46
 * Keep the established card, image and button geometry; only fit and center
 * translated copy inside the available content width.
 */
@media (max-width: 640px) {
  .product-copy .product-label {
    display: none !important;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
    line-height: 1.14;
  }

  .page-tr .product-copy .product-label {
    font-size: clamp(7.6px, 2.05vw, 8.1px) !important;
  }

  .page-id .product-copy .product-label {
    font-size: clamp(8px, 2.25vw, 9px) !important;
  }

  .company-panel > *,
  .company-brand-card,
  .company-copy,
  .company-focus-grid {
    min-width: 0;
    max-width: 100%;
  }

  .company-brand-card p {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Mobile WhatsApp phone-number second line — local review v51 */
@media (max-width: 900px) {
  .site-header[data-header] .header-whatsapp {
    gap: 1px !important;
  }

  .site-header[data-header] .header-whatsapp span {
    line-height: 1 !important;
  }

  html body .site-header[data-header] .header-inner .header-whatsapp strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 8.4px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums;
  }
}

@media (max-width: 390px) {
  html body .site-header[data-header] .header-inner .header-whatsapp strong {
    font-size: 8px !important;
  }
}

/* Language-invariant WhatsApp button geometry — local review v52 */
html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  text-align: center !important;
}

html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
  display: block !important;
  padding: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

html body .site-header[data-header] .header-inner > .header-whatsapp[href] > strong {
  display: block !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 901px) {
  html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
    flex: 0 0 146px !important;
    width: 146px !important;
    min-width: 146px !important;
    max-width: 146px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 5px 8px !important;
    gap: 1px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    flex: 0 0 8px !important;
    height: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    margin: 0 !important;
    line-height: 8px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > strong {
    flex: 0 0 12.6px !important;
    height: 12.6px !important;
    min-height: 12.6px !important;
    max-height: 12.6px !important;
    font-size: 12px !important;
    line-height: 12.6px !important;
  }
}

@media (max-width: 900px) {
  html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 6px !important;
    gap: 1px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    flex: 0 0 7.8px !important;
    height: 7.8px !important;
    min-height: 7.8px !important;
    max-height: 7.8px !important;
    margin: 0 0 2px !important;
    line-height: 7.8px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > strong {
    flex: 0 0 8.4px !important;
    height: 8.4px !important;
    min-height: 8.4px !important;
    max-height: 8.4px !important;
    font-size: 8.4px !important;
    line-height: 8.4px !important;
  }
}

@media (max-width: 390px) {
  html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
    flex-basis: 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
    padding: 0 5px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    flex-basis: 7.6px !important;
    height: 7.6px !important;
    min-height: 7.6px !important;
    max-height: 7.6px !important;
    line-height: 7.6px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > strong {
    flex-basis: 8px !important;
    height: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    font-size: 8px !important;
    line-height: 8px !important;
  }
}

/*
 * Persistent machine-image selection feedback — local review v53
 * Preserve every card's size and image crop; only add a restrained,
 * bottom-weighted shadow and brand-color border after selection.
 */
:where(.visual-card, .machine-view-card, .component-card).is-image-selectable {
  --image-selection-rgb: var(--panel-accent-rgb, 23, 111, 189);
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.air-jet-product-page
  :where(.machine-view-card, .component-card).is-image-selectable {
  --image-selection-rgb: 23, 111, 189;
}

.water-jet-product-page
  :where(.machine-view-card, .component-card).is-image-selectable {
  --image-selection-rgb: 169, 15, 34;
}

:where(.visual-card, .machine-view-card, .component-card).is-image-selectable:focus-visible {
  outline: 3px solid rgba(var(--image-selection-rgb), 0.3);
  outline-offset: 3px;
}

:where(.visual-card, .machine-view-card, .component-card).is-image-selectable.is-image-selected {
  border-color: rgba(var(--image-selection-rgb), 0.7) !important;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 20px 28px -22px rgba(8, 39, 101, 0.72),
    0 17px 24px -17px rgba(var(--image-selection-rgb), 0.66),
    inset 0 -3px 0 rgba(var(--image-selection-rgb), 0.15),
    inset 0 0 0 1px rgba(var(--image-selection-rgb), 0.1) !important;
}

@media (prefers-reduced-motion: reduce) {
  :where(.visual-card, .machine-view-card, .component-card).is-image-selectable {
    transition: none;
  }
}

/*
 * First-time buyer readability and lighter visual hierarchy — local review v54
 * Keep the existing page geometry, product colors, image crops, and selected
 * image feedback while reducing nested framing and improving small-screen text.
 */
@media (min-width: 901px) {
  .hero h1 {
    font-size: clamp(42px, 4.7vw, 60px);
  }

  .product-copy h3 {
    font-size: clamp(25px, 2vw, 28px);
  }
}

.product-card {
  box-shadow: 0 10px 28px rgba(8, 39, 101, 0.08);
}

.product-card:hover,
.product-card:focus-visible {
  box-shadow:
    0 14px 34px rgba(8, 39, 101, 0.11),
    0 7px 18px rgba(var(--product-accent-rgb), 0.09);
}

.product-card.is-selected {
  box-shadow:
    0 18px 38px rgba(8, 39, 101, 0.14),
    0 10px 24px rgba(var(--product-accent-rgb), 0.16),
    inset 0 0 0 1px rgba(var(--product-accent-rgb), 0.12);
}

.product-detail-panel {
  border-color: rgba(190, 205, 224, 0.72);
  box-shadow: 0 10px 28px rgba(8, 39, 101, 0.08);
}

.visual-config-section {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.detail-summary div,
.spec-highlight-grid div,
.spec-block,
.quality-strip > div,
.visual-card:not(.is-image-selected) {
  border-color: rgba(205, 216, 229, 0.72);
  box-shadow: none;
}

main,
main *,
.site-footer,
.site-footer * {
  -webkit-user-select: text;
  user-select: text;
}

img,
.protected-image-frame {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (max-width: 900px) {
  .site-header[data-header] .menu-toggle {
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  .site-header[data-header] .menu-toggle span {
    width: 17px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    font-size: 8.2px !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > strong {
    font-size: 8.4px !important;
  }
}

@media (max-width: 640px) {
  .site-language-row--mobile {
    height: 20px;
    max-height: 20px;
    margin: 1px auto;
  }

  .site-language-row--mobile .site-language-option {
    height: 20px;
    min-height: 20px;
    font-size: clamp(8.2px, 2.15vw, 9px);
  }

  .site-language-row--mobile .site-language-option[lang="id"],
  .site-language-row--mobile .site-language-option[lang="ru"] {
    font-size: clamp(7.8px, 2vw, 8.6px);
  }

  .product-tab {
    min-height: 32px;
  }

  .product-tab span {
    font-size: clamp(8.4px, 2.4vw, 9.8px);
  }

  .product-tab strong {
    font-size: clamp(7.7px, 2.1vw, 8.8px);
  }

  .page-ru .product-tab span {
    font-size: clamp(8.1px, 2.2vw, 8.8px);
  }

  .page-id .product-tab span {
    font-size: clamp(8px, 2.15vw, 8.6px);
  }

  .page-id .product-tab strong {
    font-size: clamp(7.2px, 1.95vw, 7.8px);
  }
}

@media (max-width: 390px) {
  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > strong {
    font-size: 8px !important;
  }

  .page-ar .header-whatsapp > span,
  .page-tr .header-whatsapp > span {
    font-size: 7.8px !important;
  }

  html body.page-tr .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    font-size: 7.8px !important;
  }

  html body.page-ru .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    font-size: 7.4px !important;
  }
}

/* Featured servo main-drive card: preserve the 3 x 3 component grid above. */
.airjet-motor-feature-card .airjet-motor-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.airjet-motor-feature-card .airjet-motor-benefits li {
  padding: 7px 10px;
  border: 1px solid rgba(23, 82, 133, 0.16);
  border-radius: 999px;
  background: rgba(232, 241, 249, 0.82);
  color: #174a78;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.2;
}

@media (min-width: 761px) {
  .visual-card-grid-airjet-components > .airjet-motor-feature-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.88fr);
    align-items: stretch;
    direction: ltr;
  }

  .visual-card-grid-airjet-components > .airjet-motor-feature-card > img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    border-right: 1px solid rgba(13, 46, 82, 0.1);
  }

  .visual-card-grid-airjet-components > .airjet-motor-feature-card > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 2.5vw, 32px);
    background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
  }

  html[dir="rtl"] .airjet-motor-feature-card > div {
    direction: rtl;
    text-align: right;
  }
}

/* V81: translucent hero actions keep the archival image visible underneath. */
.home-hero .hero-actions .button {
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
  box-shadow: 0 8px 22px rgba(2, 14, 34, 0.22);
}

.home-hero .hero-actions .button-primary {
  background: rgba(181, 0, 35, 0.78);
  border-color: rgba(255, 255, 255, 0.24);
}

.home-hero .hero-actions .button-secondary {
  color: #ffffff;
  background: rgba(15, 34, 63, 0.58);
  border-color: rgba(255, 255, 255, 0.54);
}

.home-hero .hero-actions .button-primary:hover,
.home-hero .hero-actions .button-primary:focus-visible {
  background: rgba(181, 0, 35, 0.90);
}

.home-hero .hero-actions .button-secondary:hover,
.home-hero .hero-actions .button-secondary:focus-visible {
  background: rgba(15, 34, 63, 0.76);
  border-color: rgba(255, 255, 255, 0.72);
}

/* V83: Russian and Turkish mobile display copy needs a smaller local scale. */
@media (max-width: 760px) {
  body.page-ru .home-hero h1,
  body.is-lang-ru .home-hero h1 {
    font-size: clamp(29px, 8.2vw, 34px) !important;
    line-height: 1.05 !important;
  }

  body.page-tr .home-hero h1,
  body.is-lang-tr .home-hero h1 {
    font-size: clamp(28px, 8.2vw, 34px) !important;
    line-height: 1.06 !important;
  }

  body.page-tr .home-hero .hero-lead,
  body.is-lang-tr .home-hero .hero-lead {
    font-size: 14px !important;
    line-height: 1.52 !important;
  }
}

/* V94: reduce only the desktop header WhatsApp control's vertical bulk. */
@media (min-width: 901px) {
  html body:not(.product-page) .site-header[data-header] .header-inner > .header-whatsapp[href] {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 3px 8px !important;
  }
}

@media (max-width: 760px) {
  .airjet-motor-feature-card .airjet-motor-benefits {
    gap: 7px;
  }

  .airjet-motor-feature-card .airjet-motor-benefits li {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

/*
 * Mobile product-image edge alignment — local review v71.
 * A higher-specificity desktop rule kept the four air-jet machine-view
 * images at 100% width while an older mobile rule still shifted them left
 * by 12px. Reset only that offset so the image meets both inner card edges
 * without changing its rendered size, aspect ratio, crop, or desktop layout.
 * The same older rule also enlarged each image inside the two-photo
 * lubrication frame, so restore those grid children to their own columns.
 */
@media (max-width: 760px) {
  .visual-card-grid-airjet.visual-card-grid-views .visual-card > img {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .visual-card-grid-airjet-components .dual-component-image > img {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .quote-product-field {
    position: relative;
  }

  .quote-form .quote-product-native {
    display: none !important;
  }

  .quote-product-picker {
    display: block;
  }
}

/*
 * V75 heritage homepage hero.
 * The source is a real January 1939 Library of Congress photograph. Keep the
 * image geometry intact: responsive presentation is limited to deterministic
 * cropping, contrast, and overlays; no generated machinery is used.
 */
.home-hero .hero-media {
  transform: none;
  filter: grayscale(1) contrast(1.08) brightness(0.96);
  z-index: 1;
}

.home-hero .hero-media > img {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: center 48%;
}

.home-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 15, 39, 0.92) 0%, rgba(4, 15, 39, 0.78) 38%, rgba(4, 15, 39, 0.36) 66%, rgba(4, 15, 39, 0.10) 100%),
    linear-gradient(180deg, rgba(4, 15, 39, 0.10), rgba(4, 15, 39, 0.38));
  z-index: 2;
}

.home-hero .hero-content {
  z-index: 3;
}

.home-hero .hero-credit {
  position: absolute;
  inset-inline-end: 18px;
  bottom: 12px;
  z-index: 3;
  max-width: min(680px, calc(100% - 36px));
  margin: 0;
  color: rgba(238, 245, 255, 0.72);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-align: end;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

@media (max-width: 760px) {
  .home-hero {
    min-height: max(720px, calc(100svh - 64px));
  }

  .home-hero .hero-media {
    filter: grayscale(1) contrast(1.06) brightness(0.91);
  }

  .home-hero .hero-media > img {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: center center;
  }

  .home-hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 15, 39, 0.52), rgba(4, 15, 39, 0.16)),
      linear-gradient(180deg, rgba(4, 15, 39, 0.16) 0%, rgba(4, 15, 39, 0.40) 44%, rgba(4, 15, 39, 0.94) 100%);
  }

  .home-hero .hero-content {
    padding-bottom: 58px;
  }

  .home-hero .hero-credit {
    inset-inline: 16px;
    bottom: 10px;
    max-width: none;
    font-size: 8.5px;
    line-height: 1.28;
    text-align: start;
  }
}

/* V95: place the compact language choices inside the homepage hero image. */
@media (max-width: 1120px) {
  body:not(.product-page) {
    --site-language-row-space: 0px;
  }

  html body:not(.product-page) .site-header[data-header] {
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile {
    position: absolute !important;
    top: 6px !important;
    right: auto !important;
    left: 18px !important;
    z-index: 5;
    width: min(720px, calc(100vw - 36px)) !important;
    height: 24px !important;
    max-height: 24px !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-rows: 24px !important;
    gap: 0 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    direction: ltr !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: none !important;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option {
    position: relative;
    z-index: 0;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 5px !important;
    color: rgba(255, 255, 255, 0.96);
    border: 0 !important;
    border-radius: 6px;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(8.4px, 1.15vw, 10.2px) !important;
    font-weight: 780;
    line-height: 1 !important;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);
    white-space: nowrap;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option::before {
    content: "";
    position: absolute;
    inset: 3px 0;
    z-index: -1;
    border: 1px solid rgba(216, 231, 251, 0.72);
    border-radius: 6px;
    background: rgba(8, 31, 72, 0.62);
    -webkit-backdrop-filter: blur(8px) saturate(112%);
    backdrop-filter: blur(8px) saturate(112%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 2px 7px rgba(1, 12, 32, 0.16);
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option:is(:hover, :focus-visible)::before {
    background: rgba(13, 46, 96, 0.78);
    border-color: rgba(229, 240, 255, 0.9);
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option[lang="ar"] {
    direction: rtl;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option[lang="ru"],
  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option[lang="id"] {
    font-size: clamp(8.1px, 1.05vw, 9.8px) !important;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option.is-active {
    color: #ffffff;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option.is-active::before {
    border-color: rgba(255, 198, 208, 0.8);
    background: rgba(174, 8, 34, 0.88);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 3px 9px rgba(117, 0, 24, 0.24);
  }

}

@media (max-width: 520px) {
  html body:not(.product-page) .home-hero > .site-language-row--mobile {
    width: min(330px, calc(100vw - 36px)) !important;
    height: 50px !important;
    max-height: 50px !important;
    display: flex !important;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 2px 6px !important;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option {
    width: auto !important;
    font-size: clamp(9px, 2.4vw, 9.6px) !important;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option:nth-child(-n + 3) {
    flex: 0 0 29%;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option:nth-child(4) {
    flex: 0 0 32%;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option:nth-child(5) {
    flex: 0 0 29%;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option:nth-child(6) {
    flex: 0 0 33%;
  }

  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option[lang="ru"],
  html body:not(.product-page) .home-hero > .site-language-row--mobile .site-language-option[lang="id"] {
    font-size: clamp(8.7px, 2.25vw, 9.2px) !important;
  }

  html body:not(.product-page) .home-hero .hero-content {
    margin-top: clamp(64px, 7svh, 70px);
  }
}

/*
 * V76 heritage hero refinement.
 * Lift the archival factory detail while preserving a readable text zone,
 * refine the type hierarchy, and keep CTA targets compact but accessible.
 */
.home-hero .hero-media {
  filter: grayscale(1) contrast(1.03) brightness(1.07);
}

.home-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 15, 39, 0.86) 0%, rgba(4, 15, 39, 0.70) 38%, rgba(4, 15, 39, 0.28) 66%, rgba(4, 15, 39, 0.06) 100%),
    linear-gradient(180deg, rgba(4, 15, 39, 0.06), rgba(4, 15, 39, 0.30));
}

.home-hero .eyebrow {
  color: #c8dcff;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.home-hero h1 {
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.026em;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.30);
}

.home-hero .hero-lead {
  color: rgba(247, 250, 255, 0.93);
  font-size: 16.5px;
  font-weight: 420;
  line-height: 1.60;
  text-wrap: pretty;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.34);
}

.home-hero .hero-actions {
  gap: 12px;
  margin-top: 22px;
}

.home-hero .hero-actions .button {
  min-height: 44px;
  padding: 7px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 760px) {
  .home-hero .hero-media {
    filter: grayscale(1) contrast(1.03) brightness(1.03);
  }

  .home-hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 15, 39, 0.46), rgba(4, 15, 39, 0.12)),
      linear-gradient(180deg, rgba(4, 15, 39, 0.10) 0%, rgba(4, 15, 39, 0.32) 44%, rgba(4, 15, 39, 0.86) 100%);
  }

  .home-hero h1 {
    line-height: 1.04;
    letter-spacing: -0.02em;
  }

  .home-hero .hero-lead {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .home-hero .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .home-hero .hero-actions .button {
    min-height: 44px;
    padding-block: 7px;
  }
}

/* V77: use the upper mobile image area for the shorter homepage message. */
@media (max-width: 640px) {
  .home-hero {
    align-items: flex-start;
  }

  .home-hero .hero-content {
    margin-top: clamp(48px, 7svh, 70px);
  }
}

/* V115: anchor the mobile CTAs directly above the archival photo credit.
   The shared 44px clearance covers the two-line credit plus a deliberate
   12px visual gap at both supported phone widths. */
@media (max-width: 760px) {
  .home-hero .hero-actions {
    display: grid;
    position: absolute;
    inset-block: auto 44px;
    inset-inline: 18px;
    z-index: 4;
    grid-template-columns: 1fr;
    gap: 6px;
    width: auto;
    margin: 0;
  }

  .home-hero .hero-actions .button {
    width: 100%;
    min-height: 40px;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.15;
  }

}

/* V80: give each desktop hero message layer a clearer visual pause. */
@media (min-width: 761px) {
  .home-hero .eyebrow {
    margin-bottom: 18px;
  }

  .home-hero .hero-lead {
    margin-top: 28px;
  }

  .home-hero .hero-actions {
    margin-top: 30px;
  }
}

/* V84: compact, content-led mobile actions sit side by side inside the hero. */
@media (max-width: 760px) {
  .home-hero .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    inset-inline: 12px;
  }

  .home-hero .hero-actions .button {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    min-height: 36px;
    padding: 5px 9px;
    font-size: clamp(9.5px, 2.7vw, 11.5px);
    line-height: 1.15;
    text-wrap: balance;
  }
}

/* V86: center the single WhatsApp label within the existing fixed header slot. */
html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
  gap: 0 !important;
  text-transform: none !important;
}

html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  html body .site-header[data-header] .header-inner > .header-whatsapp[href] > span {
    font-size: 8.8px !important;
  }
}

/* V89: Water Jet first on every viewport; one large selected product card on mobile. */
.section-products .product-tabs,
.section-products .product-grid {
  direction: ltr;
}

.section-products [data-product-tab="waterjet"],
.section-products [data-product-card="waterjet"] {
  order: 1;
}

.section-products [data-product-tab="airjet"],
.section-products [data-product-card="airjet"] {
  order: 2;
}

.page-ar .section-products .product-tab,
.page-ar .section-products .product-copy {
  direction: rtl;
}

/* V90: keep the selected product tab steady and gently pulse the alternative. */
.section-products .product-tab:not(.is-selected)[aria-selected="false"][data-product-tab="airjet"] {
  animation: product-tab-airjet-invite-v90 2.8s ease-in-out infinite;
}

.section-products .product-tab:not(.is-selected)[aria-selected="false"][data-product-tab="waterjet"] {
  animation: product-tab-waterjet-invite-v90 2.8s ease-in-out infinite;
}

.section-products .product-tab.is-selected,
.section-products .product-tab[aria-selected="true"] {
  animation: none !important;
}

.section-products .product-tab:not(.is-selected):hover,
.section-products .product-tab:not(.is-selected):focus-visible {
  animation-play-state: paused;
}

@media (max-width: 760px) {
  .section-products .product-grid,
  .section-products .product-grid.is-mobile-focused {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .section-products .product-grid .product-card:not(.is-selected) {
    display: none !important;
  }

  .section-products .product-grid .product-card,
  .section-products .product-grid.is-mobile-focused .product-card {
    width: 100%;
    min-height: 0 !important;
    grid-template-rows: clamp(180px, 55vw, 220px) auto !important;
    border-radius: 16px !important;
    overflow: hidden;
    transform: none !important;
  }

  .section-products .product-grid .product-card.is-selected {
    animation: product-card-enter-v89 180ms ease-out both;
  }

  .section-products .product-grid .product-photo {
    min-height: 0;
  }

  .section-products .product-grid .product-copy {
    min-width: 0;
    padding: 16px 18px 18px !important;
  }

  .section-products .product-grid .product-copy .product-label,
  .section-products .product-grid .product-card::after,
  .section-products .product-grid .product-copy ul,
  .section-products .product-grid .product-copy .text-link {
    display: none !important;
  }

  .section-products .product-grid .product-copy h3 {
    margin: 0 !important;
    font-size: clamp(21px, 6vw, 26px) !important;
    line-height: 1.18 !important;
    text-wrap: balance;
  }

  .section-products .product-grid .product-copy > p:not(.product-label) {
    display: -webkit-box !important;
    margin: 9px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: clamp(12.5px, 3.6vw, 14px);
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@keyframes product-card-enter-v89 {
  from {
    opacity: 0.5;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes product-tab-airjet-invite-v90 {
  0%,
  100% {
    background-color: rgba(247, 250, 255, 0.94);
    border-color: rgba(65, 117, 176, 0.18);
    box-shadow: 0 0 0 rgba(31, 104, 184, 0);
  }
  50% {
    background-color: rgba(224, 238, 253, 0.96);
    border-color: rgba(31, 104, 184, 0.42);
    box-shadow: 0 0 0 2px rgba(31, 104, 184, 0.08);
  }
}

@keyframes product-tab-waterjet-invite-v90 {
  0%,
  100% {
    background-color: rgba(255, 249, 250, 0.94);
    border-color: rgba(179, 38, 58, 0.18);
    box-shadow: 0 0 0 rgba(179, 38, 58, 0);
  }
  50% {
    background-color: rgba(252, 230, 234, 0.96);
    border-color: rgba(179, 38, 58, 0.4);
    box-shadow: 0 0 0 2px rgba(179, 38, 58, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-products .product-grid .product-card.is-selected {
    animation: none !important;
  }

  .section-products .product-tab:not(.is-selected) {
    animation: none !important;
  }
}

/* V115: retain enough of the archival image while keeping the mobile CTA row
   fixed to the bottom reading zone, immediately above the photo credit. */
@media (max-width: 760px) {
  .home-hero {
    min-height: clamp(500px, 68svh, 560px);
    align-items: flex-start;
  }

  .home-hero .hero-content {
    margin-top: clamp(48px, 7svh, 70px);
  }

  .home-hero .hero-actions {
    position: absolute;
    inset-block: auto 44px;
    inset-inline: 18px;
    margin: 0;
    justify-content: flex-start;
    direction: ltr;
  }

  .page-ar .home-hero .hero-actions .button,
  body.is-lang-ar .home-hero .hero-actions .button {
    direction: rtl;
  }
}

/* V95 final cascade: reserve clear space below the two-row mobile language cluster. */
@media (max-width: 520px) {
  html body:not(.product-page) .home-hero .hero-content {
    margin-top: clamp(64px, 7svh, 70px);
  }
}

/*
 * V105: semantic type rhythm and compact translucent mobile navigation.
 * Shared roles keep peer headings consistent across the six locale pages.
 * Product/specification tables retain their purpose-built sizing below.
 */
:root {
  --type-display: clamp(52px, 4.45vw, 56px);
  --type-section: clamp(32px, 3vw, 36px);
  --type-product: clamp(26px, 2.3vw, 28px);
  --type-module: clamp(22px, 2vw, 26px);
  --type-card-heading: clamp(17px, 1.45vw, 18px);
  --type-body: 15.5px;
  --type-card-body: 14px;
  --type-label: 12px;
}

body {
  line-height: 1.55;
}

body:not(.product-page) .home-hero h1 {
  font-size: var(--type-display) !important;
  line-height: 1.08 !important;
}

body:not(.product-page) .home-hero .hero-lead {
  font-size: 16px;
  line-height: 1.54;
}

:is(.section-header, .company-panel, .contact-copy) > h2,
.section-header h2 {
  font-size: var(--type-section);
  line-height: 1.14;
}

:is(.product-copy, .detail-header) > h3,
.capability-title h3 {
  font-size: var(--type-product);
  line-height: 1.18;
}

:is(
  .detail-section-title,
  .visual-config-heading,
  .shaft-intro,
  .spec-block,
  .shedding-system-heading
) h4 {
  font-size: var(--type-module);
  line-height: 1.2;
}

:is(.visual-card, .quality-strip, .company-focus-title) :is(h4, h5, strong),
.knowledge-card strong {
  font-size: var(--type-card-heading);
  line-height: 1.24;
}

:is(
  .section-header,
  .detail-section-title,
  .visual-config-heading,
  .shaft-intro,
  .company-panel,
  .contact-copy,
  .knowledge-hub-heading,
  .buyer-knowledge__intro
) p:not(.eyebrow) {
  line-height: 1.55;
}

:is(.visual-card, .knowledge-card, .quality-strip, .capability-grid, .company-focus-grid) p,
:is(.quality-strip, .capability-grid) li {
  line-height: 1.5;
}

@media (max-width: 1120px) {
  /* JS supplies the WhatsApp button's physical left edge in this variable. */
  html body .site-header[data-header] .site-nav {
    top: 66px !important;
    right: 10px !important;
    left: var(--mobile-nav-left, calc(100vw - 170px)) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    gap: 4px !important;
    padding: 6px !important;
    background: rgba(239, 246, 253, 0.82) !important;
    border: 1px solid rgba(73, 111, 151, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(7, 31, 70, 0.13) !important;
    backdrop-filter: blur(12px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(118%) !important;
  }

  html body .site-header[data-header] .site-nav > a:not(.nav-whatsapp) {
    min-height: 40px !important;
    padding: 6px 10px !important;
    color: #15324f !important;
    background: rgba(255, 255, 255, 0.74) !important;
    border-color: rgba(27, 66, 111, 0.12) !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  html body .site-header[data-header] .site-nav > a:not(.nav-whatsapp):is(:hover, :focus-visible) {
    background: rgba(255, 255, 255, 0.9) !important;
  }
}

@media (max-width: 760px) {
  :root {
    --type-display: clamp(32px, 8.6vw, 34px);
    --type-section: clamp(22px, 6.2vw, 26px);
    --type-product: clamp(19px, 5.4vw, 21px);
    --type-module: clamp(18px, 5.2vw, 21px);
    --type-card-heading: clamp(15px, 4.2vw, 16px);
    --type-body: 14px;
    --type-card-body: 13px;
    --type-label: 11px;
  }

  body:not(.product-page) .home-hero h1 {
    font-size: var(--type-display) !important;
    line-height: 1.1 !important;
  }

  body:not(.product-page) .home-hero .hero-lead {
    font-size: 14px;
    line-height: 1.5;
  }

  :is(.section-header, .company-panel, .contact-copy) > h2,
  .section-header h2 {
    font-size: var(--type-section);
    line-height: 1.17;
  }

  :is(
    .section-header,
    .detail-section-title,
    .visual-config-heading,
    .shaft-intro,
    .company-panel,
    .contact-copy,
    .knowledge-hub-heading,
    .buyer-knowledge__intro
  ) p:not(.eyebrow) {
    line-height: 1.5;
  }

  :is(.visual-card, .knowledge-card, .quality-strip, .capability-grid, .company-focus-grid) p,
  :is(.quality-strip, .capability-grid) li {
    font-size: var(--type-card-body);
    line-height: 1.48;
  }
}

@media (max-width: 390px) {
  html body .site-header[data-header] .site-nav > a:not(.nav-whatsapp) {
    padding-inline: 5px !important;
    font-size: 11.5px !important;
    line-height: 1.12 !important;
  }
}

/* Keep the two crawlable product pages on the same V105 type scale. */
body.product-page .product-landing-hero h1 {
  font-size: var(--type-display) !important;
  line-height: 1.08 !important;
}

body.product-page :is(.product-section-heading, .product-cta) h2 {
  font-size: var(--type-section) !important;
  line-height: 1.14 !important;
}

body.product-page .technology-panel__copy h3 {
  font-size: var(--type-module) !important;
  line-height: 1.2 !important;
}

body.product-page :is(.application-card, .machine-view-card, .component-card) h3,
body.product-page .faq-item summary {
  font-size: var(--type-card-heading) !important;
  line-height: 1.24 !important;
}

body.product-page :is(
  .product-landing-hero__lead,
  .product-section-heading > p:not(.eyebrow),
  .technology-panel__copy > p,
  .technology-benefits li,
  .application-card p,
  .machine-view-card p,
  .component-card p,
  .faq-item p,
  .product-cta p
) {
  line-height: 1.52 !important;
}

body.product-page .product-page-section {
  padding-block: 64px !important;
}

body.product-page :is(.application-grid, .machine-view-grid, .component-card-grid, .faq-grid) {
  margin-top: 24px;
  gap: 14px;
}

@media (max-width: 760px) {
  body.product-page .product-landing-hero h1 {
    font-size: var(--type-display) !important;
    line-height: 1.1 !important;
  }

  body.product-page .product-landing-hero__lead,
  body.product-page .product-section-heading > p:not(.eyebrow) {
    font-size: var(--type-body) !important;
    line-height: 1.5 !important;
  }

  body.product-page :is(.application-card, .machine-view-card, .component-card) p,
  body.product-page .faq-item p {
    font-size: var(--type-card-body) !important;
    line-height: 1.48 !important;
  }

  body.product-page .product-page-section {
    padding-block: 44px !important;
  }

  body.product-page :is(.application-grid, .machine-view-grid, .component-card-grid, .faq-grid) {
    margin-top: 20px;
    gap: 10px;
  }

  body.product-page :is(.application-card, .machine-view-card__body, .component-card__body) {
    padding: 15px !important;
  }
}

/* V105: carry the selected product tone into every shared header. */
html body .site-header[data-header][data-product-theme] .header-inner > .header-whatsapp[href] {
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0.24) 100%
  ) !important;
  background-color: var(--header-product-tone) !important;
  border-color: var(--header-product-border) !important;
  box-shadow: var(--header-product-shadow) !important;
  transition:
    transform 160ms ease,
    background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body .site-header[data-header][data-product-theme="waterjet"] {
  --header-product-tone: #a31c31;
  --header-product-border: rgba(179, 38, 58, 0.44);
  --header-product-shadow: 0 2px 7px rgba(128, 10, 31, 0.18);
  --header-product-hover-shadow: 0 4px 10px rgba(128, 10, 31, 0.22);
}

html body .site-header[data-header][data-product-theme="airjet"] {
  --header-product-tone: #0d4e96;
  --header-product-border: rgba(31, 104, 184, 0.42);
  --header-product-shadow: 0 2px 7px rgba(7, 81, 156, 0.16);
  --header-product-hover-shadow: 0 4px 10px rgba(7, 81, 156, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  html body .site-header[data-header][data-product-theme] .header-inner > .header-whatsapp[href]:hover {
    box-shadow: var(--header-product-hover-shadow) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .site-header[data-header][data-product-theme] .header-inner > .header-whatsapp[href] {
    transition-duration: 0.01ms !important;
  }
}

/*
 * V105 responsive header hardening.
 * Keep the existing logo and labels, but give the navigation its own row on
 * desktop so longer translated labels never sit underneath the logo or the
 * language controls.
 */
@media (min-width: 1121px) {
  :root {
    /* The hardened desktop header uses two measured rows (100px + border). */
    --header-height: 101px;
  }

  html body .site-header[data-header] {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    direction: ltr !important;
    overflow: visible !important;
  }

  html body .site-header[data-header] .header-inner {
    width: min(1360px, calc(100% - 48px)) !important;
    height: auto !important;
    min-height: 96px !important;
    margin: 0 auto !important;
    padding: 8px 0 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    grid-template-areas:
      "brand spacer whatsapp languages"
      "navigation navigation navigation navigation" !important;
    column-gap: clamp(12px, 1.5vw, 22px) !important;
    row-gap: 4px !important;
    align-items: center !important;
    direction: ltr !important;
    overflow: visible !important;
  }

  html body .site-header[data-header] .header-inner > .brand {
    grid-area: brand !important;
    justify-self: start !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
    grid-area: whatsapp !important;
    justify-self: end !important;
  }

  html body .site-header[data-header] .header-inner > .site-language-row--desktop {
    grid-area: languages !important;
    justify-self: end !important;
  }

  html body .site-header[data-header] .header-inner > .site-nav {
    grid-area: navigation !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(8px, 1.25vw, 18px) !important;
    direction: ltr !important;
    overflow: visible !important;
  }

  html body .site-header[data-header] .header-inner > .site-nav > a:not(.nav-whatsapp) {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 8px 4px !important;
    font-size: clamp(11.5px, 0.9vw, 13.5px) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  /* Arabic product pages inherited a fixed 166px brand slot but an unconstrained
     218px logo image. Keep the asset unchanged while containing it in that slot. */
  html[lang="ar"] body.product-page .site-header[data-header] .brand img {
    width: 166px !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* The outer mobile header must never inherit the legacy RTL grid. */
@media (max-width: 1120px) {
  html body .site-header[data-header] {
    display: block !important;
    padding: 0 !important;
    direction: ltr !important;
    overflow: visible !important;
  }

  html body .site-header[data-header] .header-inner {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    min-width: 0 !important;
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    margin: 0 auto !important;
    padding: 1px 0 !important;
    display: grid !important;
    grid-template-columns: minmax(112px, 1fr) auto 34px !important;
    grid-template-rows: calc(var(--header-height) - 2px) !important;
    column-gap: 6px !important;
    align-items: center !important;
    direction: ltr !important;
    position: relative !important;
    overflow: visible !important;
  }

  html body .site-header[data-header] .header-inner > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  html body .site-header[data-header] .header-inner > .header-whatsapp[href] {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }

  html body .site-header[data-header] .header-inner > .menu-toggle {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
  }

  html body .site-header[data-header] .header-inner > .site-nav {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
    position: absolute !important;
    top: calc(var(--header-height) + 32px) !important;
    right: 10px !important;
    left: var(--mobile-nav-left, calc(100vw - 170px)) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100svh - 82px) !important;
    margin: 0 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-self: stretch !important;
    align-self: start !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    padding: 6px !important;
    direction: ltr !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body .site-header[data-header] .header-inner > .site-nav.is-open,
  html body .site-header[data-header] .header-inner > .site-nav[data-open="true"] {
    display: flex !important;
  }

  html body .site-header[data-header] .header-inner > .site-nav > a:not(.nav-whatsapp) {
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    font-size: 11.5px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html[lang="ar"] body.product-page .site-header[data-header] .header-inner > .site-nav > a:not(.nav-whatsapp) {
    direction: rtl !important;
    unicode-bidi: plaintext;
    justify-content: flex-end !important;
    text-align: right !important;
  }

  body.product-page .site-header[data-header] .header-inner > .site-nav {
    top: calc(var(--header-height) + var(--site-language-row-space) + 2px) !important;
    max-height: calc(100svh - var(--header-height) - var(--site-language-row-space) - 12px) !important;
  }

  body.product-page .site-header[data-header].is-site-language-row-hidden .header-inner > .site-nav {
    top: calc(var(--header-height) + 2px) !important;
    max-height: calc(100svh - var(--header-height) - 12px) !important;
  }
}

@media (min-width: 391px) and (max-width: 1120px) {
  :root {
    --header-height: 50px;
  }
}

/* The homepage language choices occupy two rows below 520px. Open the menu
   below that control instead of laying it over the language buttons. */
@media (max-width: 520px) {
  html body:not(.product-page) .site-header[data-header] .header-inner > .site-nav {
    top: calc(var(--header-height) + 58px) !important;
  }
}

/* Product-page language controls use a readable 3 x 2 grid at narrow phone widths. */
@media (max-width: 390px) {
  body.product-page {
    --site-language-row-space: 44px;
  }

  body.product-page .site-language-row--mobile {
    width: calc(100% - 16px) !important;
    height: 42px !important;
    max-height: 42px !important;
    margin: 1px auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 20px) !important;
    gap: 2px !important;
    direction: ltr !important;
    overflow: visible !important;
  }

  body.product-page .site-language-row--mobile .site-language-option {
    width: 100% !important;
    height: 20px !important;
    min-height: 20px !important;
    padding-inline: 2px !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }

  body.product-page .site-language-row--mobile .site-language-option[lang="ru"],
  body.product-page .site-language-row--mobile .site-language-option[lang="id"] {
    font-size: 7.5px !important;
  }

  body.product-page .site-language-row--mobile .site-language-option[lang="ar"] {
    direction: rtl !important;
  }
}

/* Smooth the formerly abrupt 760 -> 761 typography and hero transition. */
@media (min-width: 761px) and (max-width: 1120px) {
  :root {
    --type-display: clamp(34px, calc(13vw - 65px), 52px);
    --type-section: clamp(26px, calc(7.1vw - 28px), 36px);
    --type-product: clamp(21px, calc(5vw - 17px), 28px);
    --type-module: clamp(21px, calc(3.6vw - 6px), 26px);
  }

  body:not(.product-page) .home-hero {
    min-height: clamp(680px, calc(100vw - 81px), 824px) !important;
  }

  body:not(.product-page) .home-hero h1,
  body.product-page .product-landing-hero h1 {
    font-size: var(--type-display) !important;
  }

  body.product-page .product-landing-hero__copy {
    padding: clamp(38px, 5vw, 48px) clamp(24px, 5vw, 42px) !important;
  }

  body.product-page .product-landing-hero__lead {
    margin-top: 16px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  body.product-page .product-keyword-line {
    margin-top: 17px !important;
  }

  body.product-page .product-landing-hero__actions {
    margin-top: 22px !important;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  body.product-page .product-landing-hero__media {
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
  }
}


/* V116: split contact channels into a stable Email-left / WhatsApp-right row. */
.quote-contact-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  direction: ltr;
}

.quote-contact-row > label,
.quote-contact-row input {
  min-width: 0;
}

.quote-contact-row input {
  direction: ltr !important;
  text-align: left !important;
}

.quote-contact-row input::placeholder {
  direction: ltr !important;
  font-size: 13px;
  text-align: left !important;
}

.page-ar .quote-contact-row > label,
.page-ar .quote-contact-row > label > span {
  direction: rtl;
  text-align: right;
}

@media (max-width: 640px) {
  .quote-contact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .quote-contact-row > label {
    gap: 5px;
  }

  .quote-contact-row > label > span {
    font-size: 10.5px;
    white-space: nowrap;
  }

  .quote-contact-row input {
    padding-inline: 9px;
  }
}

/* V116b: keep the contact WhatsApp label centered at every breakpoint. */
.contact-actions .contact-whatsapp {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* V117: compact and center the three mobile contact actions for both loom states. */
@media (max-width: 640px) {
  .quote-submit,
  .contact-actions .button {
    inline-size: min(92%, 560px);
    white-space: nowrap !important;
    overflow-wrap: normal;
  }

  .quote-submit {
    display: block;
    min-height: 46px;
    margin: 16px auto 0;
    padding: 9px 10px;
    font-size: clamp(11px, 3.2vw, 13px);
  }

  .contact-actions .button {
    justify-self: center;
    margin-inline: auto;
    padding-inline: 10px;
    font-size: clamp(10.5px, 3.1vw, 12px);
  }
}

/* Keep each localized visit label attached to its lifetime and daily values. */
.site-visit-nowrap {
  display: inline-block;
  white-space: nowrap;
}
