/* Стили для детальной страницы продукта */
.product-detail-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-detail-header-custom {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-detail-image-custom {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.product-detail-image-custom img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-detail-info-custom {
    flex: 1;
    min-width: 300px;
}

.product-detail-name-custom {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
}

.product-detail-price-custom {
    font-size: 28px;
    color: #e74c3c;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.product-detail-category-custom {
    font-size: 18px;
    color: #666;
    margin: 0 0 30px 0;
}

.product-detail-actions-custom {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.buy-button {
    background: #27ae60;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buy-button:hover {
    background: #219653;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-size: 16px;
}

.back-link:hover {
    text-decoration: underline;
}

.product-detail-description-custom {
    background: transparent;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-description-custom h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.product-description-content {
    line-height: 1.6;
    color: #444;
}

.product-description-content > ul {
    padding-left: 1.5em;
}

.product-description-content > ol {
    padding-left: 1.5em;
}

.product-description-content > ol ul {
    padding-left: 1.5em;
}

.test-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.test-button {
    width: auto;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-detail-header-custom {
        flex-direction: column;
    }

    .product-detail-image-custom {
        max-width: 100%;
    }

    .product-detail-name-custom {
        font-size: 28px;
    }

    .product-detail-price-custom {
        font-size: 24px;
    }
}