/* Add custom CSS styles below */ 
body {
   background:#fff !important;
}

.main-menu>li>a[href*=offer] {
    color: rgb(77 194 71) !important;
}
.s-block--features__item{
background: #f3f4f682 !important;
}

.s-block--features__item .feature-icon {
    height: 6rem;
    width: 6rem;
    border-radius: 15px;
    background:#00bf63 !important;
}
.s-block--features__item .feature-icon i{
color:#fff ;
}

.s-block--features__item h2 {
margin-top:10px;
font-size:16px;
color:#00bf63 !important;
}

.banner--fixed img{
 background:#fff !important;
}
.s-product-card-entry {
background: #f3f4f682 !important;
border-radius:30px;
overflow:hidden;

}
.s-button-btn {
background:#00bf63 !important;
color:#fff;
}

.s-contacts-icon , .s-social-link{
background:#fff !important;
border:none;
border-radius:50%;


}
.s-contacts-icon svg  , .s-social-link a svg{
fill:#00bf63;
}


.s-block__display-all{
background:#00bf63!important;
color:#fff;
padding:8px 15px;
border-radius:10px;
}



.footer-is-light .store-footer .store-footer__inner {
    border: none;
    background-image: url(https://i.postimg.cc/FsVsYTGb/20.png);
    background-position-x: center;
    padding-top: 90px;
}
.store-footer *{
color:#fff;
}
.copyright-text p a{
color:#00bf63;
}

.banner--fixed img{
border-radius:30px ;
}

.s-block--logos-slider .s-block__display-all{
display:none !important;
}

.s-block--logos-slider{
background: #b1e899 !important;
}

.s-block--logos-slider  .s-block__title {
    justify-content: center;
}
.s-block__title h2 {
    color: #00bf63;
    font-size: 23px;
}

.brand-item {
    border-radius: 30px;
  }
  
  .header-btn__icon {
    border-radius: 10px !important;
    border: none;
    color: #fff !important;
    background: #00bf63;
   
}

.brand-item {
    height: 11rem;
   padding:0px !important;
}

.index .brand-item{
padding:0px !important;
}

.s-block--logos-slider  .md\:grid-cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.index .brand-item img{
width:205px;
height:205px;
}
.s-block--logos-slider  h2 {
color:#000 !important;
margin-bottom:15px;
}


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


*/




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


*/

@media (min-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev,
  [class*="swiper-button"],
  [class*="slider-arrow"],
  [class*="arrow"],
  .s-slider .swiper-button-next,
  .s-slider .swiper-button-prev {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}



/*
------------------------------------------------------- كادرنا صور جمب بعض

*/



/*
------------------------------------------------------ كادرنا

*/



.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-content: center; /* يوسّط الشبكة أفقياً */
  align-items: center; /* يوسّط الشبكة عمودياً */
  justify-items: center; /* يوسّط كل عنصر داخل الخلية */
  grid-auto-flow: dense;
  padding: 10px;
  min-height: 100vh; /* يجعل الحاوية تأخذ كامل ارتفاع الشاشة */
}

/* الحاويات (مربعات) */
.square-photos {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center; /* يوسّط المحتوى داخل المربع عمودياً */
  justify-content: center; /* يوسّط المحتوى داخل المربع أفقياً */
  width: 100%;
}

/* الصور داخل الحاويات */
.square-photos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}


  .square-photos {
    width: 90%; /* يجعل الصور أصغر ويجعلها وسط الشاشة */
    margin-bottom: 16px;
  }
}


.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
  display: grid !important;
  justify-content: center !important; /* توسيط أفقياً */
  align-content: center !important;   /* توسيط عمودياً */
  justify-items: center !important;   /* توسيط العناصر داخل الخلايا أفقيًا */
  align-items: center !important;     /* توسيط العناصر داخل الخلايا عمودياً */
  padding: 20px !important;           /* مسافة من جميع الجهات */
}


