.product-single {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.product-image {
    flex: 1;
    min-width: 200px;
}

.product-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.product-details {
    flex: 2;
    min-width: 250px;
}

.product-category {
    color: #F11158;
    font-weight: bold;
}









/* Стили блока кнопок */
.product-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.instruction-btn {
    background: #F11158;
}

.instruction-btn:hover {
    background: #d40e4d;
    transform: translateY(-2px);
}

.buy-btn {
    background: #4CAF50;
}

.buy-btn:hover {
    background: #3e8e41;
    transform: translateY(-2px);
}

/* Иконки (используем шрифт Dashicons) */
.icon-manual:before {
    content: "\f123";
    font-family: dashicons;
    margin-right: 8px;
}

.icon-cart:before {
    content: "\f174";
    font-family: dashicons;
    margin-right: 8px;
}





.product-section {
    margin-bottom: 40px;
}
/* Стили для инструкции в карточке товара */
.product-instruction {
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    /* Изменил на flex-start для выравнивания по верху */
    gap: 20px;
    margin-bottom: 15px;
    padding: 12px;
    min-height: 150px;
    /* Минимальная высота для всего блока */
}

.instruction-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.instruction-img {
    width: auto;
        /* Ширина по содержимому */
        max-width: 150px;
        height: auto;
        /* Высота по содержимому */
        max-height: 150px;
    object-fit: contain;
    /* contain вместо cover — изображение не обрежется */
    border-radius: 8px;
    flex-shrink: 0;
    background: #fff;
    /* Фон, если картинка с прозрачностью */
}

.instruction-text {
    margin: 0;
    color: #3a426b;
    font-weight: 600;
    line-height: 1.5;
    font-size: 16px;
    align-self: center;
    /* Выравнивание текста по центру относительно картинки */
}