/* Стилі картки товару як у зразку */
.product-cart {
    display: flex;
    align-items: center;
    grid-gap: 45px;
    margin-left: 60px;
}

/* Стилі для banner-title тепер в main.css */

@media only screen and (max-width: 1200px) {
    .product-cart {
        margin-left: 0;
    }
}

@media only screen and (max-width: 720px) {
    .product-cart {
        flex-direction: column-reverse;
    }
}

/* Головний слайдер */
.product-full-slider {
    width: 285px;
    flex-shrink: 0;
    margin: 0;
}

.product-full-slide {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.product-full-slide img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover;
}

.product-full-slide img:nth-child(2) {
    width: 90px;
    position: absolute;
    z-index: 2;
}

.product-full-slide.video::before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(26, 26, 26, 0.62);
    position: absolute;
    left: 0;
    top: 0;
}

.product-full-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Інформація про товар */
.product-cart__info {
    width: 100%;
}

.product-cart__title {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.4;
    color: #1892ed;
}

.product-cart__time {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin-top: 10px;
}

.product-cart__group {
    flex-direction: column;
    align-items: flex-start;
}

/* Слайдер мініатюр */
.product-small {
    display: flex;
    align-items: center;
    grid-gap: 25px;
    margin: 50px 0 0;
    margin-left: 50px;
    position: relative;
    height: 74px;
}

@media only screen and (max-width: 1200px) {
    .product-small {
        margin-left: 0;
        margin: 30px 0;
    }
}

.product-small-slider {
    width: 340px;
    margin: 0;
}

.product-small-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 74px;
}

.product-small-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
}

.product-small-slide img:nth-child(2) {
    width: 36px;
    height: 25px;
    position: absolute;
    z-index: 3;
}

.product-small-slide.video::before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(26, 26, 26, 0.62);
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
}

/* Стрілки для мініатюр */
.product-small-arrow {
    width: 13px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.product-small-arrow:hover svg path {
    fill: #e55725;
}

.product-small-arrow svg {
    width: 13px;
    height: 14px;
}

.product-small-arrow svg path {
    fill: #1892ed;
}

/* Коли стрілка позиціонується абсолютно */
.pc-small-next[style*="position: absolute"] {
    z-index: 10;
}

/* Таби */
.product-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
    background: #ebebeb;
    border-radius: 50px;
    margin: 65px 0 45px;
}

@media only screen and (max-width: 1200px) {
    .product-tags {
        margin: 30px 0;
    }
}

@media only screen and (max-width: 720px) {
    .product-tags {
        padding: 15px 0;
        flex-direction: column;
        grid-gap: 10px;
        border-radius: 30px;
    }
}

.product-tag {
    padding: 5px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-size: 22px;
    font-weight: bold;
    color: #066da1;
}

.product-tag.active {
    border: 4px solid #ccc7c7;
    background: #fff;
}

@media only screen and (max-width: 1400px) {
    .product-tag {
        padding: 5px 50px;
    }
}

.product-tags-content {
    display: none;
}

.product-tags-content.active {
    display: block;
}

.product-description p {
    font-size: 20px;
    line-height: 28px;
    margin: 10px 0;
}

.product-description *:first-child {
    margin-top: 0;
}

.product-description *:last-child {
    margin-bottom: 0;
}

/* Таблиця характеристик */
.product-table-wrap {
    border: 1px solid #c7c7c7;
    border-radius: 25px;
    overflow: hidden;
}

@media only screen and (max-width: 720px) {
    .product-table-wrap {
        border-radius: 15px;
    }
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: #f6f6f6;
}

.product-table thead td {
    color: #066da1;
    font-size: 22px;
    font-weight: bold;
    border-top: none;
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.product-table td {
    padding: 10px 25px;
    font-size: 20px;
    color: #1a1a1a;
    border: 1px solid #c7c7c7;
}

.product-table td:first-child {
    border-left: none;
}

.product-table td:last-child {
    border-right: none;
}

.product-table .white-td {
    background: #fff;
}

.product-table b {
    color: #066da1;
    font-size: 22px;
}

@media only screen and (max-width: 720px) {
    .product-table thead td {
        font-size: 16px;
    }
    .product-table td {
        font-size: 16px;
        line-height: 1.3;
        padding: 10px;
    }
    .product-table b {
        font-size: 16px;
    }
}

/* Відео секція */
.product-video {
    width: 100%;
    height: 500px;
    margin-top: 30px;
}

.product-video iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 15px;
}

/* Кастомний відео плеєр */
.video-player-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.custom-video-player {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.play-btn {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.play-btn:hover {
    transform: scale(1.05);
}

.play-btn img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}
