/* =========================================================
   Kael Theme Overrides (Light & Fresh Luxury Identity)
   ========================================================= */

body {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  background-color: #FDFBF7;
}

:root {
  --kael-gold: #C5A059;
  --kael-green-dark: #103C2B;
  --kael-white: #FFFFFF;
  --kael-cream: #F9F6F0;
  --kael-border: #EAE5D9;
}

/* الألوان الأساسية */

.primary-btn, .newsletter-btn, .search-btn, .add-to-cart-btn {
  background-color: var(--kael-gold) !important;
  border-color: var(--kael-gold) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

a:hover, .header-links li a:hover, .main-nav > li > a:hover, .main-nav > li.active > a, .header-ctn > div > a:hover {
  color: var(--kael-gold) !important;
}

/* =========================================
   الهيدر العلوي (Top Header) - كريمي فاتح
   ========================================= */

#top-header {
  background-color: var(--kael-cream);
  padding: 10px 0;
  border-bottom: 1px solid var(--kael-border);
}

.header-links {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 20px;
}

.header-links li {
  color: var(--kael-green-dark);
  font-size: 13px;
  font-weight: 500;
}

.header-links li i {
  margin-left: 8px;
  color: var(--kael-gold);
}

.header-links li a {
  color: var(--kael-green-dark);
  text-decoration: none;
  transition: 0.3s;
}

/* =========================================
   الهيدر الرئيسي (Main Header) - أبيض ناصع يفتح النفس
   ========================================= */

#header {
  background-color: var(--kael-white);
  padding: 20px 0;
}

/* إجبار الأيقونات واللوجو على عدم التداخل */

.header-ctn {
  display: flex !important;
  align-items: center;
  gap: 25px;
  float: none !important;
}

.header-ctn > div {
  float: none !important;
  margin: 0 !important;
}

.header-ctn > div > a {
  display: block;
  text-align: center;
  color: var(--kael-green-dark);
  position: relative;
  text-decoration: none;
  transition: 0.3s;
}

.header-ctn > div > a i {
  font-size: 24px;
  display: block;
  margin-bottom: 3px;
}

.header-ctn > div > a span {
  font-size: 13px;
  font-weight: 600;
}

/* بادج الأرقام (عربتي والمفضلة) */

.header-ctn > div > a .qty {
  position: absolute;
  right: 21px;
  top: -8px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  background-color: var(--kael-gold);
}

/* تنسيق اللوجو */

.header-logo {
  float: none !important;
  margin: 0 !important;
}

.header-logo .logo {
  display: block;
  text-decoration: none !important;
}

.header-logo .logo img {
  max-height: 90px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

/* شريط البحث (ديسكتوب) */

.header-search {
  flex-grow: 1;
  margin: 0 40px;
}

.header-search form {
  display: flex;
  width: 100%;
  border: 2px solid var(--kael-gold);
  border-radius: 40px;
  overflow: hidden;
}

.header-search form .input-select {
  border-radius: 0;
  border: none;
  padding: 0 15px;
  width: 140px;
  outline: none;
  background: var(--kael-cream);
  color: var(--kael-green-dark);
  font-weight: 600;
  border-left: 1px solid var(--kael-border);
}

.header-search form .input {
  border-radius: 0;
  border: none;
  padding: 0 15px;
  height: 42px;
  width: 100%;
  outline: none;
  background: var(--kael-white);
  color: var(--kael-green-dark);
}

.header-search form .search-btn {
  border-radius: 0;
  border: none;
  padding: 0 25px;
  height: 42px;
  transition: 0.3s;
}

/* =========================================
   الناف بار (ديسكتوب)
   ========================================= */

#navigation {
  background: var(--kael-white);
  border-top: 1px solid var(--kael-border);
  border-bottom: 2px solid var(--kael-cream);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.main-nav {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 30px;
}

.main-nav > li > a {
  padding: 15px 0;
  color: var(--kael-green-dark);
  font-weight: 700;
  font-size: 16px;
  display: block;
  text-decoration: none;
  transition: 0.3s;
}

/* =========================================
   تنسيقات الموبايل والقائمة الجانبية
   ========================================= */

.offcanvas {
  background-color: var(--kael-white);
}

.offcanvas-header {
  border-bottom: 1px solid var(--kael-border) !important;
}

.mobile-nav li a {
  display: block;
  padding: 15px 0;
  color: var(--kael-green-dark);
  font-weight: 700;
  border-bottom: 1px solid var(--kael-border);
  text-decoration: none;
  transition: 0.3s;
}

.mobile-nav li a:hover {
  color: var(--kael-gold);
  padding-right: 10px;
  background-color: var(--kael-cream);
}

/* الريسبونسيف */

@media (max-width: 991px) {
  #header {
    padding: 15px 0;
    border-bottom: 1px solid var(--kael-border);
  }
}

