.product-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    margin: 0 auto;
}

.detail {
    display: flex;
    gap: 2vmax;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2vmax 0;
}

/* =========================================
   КОНТЕЙНЕР С МЕДИА (ЛЕВАЯ КОЛОНКА)
   ========================================= */

.detail img {
    width: 35%;
    height: auto;
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.detail img:hover{
    transform: scale(1.05);
}

/* =========================================
   КОНТЕЙНЕР С КОНТЕНТОМ (ПРАВАЯ КОЛОНКА)
   ========================================= */

.product-name{
    display: flex;
    justify-content: center;
}

.product-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1vmax;
}

.product-content h2 {
    font-size: 2vmax;
    border-bottom: 2px solid black;
}

.product-price, .sell-price{
    display: flex;
    align-items: center;
    gap: 1vmax;
}

.note-price{
    font-size: 1vmax;
    color: gray;
    font-weight: bold;
}

.product-description{
    font-size: 1vmax;
}

.btn{
    margin-bottom: 2vmax;
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ (VERTICAL LAYOUT)
   ========================================= */
@media (max-width: 992px) {

    .product-detail{
        width: 80%;
    }

    .detail {
        flex-direction: column;
        align-items: center;
    }

    .product-name{
        display: none;
    }

    .product-price, .sell-price{
        justify-content: center;
    }

    .note-price{
        font-size: 1.2vmax;
        text-align: center;
        font-weight: normal;
    }

    .detail img{
        align-self: center;
        width: 20vmax;
        height: auto;
    }

    .product-content {
        width: 100%;
    }

    .product-description{
        font-size: 1.4vmax;
    }

}