/* Add custom CSS styles below */ 
.index section.s-block--fixed-banner > .container {
    max-width: 100%; /* تمديد الكونتينر بعرض الصفحة */
    padding: 0 !important;      /* إزالة الهوامش الداخلية */
}

section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
    margin-top: 0;
}
.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;
    }
}
/* ==============================
   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;                   /* إزالة الزوايا الدائرية */
}


.s-block__title {
    justify-content: center;
}

.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
}
.s-block__title .right-side h2{
 color: #1E5849;
  
}
.s-block__title .right-side h2::after {
content: "ــــــــــــــــــــــــــــــــ تناسب جميع الاذواق ـــــــــــــــــــــــــــــــــ";
    display: block;
    text-align: center;       /* وسط النص تحت العنوان */
    font-size: 20px;          /* حجم الخط */
    color: #1E5849;           /* اللون البرتقالي */
    margin-top: 8px;          /* مسافة من الـ h2 */
    font-weight: 500;
    letter-spacing: 1px;      /* تباعد الحروف لتكون أطول */
}
.s-block__title .right-side h2{
      text-align: center;       /* وسط النص تحت العنوان */
color: #1E5849;
      font-size: 2rem;
}
/* ==============================
   8- المنتجات (Products)
============================== */
.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
    border: 2px solid #1E5849;               /* إطار المنتج */
    border-radius: 8px;                      /* زوايا دائرية */
    overflow: hidden;                        /* إخفاء المحتوى الزائد */
    padding: 10px;                           /* حشو داخلي */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;        /* تأثير حركة */
}

.s-product-card-entry:hover,
custom-salla-product-card.s-product-card-entry:hover {
    transform: scale(0.97); /* تصغير بسيط عند الهوفر */
    box-shadow: none;       /* إلغاء الظل */
}

.s-product-card-price {
    color: #1E5849;       /* لون السعر */
    text-align: center;   /* توسيط السعر */
}

.s-product-card-content-sub {
    text-align: center;
    display: inline-block;
}

.s-product-card-content-title a {
    font-size: 16px;     /* حجم النص */
    font-weight: bold;   /* نص سميك */
    text-align: center;
    display: block;
}

/* ميل للصورة كلها لليمين وقت الهوفر */
.s-product-card-image img {
  transition: transform 0.4s ease;
}

.s-product-card-image img:hover {
  transform: rotate(5deg); /* تميل 5 درجات لليمين */
}
/* ==============================
   12- responsive
============================== */

@media(max-width:767px){
#photos-0-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden{
   padding:0;
}
.s-products-slider-card {
    max-width: 185px;
}
.main-nav-container {
    min-height: 56px;
}
  .s-button-element:not(:disabled):not([loading]) {
    font-size: 11px;
}
}

.store-footer__inner {
    background-color: #1E5849;
}

.store-footer a.flex h3 {
    font-size: 0;                                      /* إخفاء النص */
    background-image: url(https://i.ibb.co/Mykm6Tj2/s-Bx-QAtb9qfy-N8-Vk-DPYafwxdq-KZYCPMjp7-Nc77-JCp-1-1.png); /* شعار */
    background-size: contain;                          /* ملاءمة الحجم */
    background-repeat: no-repeat;                      /* منع التكرار */
    background-position: center;                       /* توسيط */
    display: block;
    width: 200px;
    height: 100px;
}

.store-footer {
    background-color: #1E5849;
    color: #fff;
}
.copyright-text p {
    color: rgb(255 255 255);
}

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