/* Add custom CSS styles below */ 
:root {
    --first-color: #d7caac;
    --second-color:#9f8139;
    --third-color:#000;
    --white-color: #ff;
    --logo:  url(https://cdn.salla.sa/QdaOWz/Q5QzP4kmrhzIbowkHqHXlhIXAYpSRB6ygerCJnls.png);
}
/* Body */


body:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background:  var(--logo);

    -webkit-backdrop-filter: blur(10px);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation-name: fade-in;
    animation-duration: 1.5s;
    transform: scale(0);
    border: none;
}
@media (max-width: 768px) {
  body:after {
        background-size: contain; /* Change to 'contain' for smaller screens */
       
    }
}

@keyframes fade-in {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(.1);
    }
}
body{
font-family:cairo;

}
body {
  background: #fff;
  background-color:var(--third-color);

background-repeat: no-repeat;
background-size:cover !important;
background-position:center;
width:100%;
height:100%;
background-attachment:fixed;
margin:0;
padding:0;}

.top-navbar .s-search-input {
  
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.bg-inherit {
    background-image: linear-gradient(to left, var(--third-color),var(--third-color));
}
#mainnav{
background-color: var(--third-color);
}
.sicon-user-circle {
    content: "\f072";
   
    border: none
}

.sicon-user-circle:hover {
    content: "\f072";
    color: var(--second-color)
}

.header-btn__icon.icon:where([dir=rtl],[dir=rtl] *) {
    margin-left: 9px;
    margin-right: 0;
    margin-right: initial;
    
    border: none
}

.header-btn__icon.icon:hover {
    margin-left: 9px;
    margin-right: 0;
    margin-right: initial;
    color: var(--second-color)!important
}

.sicon-shopping-bag:before {
    content: "\e901";
    text-align: center
}

.sicon-user-circle:before {
    content: "\f077";
    text-align: center
}

i.text-base.sicon-shopping-bag:before {
    content: "\ea6e";
    text-align: center
}

.s-cart-summary-total {
    font-weight: 600;
    --tw-text-opacity: 1;
    color: #000;
    color: rgba(0,0,0,var(--tw-text-opacity));
    
}
.s-cart-summary-total:hover {
 color:var(--second-color);
}
.s-cart-summary-total > i:nth-child(1):hover {
 color:var(--second-color);
}

.sicon-menu {
    content: "\ed7f";
   
}

.sicon-menu:hover {
    content: "\ed7f";
   color:var(--second-color);
}



}
.text-primary {
 color:var(--first-color);
}
/* الرمز السعودي و علامة المنيو و القلب */
[class^="sicon-"] {color: var(--first-color);}
/* الرمز السعودي */
.s-cart-summary-total > i:nth-child(1){
color: var(--first-color);

}

 
.header-btn__icon { color:var(--first-color);}
.s-cart-summary-total
{
color:var(--first-color);
}
#mobile-menu{
color:var(--first-color);

}@media (max-width: 1024px) {
  #mobile-menu {
    background-image: linear-gradient(to left, var(--third-color),var(--third-color));
  }
}
.navbar-brand img:hover {
    -webkit-animation: blink-1 .6s both;
    animation: blink-1 .6s both
}

@-webkit-keyframes blink-1 {
    0%,50%,100% {
        opacity: 1
    }

    25%,75% {
        opacity: 0
    }
}

@keyframes blink-1 {
    0%,50%,100% {
        opacity: 1
    }

    25%,75% {
        opacity: 0
    }
}




nav[data-mm-spn-title="القائمة الرئيسية"]::after {
color:#000000;
}


.banner--fixed img{background-color: transparent;
}
section.s-block {
  opacity: 0;                   
  transform: translateY(30px);  
  transition: opacity 0.6s, transform 0.6s;  
}

section.s-block.show {
  opacity: 1;                   
  transform: translateY(0);      
}

section.s-block {
  transition: opacity 0.6s, transform 0.6s;
}
section.s-block:not(.show) {
  opacity: 0;
  transform: translateY(30px);
}
.banner-entry {
background-color: transparent;
}
/* card---------------------- */ 

/* General start */




section:nth-child(5) img{
transform: translatey(0px);
	animation: float 6s ease-in-out infinite;
}
@keyframes float {
	0% {
		
		transform: translatey(0px);
	}
	50% {
		
		transform: translatey(-20px);
	}
	100% {
		
		transform: translatey(0px);
	}
}