.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
  display: grid !important;
  justify-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  padding: 20px !important;
  gap: 16px !important;
}

/* التابلت - عمودين */
@media (max-width: 1024px) {
  .grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* الجوال - عمود واحد */
@media (max-width: 767px) {
  .grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: 1fr !important;
  }
}


/*
------------------------------------------------------ حاوية الكادر شفاف
*/

.banner-entry.square-photos {
  background-color: rgba(255, 255, 255, 0.0) !important; /* شفاف كامل */
  border-radius: 10px !important; /* نفس الزوايا السابقة */
}


/*
------------------------------------------------------ حجم الحاوية
*/
.banner-entry.square-photos {
  width: 350px !important;
  height: 350px !important;
  background-color: transparent !important; /* لو تريدها شفافة */
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

}

/*
------------------------------------------------------ الصورة على الحاوية
*/
.banner-entry.square-photos img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}



/*
------------------------------------------------------ زرار
*/




/*
------------------------------------------------------ منجات
*/
/* ===== تصميم الجهاز اللاب: شبكة بعمودين ===== */

@media (min-width: 768px) {
  .tabs-wrapper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important; /* عمودين */
    gap: 20px !important;
    justify-content: center !important; /* مركز الشبكة */
    justify-items: center !important;   /* مركز العناصر */
    align-items: start !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    transform: none !important;   /* يلغي سحب السلايدر */
    transition: none !important;
  }

  /* تصميم كل منتج */
  .tabs-wrapper .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    flex: unset !important;
    box-sizing: border-box !important;
  }

  /* الصورة */
  .s-product-card-image {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* المحتوى */
  .s-product-card-content,
  .s-product-card-content-main,
  .s-product-card-content-footer {
    width: 100% !important;
    text-align: right !important;
    font-size: clamp(12px, 1.5vw, 16px) !important;
  }

  /* العنوان مع نقاط للنص الطويل */
  .s-product-card-content-main {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important; 
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* السعر */
  .s-product-card-sale-price {
    font-weight: bold !important;
    text-align: center !important;
  }
}

/* ===== تصميم Responsive ===== */
@media (max-width: 1024px) {
  .tabs-wrapper .swiper-wrapper {
    grid-template-columns: repeat(2, auto) !important; /* عمودين */
  }
}

@media (max-width: 767px) {
  .tabs-wrapper .swiper-wrapper {
    grid-template-columns: repeat(1, auto) !important; /* عمود واحد */
   
  }
}
/*-----------------------------------------------------------*/

/* ===== تصميم الجوال: شبكة بعمودين ===== */
/* ===== تصميم الجوال: عمودين متساويين ===== */
@media (max-width: 767px) {
  .tabs-wrapper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    justify-content: center !important;
    justify-items: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .tabs-wrapper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin: 10px !important;
    flex: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

.s-product-card-image {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }


  .s-product-card-content,
  .s-product-card-content-main,
  .s-product-card-content-footer {
    width: 100% !important;
    text-align: center !important;
    font-size: clamp(10px, 2vw, 14px) !important;
  }
}

@media (max-width: 767px) {
  .tabs-wrapper .swiper-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
  }

  .tabs-wrapper .swiper-slide {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}




@media (min-width: 768px) {
  .s-product-card-image {
    width: 100% !important;
    height: 300px !important; /* اضبط الطول اللي يناسبك */
    object-fit: contain !important; /* الصورة تبان كاملة بدون قص */
    object-position: center !important; /* تتمركز بالنص */
    background-color: #fff !important; /* يغطي الفراغات باللون الأبيض */
    display: block !important;
  }
}



@media (max-width: 767px) {
  .tabs-wrapper .swiper-wrapper {
    padding-right: 15px !important; /* إزاحة من الجهة اليمنى */
  }

  .tabs-wrapper .swiper-slide {
    margin-right: 15px !important; /* إزاحة المنتجات من الجهة اليمنى */
  }
}

/*-------------------------------------------------------زرار واتساب----*/ 

.sc-1au8ryl-0.dkuywW {
    display: none !important;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(37, 211, 102, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }
}

.sc-q8c6tt-0.hrNwue {
    animation: pulseGlow 1.5s infinite;
    background-color: #25D366 !important; /* لون واتساب */
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    transition: transform 0.3s ease;
}
/*-------------------------------------------------------زرار عائم----*/

/* زر الدردشة العائم */
#ai-chat-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99999;
  background: linear-gradient(145deg, #00bf63, #00e08a);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 191, 99, 0.35), 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.3s ease;
}
#ai-chat-btn:hover {
  transform: scale(1.1);
}
#ai-chat-btn.close {
  background: linear-gradient(145deg, #ff4b5c, #ff758f);
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(255, 75, 92, 0.4), 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* نافذة المحادثة */
#ai-chat-box {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 350px;
  height: 520px;
  max-width: 90vw;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.96);
  color: #000;
  border-radius: 20px;
  display: none;
  flex-direction: column;
  z-index: 99999;
  font-family: 'Tajawal', sans-serif;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
