
/* ==========================================
   MOTIMOWA – GALERIA PRODUKTÓW WOOCOMMERCE
   ========================================== */

/* Kontener slidera */
.single-product .woocommerce-product-gallery .motimowa-thumbs-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
    margin-top: -15px !important;
    overflow: visible;
}

/* Pozioma lista miniatur */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

/* Ukrycie paska przewijania */
.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

/* Dokładnie 3 miniatury w widocznym obszarze */
.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    box-sizing: border-box !important;
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    min-width: 0;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Zdjęcia miniatur */
.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
}

/* Strzałki slidera */
.single-product .woocommerce-product-gallery .motimowa-thumbs-prev,
.single-product .woocommerce-product-gallery .motimowa-thumbs-next {
    position: relative !important;
    flex: 0 0 30px !important;
    min-width: 30px !important;
    z-index: 10 !important;
    transform: translateY(-8px);
    background: rgba(255, 0, 85, 0.5) !important;
    color: #fff !important;
}

/* Strzałki po najechaniu */
.single-product .woocommerce-product-gallery .motimowa-thumbs-prev:hover,
.single-product .woocommerce-product-gallery .motimowa-thumbs-next:hover {
    background: rgba(255, 0, 85, 1) !important;
}
