/* Khan Curtain & Sofa — Arabic / RTL overrides (loaded only on the Arabic site). */
html[dir="rtl"]{--serif:'Amiri','Playfair Display',Georgia,serif;--sans:'Tajawal','Poppins',Arial,sans-serif}
html[dir="rtl"] body{font-family:var(--sans);font-size:16px;line-height:1.8;text-align:right}
html[dir="rtl"] *,html[dir="rtl"] *::before,html[dir="rtl"] *::after{letter-spacing:0!important;text-transform:none!important}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{font-family:var(--serif);line-height:1.4;font-weight:700}
html[dir="rtl"] h1{line-height:1.35}
html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{font-family:var(--sans)}
html[dir="rtl"] p,html[dir="rtl"] li{line-height:1.85}

/* Small caps-style labels need real Arabic sizes */
html[dir="rtl"] .eyebrow,html[dir="rtl"] .hero-kicker,html[dir="rtl"] .brand-caption{font-size:13px;font-weight:500}
html[dir="rtl"] .brand-caption{font-size:10px;line-height:1.5}
html[dir="rtl"] .utility-bar{font-size:13px}
html[dir="rtl"] .button,html[dir="rtl"] .text-link,html[dir="rtl"] .category-pill{font-size:14px;font-weight:500}
html[dir="rtl"] .product-tag{font-size:12px;right:11px;left:auto}
html[dir="rtl"] .category-switcher__all{font-size:13px;margin:0 auto 10px 0}
html[dir="rtl"] .category-switcher__label{font-size:13px}

/* Skip link, navigation */
html[dir="rtl"] .skip-link{left:auto;right:10px}
html[dir="rtl"] .primary-navigation .sub-menu{left:auto;right:-14px}
html[dir="rtl"] .primary-navigation>ul>li:nth-last-child(-n+3)>.sub-menu{right:auto;left:-14px}
html[dir="rtl"] .primary-navigation .mega-shop>.sub-menu{left:50%;right:auto}
html[dir="rtl"] .menu-toggle span::before,html[dir="rtl"] .menu-toggle span::after{left:auto;right:0}
html[dir="rtl"] .lang-switch{font-family:'Poppins','Tajawal',sans-serif}
html[dir="rtl"] .lang-switch span{font-size:13px}
@media(min-width:981px){
 html[dir="rtl"] .primary-navigation>ul>li>a{font-size:clamp(14px,1.05vw,16px)}
 html[dir="rtl"] .primary-navigation .mega-shop>.sub-menu>li>a{font-size:19px}
 html[dir="rtl"] .primary-navigation .mega-shop>.sub-menu>li>.sub-menu a{font-size:15px}
}
@media(max-width:980px){
 html[dir="rtl"] .primary-navigation .sub-menu,html[dir="rtl"] .primary-navigation .menu-item-has-children>.sub-menu{padding-left:0;padding-right:14px}
 html[dir="rtl"] .header-actions{margin-right:0;margin-left:52px}
}
@media(max-width:480px){html[dir="rtl"] .header-actions{margin-left:48px}}
@media(max-width:600px){html[dir="rtl"] .header-actions{margin-left:48px}}

/* Hero */
html[dir="rtl"] .hero-slide::after,html[dir="rtl"] .archive-hero::after{background:linear-gradient(270deg,rgba(25,22,19,.68) 0%,rgba(28,24,21,.46) 40%,rgba(32,28,24,.18) 75%,rgba(32,28,24,.08) 100%)}
html[dir="rtl"] .hero-slide{transform:translateX(-2.5%) scale(1.035)}
html[dir="rtl"] .hero-slide.is-active{transform:translateX(0) scale(1)}
html[dir="rtl"] .hero-slide.is-leaving{transform:translateX(2.5%) scale(1.02)}
html[dir="rtl"] .hero-progress button::before,html[dir="rtl"] .hero-progress button span{left:auto;right:0}
html[dir="rtl"] .hero h1{font-size:clamp(34px,4.6vw,60px)}
html[dir="rtl"] .hero-description{font-size:17px}
html[dir="rtl"] .hero-meta{font-size:14px}

/* Sections / cards */
html[dir="rtl"] .section-head--bar,html[dir="rtl"] .section-head--bar .section-intro,html[dir="rtl"] .section-head--bar .eyebrow{text-align:right}
html[dir="rtl"] .product-detail__category-link strong{margin-left:0;margin-right:auto}
html[dir="rtl"] .product-detail__content ul,html[dir="rtl"] .product-detail__content ol{padding-left:0;padding-right:20px}
html[dir="rtl"] .product-highlights li{padding-left:0;padding-right:17px;font-size:14px}
html[dir="rtl"] .product-highlights li::before{left:auto;right:1px}
html[dir="rtl"] .product-image-zoom{text-align:right}
html[dir="rtl"] .product-image-zoom__badge{right:auto;left:14px}
html[dir="rtl"] .product-lightbox__close{right:auto;left:-13px}
html[dir="rtl"] .wa-float{right:auto;left:18px}
html[dir="rtl"] .entry-content .alignwide,html[dir="rtl"] .entry-content .alignfull{margin-left:0;margin-right:50%;transform:translateX(50%)}
html[dir="rtl"] .rtl-flip{transform:scaleX(-1)}
html[dir="rtl"] .text-link:hover svg.rtl-flip,html[dir="rtl"] .button:hover svg.rtl-flip{transform:translateX(-3px) scaleX(-1)}
html[dir="rtl"] .product-card__body p,html[dir="rtl"] .section-intro,html[dir="rtl"] .subcat-card__list a{font-size:15px}
html[dir="rtl"] .product-card h3{font-size:19px}
html[dir="rtl"] .subcat-card h3{font-size:21px}
html[dir="rtl"] .subcat-card__count,html[dir="rtl"] .subcat-card__more{font-size:13px}
html[dir="rtl"] .shop-pill{font-size:15px}
html[dir="rtl"] .breadcrumb{font-size:14px}
html[dir="rtl"] .footer-bottom,html[dir="rtl"] .site-footer{font-size:15px}
html[dir="rtl"] .pagination .nav-links{direction:rtl}
@media(max-width:760px){html[dir="rtl"] .subcat-card h3{font-size:18px}}
@media(max-width:650px){html[dir="rtl"] .product-tag{right:8px;left:auto}html[dir="rtl"] .wa-float{right:auto;left:14px}}
html[dir="rtl"] .catalog-faq,html[dir="rtl"] .category-faq{text-align:right}
html[dir="rtl"] .category-faq__item summary{padding-right:0}
