html {
    scroll-behavior: smooth;
}

/* hero slider next and prev btn */
.swiper-button-next,
.swiper-button-prev {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    border-width: 1px;
    border-color: rgb(209 213 219);
    background-color: rgb(254 254 255);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    color: rgb(113 113 122);
    transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: rgb(63 63 70);
}

/* show and hide next and prev hero slider btn */
@media only screen and (max-width: 768px) {
    .swiper-button-next {
        display: none;
    }

    .swiper-button-prev {
        display: none;
    }

    .swiper-btn-next {
        display: none;
    }

    .swiper-btn-prev {
        display: none;
    }
}

.swiper-pagination-bullet {
    width: 30px;
    height: 6px;
    border-radius: 5px;
    background-color: rgb(8, 135, 194);
}

.swiper-pagination-bullet-active {
    background-color: rgb(8, 135, 194);
}

.shadow-box-md {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.shadow-box-sm {
    box-shadow: rgba(91, 93, 95, 0.2) 0px 0px 18px;
}

.shadow-box {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.otp-input {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Responsive for mobile */
@media (max-width: 576px) {
    .form-control.h-60px.w-60px {
        height: 40px !important;
        width: 40px !important;
        font-size: 1.25rem !important; /* slightly smaller font */
    }
}

/* Ensure consistent card heights */
.swiper-slide {
    height: auto !important; /* Override any Swiper height settings */
}

.productSlider1 .swiper-wrapper {
    align-items: stretch; /* Make all slides stretch to same height */
}

/* If using Tailwind, add these to your config */
@layer components {
    .product-card {
        @apply flex flex-col h-full;
    }
}

/* Ensure swiper container has proper height */
.productSlider2 {
    height: auto;
}

/* Make sure arrows are visible */
.next-btn-3, .prev-btn-3 {
    color: #3b82f6; /* blue-500 */
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}