/* Relia storefront audit fixes, 2026-10-22. Preserve all catalogue content. */
@media (min-width:1200px) and (max-width:1339px) {
  body .f-header .f-header__container { padding-inline: 28px; }
  body .f-header .f-header__desktop .f-logo a { width: 170px; }
  body .f-header .f-header__desktop .f-menu { --main-link-px: 8px; }
  body .f-header .logo-left-menu-center .f-header__right { gap: 8px; }
}
.mws-range-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 8px 12px;
  border: 1px solid #cbd7df;
  border-radius: 3px;
  background: #fff;
  color: #17374f;
  font: 600 13px/1.5 Arial,Helvetica,sans-serif;
  cursor: pointer;
}
.mws-range-toggle:hover { background: #f1f5f7; }
.mws-range-toggle:focus-visible { outline: 3px solid #bd481b; outline-offset: 3px; }
.mws-search-ranges {
  width: 100%;
  max-width: 900px;
  margin: 24px auto 0;
  padding: 20px;
  border: 1px solid #d8e2e9;
  border-radius: 5px;
  background: #f4f7f9;
  color: #17374f;
  text-align: left;
}
.mws-search-ranges > p { margin: 0 0 12px; font-size: 14px; font-weight: 650; }
.mws-search-ranges > div { display: flex; flex-wrap: wrap; gap: 8px; }
.mws-search-ranges a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #d1dfe8;
  border-radius: 3px;
  background: #fff;
  color: #17374f;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.mws-search-ranges a::before,.mws-search-ranges a::after { content: none !important; }
.mws-search-ranges a:hover { border-color: #ad4523; color: #a43f1b; }
.mws-search-ranges a:focus-visible { outline: 3px solid #bd481b; outline-offset: 3px; }
@media (max-width:767px) {
  body.template-collection .f-collection-page-header__inner.f-section-py {
    padding: 24px 12px 28px;
  }
  body.template-collection .f-collection-page-header__title {
    text-transform: none;
    line-height: 1.3;
    text-wrap: balance;
  }
  body.template-collection .mws-range-description[data-range-collapsed] {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.template-collection .mws-range-description[data-range-collapsed] > p { margin-bottom: 0; }
  body.template-collection .mws-range-toggle { display: inline-flex; }
  .mws-search-ranges { margin-top: 18px; padding: 16px; }
  .mws-search-ranges > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mws-search-ranges a { padding-inline: 10px; min-width: 0; }
}


/* Native language choice remains accessible on desktop, keyboard and touch. */
.f-language-switcher .f-select-custom {display:none!important}
.f-language-switcher .js-selectNative {
 display:block!important;position:relative!important;inset:auto!important;
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;appearance:auto!important;
 width:auto;max-width:100%;min-width:88px;min-height:32px;
 border:1px solid currentColor;border-radius:4px;padding:4px 24px 4px 8px;
 background-color:transparent;color:inherit;font:inherit;cursor:pointer;
}
.f-language-switcher .js-selectNative option {color:#173144;background:#fff}
.f-language-switcher .js-selectNative:focus-visible {outline:2px solid #c54c20;outline-offset:3px}
@media(max-width:1199px){
 .f-language-switcher .js-selectNative {min-height:44px;min-width:148px}
}


/* Keep translated desktop navigation aligned with the logo and enquiry actions. */
@media (min-width:1200px) {
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__inner {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  column-gap:clamp(12px,1.4vw,24px);align-items:center;min-height:82px;
 }
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__left,
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__center,
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__right {
  grid-column:auto;grid-row:1;width:auto;min-width:0;
 }
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__center {justify-content:center;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__menu {width:max-content;max-width:100%;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu {flex-wrap:nowrap;align-items:center;justify-content:center;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu > .f-menu__item {flex:0 1 auto;min-width:0;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu__link--main {
  white-space:normal;line-height:1.35;min-height:64px;align-items:center;padding-block:16px;
 }
 body .f-header .f-header__desktop.logo-left-menu-center .mws-nav-label {
  min-width:0;white-space:normal;text-wrap:balance;
 }
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu__arrow {flex-shrink:0;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu > .f-menu__item:not(.mws-page-guides) {flex-shrink:0;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu > .f-menu__item:not(.mws-page-guides) .mws-nav-label {white-space:nowrap;}
}
@media (min-width:1200px) {
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__container {padding-inline:clamp(24px,2.5vw,40px);max-width:1760px;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu {--main-link-px:7px;--main-link-py:18px;font-size:14px;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-header__right {gap:4px;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-search-form__button {width:44px;min-height:44px;padding-inline:8px;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-header-cart {width:44px;min-height:44px;padding-inline:5px;}
 body .f-header .f-header__desktop.logo-left-menu-center .mws-header-quote {padding-inline:12px;gap:6px;white-space:normal;max-width:190px;text-align:center;}
 body .f-header .f-header__desktop.logo-left-menu-center .mws-header-quote > svg {display:none;}
}
@media (min-width:1200px) and (max-width:1339px) {
 body .f-header .f-header__desktop.logo-left-menu-center .f-logo a {width:170px;}
 body .f-header .f-header__desktop.logo-left-menu-center .f-menu {--main-link-px:6px;}
 body .f-header .f-header__desktop.logo-left-menu-center .mws-header-quote {max-width:145px;}
}

html[lang="ar"] .rg-screen-index,html[lang="ar"] .mws-engineering-measurement {direction:ltr;unicode-bidi:isolate}

/* Equations and engineering flow retain their mathematical order in Arabic. */
html[lang="ar"] .rv-reduction-discs,
html[lang="ar"] .rv-reduction-formula > strong {direction:ltr;unicode-bidi:isolate}
html[lang="ar"] .rv-reduction-discs figcaption {direction:rtl}

/* Preserve source measurement order within Arabic variant choices and contacts. */
html[lang^="ar"] variant-picker .f-product-option--node__label,
html[lang^="ar"] variant-picker .option-label--selected {
  direction: ltr;
  unicode-bidi: isolate;
}
html[lang^="ar"] variant-picker .option-label--selected {
  display: inline-block;
}
html[lang^="ar"] a[href^="tel:"],
html[lang^="ar"] a[href*="wa.me/"] {
  direction: ltr;
  unicode-bidi: isolate;
}
