/* Custom Styles & Animations */
.hero-bg {
    background-image: url('assests/final-images/Creme - Miel Website banner (1).webp');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url('assests/final-images/Home Banner Verticle.webp');
    }
}

.tab-active {
    background-color: #f4b816;
    color: #261309;
    border-color: #f4b816;
}

/* Instagram Infinite Scroll */
.scrolling-wrapper {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.scrolling-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
    background: #f4b816;
    border-radius: 10px;
}

@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none !important;
    }

    * {
        scrollbar-width: none !important;
    }
}

.hide-scrollbar::-webkit-scrollbar {
    display: none !important;
}

.hide-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #b5952f;
}

/* Mobile Touch Target Fixes */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
        /* Fixes iOS bug */
    }

    .h-12.yellow-drip-ht {
        max-height: 15vw !important;
        height: 8rem;
    }
}

/* Hide SociableKIT Branding (Aggressive override) */
.sk-instagram-feed a[href*="sociablekit.com"],
.sk_branding,
.sk-branding,
.sk-ww-instagram-feed .sk-branding a.tutorial_link {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
}

/* Force Continuous Slide on SociableKIT Widget */
.sk-instagram-feed .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Add spacing between Instagram posts */
.sk-instagram-feed .swiper-slide {
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

/* Hide Slider Navigation Arrows */
.sk-instagram-feed .swiper-button-next,
.sk-instagram-feed .swiper-button-prev,
.sk-instagram-feed .sk-slider-nav,
.sk-instagram-feed button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Force Grab Cursor on Instagram Slider */
.sk-instagram-feed,
.sk-instagram-feed .swiper-container,
.sk-instagram-feed .swiper-wrapper {
    cursor: grab !important;
}

.sk-instagram-feed:active,
.sk-instagram-feed .swiper-container:active,
.sk-instagram-feed .swiper-wrapper:active {
    cursor: grabbing !important;
}