.elementor-187 .elementor-element.elementor-element-53b1cde{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-187 .elementor-element.elementor-element-0f318c7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-187 .elementor-element.elementor-element-fd63c54{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-187 .elementor-element.elementor-element-0f318c7{--width:50%;}.elementor-187 .elementor-element.elementor-element-fd63c54{--width:50%;}}/* Start custom CSS */.woocommerce div.product div.images .flex-control-thumbs li, .woocommerce-product-gallery .flex-control-nav li{
    width: 100% !important;
    min-width: 75px; /* גודל מינימלי */
    height: auto;
}

.woocommerce-product-gallery {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: auto;
    min-width: 90px; /* הגדלתי מ-75px ל-90px כדי לתת מקום לסקרולבר */
    max-height: 550px; /* גובה מקסימלי */
    overflow-y: scroll !important; /* כפיית גלילה אנכית */
    overflow-x: hidden; /* הסתרת גלילה אופקית */
    margin: 0 0 0 15px; /* ריווח חיצוני מצד שמאל */
    padding: 5px 0 5px 0; /* ללא פדינג פנימי */
    padding-left: 15px !important; /* פדינג משמאל במיוחד לסקרולבר - RTL */
    box-sizing: border-box;
    direction: rtl; /* הבטחה שהכיוון הוא RTL */
    /* הגדרות נוספות לגלילה */
    -webkit-overflow-scrolling: touch; /* גלילה חלקה במובייל */
    scroll-behavior: smooth; /* גלילה חלקה */
}

/* סגנון לסרגל גלילה מעוצב ודק יותר - מותאם ל-RTL */
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    width: 4px; /* רוחב הסקרולבר */
    background: transparent; /* רקע שקוף */
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05); /* רקע עדין */
    border-radius: 10px;
    margin: 10px 0; /* ריווח מעל ומתחת */
    margin-left: 3px; /* ריווח מהצד השמאלי - RTL */
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #e5b613; /* צבע עדין יותר */
    border-radius: 10px;
    transition: all 0.3s ease; /* אנימציה חלקה */
    border-left: 2px solid transparent; /* גבול משמאל - RTL */
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: #e5b613; /* כהה יותר בהובר */
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:active {
    background: #e5b613; /* כהה מאוד בלחיצה */
}

/* עבור Firefox */
.woocommerce-product-gallery .flex-control-thumbs {
    scrollbar-width: thin;
    scrollbar-color: #e5b613 transparent;
}

/* אפשרות חלופית - סקרולבר מינימליסטי עם קו דק */
/* הסר את הערת הקוד כדי להשתמש באפשרות זו במקום הקודמת */
/*
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    width: 2px;
    background: transparent;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: rgba(229, 182, 19, 0.6);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 182, 19, 0.9);
    width: 4px;
}
*/

/* אפשרות שלישית - סקרולבר עם הגדרה מותאמת אישית */
/* הסר את הערת הקוד כדי להשתמש באפשרות זו */
/*
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    width: 8px;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
    border-radius: 10px;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f0f0f0 0%, #d0d0d0 50%, #b0b0b0 100%);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
}
*/

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 75px; /* גודל קבוע */
    height: 75px; /* גודל קבוע */
    min-width: 75px;
    min-height: 75px;
    flex-shrink: 0; /* למנוע התכווצות */
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    border-radius: 4px; /* פינות מעוגלות קלות */
}

.woocommerce-product-gallery .flex-control-thumbs img:hover {
    border-color: #000;
    transform: scale(1.02); /* אפקט זום קל */
}

.woocommerce-product-gallery__wrapper {
    width: 100%;
}

@media (max-width: 768px) {
    .woocommerce-product-gallery {
        flex-direction: column;
    }
    .woocommerce-product-gallery .flex-control-thumbs {
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
        min-width: auto; /* ביטול רוחב מינימלי במובייל */
        max-height: none; /* ביטול הגבלת גובה במובייל */
        overflow-y: visible; /* ביטול גלילה במובייל */
        overflow-x: auto; /* גלילה אופקית במובייל */
        max-width: 100%;
        padding: 0 10px;
        margin: 15px 0 0 0; /* איפוס הריווח במובייל */
    }
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 80px;
        height: 80px;
        min-width: 80px; /* קצת יותר גדול במובייל */
        min-height: 80px;
    }
    .woocommerce-product-gallery .flex-control-thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* הסתרת חיצים ב-Chrome, Safari, Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* הסתרת חיצים בפיירפוקס */
input[type=number] {
    -moz-appearance: textfield;
}

/* הסתרת חיצים גם ב-Microsoft Edge הישן */
input[type=number]::-ms-clear,
input[type=number]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.single-product form.cart .quantity {
    position: relative;
    width: 40%;
    direction: rtl;
}

.single-product form.cart .quantity input.qty {
    width: 100%;
    text-align: center;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 0px;
    padding: 0 40px; /* מקום לכפתורים בתוך השדה */
    box-sizing: border-box;
    font-size: 16px;
}

.single-product form.cart .quantity button.plus,
.single-product form.cart .quantity button.minus {
    position: absolute;
    top: 0;
    width: 36px;
    height: 42px;
    background-color: #eeeeee00;
    color: #2c2c2c;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 2;
}

.single-product form.cart .quantity button.plus {
    left: 0; /* ב-RTL הפלוס בצד שמאל */
}

.single-product form.cart .quantity button.minus {
    right: 0; /* והמינוס בצד ימין */
}

.single-product form.cart button.single_add_to_cart_button {
    width: 60%;
    height: 42px;
    font-size: 16px;
}/* End custom CSS */