/* Add custom CSS styles below */ 
:root {
    --second-color: #ffffff;
    --bg-light: #F9FAFB;
    --accent-glow: rgba(0, 0, 0, 0.1);
    --footer-logo-url: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/qQPgaA/stores/logos/FlavR7I6xPk0aQ9FmTl1Kmt8clQ1HZqD0F3cuR9i.png");
    --transition-speed: 0.4s;
}

/* General Reset & Background */
body, .s-comments-product {
    scroll-behavior: smooth;
}

/* Navbar Enhancements */
.navbar-brand img {
    max-height: 4rem;
    scale: 1.3;
    transition: var(--transition-speed);
}
.navbar-brand img:hover {
    transform: rotate(-3deg) scale(1.4);
}

/* Layout Fixes */
[dir=rtl] salla-slider.photos-slider .swiper{
    padding: 0 !important;
}
.s-block salla-slider.photos-slider .swiper-slide {
    margin: 0;
    width: 100%;
}
 .carousel-slider .swiper-wrapper>div:first-of-type {
    padding: 0;
}
.s-block:first-of-type {
    margin-top: 0;
}
button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock ,button.s-slider-next.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock{
    display: none;
}
/*fixed banner*/
.banner--fixed img {
    animation: slowZoom 10s infinite alternate ease-in-out;
    display: block;
    width: 100%;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); } /* زوم بطيء جداً ومريح للعين */
}
/* Banner & Grid Styling 
*/
.s-block__title {
    justify-content: center;
}
.md\:grid-cols-3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.banner-entry {
    height: 200px !important;
    overflow: hidden;
    position: relative;
  background-color: transparent;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-entry:hover {
    transform: translateY(-5px); /* رفع خفيف للأعلى */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Flash Effect on Hover */
.banner-entry::after, .s-product-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    z-index: 3;
}

.banner-entry:hover::after, .s-product-card-image:hover::after {
    animation: shine 0.75s forwards;
}

@keyframes shine {
    100% { left: 125%; }
}
/* Product Card Styling 
*/
.s-product-card-entry {
  background-color: var(--color-primary);
    color: var(--second-color);
    border: 1px solid #eee; /* تقليل حدة الحدود */
    border-radius: 15px;
    transition: var(--transition-speed);
    background: #fff;
}

.s-product-card-entry:hover {
  border-color: var(--color-primary);
}

/*add to cart*/
.s-button-btn {
background-color: var(--color-primary);
    color: var(--second-color);
    position: relative;
    overflow: hidden;
    animation: autoPulse 3s infinite ease-in-out; /* نبض تلقائي */
}

.s-button-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: rotate(45deg);
    animation: autoShine 4s infinite ease-in-out; /* لمعان تلقائي */
}

@keyframes autoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 0 15px rgba(0,0,0,0.1); }
}

@keyframes autoShine {
    0% { left: -150%; }
    30%, 100% { left: 150%; } 
}

/* Footer Custom Logo 
*/
.store-footer a[href*="https://amwajfashion.com/"] h3 {
    font-size: 0;
    position: relative;
}

.store-footer a[href*="https://amwajfashion.com/"] h3::before {
    content: "";
    display: block;
    width: 120px; 
    height: 120px;
    background: var(--footer-logo-url) no-repeat center;
    background-size: contain;
    margin: auto;
    animation: floatingLogo 3s ease-in-out infinite;
}

@keyframes floatingLogo {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
    50% { transform: translateY(-10px) scale(1.05); opacity: 1; }
}
/*features*/
.s-block--features__item .feature-icon i {
       color: #fff;
}
.s-block--features__item {
        padding: 1rem .5rem;
    }

.s-block--features__item:first-child {
    grid-column: span 1/span 1;
}

.s-block--features .grid-cols-\[repeat\(2\2c minmax\(0\2c 1fr\)\)\] {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .5rem !important;

}
.s-block--features__item i {
    display: inline-block;
    animation: iconFloat 3s infinite ease-in-out;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.s-block--features__item i.sicon-shipping-fast {
    animation: driveSubtle 2s infinite linear;
}

@keyframes driveSubtle {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
/* Mobile Adjustments 
*/
@media (max-width: 767px) {
    .banner-entry {
        height: 100px !important;
    }
    .sm\:gap-8 { gap: 0.5rem; }
    .s-button-btn {
        padding: 0.6rem !important;
        font-size: 0.85rem;
    }
  .store-footer__inner * {
    text-align: center;
    justify-content: center;
}
}