/* Контейнер карточки */
.product-detail {
    width: 90vw;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 20px;
}

.product-detail:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Изображение */
.product-detail img {
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Заголовок товара */
.product-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Описание товара */
.product-description {
    font-size: 1rem;
    color: #555;
    line-height: normal;
    margin-bottom: 20px;
}

.product-description p {
    margin: 5px;
}

.product-description br {
    margin-bottom: 10px;
}

.product-description strong {
    font-weight: bold;
    color: #333;
}

/* При наведении показываем больше текста */
.product-detail:hover .product-description {
    max-height: none;
}

/* Цена */
.price {
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Кнопка */
.product-detail .btn {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.product-detail .btn:hover {
    background-color: #28a745;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Пример сброса стилей для заголовков и списков */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}
h6 {
     font-size: 1.3em;
     font-weight: bold;
 }
@media (max-width: 768px){
    .product-description{
        width: 90%;
    }

}