/* =========================================================
   ROYAL STAR — RAED THEME
   Clean Custom CSS v1.0
========================================================= */

:root {
  --rs-gold: #c49a2c;
  --rs-gold-light: #e5c463;
  --rs-gold-dark: #94701c;
  --rs-black: #111111;
  --rs-dark: #1c1c1c;
  --rs-white: #ffffff;
  --rs-bg: #f7f7f6;
  --rs-text: #222222;
  --rs-muted: #737373;
  --rs-border: #e8e4da;
  --rs-red: #b5161b;
  --rs-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  --rs-shadow-hover: 0 14px 35px rgba(0, 0, 0, 0.13);
  --rs-header-offset: 0px;
}

/* =========================================================
   الأساس
========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  overflow-x: hidden;
  color: var(--rs-text);
  background: var(--rs-bg);
}

body.rs-no-scroll {
  overflow: hidden;
}

::selection {
  color: var(--rs-black);
  background: var(--rs-gold-light);
}

img {
  max-width: 100%;
}

/* =========================================================
   الشريط الأسود المتحرك
========================================================= */

.rs-announcement-bar {
  position: relative;
  z-index: 1002;
  width: 100%;
  height: 38px;
  overflow: hidden;
  direction: rtl;
  color: var(--rs-white);
  background: #121212;
  border-bottom: 1px solid rgba(196, 154, 44, 0.5);
}

.rs-announcement-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
  height: 100%;
  white-space: nowrap;
  animation: rsAnnouncementMove 30s linear infinite;
  will-change: transform;
}

.rs-announcement-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.rs-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 34px;
  color: var(--rs-white);
  font-size: 12px;
  font-weight: 700;
}

.rs-announcement-item strong {
  color: var(--rs-gold-light);
  font-weight: 900;
}

.rs-announcement-separator {
  color: var(--rs-gold);
  font-size: 9px;
}

.rs-announcement-bar:hover .rs-announcement-track {
  animation-play-state: paused;
}

@keyframes rsAnnouncementMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   الهيدر الثابت
========================================================= */

header,
.store-header,
.main-nav-container,
#mainnav {
  background: var(--rs-white) !important;
}

.main-nav-container,
#mainnav {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  border-bottom: 1px solid var(--rs-border) !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.055) !important;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease !important;
}

body.rs-header-scrolled .main-nav-container,
body.rs-header-scrolled #mainnav {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1) !important;
}

/* تقليل ارتفاع الهيدر */
.main-nav-container > .container,
#mainnav > .container,
.main-nav-container .container,
#mainnav .container {
  min-height: 88px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

/* تكبير شعار رويال ستار على الكمبيوتر */
.navbar-brand,
.store-logo,
.logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.navbar-brand img,
.store-logo img,
.logo img,
header img[alt*="logo" i],
header img[alt*="شعار"] {
  width: auto !important;
  height: 105px !important;
  max-width: 185px !important;
  max-height: 105px !important;
  object-fit: contain !important;
  transform: scale(1.12);
  transform-origin: center;
}

/* زيادة ارتفاع الهيدر حتى لا ينقص الشعار */
.main-nav-container > .container,
#mainnav > .container,
.main-nav-container .container,
#mainnav .container {
  min-height: 118px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* الجوال */
@media (max-width: 991px) {
  .navbar-brand img,
  .store-logo img,
  .logo img,
  header img[alt*="logo" i],
  header img[alt*="شعار"] {
    height: 72px !important;
    max-width: 125px !important;
    max-height: 72px !important;
    transform: scale(1.05);
  }

  .main-nav-container > .container,
  #mainnav > .container,
  .main-nav-container .container,
  #mainnav .container {
    min-height: 82px !important;
  }
}

/* القائمة */
.main-menu,
.navbar-nav {
  align-items: center !important;
}

.main-menu > li > a,
.navbar-nav > li > a {
  position: relative !important;
  padding: 18px 10px !important;
  color: var(--rs-black) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
}

.main-menu > li > a::after,
.navbar-nav > li > a::after {
  position: absolute;
  right: 50%;
  bottom: 7px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--rs-gold);
  border-radius: 20px;
  transform: translateX(50%);
  transition: width 0.25s ease;
}

.main-menu > li > a:hover,
.navbar-nav > li > a:hover {
  color: var(--rs-gold-dark) !important;
}

.main-menu > li > a:hover::after,
.navbar-nav > li > a:hover::after {
  width: 52%;
}

/* القوائم المنسدلة */
.main-menu .sub-menu,
.main-menu .dropdown-menu,
.dropdown-menu {
  padding: 9px !important;
  background: var(--rs-white) !important;
  border: 1px solid var(--rs-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.13) !important;
}

.main-menu .sub-menu a,
.dropdown-menu a {
  padding: 10px 13px !important;
  color: var(--rs-black) !important;
  border-radius: 7px !important;
  font-size: 13px !important;
}

.main-menu .sub-menu a:hover,
.dropdown-menu a:hover {
  color: var(--rs-gold-dark) !important;
  background: #faf8f3 !important;
}

/* أيقونات الحساب والسلة */
.header-buttons a,
.header-buttons button,
.navbar-actions a,
.navbar-actions button,
.header-icon-button {
  color: var(--rs-black) !important;
  transition:
    color 0.25s ease,
    transform 0.25s ease !important;
}

.header-buttons a:hover,
.header-buttons button:hover,
.navbar-actions a:hover,
.navbar-actions button:hover,
.header-icon-button:hover {
  color: var(--rs-gold-dark) !important;
  transform: translateY(-2px);
}

/* رقم السلة فقط */
.s-cart-summary-count,
.cart-count,
salla-cart-summary .s-cart-summary-count {
  color: var(--rs-white) !important;
  background: var(--rs-gold) !important;
  border: 2px solid var(--rs-white) !important;
}

/* =========================================================
   الشريط الأبيض الموجود من إعدادات سلة
========================================================= */

header .announcement-bar,
.top-navbar,
.top-header,
[class*="announcement"]:not(.rs-announcement-bar) {
  font-size: 12px !important;
}

/* =========================================================
   البنرات
========================================================= */

section:first-of-type,
.home-block:first-of-type {
  margin-top: 0 !important;
}

.banner-entry,
salla-slider,
salla-slider .swiper,
salla-slider .swiper-wrapper {
  overflow: hidden;
}

.banner-entry,
.banner-entry img,
salla-slider img {
  border-radius: 0 !important;
}

.banner-entry img,
salla-slider img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* =========================================================
   عناوين الأقسام
========================================================= */

.section-title,
.home-block h2,
section h2 {
  position: relative;
  margin-bottom: 24px !important;
  color: var(--rs-black);
  font-weight: 900 !important;
  text-align: center;
}

.section-title::after,
.home-block h2::after {
  display: block;
  width: 52px;
  height: 3px;
  margin: 10px auto 0;
  content: "";
  background: var(--rs-gold);
  border-radius: 50px;
}

/* =========================================================
   مسافات الصفحة الرئيسية
========================================================= */

.home-block,
main > section {
  margin-top: 0;
  margin-bottom: 48px;
}

.home-block .container,
main > section .container {
  max-width: 1320px;
}

/* إزالة الفراغات المبالغ فيها */
.home-block:empty,
section:empty {
  display: none !important;
}

/* =========================================================
   بطاقات المنتجات
========================================================= */

