.store-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px 12px; padding:5px 0 9px; font-size:12px; }
.store-tools a { text-decoration:underline; text-underline-offset:3px; }
.store-languages { display:flex; gap:3px; }
.store-languages button { min-height:34px; padding:3px 7px; color:#f5f0e6; background:rgba(255,255,255,.08); border:1px solid #786444; border-radius:6px; }
.store-languages button[aria-pressed=true], .product-price { background:linear-gradient(135deg,#d9bf8c,#b69356)!important; color:#1a1612!important; font-weight:600; }
.product-card-shell { min-width:0; display:flex; flex-direction:column; border:1px solid #8f7657; border-radius:12px; background:rgba(28,24,20,.55); overflow:hidden; }
.product-card-shell>.card, .product-card-shell>.rail-card { display:block; min-width:0; width:100%; flex:1; padding-bottom:0; margin:0; border:0; box-shadow:none; }
.product-card-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:6px; }
.product-card-actions a { min-height:40px; display:grid; place-items:center; text-align:center; padding:4px 2px; font-size:12px; line-height:1.2; border:1px solid #8f7657; border-radius:6px; overflow-wrap:anywhere; }
.product-details { background:rgba(255,255,255,.08); color:#f5f0e6; }
.quote-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:780px; }
.quote-fields :is(input,textarea) { display:block; width:100%; margin:4px 0 0; min-height:44px; padding:10px; color:#f5f0e6; background:#25201a; border:1px solid #8f7657; border-radius:8px; font:inherit; }
.quote-wide { grid-column:1/-1; }
.store-ar :is(.store-tools,.quote-fields,.product-card-actions) { direction:rtl; }
@media(max-width:480px){.product-card-actions a{font-size:10px} .quote-fields{grid-template-columns:1fr}}
.product-rail > .product-card-shell { flex:0 0 calc((100% - 60px)/4); scroll-snap-align:start; }
@media(max-width:700px){.product-rail > .product-card-shell {flex-basis:calc((100% - 24px)/3)}}

/* Give Arabic copy its reading direction without reversing video or carousel controls. */
html[lang="ar"] .store-ar :is(.welcome, .welcome-film-copy, .hero-slide-copy,
  .chair-guide-copy, .custom-callout, #photo-search) {
  direction: rtl;
}
html[lang="ar"] .store-ar :is(.card h3, .rail-card h3, .category-tile h3) {
  direction: rtl;
  unicode-bidi: plaintext;
}
