/* =========================================================================
   ROYAL SCENT | رويال سنت — Audited, Conflict-Free & Optimized CSS
   Platform: Salla | Theme: Raed (Updated App Edition)
   Palette : Navy #07152F | Gold #D6A43C | Bright Gold #F4CB73 | Light #F3E5AB
   Notes   :
     - Safe for Swiper / salla-slider / salla-products-slider (no slide width/margin hijacking)
     - Isolated from AI-generated components (salla-custom-component)
     - Consolidated header, logo alignment, side drawer, royal footer & dark mode
   ========================================================================= */

:root {
  --rs-navy: #07152F;
  --rs-navy-dark: #051024;
  --rs-navy-deep: #040B1A;
  --rs-navy-light: #102449;
  --rs-navy-sub: #0B1D3F;
  --rs-gold: #D6A43C;
  --rs-gold-bright: #F4CB73;
  --rs-gold-light: #F3E5AB;
  --rs-ivory: #F8F7F4;
  --rs-white: #FFFFFF;
  --rs-border: rgba(214, 164, 60, 0.25);
  --rs-border-strong: rgba(214, 164, 60, 0.45);
  --rs-radius-card: 12px;
  --rs-radius-title: 14px;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

/* =========================================================================
   1. الهيدر الرئيسي، الشريط العلوي، وأيقونات التنقل الذهبية
   ========================================================================= */
body > header,
header.store-header,
header.site-header,
.store-header,
.site-header,
header .top-navbar {
  background-color: var(--rs-navy) !important;
  color: var(--rs-white) !important;
  border-bottom-color: var(--rs-border-strong) !important;
}

header.store-header .container,
header.site-header .container,
header .main-nav-container,
header .main-nav,
header .navbar,
header .header-inner,
salla-navbar,
salla-navbar .main-nav-container,
salla-navbar .inner,
salla-navbar .container {
  background-color: var(--rs-navy) !important;
  border-bottom-color: var(--rs-border-strong) !important;
}

header .top-navbar,
header .top-navbar a,
header .top-navbar button,
header .top-navbar span,
header .top-navbar i,
header .header-btn,
header .header-btn i,
header .header-btn svg,
header button:not(#rs-desktop-menu-btn),
header button:not(#rs-desktop-menu-btn) i,
header button:not(#rs-desktop-menu-btn) svg,
header [class*="sicon-"],
header salla-cart-summary,
header salla-cart-summary i,
header salla-cart-summary svg,
header salla-user-menu,
header salla-user-menu i,
header salla-user-menu svg {
  color: var(--rs-gold-light) !important;
}

header .rs-header-row salla-user-menu,
header .rs-header-row salla-user-menu *,
header .rs-header-row [class*="user"] i,
header .rs-header-row [class*="user"] svg {
  color: var(--rs-gold-light) !important;
  opacity: 1 !important;
}

header .rs-header-row salla-user-menu svg path,
header .rs-header-row salla-user-menu svg circle,
header .rs-header-row [class*="user"] svg path,
header .rs-header-row [class*="user"] svg circle {
  stroke: var(--rs-gold-light) !important;
}

header .header-btn {
  border-color: var(--rs-border-strong) !important;
}

header .header-btn:hover {
  background-color: rgba(214, 164, 60, 0.12) !important;
}

header .s-cart-summary-count,
header [class*="cart-count"],
header [class*="badge"] {
  color: var(--rs-white) !important;
}

header salla-search input,
header salla-search .s-search-input,
header .header-search input {
  color: var(--rs-navy) !important;
}

header .main-menu a,
header .navbar a,
header .nav-link,
header .menu-item > a,
header .main-nav a,
salla-navbar .main-menu a {
  color: var(--rs-gold-light) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

header .main-menu a:hover,
header .navbar a:hover,
header .nav-link:hover,
header .main-nav a:hover {
  color: var(--rs-white) !important;
}

header .main-menu .sub-menu,
header .main-menu .dropdown-menu,
header .dropdown-menu {
  background-color: var(--rs-navy-light) !important;
  border-color: rgba(214, 164, 60, 0.35) !important;
}

/* =========================================================================
   2. الهيدر الموحّد (صف واحد + الشعار والزر يميناً + توسيط رويال سنت + القائمة)
   ========================================================================= */
.rs-header-row {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px;
  width: 100%;
}

.rs-empty-slot {
  display: none !important;
}

#rs-right-group {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  width: auto;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  margin-inline-end: auto !important;
  padding: 0;
  flex: 0 0 auto;
  position: static !important;
  transform: none !important;
  z-index: 25;
}

#rs-desktop-menu-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(214, 164, 60, 0.6);
  background: rgba(214, 164, 60, 0.1);
  color: var(--rs-gold-bright) !important;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 25;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

#rs-desktop-menu-btn:hover,
#rs-desktop-menu-btn:active {
  background: var(--rs-gold) !important;
  color: var(--rs-navy) !important;
  border-color: var(--rs-gold);
}

#rs-right-group .rs-brand-link,
header #rs-right-group a.rs-brand-link {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none;
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
  height: 44px;
  min-height: 0;
  line-height: 0;
  font-size: 0;
  flex-shrink: 0;
}

#rs-right-group .rs-brand-link::before,
#rs-right-group .rs-brand-link::after {
  content: none !important;
  display: none !important;
}

#rs-right-group .rs-brand-link picture,
#rs-right-group .rs-brand-link > div {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100%;
  position: static;
  transform: none;
}

