/* Genuine document direction for the ECIS storefront, not cosmetic text reversal. */
html[dir="ltr"] body.ehc-native-shop,
html[dir="ltr"] .ehc-legal-wrap,
html[dir="ltr"] .ehc-site-header,
html[dir="ltr"] .ehc-premium-footer{direction:ltr;text-align:left}
html[dir="ltr"] .ens-specs th,html[dir="ltr"] .ens-specs td,
html[dir="ltr"] .ens-table th,html[dir="ltr"] .ens-table td{text-align:left}
html[dir="ltr"] .ehc-pf-nav h3:after,html[dir="ltr"] .ehc-pf-contact h3:after{right:auto;left:0}
html[dir="ltr"] .ehc-legal-head:before{right:auto;left:0}
html[dir="ltr"] .ehc-pf-brand-logo small{text-align:left}
html[dir="ltr"] .ehc-pf-art{left:auto;right:-5%;background-position:right bottom;transform:scaleX(-1)}
html[dir="ltr"] .ehc-pf-nav a span{transform:scaleX(-1)}
html[dir="ltr"] .ehc-pf-nav a:hover span{transform:scaleX(-1) translate(-2px,-2px)}
html[dir="ltr"] .ehc-product-page,html[dir="ltr"] .ehc-product-detail-grid,html[dir="ltr"] .ehc-product-hero,
html[dir="ltr"] .ehc-flow-main,html[dir="ltr"] .ehc-home-catalog,html[dir="ltr"] .ehc-category-showcase{direction:ltr;text-align:left}
html[dir="ltr"] .ehc-product-page :is(h1,h2,h3,p,li),html[dir="ltr"] .ens-card h3 a{unicode-bidi:plaintext}
@media(max-width:700px){html[dir="ltr"] .ehc-pf-grid{direction:ltr}}
.ehc-pf-social{margin-top:22px;padding-top:17px;border-top:1px solid #e6edf1}
.ehc-pf-social-head{display:grid;gap:3px}.ehc-pf-social-head strong{font-size:13px;color:#20425a;font-weight:900}.ehc-pf-social-head small{font-size:11px;color:#7c91a0}
.ehc-pf-social-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.ehc-pf-social-icon{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border:1px solid #dae5ed;border-radius:12px;background:#fff;color:#2d5670!important;transition:transform .15s,border-color .15s,background .15s}
.ehc-pf-social-icon:hover,.ehc-pf-social-icon:focus-visible{transform:translateY(-2px);border-color:#e3aa65;background:#fff9f0;color:#bf792d!important;outline-offset:3px}
.ehc-footer-social-controls{padding:20px;margin:22px 0;background:#f8fafc;border:1px solid #e1eaf0;border-radius:18px}
.ehc-footer-social-controls h3{margin:0 0 5px;font-size:18px;color:#244459}
.ehc-product-share{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:13px;border:1px solid #e6edf2;border-radius:16px;background:#fbfcfd;padding:14px;margin:17px 0}
.ehc-product-share-label{display:flex;align-items:center;gap:10px}.ehc-product-share-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#fff1dc;color:#b8792b;font-size:20px}
.ehc-product-share-label>div{display:grid;gap:3px}.ehc-product-share-label strong{color:#1d425b;font-size:13px;font-weight:900}.ehc-product-share-label small{color:#8392a2;font-size:11px}
.ehc-product-share-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ehc-product-share-btn{width:38px;height:38px;border:1px solid #dce7ee;border-radius:11px;background:#fff;color:#325575;display:grid;place-items:center;text-decoration:none;cursor:pointer;transition:transform .15s,border-color .15s,color .15s}
.ehc-product-share-btn:hover,.ehc-product-share-btn:focus-visible{transform:translateY(-2px);border-color:#e8b57c;color:#b87626;outline-offset:2px}
.ehc-product-share-feedback{font-size:11px;color:#16806a;min-width:0}
@media(prefers-reduced-motion:reduce){.ehc-product-share-btn,.ehc-pf-social-icon{transition:none!important}}

.ehc-legal-original-ar{direction:rtl;text-align:right;unicode-bidi:plaintext}.ehc-legal-untranslated-note{direction:ltr;text-align:left;padding:15px;border:1px solid #efd6aa;background:#fffaf0;color:#725326;border-radius:12px;font-size:14px}

/* V3.13.2 English layout centering fix.
   The home sections were centered using right:50% + translateX(50%),
   which works only when the containing block is RTL. In LTR it shifts every
   section to the right of the header and clips the product cards. Explicit
   left-based positioning in English preserves the same width and center as
   the hero/header, including Full Width and mobile presets. */
html[dir="ltr"] body.ehc-custom-home .ehc-category-showcase,
html[dir="ltr"] body.ehc-custom-home .ehc-category-showcase.ehc-category-full,
html[dir="ltr"] body.ehc-custom-home .ehc-home-deals,
html[dir="ltr"] body.ehc-custom-home .ehc-home-deals.ehc-home-deals-full,
html[dir="ltr"] body.ehc-custom-home .ehc-showcase,
html[dir="ltr"] body.ehc-custom-home .ehc-showcase.ehc-showcase-full,
html[dir="ltr"] body.ehc-custom-home .ehc-home-message,
html[dir="ltr"] body.ehc-custom-home .ehc-home-message.ehc-extra-full,
html[dir="ltr"] body.ehc-custom-home .ehc-home-brands,
html[dir="ltr"] body.ehc-custom-home .ehc-home-brands.ehc-extra-full,
html[dir="ltr"] body.ehc-custom-home .ehc-home-brands.ehc-home-brands-final,
html[dir="ltr"] body.ehc-custom-home .ehc-home-brands.ehc-home-brands-final.ehc-extra-full {
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    direction:ltr!important;
    text-align:left;
}
/* Match all headings / carousels to the visitor's actual reading direction. */
html[dir="ltr"] .ehc-promo {direction:ltr;}
html[dir="ltr"] .ehc-promo-copy {text-align:left;}
html[dir="ltr"] .ehc-category-heading,
html[dir="ltr"] .ehc-showcase-header,
html[dir="ltr"] .ehc-home-deals-heading,
html[dir="ltr"] .ehc-brand-directory-header,
html[dir="ltr"] .ehc-brand-directory-copy,
html[dir="ltr"] .ehc-message-copy,
html[dir="ltr"] .ehc-showcase-intro {direction:ltr;text-align:left;}
html[dir="ltr"] .ehc-home-brands-final .ehc-brand-card,
html[dir="ltr"] .ehc-home-brands-final .ehc-brand-card-name {text-align:left;direction:ltr;}
html[dir="ltr"] .ehc-showcase-price {text-align:left;}
html[dir="ltr"] .ehc-home-deals .ehc-home-deal-price {justify-content:flex-start;}
/* Keep seller-authored Arabic names readable; no fabricated translations. */
html[dir="ltr"] .ehc-category-meta strong,
html[dir="ltr"] .ehc-home-deal-body h3,
html[dir="ltr"] .ehc-showcase-content h3 {unicode-bidi:plaintext;}

/* Archive/category pages use the same RTL-only positioning as homepage rails. */
html[dir="ltr"] body.ehc-native-shop .ehc-cat-page-shell,
html[dir="ltr"] body.ehc-native-shop .ehc-cat-page-shell.ehc-cat-page-full {
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    direction:ltr!important;
    text-align:left;
}
html[dir="ltr"] .ehc-sh-mini-cart,
html[dir="ltr"] .ehc-sh-account-menu {direction:ltr;text-align:left;}
html[dir="ltr"] .ehc-cat-page-shell :is(h1,h2,h3,p),
html[dir="ltr"] .ehc-sh-mini-meta strong {unicode-bidi:plaintext;}

/* Give the longer English store name enough room on wide headers. */
@media (min-width:1251px) {
  html[dir="ltr"] .ehc-site-header .ehc-sh-brand-name {max-width:205px;}
}
