.wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    width: 100%;
}

.wrapper-item {
    position: relative;
    width: calc(33.333% - 10px); /* 3 в ряд */
    height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wrapper-item a{
    height: 100%;
    width: 100%;
}

.wrapper-item-img {
    height: 100%;
    width: 100%;
    display: block;
}

.wrapper-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 15px;
    box-sizing: border-box;
    transition: background 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.5);
}

.wrapper-item-header {
    font-size: 28px;
    margin: 0;
    color: white;
    text-align: center;
}

.wrapper-item-description {
    font-size: 14px;
    margin: 5px 0 0;
    color: white;
}


@media (max-width: 1024px) {
    .wrapper{
        width: 100%;
    }
    .wrapper-item {
        width: calc(45% - 10px); /* 2 в ряд на планшетах */
    }
}

@media (max-width: 700px) {
    .wrapper-item {
        width: 100%; /* 1 в ряд на телефонах */
    }
}

.heading-block .product-title{
    text-align: center;
}
.product-card {
    display: flex;
    gap: 20px;
    align-items: start;
}
.product-gallery {
    width: 55%;
}
.product-details {
    width: 100%;
}
.swiper-container {
    width: 100%;
    height: auto;
}
.swiper-slide img {
    height: 100%;
	margin: auto;
    display: block;
	object-fit: contain;
}

.product-details .product-description p{
    line-height: 1.5;
    max-font-size: 16px;
    font-size: 16px;
}

.product-card .swiper-container{
    height: 600px;
}

.wrapper-item {
    position: relative;
    overflow: hidden;
}

a .wrapper-item-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    white-space: nowrap;
    pointer-events: none;
    border-radius: 10px;
}

a .wrapper-item-img {
    transition: filter 0.3s ease;
}

.wrapper-item:hover a .wrapper-item-img {
    filter: blur(3px);
}

.wrapper-item:hover .wrapper-item-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}


@media (max-width: 992px) {
    .product-card{
        flex-direction: column;
    }
    .product-gallery {
        width: 100%;
    }
    .product-card .swiper-container{
        max-height: 430px;
    }
}