@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

body, body * {
    font-family: 'Cairo', sans-serif !important;
}

body.index:after {
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        position: fixed;
        z-index: 999999;
        background: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/ePQbdX/p3GqNBA7LErug5JXolx53IlpdPcymUOzvufq4IOY.png) center / 100px no-repeat #fff;
        left: 0;
        animation-name: fade-in;
        animation-duration: 3s;
        animation-fill-mode: forwards;
    }
    @keyframes fade-in{
    0%,50%{
    opacity:1;
    }
    50%{
        transform: scale(1.2);
    }
    100% {
        opacity: 0; 
        visibility: hidden;
        transform: scale(1.5);
    }
    }
    body#app {
    background-image: url(https://i.ibb.co/DVJtXQF/Group-1000003504.png);
}
/*logo*/
header .navbar-brand img,
.navbar-brand img {
  height: 55px !important; 
  width: auto !important;
  object-fit: contain;
  transition: all 0.3s ease;
}


.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  position: relative;
}


@media (max-width: 768px) {
  header .navbar-brand img,
  .navbar-brand img {
    height: 45px !important;
  }
}
}

section:nth-child(4), section:nth-child(4) > div {
    max-width: 100%;
    padding: 0;
    margin-top: 0;
}

.md\:grid-cols-4 {
    grid-template-columns: repeat(6,minmax(0,1fr));
}
.s-block--banners .banner-entry:nth-child(5n+1) {
    grid-column: 1/1;
}
#app > section.s-block.s-block--banners > div > div > div:nth-child(6) {
    grid-column: 6/7;
}
.lazy__bg.loaded {
    opacity: 1;
    background-size: contain;
    background-repeat: no-repeat;
}
#app > section.s-block.s-block--banners > div {
    max-width: 100%;
}
.banner-entry {
    background: transparent;
    background-size: contain !important;
}
.banner-entry a:before {
    background-color: rgb(155 250 255 / 27%);
}

.s-slider-block__title {
    display: block !important;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 40px 0 20px;
  font-family: "Tajawal", sans-serif;
  position: relative;
}

.product-entry {
/* لضبط الكرت ومنع خروج العناصر */
.product-entry {
    overflow: hidden !important;
    position: relative;
}

/* تعديل زر إضافة للسلة */
.product-entry .s-button-element {
    width: 90% !important;       /* أصغر شوي حتى يدخل جوّا الكرت */
    margin: 12px auto 0 !important;  /* توسيط كامل */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    border: 2px solid #00b7c2;
    border-radius: 30px;
    background: transparent;
    color: #000;
    font-weight: 600;
    transition: 0.3s ease;
}

/* عند المرور */
.product-entry .s-button-element:hover {
    transform: translateY(-2px);
}

.s-button-element:hover {
  background-color: transparent;
  color: #000;
  border-color: #00b7c2;
  transform: translateY(-2px);
}


.product-entry:hover {
  transform: translateY(-4px);
}


.product-entry__image img {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.product-entry__image img:hover {
  transform: scale(1.05);
}


.product-entry__title {
  font-family: "Tajawal", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  margin-top: 12px;
  margin-bottom: 4px;
}


.product-entry__price {
  color: #00b7c2;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}



.s-button-element:hover {
  background-color: transparent;
  color: #000;
  border-color: #00b7c2;
  transform: translateY(-2px);
}

.s-button-element svg, 
.s-button-element .icon {
  display: inline-block;
  vertical-align: middle;
}

.product-entry,
.product-entry span,
.product-entry p,
.product-entry h1,
.product-entry h2,
.product-entry h3,
.product-entry h4,
.product-entry h5,
.product-entry h6,
.product-entry a,
.s-slider-block__title {
  font-family: 'Cairo', sans-serif !important;
}

.product-entry,
.product-entry * ,
.s-slider-block__title {
    font-family: 'Cairo', sans-serif !important;
}

.product-entry,
.product-entry * ,
.s-slider-block__title {
    font-family: 'Cairo', sans-serif !important;
}