/* Arabic presentation only. Copy, images, and other language layouts are unchanged. */
/* Youthprime's Arabic version uses Tajawal and relaxed Arabic line spacing.
   Only Arabic glyphs use these faces; Latin words and numerals keep their normal fallback. */
@font-face {
 font-family: "Sahara Arabic"; src: url("/fonts/Tajawal-Regular.ttf") format("truetype");
 font-style: normal; font-weight: 400; font-display: swap;
 unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
 font-family: "Sahara Arabic"; src: url("/fonts/Tajawal-Medium.ttf") format("truetype");
 font-style: normal; font-weight: 500; font-display: swap;
 unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
 font-family: "Sahara Arabic"; src: url("/fonts/Tajawal-Bold.ttf") format("truetype");
 font-style: normal; font-weight: 700; font-display: swap;
 unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;
}
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] body,
html[dir="rtl"] :is(h1,h2,h3,h4,p,li,label,input,textarea,select,button,summary,small,strong,b,.eyebrow,.hint,.bundle-name,.candy-science-note,.result-word,.result-mini),
html[dir="rtl"] #page #hero .features .feature strong,
html[dir="rtl"] #page #gold .results.results-refined :is(.result-word,.result-mini,small),
html[dir="rtl"] #page #ingredients .formula-card-more .formula-more-copy h3 {
 font-family: "Sahara Arabic", Arial, Helvetica, sans-serif !important;
}
html[dir="rtl"] :is(h1,h2,h3,h4) { line-height: 1.32; letter-spacing: 0 !important; }
html[dir="rtl"] :is(p,li,label,summary,.hint,.cart-row-info,.delivery-summary) { line-height: 1.8; }
html[dir="rtl"] #page #hero.romance-hero h1 { line-height: 1.28 !important; }
html[dir="rtl"] .info-paper p,
html[dir="rtl"] .ingredient-story-copy > p:not(.ingredient-index,.ingredient-latin,.ingredient-region),
html[dir="rtl"] .faq details p { font-size: 15px; line-height: 1.8; }
html[dir="rtl"] .sidepanel { right: auto; left: 0; }
html[dir="rtl"] .sidepanel button,
html[dir="rtl"] .cart-floating,
html[dir="rtl"] .cart-back,
html[dir="rtl"] .review-card,
html[dir="rtl"] .refund-terms p,
html[dir="rtl"] .compare-value,
html[dir="rtl"] .intimacy-story,
html[dir="rtl"] #page #ingredients .formula-eyebrow,
html[dir="rtl"] #page #ingredients .formula-intro,
html[dir="rtl"] #page #ingredients .formula-swipe,
html[dir="rtl"] #page #ingredients h2,
html[dir="rtl"] #page #hero .features .feature,
html[dir="rtl"] #page #hero .features .feature strong,
html[dir="rtl"] #page .footer-legal { text-align: right !important; }
html[dir="rtl"] .topnav .nav-actions,
html[dir="rtl"] .desktop-nav,
html[dir="rtl"] .editorial .language-picker,
html[dir="rtl"] .pay-logo { margin-left: 0 !important; margin-inline-start: auto !important; }
html[dir="rtl"] .faq-safety ul { padding-left: 0; padding-inline-start: 19px; }
html[dir="rtl"] .store-footer-group:last-child a { margin-right: 0; margin-inline-end: 24px; }
html[dir="rtl"] .ingredient-story-copy .ingredient-conclusion {
 border-left: 0; border-inline-start: 3px solid #514532; border-radius: 10px 0 0 10px;
}
html[dir="rtl"] .shop-photo > span { left: auto; right: 16px; }
html[dir="rtl"] .cart-badge { right: auto; left: -3px; }
/* Packaging is an unmirrored artboard. Fit the complete original bag into
   each responsive card, including room for rotated two/three-bag layouts. */
