/* ==========================================
   💎 رنّة خلخال للذهب والمجوهرات 💎
   تصميم فخم بإطارات ذهبية وخط عربي أنيق
   مستوحى من knoozjewels.com
========================================== */

:root {
  --color-bg: #fffaf0; /* بيج فاتح فاخر */
  --color-gold: #d4af37; /* ذهبي رئيسي */
  --color-gold-dark: #b8860b; /* ذهبي غامق */
  --color-dark: #3a2f0b; /* بني غامق */
  --color-light: #ffffff;
  --border-radius: 14px;
  --shadow-gold: 0 4px 10px rgba(212, 175, 55, 0.25);
}

/* 🎨 الخلفية العامة */
body {
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: "Cairo", "Reem Kufi", sans-serif !important;
  margin: 0;
  padding: 0;
}

/* ✨ البنرات الرئيسية */
.banner--fixed img,
.section-banner img,
.hero img {
  max-height: 450px;
  width: 100%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius);
  padding: 4px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-gold);
}

/* ✨ المنتجات */
.s-product-card-vertical,
.product-card,
.s-product-card {
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius);
  padding: 12px;
  margin: 10px auto;
  background-color: var(--color-light);
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  text-align: center;
}

.s-product-card-vertical:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
}

/* صور المنتجات */
.s-product-card-image img {
  max-height: 180px;
  width: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background-color: #fffdf7;
}

/* ✨ الأسعار */
.price,
.product-price {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 1.1em;
}

/* ✨ زر الإضافة للسلة */
.s-product-card-vertical .s-add-to-cart-btn {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-light);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.6em 1em;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.s-product-card-vertical .s-add-to-cart-btn:hover {
  background: var(--color-light);
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold);
}

/* ✨ الأقسام (Features / التصنيفات) */
.s-block--features__item {
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius);
  padding: 10px;
  max-width: 160px;
  margin: 10px auto;
  background-color: var(--color-light);
  text-align: center;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
}

.s-block--features__item:hover {
  transform: scale(1.04);
  background-color: #fffaf3;
}

.s-block--features__item h4,
.s-block--features__item p {
  color: var(--color-dark);
  font-weight: 600;
}

/* ✨ أيقونات التواصل */
.s-social-list li a {
  background-color: var(--color-gold-dark);
  color: var(--color-light);
  border-radius: var(--border-radius);
  padding: 8px;
  margin: 5px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.s-social-list li a:hover {
  background-color: var(--color-light);
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold);
}

/* ✨ الفوتر */
.store-footer {
  background-color: #fff8e7;
  border-top: 3px solid var(--color-gold);
  color: var(--color-dark);
  padding: 25px;
  text-align: center;
}

.store-footer a {
  color: var(--color-gold-dark);
  transition: all 0.3s ease;
}
.store-footer a:hover {
  color: var(--color-gold);
}


}/* 💫 إطار أنيق في أسفل الصفحة */
body::after {
  content: "";
  display: block;
  height: 40px;
  background: linear-gradient(180deg, rgba(248,231,192,0) 0%, rgba(228,199,126,0.25) 100%);
  margin-top: 60px;
  border-radius: 0 0 20px 20px;
}
/* تنسيق البنر ليطابق بطاقات المنتجات */
.s-block--banner, .banner, .main-slider, .s-slider {
  background-color: #fffefb !important;
  border: 2px solid #f3e2b9 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 15px rgba(191,150,87,0.1) !important;
  padding: 10px !important;
  overflow: hidden !important;
}

/* الصورة داخل البنر */
.s-block--banner img, .banner img, .main-slider img, .s-slider img {
  border-radius: 12px !important;
  border: 2px solid #fff7e1 !important;
  box-shadow: inset 0 0 12px rgba(191,150,87,0.25) !important;
  width: 100% !important;
  height: auto !important;

/* الصورة داخل البنر */
section[class*="banner"] img,
div[class*="banner"] img,
.s-block--banner img,
.main-slider img,
.s-slider img,
.swiper img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 5px !important;
  border: 2px solid #fffaf0 !important;
  box-shadow: inset 0 0 10px rgba(191,150,87,0.25) !important;
  transition: transform 0.3s ease-in-out !important;
}
/* إزالة الفراغ الأبيض حول البنرات */
.s-block--banner,
.main-slider {
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border-radius: 15px !important;
}
/* 🌟 Ranat Khlkhak — Premium Gold Theme (Final Optimized)
   - البنرات بمحاذاة تامة مثل المنتجات
   - إطار ذهبي فخم متناسق
   - تحسين كامل لتناسق الموقع */

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

:root {
  --rk-bg: #fefcf8;
  --rk-gold: #d4b35f;
  --rk-gold-deep: #b48a2e;
  --rk-text: #2c2c2c;
  --rk-border-glow: rgba(212,175,55,0.18);
}
/* 📱 تهيئة العرض للهواتف */
@media (max-width: 768px) {
  .s-block--banner,
  .banner,
  .main-slider,
  .s-slider {
    border-radius: 10px !important;
    max-width: 100% !important;
  }
  .logo img { height: 60px !important; }
}

