.product-container {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 30px;
    /*margin-bottom: 100px;*/

    display: grid;
    grid-template-columns: 360px auto;
    column-gap: 30px;
}

.swiper-product {
    margin-bottom: 10px;
}

.swiper-product-slide {
    aspect-ratio: 360 / 540;
    width: 100%;
    height: auto;
    background-color: #fff;
    display: flex;
}

.swiper-product-slide img {
    width: auto;
    height: auto;
    margin: auto;
    max-width: 100%;
}

.swiper-product-thumbs {
    /* height: 110px; */
}

.swiper-product-thumbs .swiper-product-slide {
    width: 100%;
    height: auto; /* Позволяем высоте определяться содержимым */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.swiper-product-thumbs .swiper-product-slide:hover {
    opacity: 0.8;
}

.swiper-product-thumbs .swiper-product-slide-thumb-active {
    opacity: 1;
    outline: 2px solid #911504; /* Использую ваш цвет из темы */
    outline-offset: 2px;
}

.swiper-product-thumbs .swiper-product-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Видео-миниатюра */
.swiper-product-thumb--video {
    position: relative;
    background: #f0f0f0;
}

.product-description {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.product-description .labels-wrapper {
	display: flex;
	column-gap: 6px
}

.product-description .labels-wrapper .label {
	background: #911504;
	border-radius: 6px;
	padding: 0 15px;
	height: 37px;
	display: flex;
	align-items: center;
	font-weight: 400;
	font-size: 14px;
	color: #fff;
}

.product-description .labels-wrapper .label--rasprodazha {
	background: #4d4d4d;
}

.product-description h1 {
    font-size: 45px;
    line-height: 1.05;
    letter-spacing: -0.04em;

    margin: 0;
}

.product-description h2 {
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.02em;
    
    margin: 0 0 12px 0;
}

.product-description__characters ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-description__characters ul li {
    margin-top: 6px;
}

.product-form__sizes {
    border: 0 none;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 8px;
}

.product-form__sizes input {
    display: none;
}

.product-form__sizes label {
    cursor: pointer;

    border-radius: 8px;
    width: 90px;
    height: 60px;
    background: rgba(199, 199, 199, 0.2);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    -webkit-user-select: none; /* For Safari */
    -ms-user-select: none;    /* For Internet Explorer */
    user-select: none;        /* Standard syntax */
}

.product-form__sizes label .size {
    font-weight: 600;
    font-size: 16px;
}

.product-form__sizes label .height {
    font-weight: 400;
    font-size: 12px;
    opacity: 0.7;
}

.product-form__sizes label:hover {
    background: rgba(199, 199, 199, 0.7);
}

.product-form__sizes input:checked ~ label {
    background: #911504;
    color: #fff;
}

.product-form__sizes input:disabled ~ label {
    opacity: 0.4;
}

.product-form__submit-area {
    margin-top: 32px;

    display: flex;
    column-gap: 8px;
}

.product-form__btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;

    border-radius: 4px;
    width: 200px;
    height: 60px;
    background: #911504;

    border: 0 none;
    color: #fff;
    font-size: 16px;

    cursor: pointer;
}

.product-form__btn-submit:hover {
    opacity: 0.7;
}

.product-form__submit-area .product-counter {
    width: 160px;
    height: 60px;

    background: #e9e9e9;
    border-radius: 4px;

    display: grid;
    grid-template-columns: 50px auto 50px;
    align-items: stretch;
}

.product-form__submit-area .product-counter button,
.product-form__submit-area .product-counter input {
    width: 100%;
    height: 100%;
}

.product-form__summ {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;

    font-weight: 500;
    font-size: 45px;
    letter-spacing: -0.04em;

    margin-left: 32px;

    white-space: nowrap;
}

.swiper-product-slide--video {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-product-slide--video video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.swiper-product-thumb--video {
    position: relative;
    cursor: pointer;
}

.swiper-product-thumb--video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.5);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
}

.video-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1440px) {
    .product-description h1 {
        font-size: 30px;
    }

    .product-form__submit-area {
        flex-wrap: wrap;
        row-gap: 15px;
    }

    .product-form__summ {
        font-size: 30px;
        margin: 0;
        order: 1;

        width: 100%;
        justify-content: flex-start;
    }

    .product-form__btn-submit {
        order: 2;
    }

    .product-form__submit-area .product-counter {
        order: 3;
    }
}

@media (max-width: 1210px) {
    .product-form__submit-area .product-counter {
        order: 2;
    }

    .product-form__btn-submit {
        order: 3;
    }
}

@media (max-width: 1100px) {
    .product-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

      .product-description h1 {
        font-size: 25px;
    }
}

@media (max-width: 630px) {
    .product-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 20px;
    }
}