.product__description a {
    --tw-text-opacity: 1;
    color: #1d4ed8;
    color: rgba(29,78,216,var(--tw-text-opacity));
    color: var(--white-color)
}



.s-block--photos-slider {
    margin-top: 0!important
}

.swiper {
    padding-left: 0!important
}

salla-slider.photos-slider .swiper-slide {
    position: relative;
    margin-top: -5px;
    margin-left: 1.1rem;
    margin-right: 10px;
    height: auto;
    width: 102%;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0
}

@media(max-width: 1024px) {
    salla-slider.photos-slider .swiper-slide {
        position:relative;
        margin-top: -5px;
        margin-left: 1.1rem;
        margin-right: 2px;
        height: auto;
        width: 107%;
        overflow: hidden;
        padding-left: 0;
        padding-right: 0
    }
}

.s-social-share-btn span svg {
    height: 1rem;
    width: 1rem;
    color: var(--first-color)
}



.s-products-slider-card {

width:70%;
padding-bottom:20px;
margin-right:10px;
margin-left:10px;
}
.s-product-card-vertical {
  flex-direction: column;
  background: none;
  border: 3px solid var(--first-color);
  padding: 8px;
}
.s-product-card-vertical {
width:90%
}
.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
.s-product-card-content {


   border-bottom-left-radius: 15px; 
   border-bottom-right-radius: 15px;
   padding: .75rem .75rem;
   
   align-items: center; }
.s-product-card-content-sub {
 
  margin-bottom: 1.25rem;
  display: flex;
  width: 100%;
  align-items: center;
  }
  .s-product-card-entry {

  }
@media (max-width: 480px) {
  .s-products-slider-card {

width:80%;

padding-bottom:20px;
margin-right:10px;
margin-left:10px;
}
.s-product-card-vertical {
width:90%;

}
}


button.s-slider-next.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock {
    opacity: 0
}

button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock {
    opacity: 0
}



.s-button-primary-outline {

  color: var(--second-color);
 
}



.s-product-card-content-title a {
color:var(--first-color);
}

.s-product-card-price {
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
   background-color: var(--first-color) !important;
  padding: 10px;
  border-radius: 14%;
  color: white;
}
.s-product-card-vertical .s-product-card-wishlist-btn button {
  --tw-bg-opacity: 1 !important;
  background-color: var(--third-color) !important;
}
.s-product-card-content-sub {
.sicon-sar::before {
  color: var(--third-color) !important;
}}
.s-product-card-vertical .s-product-card-image {
    flex: 1 1 0%;
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
    background: unset
}



.s-product-card-entry {
    transition: transform .2s ease-in-out
}

.s-product-card-entry:hover {
   /* transform: scale(1.03)*/
}



button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center:hover {
    width: 140px
}

.s-product-card-image-cover {
    -o-object-fit: cover;
    object-fit: fill
}

.store-footer {
   
    font-size: 14px;
    text-align: center;
}
.store-footer__inner .flex {

    justify-content: center;
}
.store-footer__inner .max-w-sm {
    margin: auto;
}
.footer-is-light .store-footer {
 /*outer footer*/
  background-color: var(--third-color);  
 }

.footer-is-light .store-footer .store-footer__inner {
border-radius: 16px;
 background-color:var(--third-color);  
 /* Using direct hex color code */
color: var(--second-color);
}
.store-footer h3:hover {
    color: var(--second-color);
    opacity: 1;
    coursor: pointer;
}
.store-footer__inner {
    text-align: center;
}
.s-contacts-list-vertical {
 justify-content: center;
  text-align: center;
}
 .bg-white {
  background-color:var(--white-color);
  position:relative!important;
  box-shadow:none!important;
}
 .main-nav-container {
  min-height: 0;
}
.store-footer h3 {
  
  color: var(--third-color);
}
.store-footer::after {
    content: "برمجة وتطوير \00a0 \00a0 ADFAZ";
    top: 0;
    color: var(--first-color)!important;
    font-size: 16px;
    opacity: .8;
    text-align: center;
    font-family: 'Marhey';
    font-weight: 700;
    width: 100%;
    display: inline-block;
   
    
}

/*-----------------------------------*/
.footer-is-light .store-footer .store-footer__inner:before {
    content: "";
    display: block;
    height: 90px;
    width: 90px;
    background-image: var(--logo);

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 1rem; 
    

}