/* رأس المحادثة */
.ai-header {
  background: linear-gradient(135deg, #2c2c2c, #3d3d3d, #555555);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* تأثير زخرفي ديناميكي */
.ai-header::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -50%;
  width: 200%;
  height: 140%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: pulseHeader 10s infinite ease-in-out;
}

/* حركة نبض رأس الشات */
@keyframes pulseHeader {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateX(25%) scale(1.05);
    opacity: 0.7;
  }
}

/* عنوان الرأس مع أيقونة AI */
.ai-header h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
  font-family: 'Tajawal', sans-serif;
}
.ai-header h4::before {
  content: "🤖";
  font-size: 20px;
  animation: shakeIcon 4s infinite ease-in-out;
}

/* حركة أيقونة الذكاء الاصطناعي */
@keyframes shakeIcon {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
}




.ai-header h4 {
  margin: 0;
  font-size: 16px;
}
.ai-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* منطقة الرسائل */
.ai-messages {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  background: linear-gradient(180deg, #f8f9fa, #ffffff);
}

/* الرسائل */
.msg {
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 80%;
  line-height: 1.5;
  font-size: 14px;
  position: relative;
}
.msg.user {
  background: rgba(0, 191, 99, 0.15);
  color: #000;
  align-self: flex-end;
  border: 1px solid #00bf63;
}
.msg.bot {
  background: rgba(240, 240, 240, 0.9);
  color: #000;
  align-self: flex-start;
  border: 1px solid rgba(0,0,0,0.1);
}

/* قائمة الأزرار */
.ai-dropdown {
  display: flex;
  overflow-x: auto;
  padding: 10px;
  background: rgba(245, 245, 245, 0.95);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.ai-dropdown button {
  flex: 0 0 auto;
  margin-right: 8px;
  padding: 10px 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #00bf63, #00e08a);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 191, 99, 0.25);
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 12px; /* تصغير حجم الخط */
}
.ai-dropdown button:hover {
  background: linear-gradient(145deg, #00a352, #00c36b);
  transform: scale(1.05);
}

/* زر التواصل عبر واتساب */
#whatsapp-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #25D366, #2ecc71);
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 12px;
  cursor: pointer;
  margin: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
#whatsapp-contact img {
  width: 20px;
  height: 20px;
  margin-left: 6px;
}

/* Responsive للجوال */
@media (max-width: 600px) {
  #ai-chat-btn {
    width: 50px;
    height: 50px;
    font-size: 28px;
    bottom: 15px;
    left: 15px;
  }
  #ai-chat-btn.close {
    font-size: 28px;
  }
  #ai-chat-box {
    width: 300px;
    height: 400px;
    bottom: 70px;
    left: 10px;
  }
}