/* تحسين عرض الشعار الرئيسي */
.header-logo img {
  max-height: 65px !important;
  margin-top: 5px;
}

/* تحسين عرض الأقسام الرئيسية */
.navbar, .nav, .main-menu {
  background: #fffaf3 !important;
  border-bottom: 1px solid rgba(190,150,60,0.3) !important;
}
/* إزالة الفراغ الأبيض حول البنرات */
.s-block--banner,
.main-slider {
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border-radius: 15px !important;
}
/* 3) نمط القائمة العلوية على المتصفح (يجعلها قريبة من ستايل الجوال) */
.header, .navbar, .main-navigation, nav.main-navigation {
  background: linear-gradient(180deg,#fffaf3 0%, #fff7ec 100%) !important;
  border-bottom: 1px solid rgba(212,175,55,0.10) !important;
  box-shadow: 0 6px 18px rgba(191,150,87,0.06) !important;
}

/* روابط القائمة: ألوان ذهبي و hover ذهبي فاتح */
nav.main-navigation ul li a,
.header .main-menu li a,
.navbar .main-menu li a {
  color: #3b2f1b !important;
  font-weight: 600 !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
}

nav.main-navigation ul li a:hover,
.header .main-menu li a:hover,
.navbar .main-menu li a:hover {
  background: rgba(212,175,55,0.08) !important;
  color: #a97f2f !important;
  transform: translateY(-2px);
}

/* أصغر الأيقونات بجانب النص في القائمة */
nav.main-navigation ul li img,
nav.main-navigation ul li svg,
.header .main-menu li img,
.header .main-menu li svg {
  width: 18px !important;
  height: 18px !important;
  margin-left: 6px !important;
  vertical-align: middle !important;
  filter: drop-shadow(0 1px 2px rgba(180,145,69,0.35));
}



  .s-block--categories .swiper-slide img,
  .section-categories .swiper-slide img {
    width: 42px !important;
    height: 42px !important;
  }

  nav.main-navigation ul li a,
  .header .main-menu li a {
    padding: 10px 8px !important;
    font-size: 14px !important;
  }
}

