:root {
    --first-color: #82624c;
    --second-color:#d59d4d;
    --third-color:#fff6e9;
    --white-color: #fff;
    --logo:  url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/BrGzjN/WHlyAYzxZ0zjPgjxf79ECGAVscGBMnnQME6hw8qY.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(--first-color),var(--first-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(--third-color);
}
/* الرمز السعودي و علامة المنيو و القلب */
[class^="sicon-"] {color: var(--third-color);}
/* الرمز السعودي */
.s-cart-summary-total > i:nth-child(1){
color: var(--third-color);

}

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

}@media (max-width: 1024px) {
  #mobile-menu {
    background-image: linear-gradient(to left, var(--third-color),var(--third-color));
 color:var(--first-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,
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(--first-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 {
}
.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);
}
 .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: 200px;
  
  margin:0;
}
  .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;
}
.s-block--features__item,
.s-reviews-testimonial{
 background-color: var(--third-color);  
}
/* Add custom CSS styles below */
/*-------------منتجات لون و لون-------------*/
.s-products-slider-card swiper-slide swiper-slide-active :nth-child(odd) {
   border: 3px solid var(--first-color);
}

.s-products-slider-card swiper-slide swiper-slide-active :nth-child(even) {
   border: 3px solid var(--second-color);
}
/*------------navvv--------------*/
.main-nav-container.fixed-pinned .inner {
  position: fixed !important;
  top: 106px;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 29;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
  transform: translate3d(0, -100%, 0);
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 90px;
  box-shadow: 0 8px 32px rgba(82, 54, 41, 0.4);
  padding: 0px 0px;
  margin: 0px auto;
  max-width: 1200px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease-in-out;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}
/* CSS  تواصل  */
.contact-icon {
    position: fixed;
    bottom: 100px;
    right: 20px;
    cursor: pointer;
    background-color: var(--third-color);
    color: var(--first-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.contact-options {
    display: none;
    position: fixed;
    bottom: 160px;
    right: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.contact-options a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: var(--first-color);
}

.contact-options a:hover {
    background-color: #f1f1f1;
}

.icon {
    font-size: 24px; /* حجم الأيقونة */
}

/* ======================================= */
/* ===== كود CSS لنافذة اختيار القسم ===== */
/* ======================================= */

#section-popup .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  animation: fadeIn 0.4s ease-in-out;
}

/* محتوى النافذة المنبثقة */
#section-popup .popup-content {
  background: linear-gradient(#fff, #fff6f0, #ffe9e0);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  animation: popupEnter 0.5s ease;
}
 
#section-popup .popup-content h2 {
  margin-top: 0;
  margin-bottom: 15px;
  color:  var(--first-color);
}

#section-popup .popup-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

#section-popup .popup-content hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* أزرار الأقسام */
#section-popup .popup-buttons button {
  margin: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background:  var(--first-color);
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#section-popup .popup-buttons button:hover {
  opacity: 0.9;
}

/* زر الإغلاق */
#section-popup .popup-close-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #aaa;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* الزر الجانبي لتغيير القسم */
#change-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  background:  var(--third-color);
  color:var(--second-color);
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

@keyframes popupEnter {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

#section-popup.fading-out .popup-overlay {
  animation: fadeOut 0.3s ease-in-out forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

section:nth-child(4){

padding-top:10px;

 
}