/* Container for navigation arrows */
.f2f-swipe-product,
.f2f-swipe-product-below {
    display: flex;
    justify-content: space-between;
    margin: 0px 0;
}

/* Styles for Previous and Next arrows */
.f2f-nav-previous,
.f2f-nav-next {
    display: inline-block;
    margin: 0 10px;
    padding: 5px 10px;
    border: 2px solid #000;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect for arrows */
.f2f-nav-previous:hover,
.f2f-nav-next:hover {
    background-color: #000;
    color: #fff;
}

/* Styles for icons */
.f2f-nav-previous i,
.f2f-nav-next i {
    margin: 0 5px;
}

/* Styles for swipe indicator */
.f2f-swipe-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    display: none; /* Hide by default */
}

/* Show swipe indicator during swipe */
.f2f-swipe-product.swiping .f2f-swipe-indicator {
    display: block;
}

.single-product {
    transition: transform 0.3s ease-in-out;
}

.single-product.slide-out-left {
    transform: translateX(-100%);
}

.single-product.slide-out-right {
    transform: translateX(100%);
}

/* .single-product .site-content.wd-builder-off {
    padding-right: 0;
    padding-left: 0;
    margin-top: -45px !important;
}
*/
/* For non-mobile screens (768px and above) */
@media (min-width: 768px) {
    /* Show the above-the-image buttons on desktop */
    .f2f-swipe-product {
        display: flex;
        margin-top: 12px;
    }
    /* Hide the below-the-image buttons on desktop */
    .f2f-swipe-product-below {
        display: none;
    }
}

/* For mobile screens (767px and below) */
@media (max-width: 767px) {
    /* Hide the above-the-image buttons on mobile */
    .f2f-swipe-product {
        display: none;
    }
    /* Show the below-the-image buttons on mobile */
    .f2f-swipe-product-below {
        display: flex;
        margin: 10px -10px 10px -10px;
    }
}
