/*
 * Arabic review locale: keep the established grid/carousel LTR-stable and make
 * Arabic text, semantic controls and overlays RTL only where they are rendered.
 * Numbers, prices, SKUs, phones, email and technical values retain LTR isolation.
 */
html[lang="ar"] body.ec-lang-ar{font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif;background:#fff;color:#102f3f}
html[lang="ar"] body.ec-lang-ar .et-ar-copy,
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic,
html[lang="ar"] body.ec-lang-ar .woocommerce-product-details__short-description,
html[lang="ar"] body.ec-lang-ar .woocommerce-product-details__short-description *,
html[lang="ar"] body.ec-lang-ar .term-description,
html[lang="ar"] body.ec-lang-ar .woocommerce-products-header,
html[lang="ar"] body.ec-lang-ar .woocommerce-products-header *,
html[lang="ar"] body.ec-lang-ar .woocommerce-breadcrumb,
html[lang="ar"] body.ec-lang-ar .woocommerce-breadcrumb *,
html[lang="ar"] body.ec-lang-ar .woocommerce-tabs,
html[lang="ar"] body.ec-lang-ar .woocommerce-tabs *,
html[lang="ar"] body.ec-lang-ar .woocommerce-message,
html[lang="ar"] body.ec-lang-ar .woocommerce-info,
html[lang="ar"] body.ec-lang-ar .woocommerce-error,
html[lang="ar"] body.ec-lang-ar .ec-mobile-menu__language{direction:rtl;text-align:right}
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic h2,
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic h3,
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic p,
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic li{font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif;line-height:1.9;text-align:right}
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic ul{padding-inline:0 1.35rem;margin-inline:0}
html[lang="ar"] body.ec-lang-ar .et-product-editorial--arabic li::marker{color:#08778a}
html[lang="ar"] body.ec-lang-ar .product_title,
html[lang="ar"] body.ec-lang-ar .woocommerce-products-header__title,
html[lang="ar"] body.ec-lang-ar .ec-card__body h3,
html[lang="ar"] body.ec-lang-ar .ec-card__body p,
html[lang="ar"] body.ec-lang-ar .ec-card__tags{direction:rtl;text-align:right;font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif}
html[lang="ar"] body.ec-lang-ar .woocommerce-breadcrumb{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.3rem}
html[lang="ar"] body.ec-lang-ar .woocommerce-breadcrumb a{unicode-bidi:isolate}
html[lang="ar"] body.ec-lang-ar .et-preview-language,
html[lang="ar"] body.ec-lang-ar .et-preview-language *,
html[lang="ar"] body.ec-lang-ar .ec-mobile-bottom,
html[lang="ar"] body.ec-lang-ar .ec-mobile-bottom *{direction:ltr;text-align:left}
html[lang="ar"] body.ec-lang-ar .et-preview-language a[hreflang="ar"],
html[lang="ar"] body.ec-lang-ar .et-mobile-language-ar{direction:rtl;text-align:center;font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif}
html[lang="ar"] body.ec-lang-ar .price,
html[lang="ar"] body.ec-lang-ar .amount,
html[lang="ar"] body.ec-lang-ar .woocommerce-Price-amount,
html[lang="ar"] body.ec-lang-ar input[type="tel"],
html[lang="ar"] body.ec-lang-ar input[type="email"],
html[lang="ar"] body.ec-lang-ar input[type="number"],
html[lang="ar"] body.ec-lang-ar .sku,
html[lang="ar"] body.ec-lang-ar .product_meta,
html[lang="ar"] body.ec-lang-ar .et-ar-ltr{direction:ltr;unicode-bidi:isolate;text-align:left}
html[lang="ar"] body.ec-lang-ar .et-preview-card-action span,
html[lang="ar"] body.ec-lang-ar .ec-card__link b{display:inline-block;transform:scaleX(-1)}
html[lang="ar"] body.ec-lang-ar .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-start}
html[lang="ar"] body.ec-lang-ar .woocommerce-tabs ul.tabs li{float:none;margin:0}
html[lang="ar"] body.ec-lang-ar .ec-drawer--menu .ec-mobile-menu__language a{font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif}
/* Arabic account/login UI: localize semantic form direction without reversing email/password values. */
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth,
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth form,
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth label,
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth .woocommerce-privacy-policy-text{direction:rtl;text-align:right}
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth input[type="email"],
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth input[type="password"],
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth input[name="username"]{direction:ltr;text-align:left}
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth .woocommerce-form-login__rememberme{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}
html[lang="ar"] body.ec-lang-ar .ec-account-page .ec-account-auth .show-password-input{left:.75rem;right:auto}
@media (max-width:800px){
  html[lang="ar"] body.ec-lang-ar .product_title,
  html[lang="ar"] body.ec-lang-ar .woocommerce-products-header__title{font-size:clamp(1.35rem,6.1vw,2rem);line-height:1.55}
  html[lang="ar"] body.ec-lang-ar .ec-card__body h3{font-size:1rem;line-height:1.7}
  html[lang="ar"] body.ec-lang-ar .woocommerce-tabs ul.tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:.2rem}
  /* Arabic home uses the Turkish mobile composition: brand plus locale selector.
     The desktop utility links must never occupy a narrow header as a vertical list. */
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-ar-home-tools,
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-navline{display:none!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-ar-home-head{display:grid!important;grid-template-columns:minmax(0,1fr) 38px auto!important;align-items:center!important;min-height:72px!important;height:72px!important;padding:0 14px!important;gap:6px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-language{display:none!important}
  /* A compact globe control remains in the header; it opens the native drawer, which contains the full TR/EN/AR picker. */
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-ar-language-trigger{display:grid!important;place-items:center!important;width:28px!important;min-width:28px!important;padding:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-ar-language-trigger svg{width:18px!important;height:18px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-ar-language-trigger span{display:none!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-search{grid-column:2!important;grid-row:1!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-tools{grid-column:3!important;grid-row:1!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-live-brand-wrap{gap:4px!important;min-width:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-brand{min-width:0!important;grid-template-columns:27px minmax(0,1fr)!important;gap:5px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-brand-mark{width:27px!important;height:27px!important;font-size:14px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-brand strong{display:block!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:18px!important;letter-spacing:-.04em!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-brand small{font-size:4.8px!important;letter-spacing:.03em!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-language{position:relative!important;z-index:8!important;margin:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main{isolation:isolate!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-copy{position:relative!important;z-index:4!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-actions{position:relative!important;z-index:5!important;display:flex!important;align-items:flex-start!important}
  /* The Turkish phone composition exposes one primary hero CTA. Hiding the secondary
     text CTA prevents it sitting on top of the device image at 360–390px. */
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-textlink{display:none!important}
  /* Keep the native Turkish mobile-panel geometry, but localize Arabic controls. */
  html[lang="ar"] body.ec-lang-ar .ec-drawer--menu{left:0!important;right:auto!important;direction:rtl!important;text-align:right!important;border-right:1px solid #e2d9ed!important;border-left:0!important}
  html[lang="ar"] body.ec-lang-ar .ec-drawer--menu .ec-drawer__head,
  html[lang="ar"] body.ec-lang-ar .ec-drawer--menu .ec-mobile-menu__main,
  html[lang="ar"] body.ec-lang-ar .ec-drawer--menu .ec-mobile-menu__systems{direction:rtl!important;text-align:right!important}
  html[lang="ar"] body.ec-lang-ar .ec-drawer--menu .ec-mobile-menu__main b,
  html[lang="ar"] body.ec-lang-ar .ec-drawer--menu .ec-mobile-menu__systems>a::after{transform:scaleX(-1)}
  html[lang="ar"] body.ec-lang-ar .ec-drawer--cart,
  html[lang="ar"] body.ec-lang-ar .ec-drawer--account{direction:rtl!important;text-align:right!important}
  html[lang="ar"] body.ec-lang-ar .ec-drawer--cart .ec-drawer__head,
  html[lang="ar"] body.ec-lang-ar .ec-drawer--account .ec-drawer__head,
  html[lang="ar"] body.ec-lang-ar .ec-drawer--cart .ec-drawer__foot{direction:rtl!important}
}

/* Arabic mobile parity: same 390px frame heights as the Turkish homepage.
   The Arabic copy remains in its own physical column; product art is separately contained. */
@media (max-width:800px){
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-head-main{grid-template-columns:minmax(0,1fr) 38px auto!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-header-right{display:flex!important;align-items:center!important;gap:8px!important;grid-column:3!important;grid-row:1!important;min-width:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-tools{grid-column:auto!important;grid-row:auto!important;display:flex!important;width:59px!important;min-width:59px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-language{display:flex!important;position:relative!important;z-index:9!important;order:-1!important;width:86px!important;min-width:86px!important;margin:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-ar-language-trigger{display:none!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-brand strong{font-size:15px!important;letter-spacing:-.055em!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-brand small{font-size:4px!important}

  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main{display:grid!important;grid-template-columns:1fr!important;height:470px!important;min-height:470px!important;padding:27px 22px!important;overflow:hidden!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main .et-preview-copy{position:relative!important;z-index:3!important;width:54%!important;max-width:54%!important;height:auto!important;margin:0!important;text-align:right!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main .et-preview-copy h1{font-size:28px!important;line-height:1.32!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main .et-preview-lead{font-size:12px!important;line-height:1.65!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main .et-preview-actions{justify-content:flex-start!important;margin-top:12px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-main .et-preview-button{font-size:12px!important;padding:12px 14px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-slide-visual{position:absolute!important;inset:auto 8px 0 auto!important;width:145px!important;height:220px!important;margin:0!important;z-index:1!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-product-main{position:absolute!important;inset:auto 0 0 auto!important;width:145px!important;height:220px!important;max-width:none!important;object-fit:contain!important;transform:none!important;margin:0!important}
  /* Elite 150 has a square source image; give just this lead device a larger contained canvas
     without changing the Turkish-matched 470px hero frame or entering the copy column. */
  /* The lead image is deliberately dominant on Arabic mobile, while its source-pixel edge remains clear of the copy. */
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-slide--lavender .et-preview-copy{max-width:46%!important;width:46%!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-slide--lavender .et-preview-slide-visual{width:240px!important;height:335px!important;right:-20px!important;bottom:-14px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-slide--lavender .et-preview-product-main{width:240px!important;height:335px!important;right:0!important;bottom:0!important}

  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-side--nutek{display:block!important;position:relative!important;height:270px!important;min-height:270px!important;padding:24px 22px!important;overflow:hidden!important;text-align:right!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-side--nutek>div{position:relative!important;z-index:3!important;max-width:52%!important;width:52%!important;margin:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-side--nutek h2{font-size:22px!important;line-height:1.2!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-side--nutek span{display:none!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-side--nutek a{display:inline-flex!important;margin-top:12px!important;font-size:12px!important;padding:10px 13px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-hero-side--nutek .et-preview-side-product{position:absolute!important;inset:auto 8px 0 auto!important;width:142px!important;height:142px!important;object-fit:contain!important;transform:none!important;margin:0!important;z-index:1!important}

  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo{display:block!important;position:relative!important;height:230px!important;min-height:230px!important;padding:24px 22px!important;overflow:hidden!important;text-align:right!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo>div{position:relative!important;z-index:3!important;max-width:58%!important;width:58%!important;margin:0!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo h2{font-size:22px!important;line-height:1.24!important;margin:7px 0 12px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo a{display:inline-flex!important;font-size:12px!important;padding:10px 13px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo .et-preview-promo-product{position:absolute!important;inset:auto 9px 6px auto!important;display:block!important;object-fit:contain!important;transform:none!important;filter:none!important;margin:0!important;z-index:1!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo--magnum .et-preview-promo-product{width:106px!important;height:170px!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo--diacare>div{max-width:53%!important;width:53%!important}
  html[lang="ar"] body.ec-lang-ar .et-ar-home .et-preview-promo--diacare .et-preview-promo-product{width:120px!important;height:86px!important;bottom:15px!important}
}