#rs-right-group .rs-brand-link img {
  display: block;
  position: static;
  transform: none;
  margin: 0;
  padding: 0;
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: none;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
}

#rs-center-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--rs-gold-bright) !important;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  z-index: 15;
  line-height: 1.2;
}

/* القائمة الجانبية الكحلية الملكية */
#rs-side-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(4, 11, 26, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 99998;
}

#rs-side-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--rs-navy);
  border-left: 2px solid var(--rs-gold);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  z-index: 99999;
  direction: rtl;
}

html.rs-drawer-open,
html.rs-drawer-open body {
  overflow: hidden !important;
}

html.rs-drawer-open #rs-side-backdrop {
  opacity: 1;
  visibility: visible;
}

html.rs-drawer-open #rs-side-drawer {
  transform: translateX(0);
}

.rs-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(214, 164, 60, 0.35);
  background: var(--rs-navy-dark);
}

.rs-drawer-head strong {
  color: var(--rs-gold-bright) !important;
  font-size: 18px;
  font-weight: 800;
}

#rs-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(214, 164, 60, 0.55);
  background: transparent;
  color: var(--rs-gold-bright);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#rs-drawer-close:hover,
#rs-drawer-close:active {
  background: var(--rs-gold);
  color: var(--rs-navy);
}

.rs-drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 28px;
}

.rs-drawer-item {
  border-bottom: 1px solid rgba(214, 164, 60, 0.14);
}

.rs-drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rs-drawer-link {
  flex: 1 1 auto;
  display: block;
  padding: 14px 20px;
  color: var(--rs-gold-bright) !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, padding-right 0.2s ease;
}

.rs-drawer-link:hover,
.rs-drawer-link:active {
  background: rgba(214, 164, 60, 0.12);
  color: var(--rs-white) !important;
  padding-right: 26px;
}

.rs-drawer-sub-toggle {
  width: 40px;
  height: 40px;
  margin-inline-end: 8px;
  border: 0;
  background: transparent;
  color: var(--rs-gold);
  font-size: 16px;
  cursor: pointer;
}

.rs-drawer-sub {
  display: none;
  background: var(--rs-navy-sub);
  padding: 4px 0;
}

.rs-drawer-item.is-open > .rs-drawer-sub {
  display: block;
}

.rs-drawer-sub a {
  display: block;
  padding: 10px 32px;
  color: #E8D5A3 !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.rs-drawer-sub a:hover,
.rs-drawer-sub a:active {
  color: var(--rs-white) !important;
  background: rgba(214, 164, 60, 0.1);
}

@media (min-width: 1024px) {
  html.rs-menu-ready header custom-main-menu,
  html.rs-menu-ready header .main-menu,
  html.rs-menu-ready #mainnav custom-main-menu,
  html.rs-menu-ready #mainnav .main-menu,
  html.rs-menu-ready .main-nav-container .main-menu,
  html.rs-menu-ready header salla-menu {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  html.rs-menu-ready header a.mburger,
  html.rs-menu-ready header .mburger,
  html.rs-menu-ready header a[href="#mobile-menu"],
  html.rs-menu-ready header .btn--collapse-menu {
    display: none !important;
  }

  .rs-header-row {
    min-height: 58px;
    padding-block: 6px;
  }

  #rs-right-group {
    gap: 8px;
  }

  #rs-desktop-menu-btn {
    width: 36px;
    height: 36px;
  }

  #rs-right-group .rs-brand-link,
  header #rs-right-group a.rs-brand-link {
    height: 36px;
  }

  #rs-right-group .rs-brand-link img {
    height: 36px !important;
    max-height: 36px !important;
  }

  #rs-center-title {
    font-size: 17px;
    left: 50%;
  }

  #mobile-menu,
  .mm-spn,
  .mm-menu,
  .mm-panel {
    background: var(--rs-navy) !important;
    color: var(--rs-gold-bright) !important;
  }

  #mobile-menu a,
  .mm-spn a,
  .mm-menu a {
    color: var(--rs-gold-bright) !important;
    border-color: rgba(214, 164, 60, 0.2) !important;
  }
}

/* =========================================================================
   3. مسافات أقسام الصفحة الرئيسية (مع عزل عناصر الذكاء الاصطناعي والسلايدرات)
   ========================================================================= */
