/* Slider */

/* .shimmer {
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 400% 100%;
    animation: shimmerEffect 1.5s infinite;
}

.shimmer-slider {
    width: 100%;
    height: 400px; 
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.heroSwiperImg.shimmer {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@keyframes shimmerEffect {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
} */

/* trending items */
.product-grid {
    display: flex;
    gap: 15px; /* Adjust spacing between shimmer cards */
    overflow-x: auto; /* Enables horizontal scrolling if necessary */
    /* padding: 10px ; */
    /* justify-content: center; */
}

.shimmer-card {
    flex: 0 0 auto; /* Prevents cards from stretching */
    width: 180px; /* Adjust based on actual product card width */
    padding: 15px;
    border-radius: 10px;
    background: #f8f8f8;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.shimmer {
    background: linear-gradient(90deg, #f6f7f8 25%, #edeef1 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: shimmerAnimation 1.5s infinite linear;
}

.shimmer-image {
    width: 100%;
    height: 120px;
    border-radius: 10px;
}

.shimmer-title {
    width: 80%;
    height: 15px;
    margin: 10px auto;
    border-radius: 5px;
}

.shimmer-price {
    width: 50%;
    height: 12px;
    margin: 5px auto;
    border-radius: 5px;
}

.shimmer-button {
    width: 70%;
    height: 30px;
    margin: 10px auto;
    border-radius: 5px;
}

@keyframes shimmerAnimation {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* collection */

/* Shimmer Animation */
.shimmer-effect {
    background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
    background-size: 200% 100%;
    animation: shimmerAnimation 1.5s infinite;
}

@keyframes shimmerAnimation {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Updated Shimmer Card Styling */
.shimmer-banner {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Image Placeholder */
.shimmer-banner-image {
    width: 100%;
    height: 220px;
}

/* Text Placeholder */
.shimmer-banner-text {
    width: 80%;
    height: 20px;
    margin: 10px auto;
    border-radius: 4px;
}

.shimmer-banner-heading {
    width: 60%;
    height: 25px;
    margin: 10px auto;
    border-radius: 4px;
}

/* Button Placeholder */
.shimmer-banner-button {
    width: 40%;
    height: 35px;
    margin: 10px auto;
    border-radius: 6px;
}
.shimmer-slider {
    width: 100%;
    height: 400px; /* Adjust based on your slider height */
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: shimmerAnimation 1.5s infinite linear;
    border-radius: 10px;
}

@keyframes shimmerAnimation {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Loading Animation */
@keyframes skeletonLoading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Effect for Banner */
.skeleton-banner {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust based on banner size */
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite linear;
    border-radius: 10px;
}

/* Skeleton Effect for Text */
.skeleton-text {
    display: inline-block;
    width: 60%;
    height: 20px;
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite linear;
    border-radius: 5px;
}

/* Skeleton Effect for Button */
.skeleton-btn {
    display: inline-block;
    width: 150px;
    height: 40px;
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite linear;
    border-radius: 5px;
    border: none;
    text-align: center;
    color: transparent; /* Hide text while loading */
}

/* Hide actual banner initially */
.banner-container {
    display: none;
}


@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Title */
.skeleton-title {
    width: 40%;
    height: 25px;
    margin: 20px auto;
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    border-radius: 5px;
}

/* Skeleton Subtitle */
.skeleton-subtitle {
    width: 20%;
    height: 15px;
    margin: 10px auto;
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    border-radius: 5px;
}

/* Skeleton Slider */
.testimonial-skeleton-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Skeleton Testimonial Box */
.skeleton-testimonial-item {
    width: 280px;
    height: 180px;
    background: linear-gradient(90deg, #f6f7f8 25%, #e0e0e0 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    border-radius: 10px;
}

/* Hide actual testimonials initially */
.testimonial-container {
    display: none;
}