.footer-is-light .store-footer .store-footer__inner {
    padding: 20px;
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
}


.s-contacts-list {
    display: flex;
    gap: 1rem;
    align-items: center;
}


@media (min-width: 1280px) {
  .container {
    max-width: 100% !important;
  }
}








.main-content > div:nth-child(2) > div:nth-child(2) > h2:nth-child(1) > i:nth-child(1) , .starting-or-normal-price > h2:nth-child(1) > i:nth-child(1){color:var(--first-color);}

a.flex{

display:none!important;
}



section.s-block:nth-child(6) > div:nth-child(1) > a:nth-child(1),
section.s-block:nth-child(6) > div:nth-child(1) > a:nth-child(2),
section.s-block:nth-child(7) > div:nth-child(1) > a:nth-child(1),
section.s-block:nth-child(7) > div:nth-child(1) > a:nth-child(2),
section.s-block:nth-child(10) > div:nth-child(1) > a:nth-child(1),
section.s-block:nth-child(10) > div:nth-child(1) > a:nth-child(2) {
  transition: all 0.3s ease;
  transform: scale(1) ;
  box-shadow: 0 0 0 transparent;
}


section.s-block:nth-child(6) > div:nth-child(1) > a:nth-child(1):hover,
section.s-block:nth-child(6) > div:nth-child(1) > a:nth-child(2):hover,
section.s-block:nth-child(7) > div:nth-child(1) > a:nth-child(1):hover,
section.s-block:nth-child(7) > div:nth-child(1) > a:nth-child(2):hover,
section.s-block:nth-child(10) > div:nth-child(1) > a:nth-child(1):hover,
section.s-block:nth-child(10) > div:nth-child(1) > a:nth-child(2):hover,
section.s-block:nth-child(6) > div:nth-child(1) > a:nth-child(1):active,
section.s-block:nth-child(6) > div:nth-child(1) > a:nth-child(2):active,
section.s-block:nth-child(7) > div:nth-child(1) > a:nth-child(1):active,
section.s-block:nth-child(7) > div:nth-child(1) > a:nth-child(2):active,
section.s-block:nth-child(10) > div:nth-child(1) > a:nth-child(1):active,
section.s-block:nth-child(10) > div:nth-child(1) > a:nth-child(2):active {
  transform: scale(1.05) ;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}


.s-product-card-entry:hover,
.s-product-card-entry:active {
  animation: shake 0.4s ease;
}


.store-footer .store-footer__inner::before {
    content: '';
    display: block;
    width: 200px;
    height: 100px;
   
    background-size: contain;
    position: relative;
    animation: splitAndMerge 2s ease-in-out infinite;
}


@keyframes splitAndMerge {
    0% {
        transform: translateX(0); 
    }
    25% {
        transform: translateX(-50%); 
    }
    50% {
        transform: translateX(50%); 
    }
    75% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0); 
    }
}


.inner {
    box-shadow: 0 6px 12px #333333; /* ظل صريح بدون شفافية */
    border-radius: 12px;


}

.s-block--tabs-produtcs .tab-trigger.is-active button {
  border-color:
var(--first-color);
 
 background-image: linear-gradient(to left, var(--second-color),var(--first-color));
  
  color: var(--third-color);
}
section.s-block{
 background-color: transparent;

}

.store-footer h3 {
    margin-bottom: .75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    background: var(--first-color);
    padding: 5px;
    border-radius: 8%;
    text-align: center;
}
.s-contacts-icon:where([dir=rtl],[dir=rtl] *) {
    margin-left: .625rem;
    color: var(--second-color);
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
display:none!important;
}


.footer-is-light .store-footer .store-footer__inner:before {
   
    animation: sigal 1200ms linear infinite;
}

/* ------------------------ */

.footer-is-light .store-footer .store-footer__inner:before {
   
    animation: sigal 1200ms linear infinite;
}

