/**
 * Faris Çiçek - Haute Atelier Arabic (RTL) Luxury Stylesheet
 *
 * Exclusively loaded when Arabic (ar) language is active.
 * Guarantees zero layout breakage with prestige Tajawal typography.
 */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

html[dir="rtl"] body,
body.fc-lang-ar,
body.fc-lang-ar *:not([class^="icon-"]):not([class*=" icon-"]):not([class^="ion-"]):not([class*=" ion-"]):not(.user-menu__icon):not(.user-menu__icon:before):not(.smARA span):not(.smARA span:before) {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Preserve icomoon icon font */
html[dir="rtl"] [class^="icon-"],
html[dir="rtl"] [class*=" icon-"],
body.fc-lang-ar [class^="icon-"],
body.fc-lang-ar [class*=" icon-"],
body.fc-lang-ar .user-menu__icon,
body.fc-lang-ar .user-menu__icon:before,
body.fc-lang-ar .smARA span,
body.fc-lang-ar .smARA span:before {
  font-family: 'icomoon' !important;
}

body.fc-lang-ar {
  direction: rtl !important;
  text-align: right !important;
}

/* --- HEADER & NAVIGATION (RTL) --- */
body.fc-lang-ar .site-header .header-search__input {
  text-align: right !important;
  padding-right: 20px !important;
  padding-left: 55px !important;
}

body.fc-lang-ar .site-header .header-search__button {
  right: auto !important;
  left: 6px !important;
}

body.fc-lang-ar .user-menu {
  flex-direction: row !important;
}

body.fc-lang-ar .user-menu__action-link {
  text-align: right !important;
}

body.fc-lang-ar .main-nav > ul {
  direction: rtl !important;
}

body.fc-lang-ar .main-nav .menu-item-has-children > a i {
  margin-left: 0 !important;
  margin-right: 6px !important;
}

body.fc-lang-ar .menu-subs {
  right: 0 !important;
  left: auto !important;
  text-align: right !important;
}

/* --- PRODUCT SINGLE PAGE (RTL) --- */
body.fc-lang-ar .product-title,
body.fc-lang-ar .fc-title-heading {
  text-align: right !important;
}

body.fc-lang-ar .fc-title-row-wrap {
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
}

body.fc-lang-ar .fc-luxury-rating-row {
  justify-content: flex-start !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-price-row-wrap {
  justify-content: flex-start !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-price-num-group {
  direction: ltr !important;
  display: inline-flex !important;
}

body.fc-lang-ar .fc-stock-and-qty-row {
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
}

body.fc-lang-ar .fc-location-selector-btn {
  text-align: right !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-location-selector-btn .fc-loc-icon {
  margin-left: 10px !important;
  margin-right: 0 !important;
}

body.fc-lang-ar .fc-location-selector-btn .fc-loc-chevron {
  margin-right: auto !important;
  margin-left: 0 !important;
}

body.fc-lang-ar .fc-start-badge {
  left: auto !important;
  right: 28px !important;
}

body.fc-lang-ar .fc-start-badge-arrow {
  left: auto !important;
  right: 18px !important;
}

body.fc-lang-ar .fc-loc-input-row {
  direction: rtl !important;
}

body.fc-lang-ar .fc-loc-search-input {
  text-align: right !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-loc-helper-text {
  text-align: right !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-selected-location-bar {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-picker-header {
  text-align: right !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-picker-hdr-icon {
  margin-left: 6px !important;
  margin-right: 0 !important;
}

body.fc-lang-ar .fc-delivery-date-tabs,
body.fc-lang-ar .fc-delivery-slot-tabs {
  direction: rtl !important;
}

body.fc-lang-ar .fc-four-trust-grid {
  direction: rtl !important;
}

body.fc-lang-ar .fc-trust-cell {
  text-align: right !important;
  direction: rtl !important;
}

body.fc-lang-ar .fc-trust-circle-icon {
  margin-left: 10px !important;
  margin-right: 0 !important;
}

body.fc-lang-ar .fc-ssl-note-container {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-ssl-lock-icon {
  margin-left: 14px !important;
  margin-right: 0 !important;
}

body.fc-lang-ar .fc-tab-nav-bar {
  direction: rtl !important;
  justify-content: flex-start !important;
}

body.fc-lang-ar .fc-spec-card {
  text-align: right !important;
}

body.fc-lang-ar .fc-spec-card-head {
  flex-direction: row !important;
}

body.fc-lang-ar .fc-spec-icon-box {
  margin-left: 14px !important;
  margin-right: 0 !important;
}

body.fc-lang-ar .fc-spec-list li {
  padding-right: 28px !important;
  padding-left: 0 !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-spec-bullet {
  right: 0 !important;
  left: auto !important;
}

body.fc-lang-ar .fc-care-list li {
  padding-right: 36px !important;
  padding-left: 0 !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-spec-step-num {
  right: 0 !important;
  left: auto !important;
}

body.fc-lang-ar .fc-spec-qty-pill {
  margin-right: auto !important;
  margin-left: 0 !important;
}

body.fc-lang-ar .fc-intro-quote-bar {
  border-right: 4px solid #850E35 !important;
  border-left: none !important;
  border-image: linear-gradient(180deg, #850E35 0%, #C5A880 100%) 1 !important;
  padding: 16px 22px 16px 16px !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-faq-item {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-faq-question {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-faq-toggle-icon {
  margin-right: auto !important;
  margin-left: 0 !important;
}

body.fc-lang-ar .fc-faq-answer {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-reviews-summary-card {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-breakdown-row {
  direction: rtl !important;
}

body.fc-lang-ar .fc-review-card {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-review-header {
  direction: rtl !important;
}

body.fc-lang-ar .fc-review-user-info .fc-user-avatar {
  margin-left: 12px !important;
  margin-right: 0 !important;
}

body.fc-lang-ar .fc-review-stars-row {
  direction: rtl !important;
}

body.fc-lang-ar .fc-review-footer {
  direction: rtl !important;
}

/* --- FOOTER (RTL) --- */
body.fc-lang-ar .faris-footer-columns {
  direction: rtl !important;
}

body.fc-lang-ar .faris-footer-columns .pretitle::after {
  right: 0 !important;
  left: auto !important;
}

body.fc-lang-ar .faris-footer-columns .foot-child a,
body.fc-lang-ar .faris-footer-columns .foot-child span {
  text-align: right !important;
}

body.fc-lang-ar .fc-corp-trust-row {
  direction: rtl !important;
}

body.fc-lang-ar .fc-trust-authority-group {
  direction: rtl !important;
}

body.fc-lang-ar .fc-corp-payments-group {
  align-items: flex-start !important;
}

body.fc-lang-ar .fc-corp-legal-row {
  direction: rtl !important;
  text-align: right !important;
}

/* --- MAIN MENU LANGUAGE DROPDOWN (RTL) --- */
body.fc-lang-ar .header .menu > ul > li.fc-menu-lang-item {
  margin-left: 0 !important;
  margin-right: 10px !important;
}

body.fc-lang-ar .fc-menu-lang-dropdown {
  right: auto !important;
  left: 0 !important;
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-menu-lang-dropdown .fc-menu-lang-link {
  direction: rtl !important;
  text-align: right !important;
}

body.fc-lang-ar .fc-menu-lang-dropdown .fc-menu-lang-link:hover {
  transform: translateX(-2px) !important;
}

/* --- MOBILE DRAWER SLIDE (RTL) --- */
@media (max-width: 992px) {
  body.fc-lang-ar .header .menu {
    left: auto !important;
    right: 0 !important;
    border-radius: 20px 0 0 20px !important;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.2), -4px 0 16px rgba(15, 23, 42, 0.08) !important;
    transform: translate3d(100%, 0, 0) !important;
    -webkit-transform: translate3d(100%, 0, 0) !important;
  }
  body.fc-lang-ar .header .menu.active {
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
  }
}

/* ==========================================================================
   HOMEPAGE LUXURY BANNERS & SECTIONS (RTL ARABIC PERFECTION)
   ========================================================================== */

/* 1. Category Circles Slider (.catnavparent2) */
html[dir="rtl"] .catnavparent2,
body.fc-lang-ar .catnavparent2 {
  direction: rtl !important;
}
html[dir="rtl"] .catnavparent2 .slick-prev,
body.fc-lang-ar .catnavparent2 .slick-prev {
  left: auto !important;
  right: -18px !important;
}
html[dir="rtl"] .catnavparent2 .slick-next,
body.fc-lang-ar .catnavparent2 .slick-next {
  right: auto !important;
  left: -18px !important;
}
html[dir="rtl"] .catnavparent2 .slick-prev:before,
body.fc-lang-ar .catnavparent2 .slick-prev:before {
  transform: rotate(135deg) !important;
  margin-left: 0 !important;
  margin-right: 3px !important;
}
html[dir="rtl"] .catnavparent2 .slick-next:before,
body.fc-lang-ar .catnavparent2 .slick-next:before {
  transform: rotate(-45deg) !important;
  margin-right: 0 !important;
  margin-left: 3px !important;
}

/* 2. Hero Grid Cards (Banners 1 to 6) Travertine Layout */
html[dir="rtl"] .grid article.banner-card .banner-bg-scene,
body.fc-lang-ar .grid article.banner-card .banner-bg-scene {
  transform: scaleX(-1) !important;
}
html[dir="rtl"] .grid article.banner-card:hover .banner-bg-scene,
body.fc-lang-ar .grid article.banner-card:hover .banner-bg-scene {
  transform: scaleX(-1) scale(1.03) !important;
}
html[dir="rtl"] .banner-scrim,
body.fc-lang-ar .banner-scrim {
  background: linear-gradient(270deg, rgba(250, 244, 237, 0.94) 0%, rgba(250, 244, 237, 0.82) 34%, rgba(250, 244, 237, 0) 58%) !important;
}
html[dir="rtl"] .banner-editorial,
body.fc-lang-ar .banner-editorial {
  align-items: flex-start !important;
  text-align: right !important;
}
html[dir="rtl"] .banner-eyebrow,
body.fc-lang-ar .banner-eyebrow {
  flex-direction: row !important;
}
html[dir="rtl"] .banner-cta-btn .cta-arrow,
body.fc-lang-ar .banner-cta-btn .cta-arrow {
  transform: scaleX(-1) !important;
}
html[dir="rtl"] .grid article.banner-card:hover .banner-cta-btn .cta-arrow,
body.fc-lang-ar .grid article.banner-card:hover .banner-cta-btn .cta-arrow {
  transform: scaleX(-1) translateX(4px) !important;
}

/* 3. Emerald Showcase Banner ("كل باقة، صُنعت خصيصاً لأحبائكم") */
html[dir="rtl"] .faris-emerald-bg,
body.fc-lang-ar .faris-emerald-bg {
  transform: scaleX(-1) !important;
  object-position: left center !important;
}
html[dir="rtl"] .faris-emerald-showcase:hover .faris-emerald-bg,
body.fc-lang-ar .faris-emerald-showcase:hover .faris-emerald-bg {
  transform: scaleX(-1) scale(1.02) !important;
}
html[dir="rtl"] .faris-emerald-scrim,
body.fc-lang-ar .faris-emerald-scrim {
  background: linear-gradient(270deg, #06130B 0%, #06130B 30%, rgba(6, 19, 11, 0.85) 46%, rgba(6, 19, 11, 0) 65%) !important;
}
html[dir="rtl"] .faris-emerald-content,
body.fc-lang-ar .faris-emerald-content {
  align-items: flex-start !important;
  text-align: right !important;
}
html[dir="rtl"] .faris-emerald-kicker,
body.fc-lang-ar .faris-emerald-kicker {
  flex-direction: row !important;
}
html[dir="rtl"] .faris-emerald-kicker .kicker-line,
body.fc-lang-ar .faris-emerald-kicker .kicker-line {
  background: linear-gradient(270deg, #C29B38, rgba(194, 155, 56, 0)) !important;
}
html[dir="rtl"] .faris-emerald-btn .btn-arrow,
body.fc-lang-ar .faris-emerald-btn .btn-arrow {
  transform: scaleX(-1) !important;
}
html[dir="rtl"] .faris-emerald-btn:hover .btn-arrow,
body.fc-lang-ar .faris-emerald-btn:hover .btn-arrow {
  transform: scaleX(-1) translateX(4px) !important;
}

/* 4. Atelier Editorial Compendium (Image 4 Design) */
html[dir="rtl"] .faris-botanical-lily-overlay,
body.fc-lang-ar .faris-botanical-lily-overlay {
  right: auto !important;
  left: -15px !important;
  object-position: top left !important;
  transform: scaleX(-1) !important;
}
html[dir="rtl"] .faris-editorial-header,
body.fc-lang-ar .faris-editorial-header {
  text-align: right !important;
}
html[dir="rtl"] .faris-editorial-tag,
body.fc-lang-ar .faris-editorial-tag {
  flex-direction: row !important;
}
html[dir="rtl"] .faris-editorial-col-left,
body.fc-lang-ar .faris-editorial-col-left {
  text-align: right !important;
}
html[dir="rtl"] .faris-story-body,
body.fc-lang-ar .faris-story-body,
html[dir="rtl"] .faris-story-body p,
body.fc-lang-ar .faris-story-body p {
  direction: rtl !important;
  text-align: right !important;
}
html[dir="rtl"] .pillar-num-wrap,
body.fc-lang-ar .pillar-num-wrap {
  border-right: none !important;
  border-left: 1px solid rgba(194, 155, 56, 0.32) !important;
  padding-right: 0 !important;
  padding-left: 20px !important;
}
html[dir="rtl"] .pillar-body,
body.fc-lang-ar .pillar-body {
  text-align: right !important;
}
html[dir="rtl"] .faris-editorial-divider .divider-line-left,
body.fc-lang-ar .faris-editorial-divider .divider-line-left {
  background: linear-gradient(270deg, transparent, rgba(194, 155, 56, 0.45)) !important;
}
html[dir="rtl"] .faris-editorial-divider .divider-line-right,
body.fc-lang-ar .faris-editorial-divider .divider-line-right {
  background: linear-gradient(270deg, rgba(194, 155, 56, 0.45), transparent) !important;
}
html[dir="rtl"] .faris-curated-link .link-arrow,
body.fc-lang-ar .faris-curated-link .link-arrow,
html[dir="rtl"] .collection-arrow,
body.fc-lang-ar .collection-arrow {
  transform: scaleX(-1) !important;
}
html[dir="rtl"] .faris-curated-link:hover .link-arrow,
body.fc-lang-ar .faris-curated-link:hover .link-arrow,
html[dir="rtl"] .faris-collection-link:hover .collection-arrow,
body.fc-lang-ar .faris-collection-link:hover .collection-arrow {
  transform: scaleX(-1) translateX(4px) !important;
}
html[dir="rtl"] .collection-info,
body.fc-lang-ar .collection-info {
  align-items: flex-start !important;
  text-align: right !important;
  padding: 8px 12px 8px 8px !important;
}