.s-block--banners,
.s-block--products-slider,
.s-block--categories,
.s-block--features,
.s-block--custom-title,
.s-block--title,
section.s-block:not(:has(salla-custom-component)):not(.s-block--photos-slider):not(.s-block--main-slider):not(.s-block--hero-slider) {
  margin-top: 6px;
  margin-bottom: 8px;
  padding-top: 2px;
  padding-bottom: 2px;
}

@media (min-width: 768px) {
  .s-block--banners,
  .s-block--products-slider,
  .s-block--categories,
  .s-block--features,
  .s-block--custom-title,
  .s-block--title,
  section.s-block:not(:has(salla-custom-component)):not(.s-block--photos-slider):not(.s-block--main-slider):not(.s-block--hero-slider) {
    margin-top: 12px;
    margin-bottom: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* =========================================================================
   4. سلايدر الصور الرئيسي والبنرات (دون التدخل في عرض/هوامش شرائح Swiper)
   ========================================================================= */
.s-block--photos-slider,
.s-block--main-slider,
.s-block--hero-slider {
  background-color: var(--rs-navy) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 12px;
}

.s-block--photos-slider > .container,
.s-block--main-slider > .container,
.s-block--hero-slider > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: 0 !important;
  margin: 0 !important;
  background-color: var(--rs-navy);
}

/* نترك لمحرك Swiper التحكم الكامل في width وmargin للشرائح ونكتفي بالتنسيق البصري */
.s-block--photos-slider .swiper-slide,
.s-block--main-slider .swiper-slide,
.s-block--hero-slider .swiper-slide,
salla-slider.photos-slider .swiper-slide {
  border-radius: 0;
  background-color: var(--rs-navy);
}

.s-block--photos-slider .swiper-slide img,
.s-block--main-slider .swiper-slide img,
.s-block--hero-slider .swiper-slide img,
salla-slider.photos-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* نقاط وأسهم التنقل لسلايدر سلة (مع استثناء مكونات الذكاء الاصطناعي) */
salla-slider:not(salla-custom-component salla-slider) .swiper-pagination-bullet {
  background-color: var(--rs-navy);
  opacity: 0.35;
  transition: width 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.s-block--photos-slider .swiper-pagination-bullet,
.s-block--main-slider .swiper-pagination-bullet,
.s-block--hero-slider .swiper-pagination-bullet,
salla-slider.photos-slider .swiper-pagination-bullet {
  background-color: rgba(248, 247, 244, 0.4);
  opacity: 1;
}

salla-slider:not(salla-custom-component salla-slider) .swiper-pagination-bullet-active {
  background-color: var(--rs-gold) !important;
  width: 24px;
  border-radius: 6px;
  opacity: 1;
}

.s-block--photos-slider .swiper-button-next,
.s-block--photos-slider .swiper-button-prev,
.s-block--main-slider .swiper-button-next,
.s-block--main-slider .swiper-button-prev,
.s-block--hero-slider .swiper-button-next,
.s-block--hero-slider .swiper-button-prev,
salla-slider.photos-slider .swiper-button-next,
salla-slider.photos-slider .swiper-button-prev {
  background-color: rgba(7, 21, 47, 0.82) !important;
  border: 1px solid var(--rs-gold) !important;
  color: var(--rs-gold) !important;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.s-block--photos-slider .swiper-button-next:hover,
.s-block--photos-slider .swiper-button-prev:hover,
.s-block--main-slider .swiper-button-next:hover,
.s-block--main-slider .swiper-button-prev:hover,
.s-block--hero-slider .swiper-button-next:hover,
.s-block--hero-slider .swiper-button-prev:hover,
salla-slider.photos-slider .swiper-button-next:hover,
salla-slider.photos-slider .swiper-button-prev:hover {
  background-color: var(--rs-gold) !important;
  color: var(--rs-navy) !important;
}

/* البنرات الفرعية */
.s-block--banners .container {
  max-width: 1120px;
  margin-inline: auto;
}

.s-block--banners .grid,
.s-block--banners .row,
.s-block--banners .banners-grid {
  gap: 12px;
  justify-content: center;
}

.s-block--banners .banner-entry,
.s-block--banners a,
.s-block--banners .s-banner-entry {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(214, 164, 60, 0.35);
  box-shadow: 0 4px 14px rgba(7, 21, 47, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.s-block--banners .banner-entry img,
.s-block--banners a img,
.s-block--banners .s-banner-entry img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 13px;
}

.s-block--banners .banner-entry:hover,
.s-block--banners a:hover,
.s-block--banners .s-banner-entry:hover {
  transform: translateY(-3px);
  border-color: var(--rs-gold);
  box-shadow: 0 10px 22px rgba(7, 21, 47, 0.14);
}

/* البنر العريض الثابت */
.s-block--fixed-banner,
.s-block--wide-banner,
section.s-block:not(:has(salla-custom-component)):has(.banner--fixed) {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

.s-block--fixed-banner .container,
.s-block--wide-banner .container,
section.s-block:not(:has(salla-custom-component)):has(.banner--fixed) .container {
  max-width: 100%;
  width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}

.s-block--fixed-banner a,
.s-block--fixed-banner .banner-entry,
.s-block--fixed-banner .banner--fixed,
.s-block--wide-banner a,
.s-block--wide-banner .banner-entry {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: block;
}

.s-block--fixed-banner img,
.s-block--fixed-banner .banner--fixed img,
.s-block--wide-banner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.s-block--fixed-banner a:hover,
.s-block--fixed-banner .banner-entry:hover,
.s-block--wide-banner a:hover {
  transform: none;
  box-shadow: none;
}

/* =========================================================================
   5. عناوين الأقسام وترويسات السلايدرات (معزولة عن مكونات الذكاء الاصطناعي)
   ========================================================================= */
.s-block:not(:has(salla-custom-component)) > .container > .s-block__title,
.s-block:not(:has(salla-custom-component)) > .s-block__title,
.s-block--custom-title .s-block__title,
.s-block--title .s-block__title {
  background: linear-gradient(135deg, var(--rs-navy) 0%, var(--rs-navy-light) 50%, var(--rs-navy) 100%) !important;
  border: 1px solid var(--rs-border-strong) !important;
  border-radius: var(--rs-radius-title) !important;
  padding: 12px 18px !important;
  margin: 0 auto 12px auto !important;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(7, 21, 47, 0.1);
  position: relative;
  overflow: hidden;
}

.s-block:not(:has(salla-custom-component)) .s-block__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--rs-gold), transparent);
}

.s-block:not(:has(salla-custom-component)) .s-block__title p,
.s-block:not(:has(salla-custom-component)) .s-block__title span,
.s-block:not(:has(salla-custom-component)) .s-block__title small {
  color: var(--rs-gold) !important;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.s-block:not(:has(salla-custom-component)) .s-block__title h2,
.s-block:not(:has(salla-custom-component)) .s-block__title h1,
.s-block:not(:has(salla-custom-component)) .s-block__title h3 {
  color: var(--rs-ivory) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 2px 0;
}

.s-block:not(:has(salla-custom-component)) .s-block__title hr {
  margin: 6px 0 0 0;
  border-color: var(--rs-gold);
  background-color: var(--rs-gold);
  opacity: 0.9;
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title,
salla-products-slider .s-slider-block__title,
.s-block--products-slider .s-slider-block__title,
.s-products-slider-wrapper .s-slider-block__title {
  background: linear-gradient(135deg, var(--rs-navy) 0%, var(--rs-navy-light) 50%, var(--rs-navy) 100%) !important;
  border: 1px solid var(--rs-border-strong) !important;
  border-radius: var(--rs-radius-title) !important;
  padding: 12px 18px !important;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(7, 21, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title h2,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title-right h2,
salla-products-slider .s-slider-block__title h2 {
  color: var(--rs-ivory) !important;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title p,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title-right p {
  color: var(--rs-gold) !important;
  font-size: 12px;
  margin: 2px 0 0 0;
}

.s-block:not(:has(salla-custom-component)) .s-block__title a,
.s-block:not(:has(salla-custom-component)) .s-block__display-all,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title a,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title-left a,
.s-block:not(:has(salla-custom-component)) .s-slider-block__display-all {
  color: var(--rs-gold) !important;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--rs-border-strong);
  padding: 5px 12px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.s-block:not(:has(salla-custom-component)) .s-block__title a:hover,
.s-block:not(:has(salla-custom-component)) .s-block__display-all:hover,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title a:hover,
.s-block:not(:has(salla-custom-component)) .s-slider-block__display-all:hover {
  background-color: var(--rs-gold) !important;
  color: var(--rs-navy) !important;
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title-nav button,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title .s-slider-prev,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title .s-slider-next,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title .swiper-button-next,
.s-block:not(:has(salla-custom-component)) .s-slider-block__title .swiper-button-prev {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--rs-border-strong) !important;
  color: var(--rs-gold) !important;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title-nav button svg,
.s-block:not(:has(salla-custom-component)) .s-slider-prev svg,
.s-block:not(:has(salla-custom-component)) .s-slider-next svg {
  color: var(--rs-gold) !important;
  fill: currentColor;
  stroke: var(--rs-gold);
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title-nav button:hover,
.s-block:not(:has(salla-custom-component)) .s-slider-prev:hover,
.s-block:not(:has(salla-custom-component)) .s-slider-next:hover {
  background-color: var(--rs-gold) !important;
  color: var(--rs-navy) !important;
  border-color: var(--rs-gold) !important;
}

.s-block:not(:has(salla-custom-component)) .s-slider-block__title-nav button:hover svg,
.s-block:not(:has(salla-custom-component)) .s-slider-prev:hover svg,
.s-block:not(:has(salla-custom-component)) .s-slider-next:hover svg {
  color: var(--rs-navy) !important;
  stroke: var(--rs-navy);
}

@media (min-width: 768px) {
  .s-block:not(:has(salla-custom-component)) .s-block__title h2 {
    font-size: 22px;
  }
  .s-block:not(:has(salla-custom-component)) .s-block__title p {
    font-size: 13.5px;
  }
  .s-block:not(:has(salla-custom-component)) .s-slider-block__title h2,
  .s-block:not(:has(salla-custom-component)) .s-slider-block__title-right h2 {
    font-size: 20px;
  }
}

/* =========================================================================
   6. شريط شعارات الماركات (Brands Carousel)
   ========================================================================= */
.s-block--brands {
  padding-top: 10px;
  padding-bottom: 14px;
  background-color: var(--rs-ivory);
  border-top: 1px solid rgba(214, 164, 60, 0.2);
  border-bottom: 1px solid rgba(214, 164, 60, 0.2);
}

.s-brands-item,
.s-block--brands .swiper-slide a,
.s-block--brands a.brand-item,
.s-block--brands .s-slider-block__slide a {
  background-color: var(--rs-white);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-card);
  padding: 12px 14px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(7, 21, 47, 0.04);
  box-sizing: border-box;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .s-brands-item,
  .s-block--brands .swiper-slide a,
  .s-block--brands a.brand-item {
    height: 98px;
    padding: 14px 18px;
  }
}

.s-brands-item img,
.s-block--brands .swiper-slide img,
.s-block--brands a.brand-item img {
  max-height: 54px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.s-brands-item:hover,
.s-block--brands .swiper-slide a:hover,
.s-block--brands a.brand-item:hover {
  transform: translateY(-3px);
  border-color: var(--rs-gold);
  box-shadow: 0 8px 18px rgba(7, 21, 47, 0.09);
}

.s-brands-item:hover img,
.s-block--brands .swiper-slide a:hover img,
.s-block--brands a.brand-item:hover img {
  opacity: 1;
}

/* =========================================================================
   7. بطاقات المنتجات، زر الإضافة للسلة، وشارة "متوفر" (آمنة داخل السلايدرات)
   ========================================================================= */
.s-products-list-wrapper:not(.swiper-wrapper),
.s-products-grid:not(.swiper-wrapper),
.products-grid:not(.swiper-wrapper) {
  gap: 14px;
}

.s-product-card-entry:not(salla-custom-component *),
custom-salla-product-card:not(salla-custom-component *) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: var(--rs-white);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-card);
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 3px 12px rgba(7, 21, 47, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.s-product-card-entry:not(salla-custom-component *):hover,
custom-salla-product-card:not(salla-custom-component *):hover {
  transform: translateY(-3px);
  border-color: var(--rs-gold);
  box-shadow: 0 8px 20px rgba(7, 21, 47, 0.1);
}

.s-product-card-image:not(salla-custom-component *),
.s-product-card-entry__image:not(salla-custom-component *) {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  background-color: var(--rs-ivory);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

.s-product-card-image:not(salla-custom-component *) img,
.s-product-card-entry__image:not(salla-custom-component *) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.s-product-card-content-title:not(salla-custom-component *),
.s-product-card-content-title:not(salla-custom-component *) a,
.s-product-card-entry__title:not(salla-custom-component *) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  line-height: 1.4em;
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-navy);
  text-align: center;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .s-product-card-entry:not(salla-custom-component *),
  custom-salla-product-card:not(salla-custom-component *) {
    padding: 12px;
  }

  .s-product-card-content-title:not(salla-custom-component *),
  .s-product-card-content-title:not(salla-custom-component *) a {
    font-size: 14.5px;
  }
}

.s-product-card-content-sub:not(salla-custom-component *),
.s-product-card-price:not(salla-custom-component *) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  font-weight: 700;
}

.s-product-card-entry salla-add-product-button .s-button-element,
salla-add-product-button:not(salla-custom-component *) button {
  width: 100%;
  background-color: var(--rs-navy) !important;
  background-image: linear-gradient(135deg, var(--rs-navy) 0%, var(--rs-navy-light) 100%) !important;
  color: var(--rs-white) !important;
  border: 1px solid var(--rs-gold) !important;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(7, 21, 47, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

salla-add-product-button:not(salla-custom-component *) button svg,
salla-add-product-button:not(salla-custom-component *) button i {
  color: var(--rs-gold) !important;
  fill: var(--rs-gold);
}

.s-product-card-entry salla-add-product-button .s-button-element:hover,
salla-add-product-button:not(salla-custom-component *) button:hover {
  background-color: var(--rs-gold) !important;
  background-image: linear-gradient(135deg, var(--rs-gold) 0%, #B88628 100%) !important;
  color: var(--rs-navy) !important;
  border-color: var(--rs-navy) !important;
  box-shadow: 0 5px 14px rgba(214, 164, 60, 0.3);
  transform: translateY(-1px);
}

salla-add-product-button:not(salla-custom-component *) button:hover svg,
salla-add-product-button:not(salla-custom-component *) button:hover i {
  color: var(--rs-navy) !important;
  fill: var(--rs-navy);
}

salla-add-product-button:not(salla-custom-component *) button[disabled] {
  background-color: var(--rs-ivory) !important;
  background-image: none !important;
  color: #8C939E !important;
  border: 1px solid #E1E4E8 !important;
  box-shadow: none;
}

/* شارة "متوفر" أعلى نموذج شراء المنتج */
:is(form[data-testid="store-product-form"], form.product-form):has(
  salla-add-product-button[product-status="sale"]:not([disabled]):not([aria-disabled="true"]):not([has-pre-order])
)::before {
  content: "●  متوفر";
  display: table;
  direction: rtl;
  margin-block: 8px;
  padding: 5px 11px;
  border-radius: 8px;
  background-color: #ECF9F0;
  color: #146C36;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================================
   8. الفوتر الملكي المخصص (محصور بفوتر المتجر الرئيسي فقط دون التأثير على أي <footer> فرعي)
   ========================================================================= */
body > footer,
footer.store-footer,
footer.site-footer,
footer.footer,
.store-footer,
.site-footer,
footer.store-footer.hidden,
.store-footer.hidden {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: var(--rs-navy) !important;
  color: var(--rs-white) !important;
  border-top: 3px solid var(--rs-gold) !important;
  border-radius: 50% 50% 0 0 / 35px 35px 0 0;
  padding-top: 48px;
  padding-bottom: 28px;
  box-shadow: 0 -8px 24px rgba(7, 21, 47, 0.22);
  position: relative;
  overflow: hidden;
}

:is(body > footer, .store-footer, .site-footer) > div,
:is(body > footer, .store-footer, .site-footer) .container,
:is(body > footer, .store-footer, .site-footer) section {
  background-color: transparent !important;
}

:is(body > footer, .store-footer, .site-footer) .container {
  max-width: 1380px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

:is(body > footer, .store-footer, .site-footer) .footer-main,
:is(body > footer, .store-footer, .site-footer) .footer-sections,
:is(body > footer, .store-footer, .site-footer) .footer-content,
:is(body > footer, .store-footer, .site-footer) .site-footer__main,
:is(body > footer, .store-footer, .site-footer) .store-footer__inner,
:is(body > footer, .store-footer, .site-footer) .container > div:first-child {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

:is(body > footer, .store-footer, .site-footer) .footer-col,
:is(body > footer, .store-footer, .site-footer) .footer-column,
:is(body > footer, .store-footer, .site-footer) .site-footer__section,
:is(body > footer, .store-footer, .site-footer) .container > div:first-child > div {
  flex: 1 1 250px;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 15px;
}

:is(body > footer, .store-footer, .site-footer) h2,
:is(body > footer, .store-footer, .site-footer) h3,
:is(body > footer, .store-footer, .site-footer) h4,
:is(body > footer, .store-footer, .site-footer) .footer-title,
:is(body > footer, .store-footer, .site-footer) .footer-heading {
  color: var(--rs-gold-light) !important;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}

:is(body > footer, .store-footer, .site-footer) p,
:is(body > footer, .store-footer, .site-footer) li {
  color: var(--rs-white) !important;
  line-height: 1.85;
}

:is(body > footer, .store-footer, .site-footer) a {
  color: var(--rs-white) !important;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

:is(body > footer, .store-footer, .site-footer) a:hover {
  color: var(--rs-gold-light) !important;
}

:is(body > footer, .store-footer, .site-footer) a[href*="whatsapp"]:not(.rs-whatsapp-btn),
:is(body > footer, .store-footer, .site-footer) a[href*="wa.me"]:not(.rs-whatsapp-btn),
:is(body > footer, .store-footer, .site-footer) a[href^="mailto:"]:not(.rs-contact-link),
:is(body > footer, .store-footer, .site-footer) a[href^="tel:"]:not(.rs-contact-link),
:is(body > footer, .store-footer, .site-footer) .rs-contact-old-hidden {
  display: none !important;
}

:is(body > footer, .store-footer, .site-footer) .rs-contact-v5 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  direction: rtl;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

:is(body > footer, .store-footer, .site-footer) .rs-contact-v5 a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1.5px solid var(--rs-gold);
  border-radius: 50%;
  background-color: var(--rs-navy);
  color: var(--rs-gold) !important;
  text-decoration: none;
  font-size: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(7, 21, 47, 0.35);
}

:is(body > footer, .store-footer, .site-footer) .rs-contact-v5 svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  color: inherit;
}

:is(body > footer, .store-footer, .site-footer) .rs-contact-v5 a:hover {
  background-color: var(--rs-gold);
  color: var(--rs-navy) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(214, 164, 60, 0.3);
}

/* زر واتساب العائم الخاص بالقالب (مع استثناء مكونات الذكاء الاصطناعي) */
.s-whatsapp-button,
body > .whatsapp-btn,
body > a[class*="whatsapp"]:not(.rs-whatsapp-btn),
body > div[class*="whatsapp"] > a {
  background-color: var(--rs-navy) !important;
  color: var(--rs-gold) !important;
  border: 1.5px solid var(--rs-gold) !important;
  box-shadow: 0 4px 14px rgba(7, 21, 47, 0.4);
}

.s-whatsapp-button svg,
body > .whatsapp-btn svg,
body > a[class*="whatsapp"]:not(.rs-whatsapp-btn) svg {
  fill: var(--rs-gold) !important;
  color: var(--rs-gold) !important;
}

:is(body > footer, .store-footer, .site-footer) .rs-legal-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 22px;
  direction: rtl;
  width: 100%;
}

:is(body > footer, .store-footer, .site-footer) .rs-legal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 130px;
  text-align: center;
}

:is(body > footer, .store-footer, .site-footer) .rs-legal-title {
  color: var(--rs-gold-light);
  font-size: 15px;
  font-weight: 700;
}

:is(body > footer, .store-footer, .site-footer) .rs-legal-number {
  color: var(--rs-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

:is(body > footer, .store-footer, .site-footer) .rs-legal-item img {
  max-width: 65px;
  max-height: 65px;
  object-fit: contain;
}

/* =========================================================================
   9. توافق الجوال (عمودان للشبكات فقط دون المساس بالسلايدرات أو عناصر AI)
   ========================================================================= */
@media (max-width: 767px) {
  .s-products-list-wrapper:not(.swiper-wrapper):not(salla-slider *):not(salla-products-slider *):not(salla-custom-component *),
  .s-products-grid:not(.swiper-wrapper):not(salla-slider *):not(salla-products-slider *):not(salla-custom-component *),
  .products-grid:not(.swiper-wrapper):not(salla-slider *):not(salla-products-slider *):not(salla-custom-component *) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    padding-inline: 10px;
    box-sizing: border-box;
  }

  .s-products-list-wrapper:not(.swiper-wrapper):not(salla-slider *):not(salla-products-slider *):not(salla-custom-component *) > :not(custom-salla-product-card):not(.s-product-card-entry):not(.product-card),
  .s-products-grid:not(.swiper-wrapper):not(salla-slider *):not(salla-products-slider *):not(salla-custom-component *) > :not(custom-salla-product-card):not(.s-product-card-entry):not(.product-card),
  .products-grid:not(.swiper-wrapper):not(salla-slider *):not(salla-products-slider *):not(salla-custom-component *) > :not(custom-salla-product-card):not(.s-product-card-entry):not(.product-card) {
    grid-column: 1 / -1;
  }

  .s-products-slider-card {
    box-sizing: border-box;
  }

  .s-block--banners .grid:not(.swiper-wrapper),
  .s-block--banners .row:not(.swiper-wrapper) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    padding-inline: 10px;
    box-sizing: border-box;
  }

  .s-block--banners .grid > :only-child,
  .s-block--banners .row > :only-child,
  .s-block--fixed-banner a {
    grid-column: 1 / -1;
  }

  body > footer,
  footer.store-footer,
  footer.site-footer,
  footer.footer,
  .store-footer,
  .site-footer {
    border-radius: 50% 50% 0 0 / 22px 22px 0 0;
    padding-top: 35px;
    padding-bottom: 95px;
  }

  :is(body > footer, .store-footer, .site-footer) .container {
    padding-inline: 18px;
  }

  :is(body > footer, .store-footer, .site-footer) .footer-main,
  :is(body > footer, .store-footer, .site-footer) .footer-sections,
  :is(body > footer, .store-footer, .site-footer) .footer-content,
  :is(body > footer, .store-footer, .site-footer) .site-footer__main,
  :is(body > footer, .store-footer, .site-footer) .store-footer__inner,
  :is(body > footer, .store-footer, .site-footer) .container > div:first-child {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  :is(body > footer, .store-footer, .site-footer) .footer-col,
  :is(body > footer, .store-footer, .site-footer) .footer-column,
  :is(body > footer, .store-footer, .site-footer) .site-footer__section,
  :is(body > footer, .store-footer, .site-footer) .container > div:first-child > div {
    flex: 0 1 auto;
    width: 100%;
  }

  :is(body > footer, .store-footer, .site-footer) .rs-contact-v5 {
    gap: 11px;
  }

  :is(body > footer, .store-footer, .site-footer) .rs-contact-v5 a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  :is(body > footer, .store-footer, .site-footer) .rs-legal-row {
    gap: 12px;
    justify-content: center;
  }

  :is(body > footer, .store-footer, .site-footer) .rs-legal-item {
    min-width: 0;
  }

  :is(body > footer, .store-footer, .site-footer) .rs-legal-number {
    font-size: 13px;
  }
}

/* =========================================================================
   10. تحسين الاستجابة للمس والأداء على الجوال
   ========================================================================= */
custom-salla-product-card,
.s-product-card-entry,
salla-add-product-button,
.s-block--banners .banner-entry,
.s-brands-item,
.header-btn {
  touch-action: manipulation;
}

@media (hover: none) and (pointer: coarse) {
  .s-product-card-entry,
  .s-block--banners .banner-entry,
  .s-brands-item {
    transition: none;
  }

  .s-product-card-entry:hover,
  .s-block--banners .banner-entry:hover,
  .s-brands-item:hover {
    transform: none;
  }
}

/* =========================================================================
   11. الوضع الليلي الفاخر (مع عزل مكونات الذكاء الاصطناعي لمنع إخفائها)
   ========================================================================= */
#rs-theme-toggle {
  position: fixed;
  bottom: 95px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #07152F 0%, #D6A43C 100%);
  color: var(--rs-white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(7, 21, 47, 0.45);
  cursor: pointer;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#rs-theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(214, 164, 60, 0.6);
}

@media (max-width: 767px) {
  #rs-theme-toggle {
    bottom: 130px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

body.rs-dark-mode,
body.rs-dark-mode main,
body.rs-dark-mode #main-content,
body.rs-dark-mode .app-inner,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)),
body.rs-dark-mode .s-block--brands {
  background-color: var(--rs-navy-deep) !important;
  color: var(--rs-white) !important;
}

body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .bg-white,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .bg-gray-50,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .bg-gray-100,
body.rs-dark-mode .s-features-item,
body.rs-dark-mode .s-block--features .grid > div,
body.rs-dark-mode .s-block--features .row > div,
body.rs-dark-mode .s-testimonials-item,
body.rs-dark-mode salla-testimonials .swiper-slide > div,
body.rs-dark-mode .s-block--testimonials .swiper-slide > div,
body.rs-dark-mode custom-salla-product-card:not(salla-custom-component *),
body.rs-dark-mode custom-salla-product-card:not(salla-custom-component *) > div,
body.rs-dark-mode .s-product-card-entry:not(salla-custom-component *),
body.rs-dark-mode .s-product-card-content:not(salla-custom-component *),
body.rs-dark-mode .blog-card,
body.rs-dark-mode .s-blog-card,
body.rs-dark-mode .sticky-product-bar {
  background-color: var(--rs-navy) !important;
  border-color: var(--rs-gold) !important;
  color: var(--rs-white) !important;
}

body.rs-dark-mode .s-features-item [class*="icon"],
body.rs-dark-mode .s-block--features .rounded-full {
  background-color: var(--rs-navy-light) !important;
  border: 1.5px solid var(--rs-gold) !important;
  color: var(--rs-gold-bright) !important;
}

body.rs-dark-mode .s-features-item svg,
body.rs-dark-mode .s-features-item i,
body.rs-dark-mode .s-testimonials-item svg,
body.rs-dark-mode .s-block--testimonials svg {
  color: var(--rs-gold) !important;
  stroke: var(--rs-gold) !important;
}

body.rs-dark-mode custom-salla-product-card:not(salla-custom-component *) .s-product-card-image,
body.rs-dark-mode .s-product-card-entry:not(salla-custom-component *) .s-product-card-image,
body.rs-dark-mode .s-brands-item,
body.rs-dark-mode .s-block--brands .swiper-slide a {
  background-color: var(--rs-white) !important;
  border-radius: 10px;
}

body.rs-dark-mode .s-block:not(:has(salla-custom-component)) h1,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) h2,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) h3,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) h4,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .text-gray-900,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .text-gray-800,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .text-black,
body.rs-dark-mode custom-salla-product-card:not(salla-custom-component *) a,
body.rs-dark-mode .s-product-card-content-title:not(salla-custom-component *),
body.rs-dark-mode .s-product-card-content-title:not(salla-custom-component *) a {
  color: var(--rs-white) !important;
}

body.rs-dark-mode .s-block:not(:has(salla-custom-component)) p,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) li,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) label,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .text-gray-700,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .text-gray-600,
body.rs-dark-mode .s-block:not(:has(salla-custom-component)) .text-gray-500,
body.rs-dark-mode .s-features-item p,
body.rs-dark-mode .s-testimonials-item p {
  color: var(--rs-gold-light) !important;
}

body.rs-dark-mode custom-salla-product-card:not(salla-custom-component *) [class*="price"],
body.rs-dark-mode .s-product-card-price:not(salla-custom-component *),
body.rs-dark-mode .s-product-card-sale-price:not(salla-custom-component *),
body.rs-dark-mode .price-wrapper,
body.rs-dark-mode [data-testid="product-price"] {
  color: var(--rs-gold-bright) !important;
}

body.rs-dark-mode main input:not(salla-custom-component *),
body.rs-dark-mode main select:not(salla-custom-component *),
body.rs-dark-mode main textarea:not(salla-custom-component *),
body.rs-dark-mode salla-quantity-input {
  background-color: var(--rs-navy-deep) !important;
  color: var(--rs-white) !important;
  border: 1px solid rgba(214, 164, 60, 0.5) !important;
}