.s-product-card-entry,
.product-card,
.product-entry {
  overflow: hidden !important;
  height: 100%;
  background: var(--rs-white) !important;
  border: 1px solid var(--rs-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 13px rgba(0, 0, 0, 0.045);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease !important;
}

.s-product-card-entry:hover,
.product-card:hover,
.product-entry:hover {
  border-color: rgba(196, 154, 44, 0.68) !important;
  box-shadow: var(--rs-shadow-hover);
  transform: translateY(-5px);
}

.s-product-card-image,
.product-card img,
.product-entry img {
  overflow: hidden;
}

.s-product-card-entry img,
.product-card img,
.product-entry img {
  transition: transform 0.45s ease !important;
}

.s-product-card-entry:hover img,
.product-card:hover img,
.product-entry:hover img {
  transform: scale(1.035);
}

/* اسم المنتج */
.s-product-card-content-title,
.s-product-card-entry h3,
.product-card h3,
.product-entry h3 {
  min-height: 45px;
  color: var(--rs-black) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
}

/* السعر */
.s-product-card-price,
.product-entry__price,
.price-wrapper {
  color: var(--rs-red) !important;
  font-weight: 900 !important;
}

/* السعر السابق */
.s-product-card-sale-price,
del {
  color: var(--rs-muted) !important;
}

/* زر إضافة للسلة داخل بطاقة المنتج فقط */
.s-product-card-entry .s-button-element,
.product-card .s-button-element,
.product-entry button {
  min-height: 40px !important;
  color: var(--rs-black) !important;
  background: var(--rs-white) !important;
  border: 1px solid var(--rs-black) !important;
  border-radius: 9px !important;
  font-weight: 800 !important;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease !important;
}

.s-product-card-entry .s-button-element:hover,
.product-card .s-button-element:hover,
.product-entry button:hover {
  color: var(--rs-white) !important;
  background: var(--rs-black) !important;
}

/* شارات المنتجات */
.s-product-card-entry [class*="badge"],
.product-card [class*="badge"],
.product-entry [class*="badge"] {
  border-radius: 0 0 0 9px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* =========================================================
   الأزرار الأساسية
========================================================= */

.s-button-primary,
.btn-primary {
  color: var(--rs-black) !important;
  background: var(--rs-gold) !important;
  border-color: var(--rs-gold) !important;
  border-radius: 9px !important;
  font-weight: 900 !important;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease !important;
}

.s-button-primary:hover,
.btn-primary:hover {
  color: var(--rs-black) !important;
  background: var(--rs-gold-light) !important;
  box-shadow: 0 8px 20px rgba(196, 154, 44, 0.3);
  transform: translateY(-2px);
}

/* =========================================================
   الأسئلة الشائعة
========================================================= */

salla-accordion,
.accordion-item,
.faq-item {
  overflow: hidden;
  background: var(--rs-white);
  border: 1px solid var(--rs-border) !important;
  border-radius: 11px !important;
}

salla-accordion:hover,
.accordion-item:hover,
.faq-item:hover {
  border-color: rgba(196, 154, 44, 0.65) !important;
}

/* =========================================================
   الفوتر
========================================================= */

.store-footer,
footer {
  color: var(--rs-white) !important;
  background: #1b1b1b !important;
}

.store-footer h3,
.store-footer h4,
footer h3,
footer h4 {
  color: var(--rs-white) !important;
  font-weight: 900 !important;
}

.store-footer a,
footer a {
  color: #eeeeee !important;
}

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

/* =========================================================
   زر تسعيرة المشروع
========================================================= */

.rs-project-floating {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 17px;
  color: var(--rs-black) !important;
  background: var(--rs-gold);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.25s ease;
}

.rs-project-floating.rs-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rs-project-floating:hover {
  color: var(--rs-black) !important;
  background: var(--rs-gold-light);
  transform: translateY(-3px);
}

.rs-project-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  color: white;
  background: #19ad59;
  border-radius: 50%;
  font-size: 16px;
}

/* =========================================================
   زر العودة للأعلى
========================================================= */

.rs-scroll-top {
  position: fixed;
  left: 15px;
  bottom: 24px;
  z-index: 989;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--rs-white);
  background: var(--rs-black);
  border: 1px solid var(--rs-gold);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.rs-scroll-top.rs-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rs-scroll-top:hover {
  color: var(--rs-black);
  background: var(--rs-gold);
}

/* =========================================================
   اللوحي والجوال
========================================================= */

@media (max-width: 1100px) {
  .main-menu > li > a,
  .navbar-nav > li > a {
    padding-inline: 7px !important;
    font-size: 13px !important;
  }

  .navbar-brand img,
  .store-logo img,
  .logo img {
    max-width: 105px !important;
  }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 90px;
  }

  .main-nav-container > .container,
  #mainnav > .container,
  .main-nav-container .container,
  #mainnav .container {
    min-height: 66px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .navbar-brand img,
  .store-logo img,
  .logo img,
  header img[alt*="logo" i],
  header img[alt*="شعار"] {
    max-width: 95px !important;
    max-height: 55px !important;
  }

  .main-menu > li > a,
  .navbar-nav > li > a {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }

  .home-block,
  main > section {
    margin-bottom: 32px;
  }
}

@media (max-width: 700px) {
  .rs-announcement-bar {
    height: 34px;
  }

  .rs-announcement-track {
    animation-duration: 23s;
  }

  .rs-announcement-item {
    padding: 0 22px;
    font-size: 10px;
  }

  .section-title,
  .home-block h2,
  section h2 {
    margin-bottom: 17px !important;
    font-size: 21px !important;
  }

  .s-product-card-content-title,
  .s-product-card-entry h3,
  .product-card h3,
  .product-entry h3 {
    min-height: 41px;
    font-size: 12px !important;
  }

  .rs-project-floating {
    right: 11px;
    bottom: 75px;
    width: 49px;
    min-width: 49px;
    height: 49px;
    padding: 0;
    border-radius: 50%;
  }

  .rs-project-floating-label {
    display: none;
  }

  .rs-project-whatsapp {
    width: 31px;
    height: 31px;
  }

  .rs-scroll-top {
    left: 11px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rs-announcement-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   تعديل زر واتساب العائم
========================================================= */

/* إخفاء عبارة تسعيرة مشروع */
.rs-project-floating-label {
  display: none !important;
}

/* تحويل الزر إلى دائرة ورفعه للأعلى */
.rs-project-floating {
  right: 18px !important;
  bottom: 145px !important;

  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;

  background: #19ad59 !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.25) !important;
}

/* تكبير رمز الواتساب */
.rs-project-whatsapp {
  width: auto !important;
  height: auto !important;
  color: #ffffff !important;
  background: transparent !important;
  font-size: 24px !important;
}

/* عند تمرير الماوس */
.rs-project-floating:hover {
  background: #128c47 !important;
  transform: translateY(-4px) scale(1.05) !important;
}

/* الجوال */
@media (max-width: 700px) {
  .rs-project-floating {
    right: 13px !important;
    bottom: 125px !important;

    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
  }

  .rs-project-whatsapp {
    font-size: 22px !important;
  }
}
/* =========================================================
   ROYAL STAR — EXTRA CSS PACK
   إضافات شكلية للصفحة الرئيسية والمنتجات
========================================================= */

/* =========================================================
   1) تحسين صور وتصنيفات الصفحة الرئيسية
========================================================= */

.home-block a:has(img),
.banner-entry,
.category-entry,
[class*="category-card"] {
  overflow: hidden !important;
  border-radius: 16px !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

.home-block a:has(img):hover,
.banner-entry:hover,
.category-entry:hover,
[class*="category-card"]:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.13) !important;
  transform: translateY(-5px) !important;
}

.home-block a:has(img) img,
.banner-entry img,
.category-entry img,
[class*="category-card"] img {
  transition:
    transform 0.55s ease,
    filter 0.35s ease !important;
}

.home-block a:has(img):hover img,
.banner-entry:hover img,
.category-entry:hover img,
[class*="category-card"]:hover img {
  filter: brightness(0.94);
  transform: scale(1.035);
}

/* =========================================================
   2) توحيد صور المنتجات
========================================================= */

.s-product-card-image,
.product-card__image,
.product-entry__image,
[class*="product-card"] [class*="image"] {
  overflow: hidden !important;
  background: #ffffff !important;
}

.s-product-card-image img,
.product-card__image img,
.product-entry__image img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #ffffff !important;
}

/* منع الصور الطويلة من تشويه البطاقة */
.s-product-card-entry img,
.product-card img,
.product-entry img {
  object-position: center !important;
}

/* =========================================================
   3) تحسين اسم المنتج والوصف
========================================================= */

.s-product-card-content-title,
.product-card h3,
.product-entry h3 {
  display: -webkit-box !important;
  min-height: 48px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  color: #171717 !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

.s-product-card-entry p,
.product-card p,
.product-entry p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #737373 !important;
  line-height: 1.7 !important;
}

/* =========================================================
   4) تحسين السعر والخصومات
========================================================= */

