/* إعادة ضبط شاملة لثيم رايد - الهوية الملكية الكاملة
   الألوان الجديدة: البني الذهبي (#6C5B39) والأبيض (#FFFFFF)
*/

/* 1. ضبط المتغيرات الأساسية للمنصة بالكامل */
:root {
  --color-primary: #6C5B39 !important;
  --color-primary-dark: #54462c !important;
  --color-primary-reverse: #FFFFFF !important;
  --main-color: #6C5B39 !important;
  --secondary-color: #FFFFFF !important;
}

/* 2. قسم الهيدر والقائمة العلوية (Header Section) */
div#mainnav {
  background-color: #6C5B39 !important; 
  border-bottom: 2px solid #54462c !important; 
}

header, .main-nav-container, .top-header {
  border-bottom: 1px solid #54462c !important; 
}

.main-menu li.root-level > a, .main-menu li > a {
  color: #FFFFFF !important; 
  font-weight: bold !important;
}

.main-menu li.root-level > a:hover {
  color: var(--color-primary-reverse) !important;
}

/* أيقونات المستخدم والسلة في الهيدر */
i.header-btn__icon.sicon-user-circle, 
i.header-btn__icon.sicon-shopping-bag,
.header-btn__icon {
  background-color: #FFFFFF !important; 
  color: #6C5B39 !important; 
  border: none !important;
  border-radius: 8px !important;
}

.s-cart-summary-count {
  background-color: var(--color-primary-reverse) !important;
  color: var(--color-primary) !important;
}

/* 3. العناوين (Titles Style) */
.s-block__title h2, 
.s-slider-block__title h2, 
.s-block-header h2,
h2.text-lg, 
.title-main {
  background: linear-gradient(90deg, #6C5B39 0%, #54462c 100%) !important;
  color: #FFFFFF !important;
  padding: 12px 25px !important;
  border-radius: 5px 25px !important;
  border-right: 4px solid #FFFFFF !important; 
  display: inline-block !important;
}

/* 4. قسم المميزات/المخيمات (Features Section) - ترتيب أفقي وأيقونات باللون الأبيض */
.s-block--features {
  background-color: transparent !important; 
  padding: 20px 0 !important;
  margin: 0 !important;
}

.s-block--features .grid {
  background: linear-gradient(135deg, #6C5B39 0%, #54462c 100%) !important;
  border-radius: 3rem !important;
  border: 1px solid #54462c !important; 
  border-right: 10px solid #FFFFFF !important; 
  padding: 25px 15px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  
  display: flex !important;
  flex-direction: row !important; 
  justify-content: space-around !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}

.s-block--features__item {
  background-color: transparent !important; 
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  flex: 1 !important;
}

.s-block--features__item h2 {
  color: #FFFFFF !important; 
  font-weight: bold !important;
  font-size: 1rem !important;
  margin-top: 10px !important;
  width: 100% !important;
}

/* أيقونات المميزات - تحويل الفلتر للون الأبيض الصريح */
i.sicon-store2, i.sicon-shipping-fast, i.sicon-fire {
  filter: brightness(0) invert(1) !important;
  width: 2.2rem !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

i.sicon-store2 { content: url(https://i.ibb.co/ZMVgXQ4/100.png) !important; }
i.sicon-shipping-fast { content: url(https://i.ibb.co/42FcRvm/Untitled-2.png) !important; }
i.sicon-fire { content: url(https://i.ibb.co/PgZLm56/image.png) !important; }

.s-block--features__item p {
  display: none !important;
}

/* 5. بطاقة المنتج والأزرار */
.s-product-card-promotion-title {
  background: #FFFFFF !important;
  color: #6C5B39 !important;
}

.s-button-element {
  background-color: #6C5B39 !important;
  color: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
}

/* 6. المفوتر (Footer Section) */
footer.store-footer {
  background-color: #000 !important; 
}

.store-footer__inner {
  background-color: #6C5B39 !important; 
  padding-inline: 30px !important;
  border-top: 5px solid #FFFFFF !important; 
}

.store-footer h3, 
.store-footer .footer-title,
.store-footer a, 
.store-footer p,
.store-footer span,
.store-footer .contact-item {
  color: #FFFFFF !important;
}

.social-link {
  background-color: #FFFFFF !important; 
  color: #6C5B39 !important;
  border-radius: 8px !important;
}

/* 7. سكرول بار */
::-webkit-scrollbar-thumb {
  background: #FFFFFF !important;
}

/* تنسيقات الجوال */
@media (max-width: 768px) {
  .s-block--features .grid {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .s-block--features__item {
    min-width: 30% !important;
  }
  .store-footer__inner * {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* تنسيق زر "أضف للسلة" أو الأزرار العريضة */
.s-button-wide {
    width: 100%;
    border-radius: 15px;
    background-color: #6C5B39 !important;
    color: #FFFFFF !important;
    position: relative;
    overflow: hidden;
}

/* 1. ربط الحركة بالشعار */
.navbar-brand {
    animation: heartbeat 2.5s ease-in-out infinite both;
}

/* 2. تفاصيل حركة التكبير والتصغير (النبض) */
@keyframes heartbeat {
    0% { transform: scale(1); animation-timing-function: ease-out; }
    10% { transform: scale(0.91); animation-timing-function: ease-in; }
    17% { transform: scale(0.98); animation-timing-function: ease-out; }
    33% { transform: scale(0.87); animation-timing-function: ease-in; }
    45% { transform: scale(1); animation-timing-function: ease-out; }
}

/* 3. ضبط حجم الشعار على الجوال */
@media only screen and (max-width: 700px) {
    .navbar-brand { width: 20vw; }
}

/* 1. تأثير اللمعان للأزرار */
.s-button-wide::after {
    content: "";
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    animation: smooth-shine 3s infinite;
}

/* 2. تأثير اللمعان للعناوين */
.s-block__title h2, .s-slider-block__title h2 {
    position: relative;
    overflow: hidden;
}

.s-block__title h2::after, .s-slider-block__title h2::after {
    content: "";
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    animation: smooth-shine 4s infinite;
}

@keyframes smooth-shine {
    0% { left: -100%; }
    30% { left: 100%; }
    100% { left: 100%; }
.go-electric{
  position: fixed;
  right: 15px;
  bottom: 120px;
  background: #8B5E3C;
  color: white;
  padding: 12px 16px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  z-index: 999999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: inline-block;
}