/* Arabic layout; loaded after shared page styles only on /ar/ routes. */
html[dir="rtl"]{font-family:Arial,Tahoma,sans-serif}
html[dir="rtl"] :is(h1,h2,h3,.eyebrow,.product-category,.blog-card-title,.blog-card-top,.blog-index-kicker,.guide-related-grid span){letter-spacing:normal}
html[dir="rtl"] :is(h1,h2,h3,.blog-card-title){line-height:1.5}
html[dir="rtl"] :is(.hero h1,.logo,.footer-name){direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] :is(.hero h1,.footer-name){text-align:right}
html[dir="rtl"] .hero h1{letter-spacing:-.045em;line-height:1.15}
html[dir="rtl"] .header-cta{margin-left:0;margin-right:auto}
html[dir="rtl"] .header-search-slot{margin-left:0;margin-right:auto}
html[dir="rtl"] .site-header[data-search-docked="true"] .header-cta{margin-right:0}
html[dir="rtl"] .search-form{padding:7px 24px 7px 7px}
html[dir="rtl"] .search-form input{text-align:start}
html[dir="rtl"] .search-form input:placeholder-shown{text-align:right}
html[dir="rtl"] .source-icons{padding-right:0;padding-left:7px}
html[dir="rtl"] .header-search-slot .search-form{padding:4px 14px 4px 4px}
html[dir="rtl"] .hero-art{margin-left:0;margin-right:-4%}
html[dir="rtl"] .featured-section .product-grid{left:auto;right:50%;transform:translateX(50%)}
html[dir="rtl"] :is(.language-menu>nav,.mobile-menu>nav){right:auto;left:0}
html[dir="rtl"] .language-menu>summary{direction:ltr}
html[dir="rtl"] .language-menu a:not([lang="ar"]){direction:ltr;unicode-bidi:isolate;text-align:start}
html[dir="rtl"] .nav-dropdown-panel{left:auto;right:0}
html[dir="rtl"] .category-card>.icon{margin-left:0;margin-right:auto}
html[dir="rtl"] :is(.text-link,.button,.nav-dropdown-all,.category-card,.blog-card-bottom,.guide-related-grid,.guide-sources,.product-bottom>a)>.icon{transform:scaleX(-1)}
html[dir="rtl"] .text-link:hover>.icon{transform:scaleX(-1) translateX(4px)}
html[dir="rtl"] .search-form .button>.icon{transform:none}
html[dir="rtl"] .quick-number{right:auto;left:12px;direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .quick-illustration{right:auto;left:-7px;transform:rotate(-12deg)}
html[dir="rtl"] .qc-badge{left:auto;right:12px}
html[dir="rtl"] .product-open{right:auto;left:12px}
html[dir="rtl"] .product-open .icon{transform:scaleX(-1) rotate(-35deg)}
html[dir="rtl"] .product-body h3[dir="ltr"]{text-align:right;unicode-bidi:isolate}
html[dir="rtl"] .product-bottom strong{direction:ltr;unicode-bidi:isolate;letter-spacing:normal}
html[dir="rtl"] .faq-list p{padding-right:0;padding-left:26px}
html[dir="rtl"] .category-advice-grid article{border-right:0;border-left:1px solid var(--line);padding-right:0;padding-left:26px}
html[dir="rtl"] .category-advice-grid article:last-child{border-left:0;padding-left:0}
html[dir="rtl"] :is(.blog-table-wrap table,.blog-table-wrap caption,.guide-table-wrap table){text-align:start}
html[dir="rtl"] :is(.blog-table-wrap,.guide-table-wrap) [dir="ltr"]{unicode-bidi:isolate;text-align:right}
html[dir="rtl"] .blog-byline>span+span:before{margin-right:0;margin-left:20px}
html[dir="rtl"] :is(.blog-sources ol,.guide-bullets,.guide-sources ul){padding-left:0;padding-right:20px}
html[dir="rtl"] .guide-bullets li{padding-left:0;padding-right:4px}
html[dir="rtl"] .guide-count{margin-left:0;margin-right:auto}
html[dir="rtl"] .guide-meta>span+span{border-left:0;border-right:1px solid #cbded1;padding-left:0;padding-right:20px}
html[dir="rtl"] .guide-note{border-left:0;border-right:3px solid #7bc5a5}
html[dir="rtl"] .skip{left:auto;right:12px}
@media(max-width:1200px){html[dir="rtl"] .mobile-menu .nav-dropdown-panel{margin-left:0;margin-right:10px}}
@media(max-width:1100px){html[dir="rtl"] .header-search-slot{margin:0}}
@media(max-width:900px){html[dir="rtl"] .hero-art{margin-left:0;margin-right:-5%}html[dir="rtl"] .hero .search-form{padding-right:16px}}
@media(max-width:800px){html[dir="rtl"] .category-advice-grid article{border-left:0;padding-inline:0}}
@media(max-width:760px){html[dir="rtl"] .guide-meta>span+span{padding-right:13px}}
@media(max-width:650px){
 html[dir="rtl"] .mobile-menu>nav{width:min(340px,calc(100vw - 70px))}
 html[dir="rtl"] .hero-art{margin-inline:0}
 html[dir="rtl"] .header-cta{font-size:11px}
 html[dir="rtl"] .hero-steps strong{font-size:11px}
 html[dir="rtl"] .hero-steps small{font-size:9px}
 html[dir="rtl"] .category-tabs{margin-right:0;margin-left:-20px;padding-right:0;padding-left:20px}
 html[dir="rtl"] .product-open{left:8px}
 html[dir="rtl"] .qc-badge{right:8px}
 html[dir="rtl"] .blog-byline>span+span:before{margin-left:11px}
 html[dir="rtl"] .page-callout .search-form{padding-right:14px}
}
@media(max-width:450px){html[dir="rtl"] .guide-meta>span:last-child{border:0;padding:0}}