.s-product-card-price,
.product-entry__price,
.product-card-price,
.price-wrapper {
  color: #b31319 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.s-product-card-sale-price,
.product-card del,
.product-entry del,
.price-wrapper del {
  margin-inline-start: 6px !important;
  color: #999999 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* شارة التخفيض */
.s-product-card-entry [class*="discount"],
.s-product-card-entry [class*="offer"],
.product-card [class*="discount"],
.product-entry [class*="discount"] {
  padding: 5px 9px !important;
  color: #ffffff !important;
  background: #b31319 !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* =========================================================
   5) زر إضافة للسلة بشكل أفخم
========================================================= */

.s-product-card-entry .s-button-element,
.product-card .s-button-element,
.product-entry .s-button-element {
  min-height: 43px !important;
  color: #171717 !important;
  background: #ffffff !important;
  border: 1px solid #171717 !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.s-product-card-entry .s-button-element:hover,
.product-card .s-button-element:hover,
.product-entry .s-button-element:hover {
  color: #171717 !important;
  background: #c49a2c !important;
  border-color: #c49a2c !important;
}

/* =========================================================
   6) تحسين عناوين الأقسام
========================================================= */

.home-block h2,
.section-title,
section > .container > h2 {
  position: relative !important;
  padding-bottom: 14px !important;
  color: #111111 !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.home-block h2::before,
.section-title::before {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 85px;
  height: 1px;
  content: "";
  background: rgba(196, 154, 44, 0.35);
  transform: translateX(50%);
}

.home-block h2::after,
.section-title::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  width: 38px;
  height: 3px;
  margin: 0 !important;
  content: "";
  background: #c49a2c !important;
  border-radius: 20px;
  transform: translateX(50%);
}

/* =========================================================
   7) خلفيات متبادلة للأقسام
========================================================= */

.home-block {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.home-block:nth-of-type(even) {
  background: #f8f7f3;
}

.home-block:nth-of-type(odd) {
  background: #ffffff;
}

/* منع ظهور الخلفية خلف البنرات الرئيسية */
.home-block:has(.banner-entry),
.home-block:has(salla-slider) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

/* =========================================================
   8) تحسين الأسئلة الشائعة
========================================================= */

salla-accordion,
.accordion-item,
.faq-item {
  margin-bottom: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e8e4da !important;
  border-radius: 12px !important;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

salla-accordion:hover,
.accordion-item:hover,
.faq-item:hover {
  border-color: rgba(196, 154, 44, 0.75) !important;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.06) !important;
}

/* =========================================================
   9) تحسين حقول البحث والإدخال
========================================================= */

input,
select,
textarea {
  border: 1px solid #dedbd3 !important;
  border-radius: 10px !important;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #c49a2c !important;
  box-shadow: 0 0 0 3px rgba(196, 154, 44, 0.14) !important;
  outline: none !important;
}

/* =========================================================
   10) تحسين الفوتر
========================================================= */

.store-footer,
footer {
  border-top: 3px solid #c49a2c !important;
}

.store-footer .container,
footer .container {
  padding-top: 38px !important;
  padding-bottom: 25px !important;
}

.store-footer h3,
.store-footer h4,
footer h3,
footer h4 {
  margin-bottom: 15px !important;
  padding-bottom: 9px !important;
  border-bottom: 1px solid rgba(196, 154, 44, 0.25);
}

.store-footer li,
footer li {
  margin-bottom: 7px !important;
}

/* =========================================================
   11) تأثير ظهور ناعم للعناصر
========================================================= */

@media (prefers-reduced-motion: no-preference) {
  .s-product-card-entry,
  .product-card,
  .product-entry,
  .banner-entry,
  .category-entry {
    animation: rsFadeUp 0.55s ease both;
  }

  @keyframes rsFadeUp {
    from {
      opacity: 0;
      transform: translateY(16px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* =========================================================
   12) تحسين الجوال
========================================================= */

@media (max-width: 700px) {
  .home-block {
    padding-top: 21px !important;
    padding-bottom: 21px !important;
  }

  .home-block h2,
  .section-title,
  section > .container > h2 {
    padding-bottom: 12px !important;
    font-size: 20px !important;
  }

  .s-product-card-entry,
  .product-card,
  .product-entry {
    border-radius: 11px !important;
  }

  .s-product-card-price,
  .product-entry__price,
  .product-card-price,
  .price-wrapper {
    font-size: 14px !important;
  }

  .s-product-card-entry .s-button-element,
  .product-card .s-button-element,
  .product-entry .s-button-element {
    min-height: 39px !important;
    padding-inline: 7px !important;
    font-size: 11px !important;
  }
}
/* =========================================================
   توحيد مقاسات صور المنتجات — ROYAL STAR
========================================================= */

/* حاوية صورة المنتج */
.s-product-card-image,
.s-product-card-entry .s-product-card-image,
.product-card__image,
.product-entry__image,
.product-card .product-image,
.product-entry .product-image,
[class*="product-card"] [class*="image-wrapper"] {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 285px !important;
  min-height: 285px !important;
  max-height: 285px !important;

  overflow: hidden !important;
  padding: 12px !important;
  box-sizing: border-box !important;

  background: #ffffff !important;
  border-radius: 13px 13px 0 0 !important;
}

/* جميع صور المنتجات */
.s-product-card-image img,
.s-product-card-entry .s-product-card-image img,
.product-card__image img,
.product-entry__image img,
.product-card .product-image img,
.product-entry .product-image img,
[class*="product-card"] [class*="image-wrapper"] img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;

  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;

  background: #ffffff !important;
  transition: transform 0.4s ease !important;
}

/* منع أي صورة عامة داخل البطاقة من أخذ مقاس مختلف */
.s-product-card-entry picture,
.product-card picture,
.product-entry picture {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 100% !important;
}

/* توحيد ارتفاع البطاقة كاملة */
.s-product-card-entry,
.product-card,
.product-entry {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* إبقاء محتوى البطاقة متساويًا */
.s-product-card-content,
.s-product-card-entry [class*="content"],
.product-card__content,
.product-entry__content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}

/* تثبيت الأزرار أسفل البطاقة */
.s-product-card-entry .s-button-element,
.product-card .s-button-element,
.product-entry .s-button-element,
.product-card button,
.product-entry button {
  margin-top: auto !important;
}

/* تأثير بسيط عند المرور */
.s-product-card-entry:hover .s-product-card-image img,
.product-card:hover .product-card__image img,
.product-entry:hover .product-entry__image img {
  transform: scale(1.035) !important;
}

/* الأجهزة اللوحية */
@media (max-width: 991px) {
  .s-product-card-image,
  .s-product-card-entry .s-product-card-image,
  .product-card__image,
  .product-entry__image,
  .product-card .product-image,
  .product-entry .product-image,
  [class*="product-card"] [class*="image-wrapper"] {
    height: 235px !important;
    min-height: 235px !important;
    max-height: 235px !important;
    padding: 10px !important;
  }
}

/* الجوال */
@media (max-width: 700px) {
  .s-product-card-image,
  .s-product-card-entry .s-product-card-image,
  .product-card__image,
  .product-entry__image,
  .product-card .product-image,
  .product-entry .product-image,
  [class*="product-card"] [class*="image-wrapper"] {
    height: 175px !important;
    min-height: 175px !important;
    max-height: 175px !important;
    padding: 8px !important;
  }
}

/* الجوال الصغير */
@media (max-width: 380px) {
  .s-product-card-image,
  .s-product-card-entry .s-product-card-image,
  .product-card__image,
  .product-entry__image,
  .product-card .product-image,
  .product-entry .product-image,
  [class*="product-card"] [class*="image-wrapper"] {
    height: 155px !important;
    min-height: 155px !important;
    max-height: 155px !important;
  }
}
/* =========================================================
   ROYAL STAR — HOME VIDEOS
========================================================= */

.home-block:has(iframe[src*="youtube"]),
.home-block:has(video),
section:has(iframe[src*="youtube"]),
section:has(video) {
  padding: 42px 15px !important;
  background: #111111 !important;
}

.home-block:has(iframe[src*="youtube"]) h2,
.home-block:has(video) h2,
section:has(iframe[src*="youtube"]) h2,
section:has(video) h2 {
  color: #ffffff !important;
}

.home-block:has(iframe[src*="youtube"]) h2::after,
.home-block:has(video) h2::after,
section:has(iframe[src*="youtube"]) h2::after,
section:has(video) h2::after {
  background: #c49a2c !important;
}

.home-block iframe[src*="youtube"],
.home-block video,
section iframe[src*="youtube"],
section video {
  display: block !important;
  width: 100% !important;
  max-width: 1100px !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  background: #000000 !important;
  border: 1px solid rgba(196, 154, 44, 0.65) !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.32) !important;
}

@media (max-width: 700px) {
  .home-block:has(iframe[src*="youtube"]),
  .home-block:has(video),
  section:has(iframe[src*="youtube"]),
  section:has(video) {
    padding: 25px 10px !important;
  }

  .home-block iframe[src*="youtube"],
  .home-block video,
  section iframe[src*="youtube"],
  section video {
    border-radius: 11px !important;
  }
}
/* =========================================================
   زر طلب عرض سعر داخل بطاقات المنتجات
========================================================= */

.rs-product-quote-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;

  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  padding: 8px 12px;

  color: #171717 !important;
  background: #c49a2c !important;
  border: 1px solid #c49a2c !important;
  border-radius: 9px !important;

  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none !important;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rs-product-quote-btn:hover {
  color: #171717 !important;
  background: #e5c463 !important;
  box-shadow: 0 7px 18px rgba(196, 154, 44, 0.28);
  transform: translateY(-2px);
}

.rs-product-quote-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  color: #ffffff;
  background: #19ad59;
  border-radius: 50%;

  font-size: 13px;
}

@media (max-width: 700px) {
  .rs-product-quote-btn {
    min-height: 39px;
    padding-inline: 7px;
    font-size: 11px;
  }

  .rs-product-quote-btn__icon {
    width: 21px;
    height: 21px;
    font-size: 11px;
  }
}
/* =========================================================
   إصلاح ظهور نتائج البحث فوق البنرات — ثيم رائد
========================================================= */

/* رفع الهيدر فوق جميع عناصر الصفحة */
header,
.store-header,
.main-nav-container,
#mainnav {
  z-index: 10000 !important;
  overflow: visible !important;
}

/* المحافظة على الهيدر الثابت */
.main-nav-container,
#mainnav {
  position: sticky !important;
  top: 0 !important;
}

/* حاويات الهيدر والبحث */
header .container,
.store-header .container,
.main-nav-container .container,
#mainnav .container,
.header-search,
.search-container,
[class*="search-wrapper"],
[class*="search-container"] {
  overflow: visible !important;
}

/* مكون البحث */
salla-search,
.s-search,
.header-search,
[class*="header-search"],
[class*="search-form"] {
  position: relative !important;
  z-index: 10020 !important;
  overflow: visible !important;
}

/* نتائج البحث */
salla-search .s-search-results,
.s-search-results,
.search-results,
[class*="search-results"],
[class*="search-dropdown"],
[class*="autocomplete"],
[role="listbox"] {
  z-index: 10050 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;

  max-height: 520px !important;

  background: #ffffff !important;
  border: 1px solid #e8e4da !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22) !important;
}

/* بعض نسخ رائد تستخدم قائمة بحث ثابتة أو مطلقة */
.s-search-results,
.search-results,
[class*="search-results"],
[class*="search-dropdown"],
[class*="autocomplete"] {
  position: absolute !important;
}

/* خفض البنرات والسلايدر */
.banner-entry,
.home-block,
salla-slider,
salla-slider .swiper,
.swiper,
.swiper-wrapper,
.swiper-slide {
  position: relative;
  z-index: 1 !important;
}

/* صور البنرات */
.banner-entry img,
salla-slider img {
  position: relative !important;
  z-index: 1 !important;
}

/* منع أي عنصر أب من قص نتائج البحث */
header,
header > div,
.store-header,
.main-nav-container,
#mainnav {
  overflow: visible !important;
}

/* الجوال */
@media (max-width: 767px) {
  salla-search .s-search-results,
  .s-search-results,
  .search-results,
  [class*="search-results"],
  [class*="search-dropdown"] {
    max-height: 65vh !important;
  }
}
/* =========================================================
   ROYAL STAR — خبير الراحة
   Mattress Comfort Expert v1.0
========================================================= */

:root {
  --rs-expert-gold: #c49a2c;
  --rs-expert-gold-light: #ead071;
  --rs-expert-black: #151515;
  --rs-expert-dark: #242424;
  --rs-expert-white: #ffffff;
  --rs-expert-bg: #f7f5ef;
  --rs-expert-border: #e8e1d1;
  --rs-expert-muted: #6e6e6e;
  --rs-expert-green: #18a957;
}

/* زر خبير الراحة داخل قسم المراتب */
.rs-comfort-inline {
  display: none;
  width: min(100% - 24px, 1240px);
  margin: 20px auto 32px;
  direction: rtl;
}

.rs-comfort-inline.rs-visible {
  display: block;
}

.rs-comfort-inline-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: 24px 28px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(196, 154, 44, 0.2),
      transparent 32%
    ),
    linear-gradient(135deg, #111111, #292929);
  border: 1px solid rgba(196, 154, 44, 0.7);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.rs-comfort-inline-card::after {
  position: absolute;
  inset-inline-start: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  content: "";
  background: rgba(196, 154, 44, 0.08);
  border-radius: 50%;
}

.rs-comfort-avatar,
.rs-comfort-modal-avatar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--rs-expert-black);
  background:
    linear-gradient(
      145deg,
      var(--rs-expert-gold-light),
      var(--rs-expert-gold)
    );
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(196, 154, 44, 0.28);
}

