body {
    background: #FDFDFD;
}

.top-navbar,
.s-slider-block__title-nav {
    display: none;
}

/* تنسيقات أيقونة البحث والنافذة المنبثقة */
.rb-search-trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    color: inherit;
    margin-left: 5px;
}

.rb-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.rb-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rb-search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    padding: 40px 20px;
    /* زيادة المساحة العلوية */
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rb-search-popup.active {
    transform: translateY(0);
}

.rb-search-wrap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* زر الإغلاق (الافتراضي للكمبيوتر) */
.rb-close-search {
    position: absolute;
    top: 50%;
    left: -50px;
    /* مسافة كافية على اليسار */
    transform: translateY(-50%);
    font-size: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: #333;
    padding: 5px;
}

/* --- إصلاح مشكلة الموبايل --- */
@media (max-width: 768px) {
    .rb-close-search {
        left: auto;
        /* إلغاء التموضع اليساري */
        right: 0;
        /* وضعه في اليمين (أو اليسار حسب الرغبة) */
        top: -30px;
        /* رفعه للأعلى قليلاً */
        transform: none;
        color: #000;
        font-size: 24px;
        background: #f1f1f1;
        /* خلفية بسيطة لتمييزه */
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rb-search-wrap {
        margin-top: 10px;
        /* مسافة لعدم تداخل البحث مع الزر */
    }
}

section.s-block.s-block--photos-slider {
    margin-top: 0 !important;
}

.salla-slider.photos-slider .swiper,
salla-slider.photos-slider .swiper:where([dir=rtl], [dir=rtl] *) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

salla-slider.photos-slider .swiper-slide {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    border-radius: 0;

    img {
        border-radius: 0;
    }
}

section.s-block.s-block--features.container {


    @media (min-width: 768px) {
        margin-top: -4rem;
        z-index: 1;
        position: relative;

        .md\:grid-cols-\[repeat\(3\2c minmax\(0\2c 1fr\)\)\] {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }
}

.s-block--features__item:first-child {
    grid-column: unset;
}

.s-block--features__item {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.s-block--features__item .feature-icon i {
    color: #fff;
}

@media (min-width: 1024px) {
    .s-product-card-minimal .s-product-card-image {
        width: 13rem;
        height: 13rem;

        img {
            object-fit: cover;
        }
    }
}

.s-product-card-minimal .s-product-card-wishlist-btn {
    position: static;
}

.s-product-card-content-footer {

    flex-direction: row-reverse;
}

.s-product-card-entry {

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 5px;

    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.04);

    &:hover {
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

    }
}


.s-product-card-content-title a {
    font-size: 16px;
}

.s-product-card-price,
.s-product-card-starting-price h4 {
    font-size: 18px;
    margin-top: 15px;

}

.s-button-btn {
    background: #040404;
    border-radius: 5px;
    color: #fff;

    &:hover {
        background: white;
        color: #040404;
        border: 1px solid #040404;
    }

}

.s-block__title {
    justify-content: center;

    h2 {
        font-weight: 700;
        font-size: 32px;
    }
}

.s-button-light-outline {
    border-color: #040404 !important;
    color: #040404;
    transition: 0.3s;
    opacity: 1 !important;

    &:hover {
        background: #040404 !important;
        color: #fff;
    }
}

section.s-block.s-block--features-products.container {

    .s-product-card-entry:nth-child(5),
    .s-product-card-entry:nth-child(6) {
        display: none;
    }
}

section.s-block.s-block--fixed-banner.wide-placeholder {
    .container {
        max-width: 100%;
        padding: 0;

        img {
            border-radius: 0;
        }
    }
}

.s-reviews-container {
    .s-reviews-testimonial {
        background: #C1C1C1;
    }
}

.s-reviews-swiper-slide.swiper-slide.swiper-slide-next {
    .s-reviews-testimonial {
        background: linear-gradient(269deg, rgb(0 0 0 / 19%) 0%, #dfcbcb00 30%);
    }
}

.s-reviews-swiper-slide.swiper-slide.swiper-slide-prev {
    .s-reviews-testimonial {
        background: linear-gradient(90deg, rgb(0 0 0 / 19%) 0%, #dfcbcb00 30%);
    }
}

.s-rating-stars-hovered,
.s-rating-stars-selected {
    fill: #FCE340;
}

.footer-is-light .store-footer {
    background-color: #040404;
    color: #fff;
}

.footer-is-light .store-footer .store-footer__inner {
    background: none;
    @media (min-width: 1024px) {
        .lg\:grid-cols-6 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    @media (min-width: 1024px) {
        .lg\:col-span-2 {
            grid-column: unset;
        }
    }
}
@media (min-width: 480px) {
    .navbar-brand img {
        max-width: 120px;
    }
}
@media (min-width:600px) {
.rb-new-footer-section {
    padding-left: 4rem;
}
}


.copyright-text p {
  color:white;
}

.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .3s ease, box-shadow .3s ease;
}

.whatsapp-floating:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}