/* shimmerLoader */
.shimmer {
    position: relative;
    overflow: hidden;
    background-color: #e2e8f0 !important;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}

.shimmer *,
.shimmer::before,
.shimmer::after {
    visibility: hidden !important;
}

.shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    visibility: visible !important;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 50%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer-sweep 1.5s infinite ease-in-out;
}

.shimmer img,
.shimmer video,
.shimmer iframe,
.shimmer svg {
    opacity: 0 !important;
}

@keyframes shimmer-sweep {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* RTL support */
[dir="rtl"] .shimmer::after {
    animation-direction: reverse;
}

.header-height {
    height: 56px;
}


/* Reserve space for fixed header on small screens */
.layout-page {
    padding-top: 56px;
}

@media (max-width: 768px) {

    .header-height,
    .header-content {
        padding-top: 1.5rem !important;
    }

    .header-height {
        height: 93px;
    }


    .toast-container {
        margin-bottom: 2rem !important;
    }

    .break-section {
        margin-top: 2rem;
    }

    .categories-sticky-mobile {
        padding-top: 4rem !important
    }
}

@media (min-width: 768px) {
    .header-height {
        height: auto;
    }

    .layout-page {
        padding-top: 0;
    }
}

[dir="rtl"] .toast-nextjs .close-toast {
    left: var(--toast-close-position-right);
    right: auto;
}
/* Equal-height product cards */
.swiper-slide {
  height: auto !important;
}
.swiper-wrapper {
  align-items: stretch;
}
