/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.0.6
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/
.top_banner_promotion {
    background: #003349;
    color: white;
    padding-block: 12px;
    padding-inline: 12px;
    width: 100%;
}

.cluster img {
    display: none;
}

.top_banner_promotion a {
    color: white;
}



.carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    overflow: hidden;
    width: 100%;
}

.carousel-track.top {
    display: flex;
    height: 100%;
    animation: scroll-l var(--animation-duration) linear infinite;
    width: calc(100% * var(--slide-count));
}

@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.carousel-container {
    width: 100%;
    height: 390px !important;
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smoother scrolling on iOS */
    position: relative;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.carousel-container::-webkit-scrollbar {
    /* WebKit browsers */
    display: none;
}

.carousel-track.bottom {
    display: flex;
    height: 100%;
    animation: scroll-r var(--animation-duration) linear infinite;
    width: calc(100% * var(--slide-count));
}

@keyframes scroll-r {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.carousel-slide {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
}

.carousel-slide img {
    height: 100% !important;
    width: auto;
    object-fit: cover;
    max-width: min(900px, 80vw) !important;
}

/* Responsive Styles */
@media (max-width: 1366px) {
    .carousel-container {
        height: 340px !important;
    }

    .carousel-slide img {
        max-width: min(700px, 85vw) !important;
    }
}

@media (max-width: 1024px) {
    .carousel-container {
        height: 300px !important;
    }

    .carousel-slide img {
        max-width: min(550px, 90vw) !important;
    }

    .carousel-slide {
        margin-right: 16px;
    }

    .carousel-wrapper {
        gap: 20px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 250px !important;
    }

    .carousel-slide img {
        max-width: min(400px, 92vw) !important;
    }

    .carousel-slide {
        margin-right: 12px;
    }

    .carousel-wrapper {
        gap: 16px;
        margin-bottom: 32px;
    }

    .carousel-track.top,
    .carousel-track.bottom {
        animation-duration: calc(var(--animation-duration) * 0.5) !important;
        /* Speed up by 25% */
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 200px !important;
    }

    .carousel-slide {
        margin-right: 8px;
    }

    .carousel-wrapper {
        gap: 12px;
        margin-bottom: 24px;
    }
}

@media (max-width: 360px) {
    .carousel-container {
        height: 180px !important;
    }

    .carousel-slide img {
        max-width: 98vw !important;
    }

    .carousel-slide {
        margin-right: 4px;
    }
}

/* Add pause on hover */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

.floorAme {
    h4 {
        margin-bottom: 0 !important;
    }

    .houseCat {
        font-size: 1rem !important;
    }
}