.elementor-element-2a192bc2 {
    padding: 1.5%;
    gap: 3%;
}

/* .e-con.e-con>.e-con-inner>.elementor-widget, .elementor.elementor .e-con>.elementor-widget{
  height: 100%;
} */
/* .elementor-181451 .elementor-element.elementor-element-34f8d7f 
{
    margin-right:1.5%;
    margin-top: 1.5%;
    margin-bottom: 1.5%;
     max-height: 625px;
  overflow-y: auto; 
  display: flex;
  flex-direction: column;
} */


/* .elementor-181451 .elementor-element.elementor-element-34f8d7f {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    
  
    scrollbar-width: thin; 
    scrollbar-color: #F0EDEA white;
}


.elementor-181451 .elementor-element.elementor-element-34f8d7f::-webkit-scrollbar {
    width: 1px; 
}

.elementor-181451 .elementor-element.elementor-element-34f8d7f::-webkit-scrollbar-track {
    background:white;  
}

.elementor-181451 .elementor-element.elementor-element-34f8d7f::-webkit-scrollbar-thumb {
    background-color:#F0EDEA;
    border-radius: 10px;     
} */

.elementor-widget-bf_variation_gallery,
.elementor-widget-bf_variation_gallery .bfvgs-gallery-slider{
  height: 100%;
}

.bfvgs-gallery-slider {
    position: relative;
    max-width: 100%;
    text-align: center;
    padding: 0;
    height: 100%; /* Ensure the slider takes full height of its parent */
}

/* Ensure Elementor widget container also takes full height */
.elementor-widget-container {
    height: 100%;
}

/* Styles for individual slides */
.bfvgs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0; /* Initially hidden for fade */
    transition: opacity 0.5s ease; /* Fade transition */
    z-index: 1;
    pointer-events: none;
}

/* Styles for the active slide */
.bfvgs-slide-active {
    opacity: 1; /* Fully visible when active */
    z-index: 2;
    height: 100%;
    pointer-events: auto;
}

/* Styles for images within slides */
.bfvgs-slide img {
    max-width: 100%;
    height: auto;
  margin : 0 auto;
  display: block;
}

/* Styles for the slides container */
.bfvgs-slides-container{  
    overflow: hidden;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    width: 100%;
    object-fit: cover;
    padding: 2%;
    position: relative; /* Ensure slides are positioned relative to this container */
    height: 100%; /* Add a minimum height to ensure visibility */
    height: 100%;
}
.bfvgs-gallery-slider .bfvgs-slides-container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox styling */
.bfvgs-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.bfvgs-slide a[data-elementor-open-lightbox="yes"] {
    cursor: zoom-in;
}

.bfvgs-slide a img {
    pointer-events: none; /* Prevent image from interfering with link click */
}
#bfvgs-slider-2e8624d{
    padding: 0;
}

.bfvgs-slider-dots {
    display: block;
    margin-top: -2px;
    margin-bottom:5px;
}
.bfvgs-slider-dot.active{
  background-color:#502020;
}
.yith_wccl_value_wrapper{
    display: none;
}
.bfvgs-thumbnails-list{
    list-style-type: none;
    display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 1vh; 
}

.bfvgs-thumbnail-item {
  margin: 0;
  padding: 0;
  width: 100%;
}
.woocommerce .bfvgs-thumbnail-item img {
  display: block; 
  width: 100%;     
  margin: 0;
  padding: 0;
  height: 135px;
  object-fit: cover;
}
.select_option:hover .yith_wccl_tooltip.fade, .select_option:hover .yith_wccl_tooltip.slide{
    display: none;

}
.bfvgs-slide-active {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bfvgs-slider-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.bfvgs-slider-dot.active {
    background: #502020;
}
.bfvgs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 22px;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: background 0.2s;
}
.bfvgs-arrow:hover {
    background: #eee;
}
.bfvgs-arrow-prev {
    left: 10px;
}
.bfvgs-arrow-next {
    right: 10px;
} 

/* Sliding animation states */
.bfvgs-slide-enter-next, .bfvgs-slide-enter-prev, .bfvgs-slide-exit-next, .bfvgs-slide-exit-prev {
    /* These classes are no longer used for transform animations, keep for cleanup consistency */
    transform: none; /* Reset any potential transform from previous versions */
    opacity: 0; /* Ensure they are hidden if they were meant to be off-screen */
    z-index: 1; /* Default z-index */
}

/* @media (max-width: 880px) {
  .elementor-181451 .elementor-element.elementor-element-34f8d7f {
     display: flex;
    flex-direction: row;       
    overflow-x: auto;          
    overflow-y: hidden;       
     max-height: none;         
    gap: 8px;                 
    padding-bottom: 10px;     
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
    height: auto;
  }

  .elementor-181451 .elementor-element.elementor-element-34f8d7f > * {
    flex: 0 0 auto;           
    width: 80px;             
    height: auto;
    scroll-snap-align: start;
  }

  .bfvgs-thumbnails-list {
    display: flex;
    flex-direction: row;        
    overflow-x: auto;           
    overflow-y: hidden;         
    flex-wrap: nowrap;           
    gap: 8px;                    
     width: 100%; 
  }
  .bfvgs-slides-container{
    height: 450px;
  }

  .bfvgs-thumbnails-list li {
    flex: 0 0 auto;
    width: 60px;
    height: auto;
  }

  .bfvgs-thumbnails-list img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

} */



@media (max-width: 767px){
    .elementor-181451 .elementor-element.elementor-element-34f8d7f{
        display: none;
    }
    .bfvgs-slider-dot {
        width: 20px;
    height: 3px;
    background: #D2C9C1;
    border-radius:0;
    border-radius: 10px;
    }
    .bfvgs-slider-dots{
            display: block;
     margin-top: -10px;
    }
    .bfvgs-slider-dot.active{
        background:#502020;
    }
    .bfvgs-slider-dots span.bfvgs-slider-dot:nth-child(1){
        width: 35px;
    }

}

@media (max-width: 480px){
    .bfvgs-slides-container{
        height: 90%;
    }
}


@media (min-width: 768px) and (max-width: 880px) {
  /* #continer_plugin {
    display: flex !important;
    flex-direction: row-reverse !important;  
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 10px;
  }

  #continer_plugin > .elementor-element:first-child {
    width: 20% !important;
    flex: 0 0 auto !important;
  }

  #continer_plugin > .elementor-element:last-child {
    width: 78% !important;
    flex: 0 0 auto !important;
  } */
/* הקונטיינר הראשי */
  #continer_plugin {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 10px;
    /* max-height: 600px !important; הגובה הכולל */
    overflow: hidden !important;
  }

  /* הקונטיינר של התמונות הצדדיות (הימני) */
  #continer_plugin > .elementor-element:first-child {
    width: 20% !important;
    /* max-height: 600px !important; מתאים לגובה הקונטיינר הראשי */
    overflow-y: auto !important; /* גלילה אנכית */
    display: flex;
    flex-direction: column;
    gap: 10px; /* רווח בין התמונות */
    scrollbar-width: thin; /* לגלילה דקה בדפדפנים תומכים */
  }

  /* הקונטיינר של התמונה הראשית (השמאלי) */
  #continer_plugin > .elementor-element:last-child {
    width: 78% !important;
    flex: 0 0 auto !important;
  }

  /* אם התמונות הצדדיות עטופות באלמנט נוסף (כמו div או ul), הוסיפי גם לו: */
  #continer_plugin > .elementor-element:first-child > * {
    flex-shrink: 0;
  }


}