.rs-comfort-avatar {
  width: 82px;
  height: 82px;
}

.rs-comfort-avatar svg,
.rs-comfort-modal-avatar svg {
  width: 72%;
  height: 72%;
}

.rs-comfort-inline-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.rs-comfort-inline-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--rs-expert-gold-light);
  font-size: 12px;
  font-weight: 900;
}

.rs-comfort-inline-content h3 {
  margin: 0 0 5px;
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 900;
}

.rs-comfort-inline-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
}

.rs-comfort-start {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 47px;
  padding: 0 22px;
  color: var(--rs-expert-black) !important;
  background: var(--rs-expert-gold);
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rs-comfort-start:hover {
  background: var(--rs-expert-gold-light);
  box-shadow: 0 9px 24px rgba(196, 154, 44, 0.26);
  transform: translateY(-2px);
}

/* الزر العائم داخل صفحات المراتب */
.rs-comfort-floating {
  position: fixed;
  right: 17px;
  bottom: 215px;
  z-index: 997;
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 53px;
  padding: 0 14px 0 8px;
  color: #ffffff !important;
  background: var(--rs-expert-black);
  border: 2px solid var(--rs-expert-gold);
  border-radius: 30px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
  cursor: pointer;
}

.rs-comfort-floating.rs-visible {
  display: inline-flex;
  animation: rsExpertEntrance 0.45s ease both;
}

.rs-comfort-floating-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  color: var(--rs-expert-black);
  background: var(--rs-expert-gold);
  border-radius: 50%;
}

.rs-comfort-floating-face svg {
  width: 27px;
  height: 27px;
}

@keyframes rsExpertEntrance {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* خلفية النافذة */
.rs-comfort-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  direction: rtl;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
}

.rs-comfort-overlay.rs-open {
  display: flex;
}

.rs-comfort-modal {
  position: relative;
  width: min(100%, 620px);
  max-height: min(88vh, 780px);
  overflow: hidden;
  background: var(--rs-expert-white);
  border: 1px solid rgba(196, 154, 44, 0.65);
  border-radius: 21px;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.35);
  animation: rsExpertModal 0.32s ease both;
}

@keyframes rsExpertModal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rs-comfort-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 55px 18px 20px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(196, 154, 44, 0.22),
      transparent 35%
    ),
    var(--rs-expert-black);
  border-bottom: 3px solid var(--rs-expert-gold);
}

.rs-comfort-modal-avatar {
  width: 58px;
  height: 58px;
}

.rs-comfort-modal-title strong {
  display: block;
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
}

.rs-comfort-modal-title span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.rs-comfort-close {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.rs-comfort-modal-body {
  max-height: calc(88vh - 98px);
  overflow-y: auto;
  padding: 22px;
  background: var(--rs-expert-bg);
}

.rs-comfort-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.rs-comfort-progress-track {
  flex: 1;
  height: 7px;
  overflow: hidden;
  background: #e4dfd4;
  border-radius: 20px;
}

.rs-comfort-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--rs-expert-gold),
    var(--rs-expert-gold-light)
  );
  border-radius: inherit;
  transition: width 0.3s ease;
}

.rs-comfort-progress-text {
  flex: 0 0 auto;
  color: var(--rs-expert-muted);
  font-size: 11px;
  font-weight: 800;
}

