.poppins-font {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
p,
div {
    font-family: 'Poppins', sans-serif !important;
}

.location-dropdown-h {
    max-height: 130px;
}

.location-dropdown-h::-webkit-scrollbar {
    display: none;
}

/* Apply to select inside */
.custom-scroll-h {
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.custom-scroll-h::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.custom-dropdown-h {
    position: relative;
    width: 100%;
}

.dropdown-input-h {
    width: 100%;
    padding: 11px 1rem 11px 2.5rem;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #333;
    outline: none;
    font-size: 15px;
}

.dropdown-icon-h {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.dropdown-arrow-h {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

.dropdown-list-h {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #fff;
    border-radius: 9px;
    width: 100%;
    max-height: 120px;
    overflow-y: auto;
    margin-top: 5px;
}

.dropdown-item-h {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
}

.dropdown-item-h:hover {
    background-color: #f1f5f9;
}

.dropdown-list-h::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.dropdown-list-h::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.dropdown-list-h::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 6px;
    border: 1px solid transparent;
    background-clip: content-box;
}

.dropdown-list-h::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a0;
}

.hidden-h {
    display: none;
}

.fade-premium-item-h {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    animation: premiumReveal-h 0.6s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes premiumReveal-h {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.skeleton-h {
    pointer-events: none;
    user-select: none;
    opacity: 1;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.shimmer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.2s infinite;
}

.shimmer {
    position: relative;
    overflow: hidden;
}

@keyframes pulse-skeleton {

    0%,
    100% {
        background-color: #f3f4f6;
    }

    50% {
        background-color: #e5e7eb;
    }
}

/* 🔁 Keyframes for shimmer */
@keyframes needed-shimmer-animation {
    100% {
        transform: translateX(100%);
    }
}

/* 🔳 Apply to each service skeleton card block */
.needed-shimmer-bg {
    position: relative;
    overflow: hidden;
}

.needed-shimmer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: needed-shimmer-animation 1.5s infinite;
}

/* Optional pulse effect for boxes/text inside */
@keyframes needed-pulse {

    0%,
    100% {
        background-color: #f3f4f6;
    }

    50% {
        background-color: #e5e7eb;
    }
}

@keyframes slowShimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.animate-slow-shimmer {
    background: linear-gradient(to right, #f3f4f6 8%, #e5e7eb 18%, #f3f4f6 33%);
    background-size: 800px 104px;
    animation: slowShimmer 1.5s linear infinite;
}

.shimmer-listing-h {
    animation: shimmerEffectListing-h 1.5s infinite linear;
    background: linear-gradient(to right, #f3f4f6 8%, #e5e7eb 18%, #f3f4f6 33%);
    background-size: 800px 100px;
}

@keyframes shimmerEffectListing-h {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.listing-image-h.loaded-h {
    opacity: 1 !important;
}

@keyframes shimmerVendor {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-vendor {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmerVendor 1.5s infinite linear;
}

/* ⬆ Fade Out - Smooth shrink and lift */
.skeleton-fade-out-h {
    animation: fadeOutSmooth-h 1s ease forwards;
}

@keyframes fadeOutSmooth-h {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-7px) scale(0.97);
    }
}

/* ⬇ Fade In - Smooth drop and scale-up */
.trending-category-h {
    opacity: 0;
    transform: translateY(7px) scale(0.97);
    animation: fadeInSmooth-h 1s ease forwards;
}

@keyframes fadeInSmooth-h {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.trending-category-h {
    min-width: 120px;
    /* similar to typical category width */
    max-width: 200px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 9999px;
}

.category-skel-label-h {
    width: 90px;
}

@media (min-width: 640px) {
    .category-skel-label-h {
        width: 100px;
    }
}

@media (min-width: 768px) {
    .category-skel-label-h {
        width: 110px;
    }
}

.sponsor-ad-section-h {
    padding: 1rem;
}

.sponsor-ad-frame-h {
    max-width: 1344px;
    margin: 0 auto;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: #fff;
}

.sponsor-ad-link-h {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.sponsor-ad-img-h {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0;
}

/* Video Section  */
.video-carousel-section-h {
    perspective: 1200px;
    overflow: visible;
    background: #fafbfc;
    padding: 4rem 0;
}

.video-carousel-section-h .swiper {
    overflow: visible;
    padding: 1.2rem 0;
    /* show the overlapped cards */
}

.video-carousel-section-h .swiper-wrapper {
    align-items: center;
    /* vertically center slides */
}

/* Base slide style */
.video-carousel-section-h .swiper-slide {
    max-width: 320px;
    transition:
        transform 0.5s ease,
        opacity 0.5s ease,
        filter 0.5s ease;
    filter: brightness(0.7) grayscale(20%);
    opacity: 0.9;
}

/* Side slides */
.video-carousel-section-h .swiper-slide-next,
.video-carousel-section-h .swiper-slide-prev {
    transform: scale(0.9);
    filter: brightness(0.8) grayscale(15%);
    opacity: 0.7;
    z-index: 1;
}

/* Active (center) slide */
.video-carousel-section-h .swiper-slide-active {
    transform: scale(1.1) translateZ(50px);
    filter: none;
    opacity: 1;
    z-index: 2;
}

.video-swiper-h .swiper-wrapper {
    height: 500px;
}

/* Video card styling */
.carousel-video-h {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #000;
    /* letterboxing fallback */
}

/* ─── Professional Glassmorphic Arrows ───────────────────────── */
.video-carousel-section-h .swiper-button-prev,
.video-carousel-section-h .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;

    /* semi-translucent white + subtle blur */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);

    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.video-carousel-section-h .swiper-button-prev {
    left: 16px;
    /* move inside container */
}

.video-carousel-section-h .swiper-button-next {
    right: 16px;
}

/* Arrow icon color & size */
.video-carousel-section-h .swiper-button-prev::after,
.video-carousel-section-h .swiper-button-next::after {
    font-size: 1.4rem;
    color: #1f2937;
    opacity: 0.85;
}

/* Hover state */
.video-carousel-section-h .swiper-button-prev:hover,
.video-carousel-section-h .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Active (pressed) state */
.video-carousel-section-h .swiper-button-prev:active,
.video-carousel-section-h .swiper-button-next:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Pagination bullets */
.video-carousel-section-h .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
}

.video-carousel-section-h .swiper-pagination-bullet-active {
    background: #1f2937;
}

/* ─── Mobile adjustments ───────────────────────────────────── */
@media (max-width: 640px) {
    .video-carousel-section-h .swiper {
        overflow: hidden;
        padding: 3rem;
        /* hide any peek */
    }

    .video-carousel-section-h .swiper-button-prev {
        left: 0;
    }

    .video-carousel-section-h .swiper-button-next {
        right: 0;
    }

    .video-carousel-section-h .swiper-slide {
        width: 100%;
        /* fill the viewport */
        max-width: none;
        /* override the 300px cap */
    }
}

/* ─── Tablet adjustments ───────────────────────────────────── */
@media (min-width: 641px) and (max-width: 1024px) {
    .video-carousel-section-h .swiper-slide {
        width: 80vw;
        /* ~80% of viewport */
        max-width: 280px;
        /* cap it */
    }
}

.image-wrapper-h {
    width: 100%;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.image-h {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show entire image without cropping */
    display: block;
}

/* Image wrapper adjusted to 5:3 ratio */
.daily-offer-imgbox-h {
    position: relative;
    background-color: #f3f4f6;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border-radius: 0.75rem;
}

/* Image styling */
.daily-offer-img-h {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.city-grid-h {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.city-card-h {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
    color: #111827 !important;
    transition: transform 0.2s ease-in-out;
}

.city-img-box-h {
    aspect-ratio: 1 / 1;
    /* Make it square */
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f3f4f6;
    position: relative;
    width: 100%;
}

.city-img-box-h img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-placeholder-h {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1rem;
    background-color: #f3f4f6;
}

.city-name-h {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 1280px) {
    .city-grid-h {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1024px) {
    .city-grid-h {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .city-grid-h {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .city-grid-h {
        grid-template-columns: repeat(2, 1fr);
    }
}