/* banner */
salla-slider.photos-slider .swiper,
section.s-block.s-block--photos-slider:first-of-type,
salla-slider.photos-slider .swiper-slide {
    margin: 0;
    padding: 0 !important;
    width: 100%;
}

.s-slider-block__title-nav{
display:none !important;
}

/* cats */
section:nth-child(1 of .s-block--banners ) .md\:grid-cols-3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}



.two-row .banner-entry,
.two-row .banner-entry:first-child {
    padding:0;
    height:180px;
    background-color: transparent;
}


md\:grid-cols-3 .lazy__bg.lazy.entered.loaded {
    background-repeat: no-repeat;
    background-size: contain;
}

/* Scale on hover */
.banner-entry:hover .lazy__bg {
  transform: scale(1.08);
}

/* Shine effect */
.banner-entry::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: skewX(-20deg);
  z-index: 2;
  transition: none;
}

.banner-entry:hover::after {
  animation: shine 0.9s ease forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}


footer *{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.footer-is-light .store-footer .store-footer__inner {
    background-color: #B07E51;
    color: #e8e8e8;
}

.md\:flex.items-center.justify-between.py-4.container.text-center {
    background-color: #B07E51;
    max-width: 100%;
}

.copyright-text p {
    color: rgb(255 255 255);
}

.s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
    margin: 0 auto;
    transform: scale(1.5);
    padding: 9px 0 9px 0;
}

@media (max-width: 768px) {
  .s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
    margin: 0 auto;
    transform: scale(1.35);
    padding: 9px 0;
  }
}

.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0rem;
}

h2 {
    color: #B07E51
}

.right-side {
    padding: 0;
    margin: 0 auto;
    scale: 133%;
}

.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0rem;
    margin-bottom: 10px;
}

.s-product-card-content-title a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {

a.navbar-brand {
    position: absolute;
    right: 110px;
    scale: 180%;
}

}

/* تعديل قسم "تسوق حسب أقسامنا" على الجوال فقط */
@media (max-width: 767px) {

    section[component-id="514457921"] .square-photos-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 8px !important;
        width: 100% !important;
    }

    section[component-id="514457921"] .square-photos-grid .banner-entry {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    section[component-id="514457921"] .square-photos-grid .lazy__bg {
        width: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

}

/* =====================================================
   قسم "تسوق حسب أقسامنا" - Desktop Only
   Component ID: 514457921
   ===================================================== */

@media (min-width: 768px) {

    section[component-id="514457921"] .square-photos-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 24px !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    /* البطاقات */
    section[component-id="514457921"] .square-photos-grid .banner-entry {
        width: 100% !important;
        height: 260px !important;
        min-height: 260px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f7f7f7 !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }

    /* الصورة */
    section[component-id="514457921"] .square-photos-grid .banner-entry .lazy__bg {
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        transition: transform 0.3s ease !important;
    }

    /* Hover للماوس */
    section[component-id="514457921"] .square-photos-grid .banner-entry:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    }

    section[component-id="514457921"] .square-photos-grid .banner-entry:hover .lazy__bg {
        transform: scale(1.03) !important;
    }

    /* عنوان القسم */
    section[component-id="514457921"] .s-block__title {
        margin-bottom: 24px !important;
    }

}

a.banner-entry.square-photos {
    background-color: transparent;
}