/* Add custom CSS styles below */ 

@import url('https://fonts.googleapis.com/css2?family=Kufam:ital@0;1&display=swap');


/* ==============================
   2- إعدادات الصفحة الأساسية (Body)
============================== */
body {
    background-image: url(https://cdn.salla.sa/form-builder/bZP5jvGBfxBa4S5pTYD7keBF8HePwPIkEhDXqHwq.png) !important; /* صورة الخلفية */
    background-size: cover;        /* تغطي الصفحة بالكامل */
    background-position: center;    /* توسيط الصورة */
    font-family: "Kufam" !important;/* خط النص */
}

/* ==============================
   3- إعدادات اللازي لود (Lazy Loading)
============================== */
.lazy__bg.lazy.entered.loaded {
    background-size: contain;      /* ملاءمة الخلفية بدون قص */
    background-repeat: no-repeat;  /* منع التكرار */
}


/* ==============================
   4- إعدادات الصور والبنرات
============================== */
a.banner-entry.square-photos {
    background: transparent; /* خلفية شفافة */
}

.banner-entry {
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),       /* حركة تكبير/تصغير */
        background-size 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), /* انتقال حجم الخلفية */
        background-position 0.6s ease;                             /* انتقال موضع الخلفية */
}

.banner-entry:hover {
    transform: scale(1.05) translateY(-10px); /* تكبير وتحريك لأعلى عند الهوفر */
}

img {
    background: transparent !important; /* إزالة خلفية الصور */
    border-radius: 0;                   /* إزالة الزوايا الدائرية */
}


/* ==============================
   5- إعدادات الهيدر والشعار
============================== */


.main-nav-container.fixed-pinned .navbar-brand img,
.navbar-brand img {
    max-height: 4rem; /* تحديد أقصى ارتفاع للشعار */
}


/* ==============================
   6- إعدادات البانرات (Banners)
============================== */
.index .swiper.s-slider-container {
    width: 80%;
    margin: 0 auto;
}

.index .s-block.s-block--fixed-banner {
    width: 80%;
    margin: 0 auto; /* يوسّطه */
}
.index .s-block.s-block--fixed-banner:nth-of-type(9),
.index .s-block.s-block--fixed-banner:nth-of-type(10){
    width: 50%;
    margin: 0 auto; /* يوسّطه */
}





.banner-entry {
    height: 160px;
    }


.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1; /* امتداد عمود واحد */
    grid-row: span 1 / span 2;    /* امتداد صفين */
}

.s-block--banners .grid.two-row {
    display: grid;                         /* تفعيل شبكة العرض */
    grid-template-columns: repeat(5, 1fr); /* 4 أعمدة متساوية */
    gap: 1rem;                             /* مسافة بين العناصر */
}

/* ميديا كويري للشاشات الصغيرة */
@media (max-width: 768px) {
    .s-block--banners .grid.two-row {
        grid-template-columns: repeat(3, 1fr); /* عمودين للشاشات الصغيرة */
        gap: 1rem;
    }
    .banner-entry {
    height: 160px;
    }
}

/* ==============================
   9- الأزرار (Buttons)
============================== */
.s-product-card-entry .s-product-card-content-footer salla-add-product-button .s-button-element {
    border-color: #26d1b3;
    background-color: #26d1b3;


}

.s-product-card-entry .s-product-card-content-footer salla-add-product-button .s-button-element:hover {
    background-color: #26d1b3;
}

.s-product-card-entry .s-product-card-wishlist-btn button {
    color: #26d1b3;
      border-color: #26d1b3 !important;
}

.ps-footer__middle .just-icon .ps-footer--contact .s-contacts-list .s-contacts-item {
    background: #26d1b3;
}
.ps-footer__middle .just-icon .ps-footer--contact .s-contacts-list .s-contacts-item:hover {
    background: #26d1b3;;
}

.ps-footer .s-social-link a {
    background: #26d1b3;
}

.ps-footer .s-social-link a:hover {
    background: #26d1b3;;

}

.left-menu button, .search-right-icon button {
    color: #26d1b3;

}

.branches-box .tab-trigger.active {
    color: #000000;
    border-color: #ffffff;
}