html[dir="rtl"] .bundle-pack-scene { container-type: size; direction: ltr; }
html[dir="rtl"] .bundle-pack {
 width: min(138px,calc((100cqh - 36px) * .686),calc(100cqw - 32px));
 height: auto; aspect-ratio: 345 / 503;
 background-size: contain; background-position: center bottom;
}
html[dir="rtl"] .bundle-pack--2 .bundle-pack {
 width: min(128px,calc((100cqh - 48px) * .686),calc((100cqw - 36px) / 1.8));
 height: auto;
}
html[dir="rtl"] .bundle-pack--2 .bundle-pack:nth-child(1) { transform: translateX(-78.125%) rotate(-8deg); }
html[dir="rtl"] .bundle-pack--2 .bundle-pack:nth-child(2) { transform: translateX(-21.875%) rotate(8deg); }
html[dir="rtl"] .bundle-pack--3 .bundle-pack {
 width: min(113px,calc((100cqh - 48px) * .686),calc((100cqw - 40px) / 2.7));
 height: auto;
}
html[dir="rtl"] .bundle-pack--3 .bundle-pack:nth-child(1) { transform: translateX(-105%) rotate(-11deg); }
html[dir="rtl"] .bundle-pack--3 .bundle-pack:nth-child(2) { transform: translateX(-50%); }
html[dir="rtl"] .bundle-pack--3 .bundle-pack:nth-child(3) { transform: translateX(5%) rotate(11deg); }
/* Keep the existing spam trap invisible without widening an RTL document. */
html[dir="rtl"] .review-trap { left: auto; right: 0; clip-path: inset(50%); }
html[dir="rtl"] .formula-arrow svg,
html[dir="rtl"] .review-arrows svg { transform: scaleX(-1); }
/* Isolate left-to-right identifiers without reversing Arabic labels around them. */
html[dir="rtl"] .logo-wordmark,
html[dir="rtl"] .store-footer-brand > a,
html[dir="rtl"] .pay-logo,
html[dir="rtl"] .mono,
html[dir="rtl"] .ingredient-latin,
html[dir="rtl"] .bundle-current,
html[dir="rtl"] .bundle-original,
html[dir="rtl"] .shop-price,
html[dir="rtl"] .cart-line-total,
html[dir="rtl"] .line b,
html[dir="rtl"] .checkout-cart-line > b,
html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="number"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .ingredient-story-copy .ingredient-index { direction: rtl; text-align: right; }
@media (min-width: 769px) {
 html[dir="rtl"] .cart-drawer { inset: 0 auto 0 0; box-shadow: 20px 0 70px rgba(13,13,12,.188); }
 html[dir="rtl"] .topnav .nav-actions { margin-inline-start: 12px !important; }
 html[dir="rtl"] .store-footer-group:last-child a { margin-inline-end: 0; }
 html[dir="rtl"] #page #hero.romance-hero,
 html[dir="rtl"] #page #hero.romance-hero h1,
 html[dir="rtl"] #page #hero.romance-hero .hero-sub.hero-sub-short { text-align: right !important; }
 html[dir="rtl"] #page #hero.romance-hero > .hero-mood {
  right: auto !important; left: max(0px,calc((100vw - 1440px)/2)) !important;
  mask-image: linear-gradient(270deg,transparent 0%,#000 27%,#000 100%);
  -webkit-mask-image: linear-gradient(270deg,transparent 0%,#000 27%,#000 100%);
 }
 html[dir="rtl"] #page #hero.romance-hero::before {
  background: linear-gradient(270deg,#151412 0%,rgba(21,20,18,.961) 24%,rgba(21,20,18,.702) 46%,rgba(21,20,18,.161) 72%,rgba(21,20,18,.051) 100%),linear-gradient(0deg,#151412 0%,#151412 12%,rgba(21,20,18,.753) 24%,transparent 65%) !important;
 }
 html[dir="rtl"] #page #your-moment .moment-photo {
  mask-image: linear-gradient(270deg,transparent,#000 12%,#000) !important;
  -webkit-mask-image: linear-gradient(270deg,transparent,#000 12%,#000) !important;
 }
 html[dir="rtl"] #page #your-moment .moment-content {
  padding-inline-start: max(40px,calc((100vw - 1280px)/2)) !important; padding-inline-end: 28px !important;
 }
}

/* Give the full Arabic country/city names room on narrow checkout screens. */
@media (max-width: 768px) {
 html[dir="rtl"] #delivery .field:has(#country-display),
 html[dir="rtl"] #delivery .field:has(#city) { grid-column: 1 / -1; }
}
