.product-item-card{
    border: 1px solid #eee;
}
.product-item-line{
    border: 1px solid #eee;
	display:flex;
	    flex-wrap: wrap;
    justify-content: space-between;
	position:relative;
}
.product-item-line .button-block{}
.product-gallery-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
	width: 400px;
	height:330px;
}

.preview_picture{
	max-height:330px;
	max-width:100%;
}

.product-item-line .product-gallery-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
	width: 500px;
	max-width:100%;
	height:330px;
}
.main-image-wrapper {
    flex: 1;
    max-width: 70%;
}

.product-item-line .main-image-wrapper {
    flex: 1;
    max-width: 100%;
    height: 400px;
}
.product-item-line .main-image{
}
.product-item-line .product-content{
	width: calc(99% - 500px);
	height:-webkit-fill-available;
	display:flex;
}
.product-item-line .product-content > div{
	height:-webkit-fill-available;
	display:flex;
    flex-wrap: wrap;
	flex:100%;
}
.product-item-line .product-content > div:first-child{
align-items: flex-start;
align-content: flex-start;
}
.product-item-line .product-content > div:last-child{
	align-items: flex-end;
	align-content: flex-end;
}
.product-item-line .product-content > div > *{
	display:flex;
	flex:100%;
	
}
.main-image {
    border-radius: 8px;
}
.product-item-card .main-image img{ width: 100%;max-height:100%;}

.thumbnails-section {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.static-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-item, .thumb-slide {
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumb-item.active, .thumb-slide.active {
    border-color: #007bff;
}

.thumb-item img, .thumb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-swiper-wrapper {
    height: 330px; /* 3 миниатюры × 100px + отступы */
}

.thumb-swiper {
    height: 100%;
}

.thumb-swiper .swiper-wrapper {
    flex-direction: column;
}

.thumb-swiper .swiper-slide {
    height: 100px !important;
    margin-bottom: 10px;
}

.thumb-swiper .swiper-button-next,
.thumb-swiper .swiper-button-prev {
    position: static;
    margin: 10px auto;
    transform: rotate(90deg);
}

.thumb-swiper .swiper-button-next:after,
.thumb-swiper .swiper-button-prev:after {
    font-size: 16px;
}

/* Модальное окно */
.modal-swiper {
    height: 70vh;
}

.modal-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-swiper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Адаптивность */
@media (max-width: 768px) {
   
}