/* Zephora – Arabic (RTL) overrides. Loaded only on pages under /ar/. */
html[dir=rtl] .zp{font-family:'IBM Plex Sans Arabic','Plus Jakarta Sans',system-ui,sans-serif;line-height:1.75}
html[dir=rtl] .zp .h1,html[dir=rtl] .zp .h2,html[dir=rtl] .zp .h3,html[dir=rtl] .zp h1,html[dir=rtl] .zp h2,html[dir=rtl] .zp h3{letter-spacing:0;line-height:1.35;font-weight:700}
html[dir=rtl] .zp .h1{font-size:50px}
html[dir=rtl] .zp .h2{font-size:36px}
html[dir=rtl] .zp .eyebrow,html[dir=rtl] .zp [style*="text-transform:uppercase"]{letter-spacing:0!important;text-transform:none!important}
html[dir=rtl] .zp [style*="letter-spacing:-"]{letter-spacing:0!important}
html[dir=rtl] .zp .lead{line-height:1.8}
/* Brand word and numbers stay Latin and left-to-right */
html[dir=rtl] .zp-logo-text,html[dir=rtl] .zp-ltr{direction:ltr;font-family:'Plus Jakarta Sans',system-ui,sans-serif}
html[dir=rtl] .zp-logo .zp-logo-text small{font-family:'IBM Plex Sans Arabic',sans-serif;direction:rtl;font-size:12px;letter-spacing:0;text-align:right}
html[dir=rtl] a[href^="tel:"],html[dir=rtl] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate}
/* Arrows point the reading way */
html[dir=rtl] .btn-p svg,html[dir=rtl] .zp-arrow{transform:scaleX(-1)}
/* Text alignment that was hard-coded "left" */
html[dir=rtl] .faqq,html[dir=rtl] .zp-vtabs-list button,html[dir=rtl] .zp-table th,html[dir=rtl] .zp-chapter th{text-align:right}
html[dir=rtl] .zp-fstage span{text-align:left}
html[dir=rtl] .faq-a p{padding:0 0 24px 48px!important}
/* Lists and indents */
html[dir=rtl] .zp-tabpanel ul,html[dir=rtl] .zp-text ul,html[dir=rtl] .zp-toc ol,html[dir=rtl] .zp-chapter ul,html[dir=rtl] .zp-chapter ol{padding-left:0;padding-right:22px}
html[dir=rtl] .zp-drawer .sub-menu a{padding-left:0;padding-right:18px}
html[dir=rtl] .zp-drawer .sub-menu .sub-menu a{padding-left:0;padding-right:32px}
/* Absolutely placed pieces */
html[dir=rtl] .nav-links .sub-menu{left:auto;right:-16px}
html[dir=rtl] .nav-links>ul>li:first-child>.sub-menu{left:32px;right:32px}
html[dir=rtl] .skip-link{left:auto;right:-9999px}html[dir=rtl] .skip-link:focus{right:12px}
html[dir=rtl] .who-ring{right:auto;left:-60px}
html[dir=rtl] .zp-badge{left:auto;right:-24px}
html[dir=rtl] .zp-setup em{left:auto;right:28px}
html[dir=rtl] .zp-tl:before{left:auto;right:23px}
html[dir=rtl] .zp-wire>div>b{right:auto;left:-6px}
html[dir=rtl] .zp-hero--cover .zp-hero-in{margin-left:0;margin-right:max(0px,calc((100% - 1200px)/2))}
/* Borders and spacing that sit on one side */
html[dir=rtl] .zp-stats div{border-left:0;border-right:1px solid #E9E4F5}html[dir=rtl] .zp-stats div:first-child{border-right:0}
html[dir=rtl] .zp-callout{border-left:0;border-right:4px solid var(--a);border-radius:16px 0 0 16px}
html[dir=rtl] .zp-log-bar b{margin-left:0;margin-right:10px}
html[dir=rtl] .zp-cost b{margin-right:0;margin-left:6px}
html[dir=rtl] .zp-browser-bar i{margin-left:0;margin-right:12px}
html[dir=rtl] .zp-bubble.is-right{border-radius:22px 22px 22px 6px}
html[dir=rtl] .zp-home-stats>div{border-right:0!important;border-left:1px solid #E9E4F5}html[dir=rtl] .zp-home-stats>div:last-child{border-left:0}
/* Language switch */
.zp-lang{font-weight:700;font-size:15px;color:#17112B;padding:0 10px;min-height:44px;display:inline-flex;align-items:center}
.zp-lang:hover{color:var(--a,#6D28D9)}
html[dir=rtl] .zp-lang{font-family:'Plus Jakarta Sans',system-ui,sans-serif}
@media (max-width:860px){html[dir=rtl] .zp .h1{font-size:34px}html[dir=rtl] .zp .h2{font-size:28px}html[dir=rtl] .zp-badge{right:12px}html[dir=rtl] .zp-home-stats>div{border-left:0}}
/* Logo stays as designed (mark left of the word) */
html[dir=rtl] .zp-logo{direction:ltr}
html[dir=rtl] .zp-footer .g4>div:first-child>div:first-child{direction:ltr;justify-content:flex-end}