@keyframes sigal {
    0% {
        filter: drop-shadow(2px 4px 6px #504d46)
    }

    100% {
        filter: none;
    }
}

/*----------------------------------------*/
@media (max-width: 480px) {
  .md\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
   .banner-entry {
  width: 180px;
  height: 180px;
  margin:auto;
}
  .gap-3 {
  gap: 1rem;
}
}
@media (min-width:480px) and (max-width: 650px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .banner-entry {
  width: 200px;
  height: 200px;
  margin:auto;
}
.gap-3 {
  gap: 1rem;
}
}
@media (min-width:650px) and (max-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .banner-entry {
  height: 260px;
  width: 260px;
  margin:auto;
}
 .gap-3 {
  gap: 1rem;
}
}
@media (min-width: 769px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
    .banner-entry {
  height: 305px;
  width: 305px;
  margin:auto;
}
 .gap-3 {
  gap: 1rem;
}
}
@media (min-width: 1024px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } 
    .banner-entry {
  height: 380px;
  width: 320px;
  margin:auto;
}
 .gap-3 {
  gap: 1rem;
}
  .s-products-slider-card {
    width: 100%;
    max-width: 320px;
  }
}

.lazy__bg {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-size: contain!important;
  background-position: center;
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  background-repeat: no-repeat;
}

#offers{
display:none !important;
}


body{
font-family:cairo;
color: #fff!important;
}
.text-gray-800 , .text-gray-900  {
 color:#fff;
 }
 
 .s-quantity-input-input{
 color:black!important;
 }
 
 
/* ==========================================================
/* ===== مساعد ذكي بصورة AI معدنية مع حركات النوم =====
/* ==========================================================

/* --- 1. تصميم المساعد الذكي (موضع أسفل يسار) --- */
#assistant-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  perspective: 800px;
}

#assistant-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  transform-origin: center center;
  position: relative;
  /* حركة التنفس الهادئة */
  animation: gentleFloat 3s ease-in-out infinite;
}

#assistant-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  filter: drop-shadow(0 4px 12px rgba(0, 255, 255, 0.3));
}

/* حالة النوم - حركة هادئة */
#assistant-icon.sleeping {
  animation: sleepingFloat 4s ease-in-out infinite;
}

#assistant-icon.sleeping img {
  filter: drop-shadow(0 2px 8px rgba(0, 255, 255, 0.1));
  transform: scale(0.95);
}

/* حالة الاستيقاظ - حركة سريعة ومفاجئة */
#assistant-icon.waking-up {
  animation: wakeUpShake 0.5s ease-out;
}

#assistant-icon.waking-up img {
  filter: drop-shadow(0 6px 20px rgba(0, 255, 255, 0.6));
  transform: scale(1.1);
}

/* حالة دخول قسم جديد - حركة هز */
#assistant-icon.section-entry-shake {
  animation: sectionEntryShake 1s ease-in-out;
}

/* تأثير المرور بالماوس */
#assistant-icon:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

#assistant-icon:hover img {
  filter: drop-shadow(0 6px 16px rgba(0, 255, 255, 0.5));
}

/* --- إشعار دخول القسم (تم التعديل) --- */
.section-notification {
  position: absolute;
  /* يظهر فوق الأيقونة مباشرة */
  bottom: 100%; 
  left: 150%;

  margin-bottom: 10px; /* مسافة بين الإشعار والأيقونة */
  z-index: 1001;
  animation: notificationSlide 3s ease-in-out;
  width: max-content; /* يضمن أن العرض مناسب للمحتوى */
  max-width: 250px; /* يمنع الإشعار من أن يصبح عريضاً جداً */
}

.notification-content {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.9), rgba(74, 44, 42, 0.9));
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.notification-icon {
  margin-left: 5px;
  font-size: 14px;
}

/* --- 2. قائمة المساعد --- */
#assistant-menu {
  position: absolute;
  bottom: 80px;
  left: 0;
  transform: translateY(20px) scale(0.9);
  background-color: rgba(245, 240, 233, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  transform-origin: bottom left;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#assistant-menu.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* --- زر الإغلاق (X) --- */
#close-assistant-menu {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #00ffff;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: bold;
}

#close-assistant-menu:hover { 
  transform: scale(1.2) rotate(90deg);
  color: #ff6b6b;
}

/* --- تصميم محتوى القائمة --- */
#assistant-menu .menu-header { 
  padding: 15px 20px; 
  font-weight: bold; 
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(74, 44, 42, 0.2));
  color: #4a2c2a; 
  font-size: 16px; 
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  text-align: center; 
  border-radius: 13px 13px 0 0;
}

#assistant-menu .menu-section { 
  padding: 12px 20px; 
  border-bottom: 1px solid rgba(224, 216, 206, 0.5);
}

#assistant-menu .menu-section:last-child { 
  border-bottom: none; 
}

