/* Add custom CSS styles below */
/* اللوجو  */ 
.navbar-brand img {
    max-height: 65px;
}

/* سكشن صور مربعة محسنة  */  
.s-block--banners .banner-entry {
    transition: transform 1.5s ease;
    }
.s-block--banners .banner-entry:hover {
    transform: scale(0.95) rotate(3deg);
    }

@media (max-width: 480px) {
  .s-block--banners .banner-entry {
    transition: transform 1.5s ease, opacity 1.5s ease;
    transform: scale(1) rotate(0deg);
    opacity: 0.9; /* أقل شفافية مبدئيًا */
  }
  /* لما العنصر يدخل الثلث الأوسط */
  .s-block--banners .banner-entry.active {
    transform: scale(0.95) rotate(3deg);
    opacity: 1;
  }
  .s-block--banners .banner-entry.active h3{
  opacity: 1;
  }
  .s-block--banners .banner-entry.active p{
  opacity: 1;
  }
}


/* سكشن الاقسام والتصنيفات  */  
.slide--cat-entry::before,
.slide--cat-entry::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  opacity: 0;
  border-radius: 5px;
}

.slide--cat-entry::before {
  top: 0;
  left: 10px;
  width: 0%;
  height: 0%;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transition: width 0.3s linear, height 0.3s linear 0.3s;
}

.slide--cat-entry::after {
  bottom: 0;
  right: 10px;
  width: 0%;
  height: 0%;
  border-bottom: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transition: height 0.3s linear, width 0.3s linear 0.3s;
}

.slide--cat-entry:hover::before {
  width: calc(100% - 20px);
  height: 100%;
  opacity: 1;
}

.slide--cat-entry:hover::after {
  width: calc(100% - 20px);
  height: 100%;
  opacity: 1;
}



/* سكشن المنتجات مع خلفية  */ 
.s-block--slider-with-bg .slider-bg {
  border-radius: 30px 30px 0 0;
  overflow: hidden;
}
.s-block--slider-with-bg .-mt-62{
  background-color: #fff;
  border-radius: 30px 30px 0 0;
  padding: 20px;
  margin-top: -210px;
}
.s-block--slider-with-bg .slider-bg .pt-8 div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.s-block--slider-with-bg .slider-bg .pt-8 div h3{
  text-align: center;
  font-size: 30px;
  padding-bottom: 15px;
}
.s-block--slider-with-bg .slider-bg .pt-8 div p{
  text-align: center;
  font-size: 18px;
  line-height: 30px;
}



/* سكشن المميزات  */ 
.s-block--features .s-block--features__item {
  transition: border 1s ease;
  border: solid 2px #fff;
  box-shadow: 0px 0px 15px #ccc;
}

.s-block--features .s-block--features__item .feature-icon,
.s-block--features .s-block--features__item h2,
.s-block--features .s-block--features__item p {
  transition: all 1s ease;
}

.s-block--features .s-block--features__item:hover {
  border: solid 2px var(--color-primary);
}
.s-block--features .s-block--features__item:hover .feature-icon {
  transform: translateY(-61px);
    border: solid 2px var(--color-primary);
    scale: 1.1;
    background-color:#44a6f1;
}
.s-block--features .s-block--features__item:hover h2 {
  transform: translateY(-40px);
}
.s-block--features .s-block--features__item:hover p {
  transform: translateY(-30px);
}

.s-block--banners-element .banner-entry {
  height: 500px !important;
  box-shadow: 0px 0px 15px #aaa;
}

.s-block--banners-element .banner-entry div {
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
}

.has-overlay::after {
  background-color: rgba(0, 0, 0, 0.3) !important; /* غيّر اللون والشفافية كما تريد */
}
.has-overlay:hover::after {
  background-color: rgba(0, 0, 0, 0.6) !important; /* غيّر اللون والشفافية كما تريد */
}



/* 
.s-block .s-block__title{
  justify-content: center;
}
.s-block .s-block__title .right-side {
  padding: 0 !important;
} */
/* الخطين على العنوان */
/*
.custom-divider {
  position: relative;
  display: inline-block;
  padding: 0 40px;
  font-size: 30px;
  color: #89c250;
}

/* الخطين على الجانبين */
/*.custom-divider::before,
.custom-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background-color: #89c250;
}
.custom-divider::before {
  left: 0;
  transform: translateX(-100%);
}
.custom-divider::after {
  right: 0;
  transform: translateX(100%);
}

*/

@media (max-width: 768px) {
  .s-block--banners .grid-flow-row .banner-entry:first-child {
    min-height: 500px !important;
  }
}