body {
    background: #f4f4f4;
}

body.is-navigating {
    pointer-events: none;
    opacity: 0.5;
}

a,
button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

header {
    background: #fff;
}

#hero-slider-section .swiper-pagination {
    position: absolute;
}

.swiper-container .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    opacity: 0.7;
}

.swiper-container .swiper-pagination-bullet-active {
    background-color: #ffffff;
    opacity: 1;
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s;
}

.swiper-container .swiper-button-next:hover,
.swiper-container .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.swiper-container .swiper-button-prev {
    left: 1rem;
}

.swiper-container .swiper-button-next {
    right: 1rem;
}

.swiper-container .swiper-button-next::after,
.swiper-container .swiper-button-prev::after {
    font-size: 1.25rem;
    font-weight: 700;
}

.swiper-container.deal-of-the-day .swiper {
    padding-bottom: 2.5rem;
}

.swiper-container.deal-of-the-day .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background-color: rgb(229, 231, 235);
    border-radius: 9999px;
}

.swiper-container.deal-of-the-day .swiper-pagination-bullet-active {
    background-color: rgb(55, 65, 81);
    opacity: 1;
}

.swiper-container.related-products .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background-color: rgb(229, 231, 235);
    border-radius: 9999px;
}

.swiper-container.related-products .swiper-pagination-bullet-active {
    background-color: rgb(55, 65, 81);
    opacity: 1;
}

.toast-base {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.25s ease, fadeOut 0.25s ease 2.8s forwards;
}

.toast-error {
    background: rgb(239, 68, 68);
}

.toast-success {
    background: rgb(34, 197, 94);
}

.toast-info {
    background: rgb(59, 130, 246);
}

.toast-warning {
    background: rgb(234, 179, 8);
}

.variant-check.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    main {
        min-height: calc(100vh - 546px);
    }
}

#payment-pending-wrapper .hidden {
    display: none !important;
}

#payment-pending-wrapper {
    --loader-size: 100px;
    --loader-color: rgba(47, 60, 100, 0.8);
}

#payment-pending-wrapper .loader-box {
    position: relative;
    width: var(--loader-size);
    height: var(--loader-size);
    display: flex;
    align-items: center;
    justify-content: center;
}

#payment-pending-wrapper .loader {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--loader-color);
    border-bottom-color: rgba(47, 60, 100, 0.1);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

.shimmer {
    background-image: linear-gradient(90deg,
            #e5e7eb 0%,
            #f3f4f6 40%,
            #e5e7eb 80%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}