/* Контейнер всего блока продукта */
.product-detail-info {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px 40px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    box-shadow: 0 0 25px #a700ff;
    color: #e0d9ff;
    font-family: 'Courier New', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

/* Заголовок */
.product-detail-info h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f5edf7;
    text-shadow: 0 0 10px #a700ff;
}

/* Описание */
.product-detail-info p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #c1b8e6;
    margin-bottom: 25px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Цена */
.price-block {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin-right: 10px;
}

.new-price {
    color: #ff5a5a;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #ff5a5a88;
}



.product-detail-info .price-block::before {
    
    font-weight: 700;
    color: #d154ff;
    text-shadow: 0 0 8px #a700ff;
    position: absolute;
    left: -1.4em;
}

/* Кнопка назад */
.back-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #d154ff;
    color: #000;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 20px #a700ff;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #aa33ff;
    color: #fff;
}

/* Слайдер контейнер */
.slider {
    position: relative;
    max-width: 800px;
    height: 450px;
    margin: 30px auto 40px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 25px #a700ff;
    background-color: #1a1a2b;
}

/* Слайды */
.slides {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Каждый слайд */
.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 10px;
}

/* Картинка в слайде */
.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 25px #a700ff;
    user-select: none;
}

/* Кнопки управления */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(191, 0, 255, 0.8);
    color: #0e0e0e;
    border: none;
    font-size: 30px;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    user-select: none;
    box-shadow: 0 0 15px #a700ff;
    transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: #aa33ff;
    color: white;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Адаптив */
@media (max-width: 768px) {
    .product-detail-info {
        padding: 20px 15px;
        max-width: 95%;
    }
    .product-detail-info h1 {
        font-size: 2rem;
    }
    .product-detail-info p {
        font-size: 1rem;
    }
    .product-detail-info .price {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .slider {
        height: 280px;
    }
    .prev, .next {
        font-size: 22px;
        padding: 8px 14px;
    }
}