@media (max-width: 991px) {
  .header-logo .logo img {
    max-height: 50px !important;
  }
}

@media (max-width: 991px) {
  .header-links {
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 991px) {
  .header-ctn {
    gap: 15px !important;
  }
}

@media (max-width: 991px) {
  .header-ctn > div > a i {
    font-size: 22px;
    margin-bottom: 2px;
    color: var(--kael-green-dark);
  }
}

@media (max-width: 991px) {
  .header-ctn > div > a span {
    font-size: 11px;
    color: var(--kael-green-dark);
  }
}

@media (max-width: 991px) {
  .header-ctn > div > a .qty {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    right: -5px;
    top: -5px;
  }
}

/* =========================================================
   أقسام المجموعات (Collections / Banners)
   ========================================================= */

.kael-collections {
  padding: 60px 0;
  background-color: var(--kael-cream);
}

.collection-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--kael-white);
  box-shadow: 0 4px 15px rgba(16, 60, 43, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 60, 43, 0.1);
}

.collection-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.collection-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-img img {
  transform: scale(1.08);
}

/* طبقة لونية خفيفة فوق الصورة عشان الكلام يبان لو الصورة فاتحة */

.collection-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(16, 60, 43, 0.4) 0%, transparent 60%);
}

.collection-body {
  padding: 25px;
  text-align: right;
  background: var(--kael-white);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 2px solid var(--kael-gold);
}

.collection-title {
  color: var(--kael-green-dark);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 5px;
}