#assistant-menu .menu-section-title { 
  display: block; 
  font-size: 13px; 
  font-weight: bold; 
  color: #00cccc; 
  margin-bottom: 10px; 
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#assistant-menu .menu-section-title em { 
  color: #4a2c2a; 
  font-style: normal; 
  background: linear-gradient(45deg, #00ffff, #4a2c2a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- روابط القائمة --- */
#assistant-menu a { 
  display: block; 
  padding: 12px 15px; 
  color: #4a2c2a; 
  text-decoration: none; 
  font-family: 'Cairo', sans-serif; 
  border-radius: 8px;
  margin: 5px 0;
  transition: all 0.3s ease;
  font-size: 14px; 
  position: relative;
  overflow: hidden;
}

#assistant-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

#assistant-menu a:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateX(5px);
  color: #2c1a18;
}

#assistant-menu a:hover::before {
  left: 100%;
}

/* --- قائمة التوصيات --- */
.recommendations-list, .recent-products-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.recommendation-link, .recent-product-link { 
  padding: 10px 15px !important; 
  font-size: 13px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.recommendation-link:hover, .recent-product-link:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

/* --- رابط العروض --- */
.offers-link {
  background: linear-gradient(135deg, #ff6b6b, #ffa500) !important;
  color: white !important;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.offers-link:hover {
  background: linear-gradient(135deg, #ff5252, #ff9800) !important;
  transform: translateX(5px) scale(1.02);
}

/* --- زر التواصل مع الدعم الفني --- */
.contact-support-btn {
  background: none !important;
  border: none !important;
  color: #4a2c2a !important;
  cursor: pointer !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  width: 100% !important;
  text-align: right !important;
  padding: 12px 15px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: block !important;
  margin: 5px 0 !important;
}

.contact-support-btn:hover {
  background: rgba(0, 255, 255, 0.1) !important;
  transform: translateX(5px) !important;
  color: #2c1a18 !important;
}

#assistant-menu .no-personalization p { 
  font-size: 13px; 
  color: #666; 
  text-align: center; 
  line-height: 1.6; 
  margin: 0; 
  padding: 15px 10px; 
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border: 1px dashed rgba(0, 255, 255, 0.3);
}

/* =================================================
/* ===== حركات الكيفريم (Keyframes) =====
/* =================================================

/* حركة التنفس العادية */
@keyframes gentleFloat {
  0%, 100% { 
    transform: translateY(0) scale(1); 
  }
  50% { 
    transform: translateY(-3px) scale(1.02); 
  }
}

/* حركة النوم الهادئة */
@keyframes sleepingFloat {
  0%, 100% { 
    transform: translateY(0) scale(0.95); 
  }
  50% { 
    transform: translateY(-2px) scale(0.97); 
  }
}

/* حركة الاستيقاظ المفاجئة */
@keyframes wakeUpShake {
  0% { 
    transform: scale(0.95); 
  }
  25% { 
    transform: scale(1.1) rotate(-2deg); 
  }
  50% { 
    transform: scale(1.05) rotate(2deg); 
  }
  75% { 
    transform: scale(1.08) rotate(-1deg); 
  }
  100% { 
    transform: scale(1) rotate(0deg); 
  }
}

/* حركة هز دخول القسم */
@keyframes sectionEntryShake {
  0%, 100% { 
    transform: translateX(0) scale(1); 
  }
  10%, 30%, 50%, 70%, 90% { 
    transform: translateX(-3px) scale(1.05); 
  }
  20%, 40%, 60%, 80% { 
    transform: translateX(3px) scale(1.05); 
  }
}

/* حركة الإشعار */
@keyframes notificationSlide {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.8);
  }
}

/* =================================================
/* ===== النافذة المنبثقة مع تحسينات =====
/* =================================================*/

.popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  padding: 15px;
  box-sizing: border-box;
  animation: fadeIn 0.4s ease forwards;
  backdrop-filter: blur(5px);
}

.popup-content {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  font-family: 'Cairo', sans-serif;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 255, 255, 0.2);
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  color:#000;
}

/* --- تصميم النموذج --- */
#contact-form input, #contact-form textarea { 
  width: 100%; 
  padding: 15px; 
  margin-bottom: 15px; 
  border: 2px solid #e1e8ed; 
  border-radius: 12px; 
  font-family: 'Cairo', sans-serif; 
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #000; /* لون الخط أسود */
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #777; /* لون الـ placeholder رمادي */
}

#contact-form input:focus, #contact-form textarea:focus {
  outline: none;
  border-color: #00cccc;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
  transform: translateY(-1px);
}

