/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/
ul.flex-direction-nav {
    position: absolute;
    top: 35%;
    width: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(-50%);
}

li.flex-nav-prev {
    position: absolute;
    left: -20px;
}

li.flex-nav-next {
    position: absolute;
    right: 10px;
    margin-top: -20px;
}

a.flex-next, a.flex-prev {
    visibility: hidden;
}

a.flex-next::after, a.flex-prev::before {
    visibility: visible;
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    border: solid 2px #fff;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

a.flex-next::after {
    content: "‹";
    font-weight: bold;
}

a.flex-prev::before {
    content: "›";
    font-weight: bold;
}

a.flex-next:hover::after, a.flex-prev:hover::before {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    transform: scale(1.1);
}

.elementor-widget-woocommerce-product-images .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-bottom: 10px;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.elementor-widget-woocommerce-product-images .flex-control-thumbs::-webkit-scrollbar {
    height: 6px;
}

.elementor-widget-woocommerce-product-images .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.elementor-widget-woocommerce-product-images .flex-control-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}