.collection-subtitle {
  color: var(--kael-gold);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.collection-btn {
  display: inline-flex;
  align-items: center;
  color: var(--kael-green-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.collection-btn i {
  margin-right: 8px;
  color: var(--kael-gold);
  transition: transform 0.3s ease;
}

.collection-card:hover .collection-btn {
  color: var(--kael-gold);
}

.collection-card:hover .collection-btn i {
  transform: translateX(-5px);
}

/* تظبيط الموبايل */

@media (max-width: 767px) {
  .collection-img {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .kael-collections {
    padding: 40px 0;
  }
}

/* =========================================================
   تعديلات كروت إلكترو الأصلية (Electro Original Shop Section)
   ========================================================= */

.section {
  padding: 40px 0;
}

.shop {
  direction: rtl;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--kael-cream);
  margin: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* قلب القصة الهندسية لليمين وتغيير اللون الأحمر للأبيض الفاتح */

.shop:before {
  background-color: var(--kael-white) !important;
  left: auto !important;
  right: -10% !important;
  width: 65% !important;
  transform: skewX(45deg) !important;
  z-index: 1;
}

/* إخفاء التأثير الإضافي القديم بتاع إلكترو عشان الشكل يبقى أنظف */

.shop:after {
  display: none !important;
}

/* تظبيط مكان الصورة على الشمال */

.shop .shop-img {
  float: left !important;
  text-align: left !important;
}

/* تظبيط مكان الكلام على اليمين فوق الخلفية البيضاء */

.shop .shop-body {
  left: auto !important;
  right: 0 !important;
  text-align: right !important;
  padding: 30px !important;
  z-index: 2 !important;
}

/* تنسيق النصوص بألوان Kael الفاتحة المريحة */

.shop .shop-body h3 {
  color: var(--kael-green-dark) !important;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.shop .shop-body .cta-btn {
  color: var(--kael-gold) !important;
  font-weight: 700;
  font-size: 15px;
}

.shop .shop-body .cta-btn i {
  margin-right: 5px;
  margin-left: 0;
  transition: transform 0.3s;
}

/* حركة السهم عند الوقوف بالماوس */

.shop:hover .shop-body .cta-btn i {
  transform: translateX(-5px);
}

/* =========================================================
   تعديلات كروت إلكترو الأصلية (Electro Original Shop Section - RTL Fix)
   ========================================================= */

.section {
  padding: 40px 0;
}

.shop {
  position: relative;
  direction: rtl;
  border-radius: 8px;
  overflow: hidden;
  margin: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background-color: var(--kael-white);
  height: 240px;
}

/* 1. الصورة بتيجي من الشمال */

.shop .shop-img {
  position: absolute;
  top: 0;
  left: -20px;
  width: 60%;
  height: 100%;
  z-index: 1;
}

.shop .shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* 2. القصة المايلة (الطبقة السادة اللي فوق الصورة من اليمين) */

.shop:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 55%;
  background-color: var(--kael-cream) !important;
  transform: skewX(-30deg);
  transform-origin: top right;
  z-index: 2;
}

/* إخفاء التأثير الإضافي القديم بتاع إلكترو */

.shop:after {
  display: none !important;
}

/* 3. تظبيط مكان الكلام (فوق القصة المايلة) */

.shop .shop-body {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  text-align: right;
  padding: 30px 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* تنسيق النصوص بألوان Kael */

.shop .shop-body h3 {
  color: var(--kael-green-dark) !important;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
  font-size: 22px;
}

.shop .shop-body .cta-btn {
  color: var(--kael-gold) !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.shop .shop-body .cta-btn i {
  margin-right: 8px;
  transition: transform 0.3s;
}

/* تأثيرات الوقوف بالماوس (Hover) */

.shop:hover .shop-img img {
  transform: scale(1.1);
}

.shop:hover .shop-body .cta-btn i {
  transform: translateX(-5px);
}

/* تظبيط الموبايل */

@media (max-width: 767px) {
  .shop {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .shop .shop-body h3 {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .shop:before {
    transform: skewX(-20deg);
    width: 60%;
  }
}

/* تقليل الميل في الشاشات الصغيرة */

@media (max-width: 767px) {
  .shop .shop-body {
    width: 55%;
    padding: 20px;
  }
}

/* =========================================================
   إصلاح زرار العربة المقطوع (Add to Cart Fix)
   ========================================================= */

/* إعطاء مساحة سفلية للسلايدر عشان الزرار ينزل فيها براحته وميتقصش */

.slick-list {
  padding-bottom: 60px !important;
  margin-bottom: -60px !important;
  z-index: 1;
}

/* رفع الكارت فوق اخواته وقت الوقوف بالماوس عشان الزرار يغطي أي حاجة تحته */

.product {
  transition: all 0.3s ease;
}

.product:hover {
  z-index: 99 !important;
}

/* =========================================================
   تنسيق أسهم السلايدر (Slick Arrows - Kael Theme)
   ========================================================= */

/* توسيط الأسهم تحت المنتجات */

.products-slick-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

/* تصميم الزرار المدور (كريمي في ذهبي) */

.products-slick-nav .slick-arrow {
  width: 35px;
  height: 35px;
  background-color: var(--kael-cream, #F9F6F0);
  border: 1px solid var(--kael-gold, #C5A059);
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
  z-index: 10;
}

/* وضع أيقونات FontAwesome جوه الأسهم */

.products-slick-nav .slick-arrow::before {
  font-family: 'FontAwesome';
  color: var(--kael-green-dark, #103C2B);
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  line-height: 1;
}

/* السهم اليمين (Prev في العربي) */

.products-slick-nav .slick-prev::before {
  content: "\f105";
}

/* السهم الشمال (Next في العربي) */

.products-slick-nav .slick-next::before {
  content: "\f104";
}

/* تأثير الوقوف بالماوس على السهم (يقلب ذهبي والأيقونة أبيض) */

.products-slick-nav .slick-arrow:hover {
  background-color: var(--kael-gold, #C5A059);
}

.products-slick-nav .slick-arrow:hover::before {
  color: #ffffff;
}

/* =========================================================
   قسم العرض الخاص (Hot Deal - Kael Theme)
   ========================================================= */

/* =========================================================
   قسم العرض الخاص (بالصورة + طبقة Kael الشفافة)
   ========================================================= */

/* =========================================================
   قسم العرض الخاص (متوافق مع الموبايل والكمبيوتر 100%)
   ========================================================= */

#hot-deal {
  padding: 60px 0;
  margin: 40px 0;
  background-color: var(--kael-green-dark, #103C2B) !important;
  background-image: url('../hotdeal.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  text-align: center !important;
}

.hot-deal .hot-deal-countdown {
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  direction: ltr;
}

/* دوائر العداد التنازلي */

.hot-deal .hot-deal-countdown li {
  position: relative;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--kael-gold, #C5A059);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
}

.hot-deal .hot-deal-countdown li h3 {
  color: var(--kael-gold, #C5A059);
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.hot-deal .hot-deal-countdown li span {
  font-size: 13px;
  font-weight: 600;
  color: var(--kael-cream, #F9F6F0);
}

/* نصوص العرض */

.hot-deal h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hot-deal p {
  color: var(--kael-cream, #F9F6F0);
  font-size: 18px;
  margin-bottom: 25px;
}

/* زرار التسوق */

.hot-deal .cta-btn {
  background-color: var(--kael-gold, #C5A059);
  color: var(--kael-green-dark, #103C2B) !important;
  border-radius: 40px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  border: 2px solid var(--kael-gold, #C5A059);
}

.hot-deal .cta-btn:hover {
  background-color: transparent;
  color: var(--kael-gold, #C5A059) !important;
}

/* تظبيط الموبايل */

@media (max-width: 480px) {
  .hot-deal .hot-deal-countdown li {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  .hot-deal .hot-deal-countdown li h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hot-deal .hot-deal-countdown li span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hot-deal h2 {
    font-size: 24px;
  }
}

/* =========================================================
   تنسيق المنتجات المصغرة (Kael Widgets)
   ========================================================= */

.product-widget {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  direction: rtl;
}

.product-widget .product-img {
  width: 80px;
  flex: 0 0 80px;
  margin-left: 15px;
  border: 1px solid var(--kael-border, #EAE5D9);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-widget .product-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-widget .product-body {
  flex: 1;
  text-align: right;
}

.product-widget .product-body .product-category {
  font-size: 10px;
  color: #8D99AE;
  margin-bottom: 5px;
}

.product-widget .product-body .product-name a {
  font-size: 14px;
  font-weight: 700;
  color: var(--kael-green-dark, #103C2B);
  transition: 0.3s;
}

.product-widget .product-body .product-name a:hover {
  color: var(--kael-gold, #C5A059);
}

.product-widget .product-body .product-price {
  font-size: 16px;
  color: var(--kael-gold, #C5A059);
  font-weight: bold;
  margin-top: 5px;
}

.product-widget .product-body .product-price del {
  color: #8D99AE;
  font-size: 12px;
  font-weight: normal;
  margin-right: 5px;
}

/* تظبيط أسهم التقليب المصغرة الخاصة بالويدجت */

.kael-widget-nav {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}

.kael-widget-nav .slick-arrow {
  width: 25px;
  height: 25px;
  font-size: 12px;
}

.kael-widget-nav .slick-arrow::before {
  font-size: 12px;
}

/* =========================================================
   الفوتر الفاتح والمصغر (Kael Light & Compact Footer)
   ========================================================= */

#footer {
  background-color: var(--kael-cream, #F9F6F0);
  color: var(--kael-green-dark, #103C2B);
  text-align: right;
  border-top: 1px solid #EAE5D9;
  padding-top: 40px;
}

#footer .footer {
  margin: 0 0 30px 0;
}

#footer .footer-title {
  color: var(--kael-green-dark, #103C2B);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

/* لمسة شياكة: خط ذهبي صغير تحت عناوين الفوتر */

#footer .footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--kael-gold, #C5A059);
}

#footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links li {
  margin-bottom: 10px;
}

#footer .footer-links li a {
  color: #555;
  transition: 0.3s;
  text-decoration: none;
  font-size: 14px;
}

#footer .footer-links li a:hover {
  color: var(--kael-gold, #C5A059);
  padding-right: 5px;
}

#footer .footer-links li i {
  color: var(--kael-gold, #C5A059);
  font-size: 14px;
  margin-left: 8px;
}

/* =========================================================
   شريط حقوق الملكية السفلي (ملموم في سطر واحد)
   ========================================================= */

#bottom-footer {
  background-color: #ffffff;
  padding: 15px 0;
  border-top: 1px solid #EAE5D9;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.copyright {
  color: #777;
  font-size: 13px;
  margin: 0;
}

.copyright strong {
  color: var(--kael-green-dark, #103C2B);
}

.footer-payments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.footer-payments li a {
  color: #8D99AE;
  font-size: 24px;
  transition: 0.3s;
}

.footer-payments li a:hover {
  color: var(--kael-gold, #C5A059);
}

/* تظبيط الموبايل عشان ميكلكعوش فوق بعض */

@media (max-width: 767px) {
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .footer-payments {
    justify-content: center;
  }
}

/* =========================================================
   تخصيص شكل سلة Reflow الحقيقية (Kael Dynamic Cart)
   ========================================================= */

/* 1. زرار السلة الأساسي اللي في الهيدر */

.reflow-cart-toggler {
  color: var(--kael-green-dark, #103C2B) !important;
  font-size: 16px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: 0.3s !important;
  background: transparent !important;
  border: none !important;
  padding: 5px 15px !important;
  cursor: pointer !important;
}

.reflow-cart-toggler:hover {
  color: var(--kael-gold, #C5A059) !important;
}

/* 2. رقم العداد (الدائرة اللي بتظهر فوق السلة) */

.reflow-cart-toggler::after {
  content: attr(data-reflow-count) !important;
  background-color: var(--kael-gold, #C5A059) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: bold !important;
  border-radius: 50% !important;
  min-width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: -5px !important;
  right: 0px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* =========================================================
   تظبيط درج السلة المنسدل (Cart Summary Dropdown)
   ========================================================= */

.ref-summary {
  text-align: right !important;
  direction: rtl !important;
  border: 1px solid #EAE5D9 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* رأس الدرج */

.ref-summary-header {
  background-color: var(--kael-cream, #F9F6F0) !important;
  color: var(--kael-green-dark, #103C2B) !important;
  border-bottom: 2px solid var(--kael-gold, #C5A059) !important;
}

.ref-summary-title {
  font-weight: bold !important;
}

/* زرار إتمام الطلب (Checkout) جوه السلة */

.ref-button {
  background-color: var(--kael-gold, #C5A059) !important;
  color: #fff !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  transition: 0.3s !important;
}

.ref-button:hover {
  background-color: var(--kael-green-dark, #103C2B) !important;
  color: var(--kael-gold, #C5A059) !important;
}

/* =========================================================
   أيقونة السلة وتحتها النص (Icon with Text Below)
   ========================================================= */

/* 1. تظبيط الحاوية عشان ترص العناصر تحت بعض */

.reflow-cart-toggler {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--kael-green-dark, #103C2B) !important;
  background: transparent !important;
  border: none !important;
  padding: 5px 10px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: 0.3s !important;
}

/* 2. تظبيط الكلمة والأيقونة مع بعض */

.reflow-cart-toggler > span:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 4px !important;
}

/* 3. الأيقونة (فوق الكلمة) */

.reflow-cart-toggler > span:first-child::before {
  content: "\f07a" !important;
  font-family: "FontAwesome" !important;
  font-size: 22px !important;
  color: var(--kael-green-dark, #103C2B) !important;
  line-height: 1 !important;
  transition: 0.3s !important;
}

/* 4. تأثير الوقوف بالماوس (كله يقلب ذهبي) */

.reflow-cart-toggler:hover, .reflow-cart-toggler:hover > span:first-child {
  color: var(--kael-gold, #C5A059) !important;
}

.reflow-cart-toggler:hover > span:first-child::before {
  color: var(--kael-gold, #C5A059) !important;
}

/* 5. تظبيط مكان عداد الأرقام (عشان يركب على الأيقونة صح) */

.reflow-cart-toggler::after {
  top: 0px !important;
  right: 5px !important;
}

/* =========================================================
   النسخة الآمنة والمحكمة: (منع قص الصور + سحب للموبايل فقط)
   ========================================================= */

/* 1. الحفاظ على الصور كاملة ومحكومة (بدون أي قص أو تكبير زائد) */

.ref-products .ref-media {
  background-color: #ffffff !important;
  height: 250px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
}

.ref-products .ref-media img {
  object-fit: contain !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
}

/* 2. تفعيل السحب (Swipe) على الموبايل فقط (تحت 767 بيكسل) */

@media (max-width: 767px) {
  .ref-products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 15px !important;
    padding-bottom: 20px !important;
    grid-template-columns: none !important;
  }
}

@media (max-width: 767px) {
  .ref-products .ref-product {
    flex: 0 0 75% !important;
    max-width: 75% !important;
    scroll-snap-align: center;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .ref-products::-webkit-scrollbar {
    display: none !important;
  }
}

/* =========================================================
   زرار المفضلة المخصص لكروت Reflow (Kael Wishlist)
   ========================================================= */

/* التأكد إن حاوية الصورة جاهزة يركب عليها الزرار */

.ref-media {
  position: relative !important;
}

/* تصميم زرار القلب */

.kael-wishlist-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15) !important;
  color: #8D99AE !important;
  font-size: 16px !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: 0.3s !important;
}

/* لما العميل يقف عليه بالماوس أو لما يكون المنتج في المفضلة */

.kael-wishlist-btn:hover, .kael-wishlist-btn .active-heart {
  color: var(--kael-gold, #C5A059) !important;
  transform: scale(1.1) !important;
}

/* =========================================================
   تصميم صفحة السلة وإتمام الدفع (Kael Cart & Checkout)
   ========================================================= */

/* 1. تظبيط اتجاه السلة بالكامل لليمين (RTL) */

.ref-cart {
  direction: rtl !important;
  text-align: right !important;
  font-family: 'Tajawal', sans-serif !important;
  margin-top: 40px !important;
  margin-bottom: 60px !important;
}

/* 2. عناوين الجداول (المنتج، السعر، الكمية) */

.ref-cart .ref-th {
  color: var(--kael-green-dark, #103C2B) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  border-bottom: 2px solid var(--kael-gold, #C5A059) !important;
  padding-bottom: 15px !important;
}

/* 3. تنسيق أسماء وأسعار المنتجات جوه السلة */

.ref-cart .ref-product-name {
  color: var(--kael-green-dark, #103C2B) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

.ref-cart .ref-product-name:hover {
  color: var(--kael-gold, #C5A059) !important;
}

.ref-cart .ref-product-price, .ref-cart .ref-product-total {
  color: var(--kael-gold, #C5A059) !important;
  font-weight: bold !important;
  font-size: 16px !important;
}

/* 4. تظبيط صندوق "ملخص الطلب" (Cart Summary) */

.ref-cart .ref-summary {
  background-color: var(--kael-cream, #F9F6F0) !important;
  border: 1px solid var(--kael-border, #EAE5D9) !important;
  border-radius: 12px !important;
  padding: 25px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03) !important;
}

/* سطر الإجمالي (المبلغ النهائي) */

.ref-cart .ref-summary-total {
  color: var(--kael-green-dark, #103C2B) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  border-top: 1px solid var(--kael-border, #EAE5D9) !important;
  padding-top: 20px !important;
  margin-top: 15px !important;
}

/* 5. زرار إتمام الدفع (Checkout Button) - اللمسة السحرية */

.ref-cart .ref-button.ref-checkout {
  background-color: var(--kael-gold, #C5A059) !important;
  color: #ffffff !important;
  border-radius: 40px !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  padding: 15px 0 !important;
  transition: 0.3s !important;
  width: 100% !important;
  border: none !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3) !important;
}

.ref-cart .ref-button.ref-checkout:hover {
  background-color: var(--kael-green-dark, #103C2B) !important;
  color: var(--kael-gold, #C5A059) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 15px rgba(16, 60, 43, 0.2) !important;
}

/* 6. زرار إزالة المنتج من السلة (علامة الـ X) */

.ref-cart .ref-product-remove {
  color: #ff4d4d !important;
  transition: 0.3s !important;
}

.ref-cart .ref-product-remove:hover {
  color: #cc0000 !important;
  transform: scale(1.2) !important;
}

/* =========================================================
   تنسيق شاشة نجاح الطلب (Order Success & WhatsApp Flow)
   ========================================================= */

/* تظبيط شاشة النجاح وتوسيطها */

.ref-checkout-success {
  text-align: center !important;
  direction: rtl !important;
  padding: 40px 20px !important;
  background: var(--kael-white, #fff) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  margin-bottom: 40px !important;
}

/* تلوين رسالة الشكر ورقم الطلب بالذهبي */

.ref-checkout-success .ref-heading {
  color: var(--kael-gold, #C5A059) !important;
  font-weight: 800 !important;
}

.ref-checkout-success .ref-order-id {
  display: inline-block !important;
  background: var(--kael-cream, #F9F6F0) !important;
  color: var(--kael-green-dark, #103C2B) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  font-weight: bold !important;
  margin: 15px 0 !important;
  border: 2px dashed var(--kael-gold, #C5A059) !important;
}

/* إبراز صندوق تعليمات الدفع (الواتساب) بلون مميز */

.ref-checkout-success .ref-instructions {
  background-color: #f0fdf4 !important;
  border: 2px dashed #25D366 !important;
  padding: 20px !important;
  border-radius: 10px !important;
  margin-top: 25px !important;
  color: var(--kael-green-dark, #103C2B) !important;
  font-weight: bold !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

/* إعطاء مساحة مبدئية عشان الصفحة ماتنطش لفوق وتحت أثناء التحميل */

div[data-reflow-type="product"], div[data-reflow-type="product-list"], div[data-reflow-type="shopping-cart"] {
  min-height: 400px;
  animation: kaelFadeIn 0.8s ease-in-out;
}

/* تأثير الظهور الناعم */

@keyframes kaelFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --- Premium Footer Redesign --- */
#premium-footer {
    background-color: #101512;
    color: #e5e5e5;
    padding-top: 60px;
    border-top: 3px solid var(--kael-gold, #C5A059);
}
#premium-footer .footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
#premium-footer .footer-title {
    color: var(--kael-gold, #C5A059);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
#premium-footer .footer-title::after {
    content: " ";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--kael-gold, #C5A059);
}
#premium-footer .footer-links li {
    margin-bottom: 15px;
}
#premium-footer .footer-links a {
    color: #a0a0a0;
    transition: all 0.3s ease;
    text-decoration: none;
}
#premium-footer .footer-links a:hover {
    color: var(--kael-gold, #C5A059);
    padding-right: 5px;
}
#premium-footer .footer-links i {
    color: var(--kael-gold, #C5A059);
    margin-left: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.newsletter-box {
    background: #18201b;
    padding: 30px;
    border-radius: 10px;
    margin-top: -90px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(197, 160, 89, 0.2);
}
.newsletter-box input {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    color: #fff;
    height: 50px;
}
.newsletter-box input:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--kael-gold, #C5A059);
    box-shadow: none;
    color: #fff;
}
.newsletter-box button {
    background: var(--kael-gold, #C5A059);
    color: #fff;
    border: none;
    padding: 0 30px;
    font-weight: bold;
    transition: 0.3s;
}
.newsletter-box button:hover {
    background: #a98341;
    color: #fff;
}
#bottom-premium-footer {
    background-color: #0b0e0c;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid #1a231d;
}
#bottom-premium-footer .copyright {
    margin: 0;
    color: #777;
}
#bottom-premium-footer .footer-payments {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
#bottom-premium-footer .footer-payments li i {
    font-size: 24px;
    color: #555;
    transition: 0.3s;
}
#bottom-premium-footer .footer-payments li i:hover {
    color: var(--kael-gold, #C5A059);
}

/* =========================================
   SEASONAL THEME: WORLD CUP 2026
   ========================================= */

.theme-wc2026 #top-header {
    background: linear-gradient(135deg, #18032e 0%, #0d011a 100%);
    border-bottom: 1px solid rgba(200, 255, 0, 0.3);
}

.theme-wc2026 #top-header .header-links li,
.theme-wc2026 #top-header .header-links li a {
    color: #e0e0e0;
}

.theme-wc2026 #top-header .header-links li i {
    color: #c8ff00; /* WC2026 Neon Green */
}

.theme-wc2026 #header {
    background-image: url('../img/wc2026-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 2px solid #c8ff00;
    position: relative;
    z-index: 1;
}

.theme-wc2026 #header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 1, 26, 0.7); /* Dark overlay to keep text readable */
    z-index: -1;
}

.theme-wc2026 #header .header-ctn > div {
    background: rgba(13, 1, 26, 0.85); /* Dark background to contrast with the bright WC banner */
    border: 2px solid #c8ff00; /* Neon yellow-green border for the WC theme */
    border-radius: 12px;
    padding: 5px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    transition: 0.3s;
}

.theme-wc2026 #header .header-ctn > div:hover {
    background: rgba(13, 1, 26, 1);
    box-shadow: 0 0 15px #c8ff00;
}

.theme-wc2026 #header .header-ctn > div > a,
.theme-wc2026 #header .header-ctn > div .reflow-cart-icon,
.theme-wc2026 #header .header-ctn > div span {
    color: #fff !important;
}

.theme-wc2026 #header .header-ctn > div > a:hover,
.theme-wc2026 #header .header-ctn > div > a:hover span {
    color: #c8ff00 !important;
}

.theme-wc2026 #navigation {
    background: #0d011a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(200, 255, 0, 0.2);
}

.theme-wc2026 .main-nav > li > a {
    color: #fff;
}

.theme-wc2026 .main-nav > li > a:hover,
.theme-wc2026 .main-nav > li.active > a {
    color: #c8ff00 !important;
    background-color: transparent !important;
}

.theme-wc2026 .main-nav > li > a::after {
    background-color: #c8ff00;
}

.theme-wc2026 .search-btn {
    background: #c8ff00 !important;
    color: #18032e !important;
    border-color: #c8ff00 !important;
}
.theme-wc2026 .search-btn:hover {
    background: #a3cc00 !important;
}

/* WC2026 Badge/Logo decoration */
.theme-wc2026 #header::before {
    content: '🏆 كأس العالم 2026';
    position: absolute;
    top: 5px;
    right: 20px;
    color: #c8ff00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: wcPulse 2s infinite;
}

@keyframes wcPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; text-shadow: 0 0 10px #c8ff00; }
    100% { opacity: 0.5; }
}

/* =========================================
   FOOTER SOCIAL MEDIA BAR (ALL PAGES)
   ========================================= */

.kael-footer-social-wrap {
    margin-top: 22px;
}

.kael-footer-social-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--kael-gold, #C5A059);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.kael-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.kael-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #f3efe6;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.28s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.kael-footer-social a i {
    margin: 0 !important;
    width: auto !important;
    line-height: 1;
}

.kael-footer-social a:hover {
    transform: translateY(-4px) scale(1.06);
    color: #fff !important;
    border-color: transparent;
}

.kael-footer-social a.social-fb:hover {
    background: #1877F2;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45);
}

.kael-footer-social a.social-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
}

.kael-footer-social a.social-wa:hover {
    background: #25D366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.kael-footer-social a.social-tk:hover {
    background: #111111;
    border-color: #25F4EE;
    box-shadow: 0 6px 18px rgba(254, 44, 85, 0.4);
}

.kael-footer-social a.social-links-page {
    width: auto;
    padding: 0 14px;
    border-radius: 20px;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--kael-gold, #C5A059);
    background: rgba(197, 160, 89, 0.1);
}

.kael-footer-social a.social-links-page:hover {
    background: linear-gradient(135deg, #C5A059, #a98341);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4);
}

/* Light footer variant (if #footer is used) */
#footer .kael-footer-social a {
    background: #ffffff;
    color: var(--kael-green-dark, #103C2B);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.theme-wc2026 #premium-footer .kael-footer-social a {
    border-color: rgba(200, 255, 0, 0.45);
}

@media (max-width: 575px) {
    .kael-footer-social {
        gap: 8px;
    }
}