#contact-form button[type="submit"] { 
  width: 100%; 
  padding: 15px; 
  border: none; 
  border-radius: 12px; 
  background: linear-gradient(135deg, #4a2c2a, #6d4c47);
  color: white; 
  font-size: 16px; 
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#contact-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #5d3632, #7a5651);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 44, 42, 0.3);
}

/* --- زر واتساب --- */
.whatsapp-button { 
  display: inline-block; 
  padding: 15px 30px; 
  background: linear-gradient(135deg, #25D366, #22c55e);
  color: white; 
  text-decoration: none; 
  border-radius: 25px; 
  font-weight: bold; 
  font-family: 'Cairo', sans-serif; 
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* =================================================
/* ===== حركات النافذة المنبثقة =====
/* =================================================*/

@keyframes fadeIn {
  from { 
    background: rgba(0, 0, 0, 0); 
  }
  to { 
    background: rgba(0, 0, 0, 0.4); 
  }
}

@keyframes popIn {
  from { 
    transform: scale(0.8) translateY(20px); 
    opacity: 0; 
  }
  to { 
    transform: scale(1) translateY(0); 
    opacity: 1; 
  }
}

.popup-wrapper.closing .popup-content {
  animation: popOut 0.3s ease-out forwards;
}

@keyframes popOut {
  from { 
    transform: scale(1) translateY(0); 
    opacity: 1; 
  }
  to { 
    transform: scale(0.8) translateY(20px); 
    opacity: 0; 
  }
}

/* =================================================
/* ===== استجابة للشاشات الصغيرة =====
/* =================================================*/

@media (max-width: 768px) {
  #assistant-container {
    bottom: 15px;
    left: 15px;
  }
  
  #assistant-icon {
    width: 60px;
    height: 60px;
  }
  
  #assistant-menu {
    width: 280px;
    max-height: 350px;
    bottom: 70px;
  }
  
  .popup-content {
    margin: 10px;
    padding: 25px 20px;
  }
  
  .section-notification {
    bottom: 95%; /* تعديل طفيف للشاشات الصغيرة */
  }
  
  .notification-content {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  #assistant-menu {
    width: calc(100vw - 100px); /* تعديل العرض ليناسب الشاشات الصغيرة جداً */
    left: 0;
  }
  
  #assistant-icon {
    width: 55px;
    height: 55px;
  }
}


/----- start sidebar -----/

@media only screen and (max-width: 1024px) {
	.mm-spn.mm-spn--navbar.mm-spn--main:where([dir=rtl], [dir=rtl] *):after {
		padding-right: .75rem;
		color: var(--third-color);
	}
}

.mm-spn.mm-spn--navbar ul {
	top: calc(50px + 1px);
	top: calc(var(--mm-spn-item-height) + 1px);
	color: var(--white-color);
	background: none;
}

@media only screen and (max-width: 1024px) {
	.mm-spn li a span:hover {
		padding: 0;
		color: var(--second-color);
		background: none;

	}
}

[dir=rtl] .mm-spn.mm-spn--navbar.mm-spn--main:after {
	padding-right: 0.75rem;
	content: "";
	background: none;
	text-align: center !important;
	display: block;
	height: 90px !important;
  background-image:url(https://i.postimg.cc/QdNTNcBG/Artboard-18.png)!important;

	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: top center !important;
	margin: 30px 50px 11px 50px;
	background: white;
	border-radius: 90px;
}

/* Navbar Menu Adjustments */
@media (max-width: 650px) {
	ul.main-menu.mm-spn--open {
		margin-top: 100px;
		background: none;
	}
}

.mm-spn.mm-spn--navbar ul::before {
	content: "";
	display: block;
	position: fixed;
	z-index: 2;
	width: 100%;
	opacity: 0;
}

/* Content Styling */
.mm-ocd__content {
	background: #d2ddebb8;
}

@media only screen and (max-width: 1024px) {
	.mm-ocd__content {
		overflow-y: auto;
		min-width: 100% !important;
	}

	

	.mm-spn li a span {
		padding: 0;
		font-size: 15px;
		text-shadow: 3px 3px 5px #97aac2;
	}

	


}
section.s-block:nth-child(n+6):nth-child(-n+9) {
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 0 0 transparent;
}

section.s-block:nth-child(n+6):nth-child(-n+9):hover,
section.s-block:nth-child(n+6):nth-child(-n+9):active {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}