/* 5) Safety: override any theme duplicated borders */
[class*="card"].s-block--categories,
[class*="card"].banner,
[class*="card"].main-slider {
  border: none !important;
  box-shadow: none !important;
}
/* إصلاح الخلفية البيضاء فوق البنر */
.bg-inherit,
.bg-white,
.bg-default,
header + div.bg-inherit {
  background-color: #fffaf3 !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}
/* تحسين شكل السعر الرئيسي */
.price,
span.price,
.text-gray-800.font-semibold.text-2xl {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #b79339 !important; /* ذهبي واضح */
  text-align: right !important;
  line-height: 1.1 !important;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* تحسين خط الوزن */
.product-page [class*="weight"],
.product-page label[for*="weight"],
.product-page .text-sm {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #5a4400 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* ==========================
   إبراز وزن المنتج بشكل أوضح
   Ranat Khalkhak
========================== */

.product-weight {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #b79339 !important;
  background-color: #fffaf0 !important;
  border: 2px solid #b79339 !important;
  border-radius: 14px !important;
  padding: 8px 20px !important;
  display: inline-block !important;
  box-shadow: 0 0 10px rgba(183, 147, 57, 0.25) !important;
  text-align: center !important;
  margin-top: 10px !important;
}


/* 🎨 إصلاح مشكلة اللون الأبيض داخل البنرات وتحسين الشكل */
.s-block--banner, .banner, .main-slider, .s-slider {
  background: none !important;
  border: 1px solid #e1c97d !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(191,150,87,0.12) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* الصورة داخل البنر */
.s-block--banner img, .banner img, .main-slider img, .s-slider img {
  border-radius: 12px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  border: none !important;
  box-shadow: none !important;
}

/* 💎 تحسين المظهر العام */
section[class*="banner"], div[class*="banner"], .swiper, .swiper-container {
  border-radius: 14px !important;
  border: 1px solid #d9ba63 !important;
  box-shadow: 0 6px 18px rgba(191,150,87,0.1) !important;
  background: none !important;
  overflow: hidden !important;
}

/* 🖋️ تحسين النص داخل البنر إن وُجد */
section[class*="banner"] h2, 
section[class*="banner"] p,
.banner-text, .banner-caption {
  color: #3a2c0d !important;
  font-weight: 700 !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.5);
  font-family: "Cairo", sans-serif !important;
}



/* العناصر داخل السلايدر */
.s-block--categories .swiper-slide,
.section-categories .swiper-slide,
.slider-block--categories .swiper-slide {
  width: 95px !important;
  text-align: center !important;
  margin: 0 10px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.3s ease-in-out !important;
  border-radius: 18px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* الصور داخل الأقسام */
.s-block--categories .swiper-slide img,
.section-categories .swiper-slide img,
.slider-block--categories .swiper-slide img {
  width: 75px !important;
  height: 75px !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #fff6d6, #f2de97) !important;
  box-shadow: 0 4px 10px rgba(180, 140, 40, 0.25) !important;
  padding: 10px !important;
  border: 1px solid #e1c57a !important;
  transition: all 0.3s ease-in-out !important;
}

/* أسماء الأقسام */
.s-block--categories .swiper-slide .block-title,
.section-categories .swiper-slide .block-title,
.slider-block--categories .swiper-slide .block-title,
.s-block--categories .swiper-slide span,
.section-categories .swiper-slide span,
.slider-block--categories .swiper-slide span {
  display: block !important;
  margin-top: 6px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  color: #3a2b0b !important;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5) !important;
  transition: color 0.3s ease !important;
}

/* 🌟 تأثير ذهبي فاخر عند تمرير الماوس */
.s-block--categories .swiper-slide:hover,
.section-categories .swiper-slide:hover,
.slider-block--categories .swiper-slide:hover {
  transform: translateY(-4px) scale(1.05) !important;
}

.s-block--categories .swiper-slide::after,
.section-categories .swiper-slide::after,
.slider-block--categories .swiper-slide::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 0% !important;
  background: linear-gradient(180deg, rgba(255,230,160,0.1) 0%, rgba(255,210,90,0.4) 100%) !important;
  transition: height 0.4s ease !important;
  z-index: 0 !important;
}

.s-block--categories .swiper-slide:hover::after,
.section-categories .swiper-slide:hover::after,
.slider-block--categories .swiper-slide:hover::after {
  height: 40% !important;
}

/* تحسين النص عند المرور */
.s-block--categories .swiper-slide:hover .block-title,
.section-categories .swiper-slide:hover .block-title,
.slider-block--categories .swiper-slide:hover .block-title {
  color: #b58a30 !important;
}

[class*="categories"] .swiper-slide,
[class*="categories"] .category-item,
[class*="categories"] .s-block__item {
  background: linear-gradient(180deg, #fffaf0 0%, #f9f3dc 100%) !important;
  border: 1.5px solid #e2c97f !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 12px rgba(212,175,55,0.15) !important;
  width: 120px !important;
  height: auto !important;
  text-align: center !important;
  padding: 12px 8px !important;
  transition: all 0.3s ease !important;


/* الصورة */
[class*="categories"] img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e8d28c !important;
  box-shadow: inset 0 0 8px rgba(212,175,55,0.25) !important;
  padding: 6px !important;
}

/* الاسم */
[class*="categories"] span,
[class*="categories"] .title,
[class*="categories"] .block-title {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #3a2b0b !important;
  margin-top: 6px !important;
  line-height: 1.3 !important;
  transition: color 0.3s ease !important;
}

[class*="categories"] .swiper-slide:hover span,
[class*="categories"] .category-item:hover span {
  color: #b7922a !important;
}


/* الصندوق الأساسي لكل قسم */
.s-block--categories .swiper-slide,
.s-block--categories .s-block__item,
.s-block--categories .category-item,
div[class*="swiper-slide"],
div[class*="category-item"] {
  background: linear-gradient(180deg, #fff4dc 0%, #fff8e6 100%) !important;
  border: 2px solid #e8d4a3 !important;
  border-radius: 22px !important;
  padding: 15px 10px !important;
  text-align: center !important;
  box-shadow: 0 4px 10px rgba(212,175,55,0.25) !important;
  transition: all 0.3s ease !important;
}
/* إزالة أي خلفية بيضاء في أقسام التصنيفات */
.slide--cat-entry {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* تأكيد إلغاء أي خلفية مفروضة عبر الكلاسات */
.slide--cat-entry[class*="bg"],
.slide--cat-entry[style*="background"],
.section-block-categories .swiper-slide {
  background: transparent !important;
  background-color: transparent !important;
}

/* تنسيق الصورة */
.slide--cat-entry img {
  border-radius: 50% !important;
  border: 2px solid #d4af37 !important; /* إطار ذهبي */
  padding: 2px !important;
  background: #fffaf0 !important; /* خلفية بيج خفيفة داخل الصورة فقط */
}

/* تنسيق النص */
.slide--cat-entry h2 {
  color: #b19146 !important;
  font-weight: 600 !important;
  margin-top: 5px !important;
}/* إلغاء الارتفاع الثابت لبطاقات المنتجات */
.s-product-card-vertical,
.s-product-card-fit-height {
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
}
.custom-payment-box {
  direction: rtl;
  margin-top: 15px;
  font-family: 'Tajawal', sans-serif;
}
.custom-payment-box .pay-title {
  color: #b68d1b;
  font-weight: bold;
  text-align: right;
  margin-bottom: 8px;
}
.custom-payment-box .pay-option {
  border-radius: 12px;
  padding: 10px;
  margin-top: 6px;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.custom-payment-box .pay-option span {
  float: left;
  color: #333;
}
.custom-payment-box .pay-option:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}