.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sliderContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 32px 0;
}


.sliderContainer h2 {
    color: var(--Principal, #174A42);
    font-family: Pontiac;
    font-size: 24px !important;
    font-style: normal;
    font-weight: 900;
    line-height: 32px !important; /* 133.333% */
    text-transform: uppercase;
    width: 100%;
    margin: 0;
}

.sliderWrapper {
    position: relative;
    width: 100%;
}

.slider, .homeCategorySlider {
    display: inline-flex;
    width: 100%;
    gap: 22px;
    /* cursor: grab; */
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 9px;
}



.productCard {
    min-width: 300px;
    flex: 0 0 auto;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    z-index: 1;
    width: 32px ;
    display: none;
    border-radius: 24px 24px 24px 24px;
    padding: 12px 24px 12px 24px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: #174A42;
}

.prev:disabled,
.next:disabled {
    background-color: #174A42;
    cursor: not-allowed;
}

/* Hide buttons on mobile */
@media (max-width: 768px) {
    .prev,
    .next {
        display: none !important;
    }
}


 
@media (max-width: 768px) {
    .video-wrapper {
        height: auto; 
        padding-bottom: 0;
    }

    .video-wrapper iframe,
    .video-wrapper video {
        width: 100%; 
        height: auto; 
    }

    .video-wrapper iframe {
        position: relative;
    }
/* 
    .elementor iframe {
        width: 100% !important;
        height: 100vw !important;
    } */

    .video-wrapper iframe[src*="vimeo.com"] {
        width: 100% !important; 
        height: 100vw !important;
    }
}


@media screen and (min-width: 1281px) {
    .sliderContainer {
        padding-left: calc((100vw - 1280px) / 2);
        padding-right: calc((100vw - 1280px) / 2);
    }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .sliderContainer {
        padding-left: calc((100vw - 1024px) / 2);
        padding-right: calc((100vw - 1024px) / 2);
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .sliderContainer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .sliderContainer {
        padding-left: 20px;
        padding-right: 20px;
    }
}