.rs-comfort-question h4 {
  margin: 0 0 7px;
  color: var(--rs-expert-black);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.rs-comfort-question-description {
  margin: 0 0 17px;
  color: var(--rs-expert-muted);
  font-size: 12px;
  line-height: 1.8;
}

.rs-comfort-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rs-comfort-option {
  display: flex;
  align-items: center;
  min-height: 53px;
  padding: 12px 14px;
  color: var(--rs-expert-black);
  background: #ffffff;
  border: 1px solid var(--rs-expert-border);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  text-align: right;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.rs-comfort-option:hover {
  background: #fffcf4;
  border-color: var(--rs-expert-gold);
  transform: translateY(-2px);
}

.rs-comfort-option.rs-selected {
  color: var(--rs-expert-black);
  background: #f4e7b9;
  border-color: var(--rs-expert-gold);
  box-shadow: 0 0 0 2px rgba(196, 154, 44, 0.14);
}

.rs-comfort-medical-note {
  margin-top: 16px;
  padding: 11px 13px;
  color: #6b5b2f;
  background: #fff7dc;
  border: 1px solid #ead99d;
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.8;
}

.rs-comfort-navigation {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.rs-comfort-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.rs-comfort-back {
  color: var(--rs-expert-black);
  background: #ffffff;
  border: 1px solid var(--rs-expert-border);
}

.rs-comfort-next {
  margin-inline-start: auto;
  color: var(--rs-expert-black);
  background: var(--rs-expert-gold);
  border: 1px solid var(--rs-expert-gold);
}

.rs-comfort-next:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* النتيجة */
.rs-comfort-result {
  text-align: center;
}

.rs-comfort-result-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 11px;
  color: var(--rs-expert-black);
  background: #f0d780;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
}

.rs-comfort-result h3 {
  margin: 0 0 8px;
  color: var(--rs-expert-black);
  font-size: 27px;
  font-weight: 900;
}

.rs-comfort-result-summary {
  max-width: 490px;
  margin: 0 auto 17px;
  color: var(--rs-expert-muted);
  font-size: 13px;
  line-height: 1.9;
}

.rs-comfort-result-reasons {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  text-align: right;
}

.rs-comfort-result-reasons li {
  position: relative;
  padding: 11px 38px 11px 12px;
  color: #353535;
  background: #ffffff;
  border: 1px solid var(--rs-expert-border);
  border-radius: 9px;
  font-size: 12px;
}

.rs-comfort-result-reasons li::before {
  position: absolute;
  top: 10px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  content: "✓";
  color: var(--rs-expert-black);
  background: var(--rs-expert-gold);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.rs-comfort-alternative {
  margin-bottom: 17px;
  padding: 10px 13px;
  color: #5d512d;
  background: #fff8df;
  border: 1px solid #eadba5;
  border-radius: 9px;
  font-size: 11px;
}

.rs-comfort-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.rs-comfort-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
  cursor: pointer;
}

.rs-comfort-product-link {
  color: var(--rs-expert-black) !important;
  background: var(--rs-expert-gold);
  border: 1px solid var(--rs-expert-gold);
}

.rs-comfort-whatsapp-link {
  color: #ffffff !important;
  background: var(--rs-expert-green);
  border: 1px solid var(--rs-expert-green);
}

.rs-comfort-restart {
  grid-column: 1 / -1;
  color: var(--rs-expert-black);
  background: transparent;
  border: 1px solid var(--rs-expert-border);
}

.rs-comfort-result-disclaimer {
  margin: 15px 0 0;
  color: #8a8a8a;
  font-size: 9px;
  line-height: 1.7;
}

/* الجوال */
@media (max-width: 700px) {
  .rs-comfort-inline {
    margin-top: 14px;
    margin-bottom: 22px;
  }

  .rs-comfort-inline-card {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
    border-radius: 14px;
  }

  .rs-comfort-avatar {
    width: 60px;
    height: 60px;
  }

  .rs-comfort-inline-content {
    flex-basis: calc(100% - 75px);
  }

  .rs-comfort-inline-content h3 {
    font-size: 17px;
  }

  .rs-comfort-inline-content p {
    font-size: 11px;
  }

  .rs-comfort-start {
    width: 100%;
  }

  .rs-comfort-floating {
    right: 11px;
    bottom: 190px;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 50%;
  }

  .rs-comfort-floating-label {
    display: none;
  }

  .rs-comfort-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .rs-comfort-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }

  .rs-comfort-modal-body {
    max-height: calc(92vh - 92px);
    padding: 17px 13px;
  }

  .rs-comfort-modal-header {
    padding: 15px 52px 15px 15px;
  }

  .rs-comfort-modal-avatar {
    width: 50px;
    height: 50px;
  }

  .rs-comfort-modal-title strong {
    font-size: 17px;
  }

  .rs-comfort-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rs-comfort-option {
    min-height: 49px;
  }

  .rs-comfort-question h4 {
    font-size: 18px;
  }

  .rs-comfort-result h3 {
    font-size: 23px;
  }

  .rs-comfort-result-actions {
    grid-template-columns: 1fr;
  }

  .rs-comfort-restart {
    grid-column: auto;
  }
}
/* =========================================================
   ROYAL STAR GUIDE
   دليل رويال ستار — CSS v1.0
========================================================= */

:root {
  --rsg-black: #151515;
  --rsg-dark: #242424;
  --rsg-gold: #c49a2c;
  --rsg-gold-light: #ead071;
  --rsg-white: #ffffff;
  --rsg-bg: #f7f5ef;
  --rsg-border: #e9e2d2;
  --rsg-text: #242424;
  --rsg-muted: #747474;
  --rsg-green: #19ad59;
}

/* منع التمرير عند فتح النافذة */
body.rsg-no-scroll {
  overflow: hidden !important;
}

/* =========================================================
   الزر العائم
========================================================= */

.rsg-floating-button {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 5px 15px 5px 6px;

  color: #ffffff !important;
  background:
    linear-gradient(
      135deg,
      #111111,
      #292929
    );

  border: 2px solid var(--rsg-gold);
  border-radius: 34px;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.25),
    0 0 0 4px rgba(196, 154, 44, 0.08);

  font-family: inherit;
  font-size: 12px;
  font-weight: 900;

  cursor: pointer;

  opacity: 0;
  transform: translateY(15px) scale(0.96);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.rsg-floating-button.rsg-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rsg-floating-button:hover {
  background:
    linear-gradient(
      135deg,
      #242424,
      #111111
    );

  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.3),
    0 0 0 5px rgba(196, 154, 44, 0.12);
}

.rsg-floating-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;

  flex: 0 0 auto;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      var(--rsg-gold-light),
      var(--rsg-gold)
    );

  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.rsg-floating-avatar svg {
  width: 41px;
  height: 41px;
}

.rsg-floating-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.4;
}

.rsg-floating-content small {
  color: var(--rsg-gold-light);
  font-size: 9px;
  font-weight: 800;
}

.rsg-floating-content strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

/* فقاعة الترحيب */
.rsg-welcome-bubble {
  position: fixed;
  right: 22px;
  bottom: 145px;
  z-index: 997;

  width: min(285px, calc(100vw - 40px));
  padding: 13px 15px;

  direction: rtl;

  color: var(--rsg-text);
  background: #ffffff;

  border: 1px solid var(--rsg-border);
  border-radius: 14px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.17);

  font-size: 12px;
  line-height: 1.7;

  opacity: 0;
  pointer-events: none;

  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.rsg-welcome-bubble.rsg-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rsg-welcome-bubble::after {
  position: absolute;
  right: 29px;
  bottom: -8px;

  width: 15px;
  height: 15px;

  content: "";

  background: #ffffff;
  border-right: 1px solid var(--rsg-border);
  border-bottom: 1px solid var(--rsg-border);

  transform: rotate(45deg);
}

.rsg-welcome-bubble strong {
  color: var(--rsg-black);
}

.rsg-welcome-close {
  position: absolute;
  top: 5px;
  left: 7px;

  width: 24px;
  height: 24px;

  padding: 0;

  color: #8a8a8a;
  background: transparent;
  border: 0;

  font-size: 18px;
  line-height: 1;

  cursor: pointer;
}

/* =========================================================
   الخلفية والنافذة
========================================================= */

.rsg-overlay {
  position: fixed;
  inset: 0;
  z-index: 30000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 18px;

  direction: rtl;

  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.rsg-overlay.rsg-open {
  display: flex;
}

.rsg-modal {
  position: relative;

  width: min(100%, 650px);
  max-height: min(90vh, 800px);

  overflow: hidden;

  background: var(--rsg-white);

  border: 1px solid rgba(196, 154, 44, 0.65);
  border-radius: 22px;

  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.4);

  animation: rsgModalEntrance 0.32s ease both;
}

@keyframes rsgModalEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   رأس النافذة
========================================================= */

