.nav-pills .nav-link img {
  	 width: auto;
    object-fit: cover;
    max-width: 100%;
}
#v-pills-tab.nav-pills .nav-link {
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /*height: 75px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
#v-pills-tab.nav-pills .nav-link.active {
    opacity: 1;
    border-color: #5c7339 !important;
}

.cursor-zoom {
    cursor: zoom-in;
}

#v-pills-tab.nav-pills .nav-link.active, #v-pills-tab.nav-pills .show>.nav-link {
	background-color:#fff;
}
.thumb-scroll-container {
   /* max-height: 500px; /* Ограничиваем высоту для скролла слева */
    overflow-y: auto;
    overflow-x: hidden;
}







.product-gallery-wrapper {
    transition: all 0.3s ease;
    background: transparent;
}

/* Кнопка закрытия по умолчанию скрыта */
.close-fullscreen {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
}


.is-fullscreen .sl-wr {
	width:100%;
	height:100%;
}
.is-fullscreen .close-fullscreen {
    display: block;
}

.is-fullscreen .carousel-item img {
    max-height: 80vh;
    object-fit: contain !important; /* Чтобы фото не обрезалось */
}

/* Настройка миниатюр в фуллскрине */
.is-fullscreen .thumb-scroll-container {
   max-height: 85vh;
    overflow-y: auto;
    height: 100%;
}

.is-fullscreen .sl-wr .col-12.col-md-10 {
	   /* height: 100%;*/
    align-items: center;
    display: flex;
    justify-content: center;
}


.is-fullscreen  .carousel-inner.rounded.shadow-sm {
	display: flex;
    align-items: center;
    height: 100%;
}







@media (max-width: 767px) {
    .thumb-scroll-container {
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    .is-fullscreen .sl-wr .col-12.col-md-10{
    	margin-bottom: auto;
    margin-top: auto;
    }
    .is-fullscreen #v-pills-tab {
	width:100%!important;
	}
}

#imageModal .modal-body img {
    max-height: 80vh;
    object-fit: contain;
}

/* Эффект при наведении на основную карусель */
.carousel-inner img {
    transition: transform 0.5s ease;
}
.carousel-inner:hover img {
  /*  transform: scale(1.02);*/
}

/* Таблица характеристик */
.table th {
    background-color: transparent;
}


@media (min-width: 768px) {
.is-fullscreen #v-pills-tab {
	height:calc(100% - 40px)!important;
}
}






/* 1. Убираем любые «прыжки» и лишние скалирования картинок */
.carousel-inner .carousel-item img {
    transition: none !important; /* Картинка внутри слайда не должна иметь своих анимаций */
    transform: none !important;
    backface-visibility: hidden; /* Убирает мерцание в Chrome/Safari */
}

/* 2. Плавность появления всего контейнера (Fullscreen) */
.product-gallery-wrapper.is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999995;
    padding: 20px;
    display: flex;
    align-items: center;
    /* Анимация только для входа в режим */
    animation: fullscreen-entry 0.3s ease-out;
}
.cr-btn {
	position:relative;
}
@keyframes fullscreen-entry {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

/* 3. Скрытие стрелок */
.hide-controls .carousel-control-prev,
.hide-controls .carousel-control-next {
    display: none !important;
}

/* Ограничение высоты фото в фуллскрине */
.is-fullscreen .carousel-item img {
    max-height: 85vh;
    width: auto !important;
    margin: 0 auto;
    max-width: 100%;
}

/**/
:root { --nav-btn-width: 40px; }

  .seo-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden; /* Скрываем то, что вылезло */
  }

  .seo-links-wrapper {
    overflow: hidden;
    width: 100%;
    /* Маска для эффекта затухания справа */
    /*-webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);*/
  }
.nav-btn.btn-next {
  	    border: 0;
    box-shadow: none;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.00) 100% );
        padding: 2px 0 2px 20px;
        border-radius:0;
}
.nav-btn.btn-prev {
		    border: 0;
    box-shadow: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 50%,  rgba(0, 0, 0, 0.00) 100% );
	padding: 0px 20px 2px 0;
	 border-radius:0;
	   color: #4d6727;
	   
}
  .seo-links-wrapper .btn.seo-links__link {
  	font-size: 14px;
    font-weight: 600;
    color: #000000;
    background: #f1f1f1;
  }
.nav-btn svg {
	    width: 12px;
}

  .seo-links__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .seo-links__link {
    white-space: nowrap;
    display: inline-block;
  }

  /* Стили кнопок */
  .nav-btn {
    position: absolute;
    z-index: 10;
    width: var(--nav-btn-width);
    height: var(--nav-btn-width);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: opacity 0.3s;
  }

  .nav-btn.d-none { display: none !important; }
  .btn-prev { left: 0; }
  .btn-next { right: 0; }
  .sl-wr .col-12.col-md-2{
  }
  #v-pills-tab {
    display: flex !important;
    flex-wrap: nowrap !important;
    padding: 0;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
  