/* --- Стили для галереи продукта (Swiper) --- */
.product-gallery {
    min-width: 0;
}

.main-swiper {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbs-swiper {
    height: 100px;
    padding: 5px 0;
}

.thumbs-swiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 5px;
    overflow: hidden;
}

.thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--main-red);
}

.thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стили для кнопки Play на видео */
.video-slide {
    position: relative;
}
.video-slide .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Чтобы клик проходил на ссылку */
}
.video-slide .play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--main-red);
    margin-left: 5px;
}
.video-thumb {
    position: relative;
}
.video-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- Стили для двухстрочной кнопки --- */
.buy-button-primary.two-line {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
}

.btn-main-text {
    font-size: 1.1rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
}

.btn-sub-text {
    font-size: 0.8rem; /* 13px */
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
}

/* Выравниваем вторую кнопку по высоте, если потребуется */
/* Новые стили для вертикального расположения кнопок */
.buy-buttons-container {
    display: flex;
    flex-direction: column; /* Ставим кнопки друг под друга */
    gap: 10px; /* Расстояние между кнопками */
}

/* Убираем лишние отступы, т.к. кнопки больше не нужно выравнивать по горизонтали */
.buy-button-secondary {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* ДЕЛАЕМ КНОПКУ OZON МЕНЕЕ ЗАМЕТНОЙ */
.buy-button-secondary {
    border-color: #616161; /* тёмно-серый */
    color: #616161;
}

.buy-button-secondary:hover {
    background-color: #616161;
    color: white;
}