.rsg-modal-header {
  position: relative;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 18px 58px 18px 20px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(196, 154, 44, 0.26),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #111111,
      #292929
    );

  border-bottom: 3px solid var(--rsg-gold);
}

.rsg-modal-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 63px;
  height: 63px;

  flex: 0 0 auto;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      var(--rsg-gold-light),
      var(--rsg-gold)
    );

  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;

  box-shadow: 0 8px 25px rgba(196, 154, 44, 0.25);
}

.rsg-modal-avatar svg {
  width: 58px;
  height: 58px;
}

.rsg-modal-heading strong {
  display: block;

  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.rsg-modal-heading span {
  display: block;

  margin-top: 3px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.6;
}

.rsg-close-button {
  position: absolute;
  top: 14px;
  left: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding: 0;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  font-size: 22px;

  cursor: pointer;
}

/* =========================================================
   جسم النافذة
========================================================= */

.rsg-modal-body {
  max-height: calc(90vh - 103px);
  overflow-y: auto;

  padding: 22px;

  background: var(--rsg-bg);
}

.rsg-intro {
  margin-bottom: 18px;
}

.rsg-intro h3 {
  margin: 0 0 7px;

  color: var(--rsg-black);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.rsg-intro p {
  margin: 0;

  color: var(--rsg-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* =========================================================
   الخيارات الرئيسية
========================================================= */

.rsg-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rsg-option {
  position: relative;

  display: flex;
  align-items: center;
  gap: 11px;

  min-height: 70px;
  padding: 12px 13px;

  direction: rtl;

  color: var(--rsg-text);
  background: #ffffff;

  border: 1px solid var(--rsg-border);
  border-radius: 12px;

  text-align: right;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rsg-option:hover {
  background: #fffdf7;
  border-color: var(--rsg-gold);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);

  transform: translateY(-2px);
}

.rsg-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  flex: 0 0 auto;

  color: var(--rsg-black);
  background: #f3e4af;

  border-radius: 10px;

  font-size: 21px;
}

.rsg-option-text {
  min-width: 0;
}

.rsg-option-text strong {
  display: block;

  margin-bottom: 2px;

  color: var(--rsg-black);
  font-size: 13px;
  font-weight: 900;
}

.rsg-option-text span {
  display: block;

  color: var(--rsg-muted);
  font-size: 10px;
  line-height: 1.6;
}

/* =========================================================
   الشاشات الداخلية
========================================================= */

.rsg-screen-title {
  margin: 0 0 6px;

  color: var(--rsg-black);
  font-size: 21px;
  font-weight: 900;
}

.rsg-screen-description {
  margin: 0 0 18px;

  color: var(--rsg-muted);
  font-size: 12px;
  line-height: 1.8;
}

.rsg-back-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  margin-bottom: 15px;
  padding: 7px 11px;

  color: var(--rsg-black);
  background: #ffffff;

  border: 1px solid var(--rsg-border);
  border-radius: 8px;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

/* =========================================================
   شاشة التوجيه النهائية
========================================================= */

.rsg-result-card {
  padding: 22px;

  text-align: center;

  background: #ffffff;

  border: 1px solid var(--rsg-border);
  border-radius: 15px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.rsg-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 68px;
  height: 68px;

  margin: 0 auto 13px;

  color: var(--rsg-black);
  background:
    linear-gradient(
      145deg,
      var(--rsg-gold-light),
      var(--rsg-gold)
    );

  border-radius: 50%;

  font-size: 31px;
}

.rsg-result-card h3 {
  margin: 0 0 7px;

  color: var(--rsg-black);
  font-size: 23px;
  font-weight: 900;
}

.rsg-result-card p {
  max-width: 470px;

  margin: 0 auto 18px;

  color: var(--rsg-muted);
  font-size: 12px;
  line-height: 1.9;
}

.rsg-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.rsg-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 8px 14px;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;

  cursor: pointer;
}

.rsg-result-primary {
  color: var(--rsg-black) !important;
  background: var(--rsg-gold);

  border: 1px solid var(--rsg-gold);
}

.rsg-result-whatsapp {
  color: #ffffff !important;
  background: var(--rsg-green);

  border: 1px solid var(--rsg-green);
}

.rsg-result-restart {
  grid-column: 1 / -1;

  color: var(--rsg-black);
  background: transparent;

  border: 1px solid var(--rsg-border);
}

/* =========================================================
   نموذج المشاريع
========================================================= */

.rsg-project-form {
  display: grid;
  gap: 11px;
}

.rsg-form-group {
  display: grid;
  gap: 5px;
}

.rsg-form-group label {
  color: var(--rsg-black);
  font-size: 11px;
  font-weight: 900;
}

.rsg-form-group input,
.rsg-form-group select,
.rsg-form-group textarea {
  width: 100%;
  min-height: 45px;

  padding: 10px 12px;

  color: var(--rsg-text);
  background: #ffffff;

  border: 1px solid var(--rsg-border);
  border-radius: 9px;

  font-family: inherit;
  font-size: 12px;

  outline: none;
}

.rsg-form-group textarea {
  min-height: 88px;
  resize: vertical;
}

.rsg-form-group input:focus,
.rsg-form-group select:focus,
.rsg-form-group textarea:focus {
  border-color: var(--rsg-gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 44, 0.12);
}

.rsg-project-submit {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 49px;

  margin-top: 4px;
  padding: 10px 15px;

  color: #ffffff;
  background: var(--rsg-green);

  border: 0;
  border-radius: 9px;

  font-size: 13px;
  font-weight: 900;

  cursor: pointer;
}

/* =========================================================
   رسالة صغيرة
========================================================= */

.rsg-note {
  margin-top: 14px;
  padding: 10px 12px;

  color: #675b35;
  background: #fff7dc;

  border: 1px solid #ead99d;
  border-radius: 9px;

  font-size: 10px;
  line-height: 1.8;
}

/* =========================================================
   الجوال
========================================================= */

@media (max-width: 700px) {
  .rsg-floating-button {
    right: 11px;
    bottom: 78px;

    width: 57px;
    min-width: 57px;
    height: 57px;
    min-height: 57px;

    padding: 4px;

    border-radius: 50%;
  }

  .rsg-floating-content {
    display: none;
  }

  .rsg-floating-avatar {
    width: 45px;
    height: 45px;
  }

  .rsg-welcome-bubble {
    right: 12px;
    bottom: 146px;
  }

  .rsg-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .rsg-modal {
    width: 100%;
    max-height: 93vh;

    border-radius: 21px 21px 0 0;
  }

  .rsg-modal-header {
    padding: 15px 53px 15px 14px;
  }

  .rsg-modal-avatar {
    width: 53px;
    height: 53px;
  }

  .rsg-modal-avatar svg {
    width: 49px;
    height: 49px;
  }

  .rsg-modal-heading strong {
    font-size: 17px;
  }

  .rsg-modal-body {
    max-height: calc(93vh - 90px);
    padding: 17px 13px;
  }

  .rsg-intro h3 {
    font-size: 19px;
  }

  .rsg-options-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rsg-option {
    min-height: 62px;
  }

  .rsg-result-actions {
    grid-template-columns: 1fr;
  }

  .rsg-result-restart {
    grid-column: auto;
  }
}
.rs-product-quote-btn,
.rs-product-quote-btn__icon {
  display: none !important;
}
.rs-project-floating,
.rs-project-whatsapp,
.rs-project-floating-label {
  display: none !important;
}
/* =========================================================
   ROYAL STAR — شاشة افتتاحية أثناء التحميل
========================================================= */

.rs-store-loader {
  position: fixed;
  inset: 0;
  z-index: 9999999;

  display: flex;
  align-items: center;
  justify-content: center;

  direction: rtl;
  background:
    radial-gradient(
      circle at center,
      #292929 0%,
      #111111 72%
    );

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.rs-store-loader.rs-loader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rs-store-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(85vw, 350px);

  text-align: center;
}

.rs-store-loader__logo-wrap {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 150px;
  height: 150px;

  margin-bottom: 22px;

  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #c49a2c;
  border-radius: 50%;

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.4),
    0 0 0 8px rgba(196, 154, 44, 0.08);

  animation: rsLoaderLogo 1.6s ease-in-out infinite;
}

.rs-store-loader__logo {
  display: block;

  width: 118px;
  height: 118px;

  object-fit: contain;
}

.rs-store-loader__fallback {
  display: none;

  color: #151515;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
}

.rs-store-loader__title {
  margin: 0 0 5px;

  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.rs-store-loader__subtitle {
  margin: 0 0 18px;

  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.rs-store-loader__line {
  position: relative;

  width: 190px;
  height: 4px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.13);
  border-radius: 20px;
}

.rs-store-loader__line::after {
  position: absolute;
  top: 0;
  right: -45%;

  width: 45%;
  height: 100%;

  content: "";

  background:
    linear-gradient(
      90deg,
      transparent,
      #c49a2c,
      #ead071,
      transparent
    );

  border-radius: inherit;

  animation: rsLoaderLine 1.15s linear infinite;
}

@keyframes rsLoaderLogo {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.025);
  }
}

