/* GLMR: native language navigation. Other storefront styling is unchanged in English. */
.glmr-l10n-switcher{display:inline-flex;align-items:center;gap:1px;padding:2px;border:1px solid #eedce9;border-radius:999px;background:#fffafd;white-space:nowrap;vertical-align:middle;box-sizing:border-box}
.site-menu .glmr-l10n-switcher .glmr-l10n-language,#masthead .site-menu .glmr-l10n-switcher .glmr-l10n-language{display:inline-flex!important;align-items:center;justify-content:center;flex:none!important;min-height:26px!important;min-width:30px;padding:3px 8px!important;border:0;border-radius:999px;font-family:Arial,Tahoma,sans-serif!important;font-size:11px!important;font-weight:700!important;line-height:1.45!important;letter-spacing:0!important;text-transform:none!important;color:#6e5879!important;text-decoration:none!important;box-sizing:border-box}
.site-menu .glmr-l10n-switcher .glmr-l10n-language.is-current,#masthead .site-menu .glmr-l10n-switcher .glmr-l10n-language.is-current{background:#f38cbd;color:#321044!important;box-shadow:0 0 12px rgba(243,140,189,.42)}
.site-menu .glmr-l10n-switcher .glmr-l10n-language:not(.is-current):hover{background:#fce6f1;color:#5a2999!important}
.glmr-l10n-language:focus-visible,.glmr-l10n-mobile-switcher:focus-visible{outline:2px solid #5a2999!important;outline-offset:3px}
.site-menu .menu>.glmr-l10n-menu-item{display:flex;align-items:center;flex:0 0 auto;margin-inline-start:8px!important;margin-inline-end:0!important;padding:0!important;border:0!important}
.site-offcanvas .site-menu .menu>.glmr-l10n-menu-item{margin:16px 0 0!important;padding:12px 0!important;width:100%}
/* Arabic-only typography. Icon elements and pseudo-elements retain their own fonts. */
html[lang^="ar"]{--glmr-ar-font:GLMRArabic,"Noto Sans Arabic",Tahoma,Arial,sans-serif}
html[lang^="ar"] body{direction:rtl;font-family:var(--glmr-ar-font)}
html[lang^="ar"] :is(.site-header,.site-offcanvas,.site-footer,.glmr-v2-home,.glmr-about-v2,.glmr-contact-v2,.glmr-bundle-builder,.glmr-policy-clean,.glmr-wishlist-shop-wrap,.woocommerce){font-family:var(--glmr-ar-font)!important}
html[lang^="ar"] :is(.site-header,.site-offcanvas,.site-footer,.glmr-v2-home,.glmr-about-v2,.glmr-contact-v2,.glmr-bundle-builder,.glmr-policy-clean,.glmr-wishlist-shop-wrap,.woocommerce) :is(h1,h2,h3,h4,h5,h6,p,blockquote,label,input,select,textarea,button,.button,.entry-name,.entry-category,.product_title,.woocommerce-loop-product__title,.entry-summary,.site-menu a){font-family:var(--glmr-ar-font)!important;letter-spacing:0!important;text-transform:none!important}
html[lang^="ar"] :is(.glmr-v2-home,.glmr-about-v2,.glmr-contact-v2,.glmr-bundle-builder,.glmr-policy-clean,.woocommerce) :is(h1,h2,h3,h4,h5,h6){line-height:1.5!important}
html[lang^="ar"] :is(.glmr-v2-home,.glmr-about-v2,.glmr-contact-v2,.glmr-bundle-builder,.glmr-policy-clean) :is(p,blockquote){line-height:1.9!important}
html[lang^="ar"] :is(.glmr-v2-home,.glmr-about-v2,.glmr-contact-v2,.glmr-bundle-builder,.glmr-policy-clean) :is(span,small,strong){letter-spacing:0!important}
html[lang^="ar"] :is(button,.button,label,input,select,textarea){letter-spacing:0!important}

/* Navigation follows the reading direction; GSAP keeps control of the drawer animation. */
html[lang^="ar"] .site-header,html[lang^="ar"] .site-offcanvas{text-align:right}
/* The theme owns the physical drawer origin/GSAP transform; only its text flow changes. */
html[lang^="ar"] .site-offcanvas .mobile-menu .menu-item-has-children>a{padding-right:0;padding-left:1rem}
html[lang^="ar"] .site-offcanvas .mobile-menu .sub-menu{padding-left:0!important;padding-right:1.25rem!important}
html[lang^="ar"] .site-header .woo-mini-cart{left:0!important;right:auto!important;text-align:right}
html[lang^="ar"] .woo-mini-cart .product-detail{min-width:0;text-align:right}
html[lang^="ar"] .woo-mini-cart .woocommerce-mini-cart-item .product-thumbnail{margin-left:12px;margin-right:0}
html[lang^="ar"] .woo-mini-cart .woocommerce-mini-cart-item .remove{right:auto;left:0}
html[lang^="ar"] .site-menu .sub-menu{text-align:right}
html[lang^="ar"] .site-footer :is(.widget,.site-copyright,.footer-menu){text-align:right}

/* Homepage and editorial pages: natural Arabic spacing, unmirrored photos/video. */
html[lang^="ar"] .glmr-v2-hero-copy{text-align:right!important}
html[lang^="ar"] .glmr-v2-hero h1{font-size:clamp(48px,6.5vw,96px)!important;line-height:1.4!important}
html[lang^="ar"] :is(.glmr-v2-home section>header,.glmr-v2-card-body,.glmr-v2-category-card,.glmr-v2-scent-grid a,.glmr-v2-bundle-cta,.glmr-v2-story-track article,.glmr-v2-story-box,.glmr-about-hero,.glmr-about-story,.glmr-about-values,.glmr-contact-v2){text-align:right}
html[lang^="ar"] .glmr-v2-home section>header h2{font-size:clamp(34px,4.6vw,64px)!important}
html[lang^="ar"] .glmr-v2-header-shop b{display:inline-block;transform:scaleX(-1)}
/* Existing scroll math uses the LTR coordinate system. Keep the tracks in
 * their original direction and apply Arabic reading direction to each card. */
html[lang^="ar"] :is(.glmr-v2-grid,.glmr-v2-category-grid,.glmr-v2-scent-grid,.glmr-v2-story-track){direction:ltr;min-width:0;max-width:100%}
html[lang^="ar"] :is(.glmr-v2-grid,.glmr-v2-category-grid,.glmr-v2-scent-grid,.glmr-v2-story-track)>*{direction:rtl}
html[lang^="ar"] .glmr-v2-card h3{line-height:1.8!important;min-height:3.6em}
html[lang^="ar"] .glmr-v2-heart{right:auto!important;left:15px!important}
html[lang^="ar"] .glmr-v2-story-close{right:auto;left:18px}
html[lang^="ar"] .glmr-v2-story-track blockquote{font-size:28px!important}
html[lang^="ar"] .glmr-v2-story-box h2{font-size:32px!important}
html[lang^="ar"] :is(.glmr-about-hero,.glmr-contact-v2-hero) h1{font-size:clamp(44px,5.5vw,78px)!important}
html[lang^="ar"] :is(.glmr-about-story,.glmr-about-values,.glmr-about-cta,.glmr-contact-v2-main) h2{font-size:clamp(34px,4.3vw,60px)!important}
html[lang^="ar"] .glmr-contact-v2-pills strong{display:inline-block;direction:ltr;unicode-bidi:isolate;max-width:100%;overflow-wrap:anywhere}
html[lang^="ar"] .glmr-contact-v2-form :is(label,input,select,textarea){text-align:right}
html[lang^="ar"] .glmr-contact-v2-form :is(input[type="email"],input[type="tel"]){direction:ltr;text-align:left}

/* Product/catalogue content. The image gallery remains in its carousel coordinate system. */
html[lang^="ar"] :is(.products .entry-wrapper,.products .entry-name,.products .entry-category,.product .entry-summary,.product .woocommerce-tabs,.glmr-wishlist-shop-head){text-align:right!important}
html[lang^="ar"] .products .entry-name{line-height:1.8!important}
html[lang^="ar"] .woocommerce-product-gallery,html[lang^="ar"] .woocommerce-product-gallery__wrapper{direction:ltr}
html[lang^="ar"] :is(.quantity,.glmr-bundle-card-controls){direction:ltr;unicode-bidi:isolate}
html[lang^="ar"] .woocommerce :is(.price,.amount),html[lang^="ar"] :is(.glmr-v2-card-price,.glmr-bundle-price,.glmr-bundle-dock-price){unicode-bidi:isolate}
/* Keep each numeral/currency pair together inside RTL sale-price rows. */
html[lang^="ar"] :is(.woocommerce,.glmr-v2-card-price,.glmr-bundle-price,.glmr-bundle-dock-price,.woo-mini-cart,#glmr-cart-drawer) .woocommerce-Price-amount{display:inline-block;direction:ltr;unicode-bidi:isolate}
html[lang^="ar"] :is(.woocommerce,.glmr-v2-card-price,.glmr-bundle-price,.glmr-bundle-dock-price,.woo-mini-cart,#glmr-cart-drawer) del .woocommerce-Price-amount{text-decoration:line-through}
html[lang^="ar"] .glmr-bundle-card-copy,html[lang^="ar"] .glmr-bundle-dock-copy{text-align:right}
html[lang^="ar"] .glmr-bundle-hero{text-align:center}
html[lang^="ar"] .glmr-bundle-hero h1{font-size:clamp(34px,4.4vw,60px)!important}

/* Cart, checkout, account and payment fields. Values/codes are never rewritten. */
html[lang^="ar"] .woocommerce :is(table.shop_table th,table.shop_table td,.form-row label,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation){text-align:right}
html[lang^="ar"] .woocommerce :is(table.shop_table .product-price,table.shop_table .product-subtotal,table.shop_table .product-total){text-align:left}
html[lang^="ar"] .woocommerce :is(table.shop_table .product-price,table.shop_table .product-subtotal){direction:ltr;unicode-bidi:isolate}
html[lang^="ar"] .woocommerce :is(input[type="email"],input[type="tel"],input[type="url"],input[name="coupon_code"],input[autocomplete="cc-number"],input[autocomplete="cc-exp"],input[autocomplete="cc-csc"]){direction:ltr;text-align:left;unicode-bidi:isolate}
html[lang^="ar"] .woocommerce :is(input[type="text"],textarea,select){text-align:right}
html[lang^="ar"] .woocommerce input[name="coupon_code"]{text-align:left}
html[lang^="ar"] .woocommerce .select2-container .select2-selection--single{text-align:right}
html[lang^="ar"] .woocommerce .select2-container .select2-selection--single .select2-selection__rendered{padding-right:12px;padding-left:30px}
html[lang^="ar"] .woocommerce .select2-container .select2-selection--single .select2-selection__arrow{right:auto;left:6px}
html[lang^="ar"] :is(.select2-dropdown,.select2-results,.select2-search__field){direction:rtl;text-align:right;font-family:var(--glmr-ar-font)}
html[lang^="ar"] .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message){padding-inline-start:3.5em;padding-inline-end:1.5em;text-align:right}
html[lang^="ar"] .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message)::before{left:auto;right:1.5em}
html[lang^="ar"] .woocommerce :is(.woocommerce-message,.woocommerce-info) .button{float:left;margin-left:0;margin-right:12px}
html[lang^="ar"] .woocommerce :is(#shipping_method,.payment_methods){padding-inline-start:0;text-align:right}
html[lang^="ar"] .woocommerce :is(#shipping_method,.payment_methods) input[type="radio"]{float:none;margin-inline-start:0;margin-inline-end:8px}
html[lang^="ar"] .woocommerce .payment_box::before{left:auto;right:2em}
html[lang^="ar"] .woocommerce :is(.woocommerce-customer-details address,.woocommerce-MyAccount-content address){text-align:right;unicode-bidi:plaintext}
html[lang^="ar"] .glmr-thankyou-hero-content{text-align:right}
@media(min-width:768px){
  html[lang^="ar"] .woocommerce-MyAccount-navigation{float:right}
  html[lang^="ar"] .woocommerce-MyAccount-content{float:left}
}
@media(max-width:767px){
  html[lang^="ar"] .glmr-v2-hero h1{font-size:46px!important;line-height:1.45!important}
  html[lang^="ar"] .glmr-v2-home section>header h2{font-size:30px!important}
  html[lang^="ar"] .glmr-v2-bundle-cta h2{font-size:31px!important}
  html[lang^="ar"] .glmr-v2-products>header .glmr-v2-header-shop{font-size:11px!important;line-height:1.65!important}
  html[lang^="ar"] .woocommerce table.shop_table_responsive tr td::before{float:right}
  html[lang^="ar"] .woocommerce table.shop_table_responsive tr td{text-align:left!important}
  html[lang^="ar"] .woocommerce table.shop_table_responsive tr td.product-name{text-align:right!important}
}

/* Existing policy components already have Arabic copy; these rules align the shared layout. */
html[lang^="ar"] .glmr-policy-clean :is(.glmr-policy-section,.glmr-policy-side,.glmr-policy-contact,.glmr-policy-summary,.glmr-policy-note){direction:rtl;text-align:right}
html[lang^="ar"] .glmr-policy-clean .glmr-policy-section :is(ul,ol){padding-left:0!important;padding-right:1.5em!important;list-style-position:outside}
html[lang^="ar"] .glmr-policy-clean :is(.glmr-policy-email,a[href^="mailto:"],a[href^="tel:"]){direction:ltr;unicode-bidi:isolate;display:inline-block;overflow-wrap:anywhere}
html[lang^="ar"] body.glmr-l10n-switcher-visible .glmr-policy-clean .glmr-policy-clean-switch,
html[lang^="ar"] body.glmr-l10n-switcher-visible .glmr-policy-clean button[data-glmr-lang]{display:none!important}

/* The drawer uses the same full-width row style as its other navigation. */
.glmr-l10n-full-label,.glmr-l10n-language-icon{display:none}
.site-offcanvas .site-menu.mobile-menu ul.menu>li.glmr-l10n-menu-item,.site-offcanvas .glmr-l10n-drawer-row{display:block!important;margin:0!important;padding:0!important;min-height:54px;border-bottom:1px solid rgba(0,0,0,.08)!important;width:100%;box-sizing:border-box}
.site-offcanvas .glmr-l10n-switcher{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;direction:inherit}
.site-offcanvas .site-menu.mobile-menu .glmr-l10n-switcher .glmr-l10n-language,.site-offcanvas .glmr-l10n-drawer-row .glmr-l10n-switcher .glmr-l10n-language{display:flex!important;width:100%;min-height:54px!important;padding:0 18px!important;border-radius:0!important;background:transparent!important;gap:10px;justify-content:flex-start;color:#f28ab7!important;font-family:inherit!important;font-size:18px!important;font-weight:600!important;line-height:1.5!important;text-align:start;direction:inherit}
.site-offcanvas .site-menu.mobile-menu .glmr-l10n-switcher .glmr-l10n-language.is-current,.site-offcanvas .glmr-l10n-drawer-row .glmr-l10n-switcher .glmr-l10n-language.is-current{display:none!important}
.site-offcanvas .glmr-l10n-short-label{display:none}
.site-offcanvas .glmr-l10n-full-label{display:inline}
.site-offcanvas .glmr-l10n-language-icon{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
/* Only the mobile header contains this compact link; its logo stays centered. */
#masthead .site-header--mobile .row{position:relative}
#masthead .site-header--mobile .glmr-l10n-mobile-control{display:flex!important;position:static!important;align-items:center;justify-content:flex-start!important}
#masthead .site-header--mobile .glmr-l10n-mobile-control .canvas-toggle{flex:0 0 auto}
#masthead .site-header--mobile .glmr-l10n-mobile-switcher{display:inline-flex!important;position:absolute;top:50%;left:25%;right:auto;transform:translate(-50%,-50%);align-items:center;justify-content:center;flex:0 0 auto;min-width:34px;min-height:30px;padding:3px 7px!important;box-sizing:border-box;border:1px solid #f2a4c8;border-radius:999px;background:#fff7fb;color:#c7327b!important;box-shadow:0 0 8px rgba(243,140,189,.22);font-family:Arial,Tahoma,sans-serif!important;font-size:11px!important;font-weight:700;line-height:1.5;text-decoration:none!important;white-space:nowrap;letter-spacing:0!important;text-transform:none!important}
html[dir="rtl"] #masthead .site-header--mobile .glmr-l10n-mobile-switcher{left:auto;right:25%;transform:translate(50%,-50%)}
#masthead .site-header--mobile .glmr-l10n-mobile-switcher:hover{background:#fce6f1}
/* The drawer must cover the product/cart navigation while it is open. */
html[lang^="ar"] body.glmr-menu-open :is(.glmr-pdp13-mobile-bar,#glmr-mobile-sticky-bar,.glmr-bundle-dock){display:none!important;visibility:hidden!important;pointer-events:none!important}
html[lang^="ar"] .site-offcanvas .offcanvas-close{left:14px!important;right:auto!important}
html[lang^="ar"] .site-offcanvas--header .site-brand{padding-left:48px!important;padding-right:0!important}
html[lang^="ar"] .site-offcanvas .site-menu.mobile-menu li:is(.menu-item-has-children,.dropdown)>a{padding-left:68px!important;padding-right:18px!important;text-align:right!important}
html[lang^="ar"] .site-offcanvas .site-menu.mobile-menu .menu-dropdown{left:0!important;right:auto!important;border-left:0!important;border-right:1px solid rgba(0,0,0,.08)!important}
html[lang^="ar"] .site-offcanvas .site-menu.mobile-menu .menu-dropdown::before{font-family:Arial,sans-serif!important;font-style:normal!important;content:"+"!important}
html[lang^="ar"] .site-offcanvas .site-menu.mobile-menu li:is(.active,.glmr-open)>.menu-dropdown::before{content:"−"!important}
html[lang^="ar"] .site-offcanvas .site-menu.mobile-menu ul.sub-menu>li>a{padding-right:34px!important;padding-left:18px!important;text-align:right!important}
html[lang^="ar"] .site-offcanvas .site-menu.mobile-menu ul.sub-menu ul.sub-menu>li>a{padding-right:50px!important}
html[lang^="ar"] .site-offcanvas :is(.glmr-menu-extra-row,.glmr-menu-currency-row){text-align:right!important}
html[lang^="ar"] .site-offcanvas .glmr-menu-row-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important}
html[lang^="ar"] .site-offcanvas .glmr-menu-extra-label{white-space:normal!important;line-height:1.6!important}
html[lang^="ar"] .glmr-pdp13-magic-row>b{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important}
/* Keep the invisible newsletter honeypot inside the RTL scroll boundary. */
html[lang^="ar"] #glmrFooterNewsletterForm input[name="website"][type="text"],
html[lang^="ar"] input.glmr-hp-field{left:0!important;right:auto!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden}
@media(max-width:767px){
  html[lang^="ar"] #glmr-cart-drawer :is(h3.entry-name,.entry-name h3){font-size:15px!important;line-height:1.5!important;margin:0!important}
}

/* The registration anti-spam field stays hidden within the RTL scroll boundary. */
html[lang^="ar"] form.woocommerce-form-register>div:has(input[name="glmr_company_website"]){left:auto!important;right:0!important;clip-path:inset(50%);pointer-events:none}
/* Keep the balance currency beside its numeric amount. */
html[lang^="ar"] .glmr-glow-card strong .woocommerce-Price-amount{display:inline-block;direction:ltr;unicode-bidi:isolate;white-space:nowrap}
html[lang^="ar"] .glmr-glow-card strong .woocommerce-Price-currencySymbol{display:inline!important}
html[lang^="ar"] .glmr-glow-table :is(th,td){text-align:right}

/* The main language navigation replaces the former policy-only language bar. */
html[lang^="ar"] body.glmr-l10n-switcher-visible .glmr-policy-clean .glmr-policy-clean-bar,
html[lang^="ar"] body.glmr-l10n-switcher-visible .glmr-policy-clean .glmr-policy-bar{display:none!important}

/* Give Contact Us and language navigation distinct space in either direction. */
#masthead .site-header--desktop .site-menu .menu>.glmr-l10n-menu-item{margin-inline-start:24px!important;margin-inline-end:12px!important}

/* Match the surrounding action rows and center both language label and icon. */
.site-offcanvas .glmr-l10n-drawer-row{height:54px!important;min-height:54px!important;box-sizing:border-box}
.site-offcanvas .glmr-l10n-drawer-row>.glmr-l10n-switcher{height:100%}
.site-offcanvas .glmr-l10n-drawer-row .glmr-l10n-switcher .glmr-l10n-language{height:100%!important;min-height:0!important;align-items:center!important}

/* Woo uses a row-header TH for each order. Include it in the phone layout
 * so the table becomes readable cards without widening the whole page. */
@media(max-width:767px){
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table{display:block!important;position:relative;width:100%!important;max-width:100%;min-width:0;border:0!important;background:transparent;box-sizing:border-box}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table thead{position:absolute!important;inset:0 auto auto 0;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table tbody{display:grid!important;gap:16px;width:100%;max-width:100%;min-width:0}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table tbody>tr{display:block!important;width:100%;max-width:100%;min-width:0;padding:6px 14px;margin:0;border:1px solid #eedce9!important;border-radius:14px;background:#fff;box-sizing:border-box}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table tbody>tr>:is(th,td){display:grid!important;grid-template-columns:minmax(64px,.7fr) minmax(0,1.3fr);align-items:baseline;gap:6px 12px;width:100%!important;max-width:100%;min-width:0!important;padding:11px 0!important;border:0!important;border-bottom:1px solid #f2e8f0!important;background:transparent!important;box-sizing:border-box;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table tbody>tr>:is(th,td)::before{content:attr(data-title);display:block;float:none!important;min-width:0;text-align:right;font-size:12px;font-weight:700;line-height:1.7;color:#6e5879}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total::before{grid-row:1/span 2;align-self:start}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total .woocommerce-Price-amount{justify-self:end;max-width:100%}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table tbody>tr>.woocommerce-orders-table__cell-order-actions{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;border-bottom:0!important;text-align:right!important}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before{flex:0 0 100%;margin-bottom:2px}
  html[lang^="ar"] .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions>:is(a,button){display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;max-width:100%;min-width:0;min-height:38px;margin:0!important;padding:8px 13px!important;font-size:12px!important;line-height:1.6!important;text-align:center;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box}
}

/* The Arabic sorting options must not impose their intrinsic width on the
 * catalogue's flex content, which otherwise widens the phone document. */
@media(max-width:767px){
  html[lang^="ar"] .site-shop .site-shop--content{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
  html[lang^="ar"] .site-shop--filterbar{flex-wrap:wrap;gap:10px;min-width:0;max-width:100%}
  html[lang^="ar"] .site-shop--filterbar .product-result--sort{flex:1 1 200px;min-width:0;max-width:100%}
  html[lang^="ar"] .site-shop--filterbar .woocommerce-ordering{width:100%;min-width:0}
  html[lang^="ar"] .site-shop--filterbar select.orderby{width:100%;max-width:100%;min-width:0}
}

/* Keep the original Instagram handle readable inside Arabic contact copy. */
html[lang^="ar"] .glmr-contact-v2-links a[href="https://www.instagram.com/glmr.eg"]{direction:ltr;unicode-bidi:isolate}

/* Arabic catalogue names include the product type and scent; allow their
 * complete text to wrap while reserving a consistent three-line title area. */
html[lang^="ar"] body:is(.post-type-archive-product,.tax-product_cat) .site-shop .products .product h2.entry-name.woocommerce-loop-product__title{
  display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;
  height:auto!important;min-height:4.95em!important;max-height:none!important;
  line-height:1.65!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  padding-block-end:.15em;
}
@media(min-width:768px){
  html[lang^="ar"] body:is(.post-type-archive-product,.tax-product_cat) .site-shop .products .product h2.entry-name.woocommerce-loop-product__title{min-height:3.3em!important}
}