@keyframes rsLoaderLine {
  from {
    right: -45%;
  }

  to {
    right: 105%;
  }
}

@media (max-width: 600px) {
  .rs-store-loader__logo-wrap {
    width: 125px;
    height: 125px;
  }

  .rs-store-loader__logo {
    width: 98px;
    height: 98px;
  }

  .rs-store-loader__title {
    font-size: 18px;
  }
}

/* احترام إعداد تقليل الحركة في جهاز العميل */
@media (prefers-reduced-motion: reduce) {
  .rs-store-loader__logo-wrap,
  .rs-store-loader__line::after {
    animation: none !important;
  }
}
/* =========================================================
   ROYAL STAR — البنر المزدوج النهائي
========================================================= */

/* حذف أيقونة خبير الراحة العائمة وواتساب القديم */
.rs-comfort-floating,
.rs-project-floating,
.rs-project-whatsapp {
  display: none !important;
}

/* =========================================================
   أيقونة دليل رويال ستار الدائرية
========================================================= */

.rsg-floating-button.rsg-circle-only {
  right: 16px !important;
  bottom: 82px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;

  height: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;

  padding: 4px !important;

  border: 2px solid #c49a2c !important;
  border-radius: 50% !important;

  overflow: hidden !important;
}

.rsg-floating-button.rsg-circle-only
.rsg-floating-content {
  display: none !important;
}

.rsg-floating-button.rsg-circle-only
.rsg-floating-avatar {
  width: 50px !important;
  height: 50px !important;

  margin: 0 !important;

  border-radius: 50% !important;
}

.rsg-floating-button.rsg-circle-only
.rsg-floating-avatar svg {
  width: 47px !important;
  height: 47px !important;
}

/* =========================================================
   هيكل البنر المزدوج
========================================================= */

.rs-comfort-inline[data-rs-dual-banner="1"] {
  padding: 0 !important;
}

.rs-comfort-inline[data-rs-dual-banner="1"]
> .rs-dual-comfort-card {
  display: none !important;
}

.rs-dual-assistance-banner {
  position: relative;

  width: 100%;
  padding: 25px;

  direction: rtl;

  color: #ffffff;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(196, 154, 44, 0.25),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #101010,
      #292929
    );

  border: 1px solid rgba(196, 154, 44, 0.65);
  border-radius: 18px;

  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);

  overflow: hidden;
}

.rs-dual-assistance-heading {
  position: relative;
  z-index: 2;

  margin-bottom: 17px;

  text-align: center;
}

.rs-dual-assistance-kicker {
  display: block;

  margin-bottom: 3px;

  color: #e5c45f;
  font-size: 10px;
  font-weight: 900;
}

.rs-dual-assistance-heading h3 {
  margin: 0 0 6px !important;

  color: #ffffff !important;
  font-size: 23px !important;
  font-weight: 900 !important;
}

.rs-dual-assistance-heading p {
  max-width: 650px;

  margin: 0 auto !important;

  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
}

.rs-dual-assistance-options {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}

/* =========================================================
   خيار دليل رويال ستار
========================================================= */

.rs-guide-banner-option {
  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 105px;
  padding: 13px;

  direction: rtl;
  text-align: right;

  color: #171717;
  background: #ffffff;

  border: 1px solid rgba(196, 154, 44, 0.65);
  border-radius: 14px;

  font-family: inherit;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rs-guide-banner-option:hover {
  border-color: #c49a2c;

  box-shadow: 0 10px 27px rgba(0, 0, 0, 0.16);

  transform: translateY(-2px);
}

.rs-guide-banner-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 66px;
  height: 66px;

  flex: 0 0 auto;

  overflow: hidden;

  background: #e5c45f;

  border: 2px solid #ffffff;
  border-radius: 50%;

  box-shadow: 0 6px 16px rgba(196, 154, 44, 0.25);
}

.rs-guide-banner-avatar svg {
  width: 61px;
  height: 61px;
}

.rs-guide-banner-content {
  display: flex;
  flex: 1;
  flex-direction: column;

  min-width: 0;
}

.rs-guide-banner-content small {
  margin-bottom: 2px;

  color: #8a6b20;
  font-size: 9px;
  font-weight: 800;
}

.rs-guide-banner-content strong {
  margin-bottom: 4px;

  color: #151515;
  font-size: 15px;
  font-weight: 900;
}

.rs-guide-banner-content > span {
  color: #707070;
  font-size: 10px;
  line-height: 1.6;
}

.rs-guide-banner-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  flex: 0 0 auto;

  color: #151515;
  background: #e5c45f;

  border-radius: 50%;

  font-size: 16px;
  font-weight: 900;
}

/* =========================================================
   كرت خبير الراحة الأصلي داخل البنر
========================================================= */

.rs-dual-assistance-options
.rs-dual-comfort-card {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "avatar content"
    "button button";

  align-items: center;
  gap: 8px 12px;

  min-height: 105px;
  padding: 13px !important;
  margin: 0 !important;

  color: #171717 !important;
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #fff9e6
    ) !important;

  border: 1px solid rgba(196, 154, 44, 0.65) !important;
  border-radius: 14px !important;

  box-shadow: none !important;

  text-align: right !important;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rs-dual-assistance-options
.rs-dual-comfort-card:hover {
  border-color: #c49a2c !important;

  box-shadow:
    0 10px 27px rgba(0, 0, 0, 0.16) !important;

  transform: translateY(-2px);
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-avatar {
  grid-area: avatar;

  width: 66px !important;
  height: 66px !important;

  margin: 0 !important;
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-avatar svg {
  width: 61px !important;
  height: 61px !important;
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-inline-content {
  grid-area: content;

  min-width: 0;

  text-align: right !important;
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-inline-kicker {
  color: #8a6b20 !important;
  font-size: 9px !important;
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-inline-content h3 {
  margin: 2px 0 4px !important;

  color: #151515 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-inline-content p {
  margin: 0 !important;

  color: #707070 !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
}

.rs-dual-assistance-options
.rs-dual-comfort-card
.rs-comfort-start {
  grid-area: button;

  width: 100% !important;
  min-height: 37px !important;

  margin: 2px 0 0 !important;
  padding: 7px 12px !important;

  color: #151515 !important;
  background: #e5c45f !important;

  border: 0 !important;
  border-radius: 8px !important;

  font-size: 11px !important;
  font-weight: 900 !important;
}

/* =========================================================
   الجوال
========================================================= */

@media (max-width: 700px) {
  .rsg-floating-button.rsg-circle-only {
    right: 11px !important;
    bottom: 78px !important;

    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }

  .rs-dual-assistance-banner {
    padding: 17px 12px;
  }

  .rs-dual-assistance-heading {
    margin-bottom: 12px;
  }

  .rs-dual-assistance-heading h3 {
    font-size: 19px !important;
  }

  .rs-dual-assistance-heading p {
    font-size: 10px !important;
  }

  .rs-dual-assistance-options {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .rs-guide-banner-option,
  .rs-dual-assistance-options
  .rs-dual-comfort-card {
    min-height: 92px;
  }

  .rs-guide-banner-avatar,
  .rs-dual-assistance-options
  .rs-dual-comfort-card
  .rs-comfort-avatar {
    width: 56px !important;
    height: 56px !important;
  }

  .rs-guide-banner-avatar svg,
  .rs-dual-assistance-options
  .rs-dual-comfort-card
  .rs-comfort-avatar svg {
    width: 52px !important;
    height: 52px !important;
  }
}
/* =========================================================
   ROYAL STAR — خبير الراحة الشامل
========================================================= */

/* إلغاء أيقونة خبير الراحة العائمة فقط */
.rs-comfort-floating {
  display: none !important;
}

/* منع تمرير الصفحة عند فتح الخبير */
body.rsx-no-scroll {
  overflow: hidden !important;
}

/* خلفية النافذة */
.rsx-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px;

  direction: rtl;

  background: rgba(0, 0, 0, 0.66);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.rsx-overlay.rsx-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* النافذة */
.rsx-modal {
  width: min(720px, 100%);
  max-height: min(88vh, 780px);

  background: #ffffff;

  border: 1px solid rgba(196, 154, 44, 0.65);
  border-radius: 20px;

  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.35);

  overflow: hidden;

  transform: translateY(15px) scale(0.98);

  transition: transform 0.25s ease;
}

.rsx-open .rsx-modal {
  transform: translateY(0) scale(1);
}

/* رأس النافذة */
.rsx-header {
  position: relative;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 16px 18px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(229, 196, 95, 0.28),
      transparent 38%
    ),
    linear-gradient(135deg, #111111, #292929);
}

.rsx-close {
  position: absolute;
  top: 9px;
  left: 11px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  padding: 0;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;

  font-size: 23px;
  line-height: 1;

  cursor: pointer;
}

.rsx-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  flex: 0 0 auto;

  overflow: hidden;

  background: #e6c65e;

  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.rsx-avatar svg {
  width: 55px;
  height: 55px;
}

.rsx-heading {
  display: flex;
  flex-direction: column;

  padding-left: 35px;
}

.rsx-heading strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.rsx-heading span {
  margin-top: 3px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

/* جسم النافذة */
.rsx-body {
  max-height: calc(88vh - 90px);

  padding: 18px;

  overflow-y: auto;
  overscroll-behavior: contain;
}

/* التقدم */
.rsx-progress {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 17px;
}

.rsx-progress[hidden] {
  display: none !important;
}

.rsx-progress-track {
  height: 7px;

  flex: 1;

  overflow: hidden;

  background: #eeeae0;

  border-radius: 30px;
}

.rsx-progress-bar {
  display: block;

  width: 0;
  height: 100%;

  background: linear-gradient(90deg, #c49a2c, #e6c65e);

  border-radius: inherit;

  transition: width 0.25s ease;
}

.rsx-progress-text {
  min-width: 45px;

  color: #777777;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
}

/* الصفحة الرئيسية */
.rsx-intro {
  margin-bottom: 18px;

  text-align: center;
}

.rsx-kicker,
.rsx-result-kicker {
  display: block;

  margin-bottom: 4px;

  color: #99751e;
  font-size: 10px;
  font-weight: 900;
}

.rsx-intro h3,
.rsx-question h3,
.rsx-result h3 {
  margin: 0 0 7px;

  color: #171717;
  font-size: 21px;
  font-weight: 900;
}

.rsx-intro p,
.rsx-question > p,
.rsx-result-summary {
  margin: 0;

  color: #717171;
  font-size: 12px;
  line-height: 1.8;
}

.rsx-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;
}

.rsx-category {
  display: flex;
  align-items: center;
  gap: 10px;

  min-height: 86px;
  padding: 12px;

  text-align: right;

  color: #171717;
  background: #ffffff;

  border: 1px solid #e7dfca;
  border-radius: 13px;

  font-family: inherit;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rsx-category:hover {
  border-color: #c49a2c;

  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.09);

  transform: translateY(-2px);
}

.rsx-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  flex: 0 0 auto;

  background: #f7edcf;

  border-radius: 50%;

  font-size: 21px;
}

.rsx-category-text {
  display: flex;
  flex: 1;
  flex-direction: column;

  min-width: 0;
}

.rsx-category-text strong {
  color: #171717;
  font-size: 13px;
  font-weight: 900;
}

.rsx-category-text span {
  margin-top: 3px;

  color: #777777;
  font-size: 9px;
  line-height: 1.5;
}

.rsx-category-arrow {
  color: #a98121;
  font-size: 17px;
  font-weight: 900;
}

.rsx-home-note {
  margin-top: 14px;
  padding: 10px 12px;

  color: #7b6a3d;
  background: #fff9e9;

  border: 1px solid #efe1b8;
  border-radius: 10px;

  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

/* الأسئلة */
.rsx-home-back {
  margin-bottom: 13px;
  padding: 0;

  color: #99751e;
  background: transparent;

  border: 0;

  font-family: inherit;
  font-size: 10px;
  font-weight: 900;

  cursor: pointer;
}

.rsx-home-back::before {
  content: "→";
  margin-left: 5px;
}

.rsx-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 9px;

  margin-top: 16px;
}

.rsx-option,
.rsx-color-option {
  min-height: 47px;
  padding: 10px 12px;

  color: #252525;
  background: #ffffff;

  border: 1px solid #dedede;
  border-radius: 10px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 800;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.rsx-option:hover,
.rsx-color-option:hover,
.rsx-option.rsx-selected {
  color: #161616;
  background: #fff7dc;

  border-color: #c49a2c;

  transform: translateY(-1px);
}

.rsx-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 8px;

  margin-top: 17px;
}

.rsx-nav {
  min-width: 100px;
  min-height: 40px;

  padding: 8px 14px;

  color: #171717;
  background: #e6c65e;

  border: 0;
  border-radius: 9px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 900;

  cursor: pointer;
}

.rsx-nav.rsx-back,
.rsx-back-bedding {
  color: #333333;
  background: #eeeeee;
}

.rsx-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* الألوان */
.rsx-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 8px;

  margin-top: 15px;
}

.rsx-vip-note {
  margin-top: 15px !important;
  padding: 10px 12px;

  background: #fff9e9;

  border: 1px solid #ead8a8;
  border-radius: 10px;
}

/* النتيجة */
.rsx-result {
  text-align: center;
}

.rsx-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 57px;
  height: 57px;

  margin: 0 auto 11px;

  color: #171717;
  background: #e6c65e;

  border-radius: 50%;

  font-size: 27px;
  font-weight: 900;
}

.rsx-result-summary {
  max-width: 560px;

  margin: 0 auto !important;
}

.rsx-result-reasons {
  max-width: 570px;

  margin: 15px auto;
  padding: 0;

  list-style: none;

  text-align: right;
}

.rsx-result-reasons li {
  position: relative;

  margin-bottom: 7px;
  padding: 9px 35px 9px 10px;

  color: #444444;
  background: #f8f8f8;

  border-radius: 9px;

  font-size: 11px;
  line-height: 1.6;
}

.rsx-result-reasons li::before {
  content: "✓";

  position: absolute;
  top: 9px;
  right: 11px;

  color: #99751e;
  font-weight: 900;
}

.rsx-alternative {
  max-width: 570px;

  margin: 12px auto;
  padding: 10px 12px;

  color: #6e5b28;
  background: #fff9e9;

  border: 1px solid #ebddb6;
  border-radius: 9px;

  font-size: 10px;
}

.rsx-alternative strong {
  color: #171717;
}

.rsx-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 8px;

  max-width: 570px;

  margin: 15px auto 0;
}

.rsx-action {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 43px;
  padding: 9px 12px;

  border: 0;
  border-radius: 9px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none !important;

  cursor: pointer;
}

.rsx-product {
  color: #171717 !important;
  background: #e6c65e;
}

.rsx-whatsapp {
  color: #ffffff !important;
  background: #1f9d55;
}

.rsx-restart {
  grid-column: 1 / -1;

  color: #333333;
  background: #eeeeee;
}

.rsx-disclaimer {
  max-width: 560px;

  margin: 13px auto 0;

  color: #8a8a8a;
  font-size: 9px;
  line-height: 1.7;
}

/* الجوال */
@media (max-width: 640px) {
  .rsx-overlay {
    align-items: flex-end;

    padding: 0;
  }

  .rsx-modal {
    width: 100%;
    max-height: 92vh;

    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .rsx-body {
    max-height: calc(92vh - 88px);

    padding: 14px 12px 18px;
  }

  .rsx-header {
    padding: 13px 14px;
  }

  .rsx-avatar {
    width: 52px;
    height: 52px;
  }

  .rsx-avatar svg {
    width: 49px;
    height: 49px;
  }

  .rsx-heading strong {
    font-size: 16px;
  }

  .rsx-heading span {
    font-size: 9px;
  }

  .rsx-intro h3,
  .rsx-question h3,
  .rsx-result h3 {
    font-size: 18px;
  }

  .rsx-category-grid,
  .rsx-options {
    grid-template-columns: 1fr;
  }

  .rsx-category {
    min-height: 72px;
  }

  .rsx-color-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rsx-result-actions {
    grid-template-columns: 1fr;
  }

  .rsx-restart {
    grid-column: auto;
  }
}