.product-page { 
    max-width: 1200px; 
    margin: 0 auto; 
    //padding: 20px; 
}

.product-main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

/* Блок с большой картинкой и миниатюрами */
.product-gallery {
    display: flex;
    gap: 15px;
    flex: 2;
    min-width: 400px;
}

/* Большая картинка */
.gallery-main {
    flex: 3;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-thumbs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbs img {
    width: 100%;
    max-width: 80px;
    height: auto;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.gallery-thumbs a {
    display: block;
}

.gallery-thumbs a.active img {
    border-color: #3970B0;
}

/* Информация о товаре */
/* Иконка-подсказка */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background: #e8edf5;
    color: #3970B0;
    font-size: 15px;
    font-weight: normal;
    border-radius: 50%;
    cursor: help;
    position: relative;
    transition: all 0.2s ease;
}

.tooltip-icon:hover {
    background: #3970B0;
    color: white;
    //transform: scale(1.1);
}

/* Всплывающая подсказка через атрибут data-tooltip */
.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a3a5c;
    color: white;
    font-size: 12px;
    font-weight: normal;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: none;
    font-family: Arial, sans-serif;
}

/* Адаптив для длинных подсказок */
@media (max-width: 768px) {
    .tooltip-icon:hover::after {
        white-space: normal;
        width: 200px;
        text-align: center;
        bottom: auto;
        top: 125%;
    }
}
.product-info {
    flex: 2;
    min-width: 300px;
}
.product-info h2 {
    font-size: 25px;
    font-weight: 800;
    color: #1a3a5c;
    //margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.product-info h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c2d2d, #e84003, #3970B0);
    border-radius: 2px;
}
.features-block { 
    margin-top: 5px; 
}

.features-block h3 { 
    color: #5a5d60; 
    margin-bottom: -3px; 
}

.features-block ul { 
    margin: 0; 
    padding-left: 20px; 
}

.btn { 
    display: inline-block; 
    padding: 12px 24px; 
    background: #3970B0; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    text-decoration: none; 
}

.btn-primary:hover { 
    background: #2c5a8c; 
}

.specs-section { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 40px; 
}

.specs-image { 
    flex: 1; 
    min-width: 400px; 
}

.specs-image img { 
    width: 100%; 
    height: auto; 
}

.specs-table { 
    flex: 2; 
    min-width: 300px; 
}

.specs { 
    margin-left: 60px; 
    border-collapse: collapse; 
}
.specs-action {
    /* padding: 20px; */
    margin: 10px 0 0 60px
}
.specs td, 
.specs th { 
    vertical-align: top; 
}

.specs tr:nth-child(even) { 
    background: #f5f5f5; 
}

.specs th { 
    color: #666666; 
    text-align: center; 
}

.price-row-a td { 
    background: #f5f5f5; 
    font-weight: bold; 
    color:#FF5722
}
.price-row-r td { 
    background: #ffffff; 
    font-weight: bold; 
    color:#FF5722
}

.specs-note { 
    font-size: 12px; 
    color: #666; 
    //background: #fafafa; 
    padding: 10px;
    font-style: italic;
}

.advantages-section { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    margin-bottom: 40px; 
}
.advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* одинаковое расстояние между всеми блоками */
}

.advantages, 
.options { 
    flex: 1; 
    min-width: 280px; 
}

.advantage-item, 
.option-item { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 20px; 
    align-items: flex-start; 
}

.advantage-item img, 
.option-item img { 
    width: 80px; 
    height: auto; 
    flex-shrink: 0; 
}

/* ========== БЛОК ОБРАТНОЙ СВЯЗИ ========== */
.feedback-section {
    margin: 50px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    border-radius: 5px;
    padding: 40px;
}

.feedback-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-left {
    flex: 1;
    min-width: 250px;
}

.feedback-left h3 {
    font-size: 28px;
    color: #1a3a5c;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.feedback-left h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3970B0;
    border-radius: 2px;
}

.feedback-features {
    margin: 30px 0;
}

.feedback-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 32px;
    min-width: 50px;
}

.feedback-feature strong {
    display: block;
    font-size: 18px;
    color: #1a3a5c;
    margin-bottom: 5px;
}

.feedback-feature p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

.feedback-contacts {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.feedback-contacts p {
    margin: 10px 0;
}

.feedback-contacts a {
    color: #3970B0;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.feedback-contacts a:hover {
    text-decoration: underline;
}

.feedback-right {
    flex: 1;
    min-width: 300px;
}

.feedback-form-wrapper {
    background: white;
    border-radius: 25px 5px 25px 5px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feedback-form-wrapper h4 {
    font-size: 24px;
    color: #1a3a5c;
    margin-bottom: 10px;
    text-align: center;
}

.feedback-form-wrapper > p {
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

/* Стили для формы — текст по центру */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    
    /* ГЛАВНОЕ: текст по центру */
    text-align: center;
    
    /* Размер шрифта через CSS */
    font-size: 16px;
    font-family: inherit;
    
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Для textarea оставляем текст сверху (так удобнее) */
.form-group textarea {
    text-align: left;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3970B0;
    box-shadow: 0 0 0 3px rgba(57,112,176,0.1);
}

/* Плейсхолдеры тоже по центру для input */
.form-group input::placeholder {
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.form-group textarea::placeholder {
    text-align: left;
}

/* Кнопка отправки — под полями */
.btn-block {
    width: 100%;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: bold;
    background: #3970B0;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-block:hover {
    background: #2c5a8c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57,112,176,0.3);
}

.btn-block:active {
    transform: translateY(0);
}

.form-note {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

/* Дополнительные классы для изменения размера полей */
.form-group-sm input,
.form-group-sm textarea {
    font-size: 13px;
    padding: 10px 12px;
}

.form-group-lg input,
.form-group-lg textarea {
    font-size: 18px;
    padding: 16px 20px;
}

/* ========== БЛОК С ВИДЕО ========== */
.video-section {
    margin: 40px 0;
}

.video-container h3 {
    font-size: 24px;
    color: #1a3a5c;
    margin-bottom: 20px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 711px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    height: auto;
    min-height: 400px;
}

/* ========== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    .product-main {
        flex-direction: column;
    }
    
    .product-gallery {
        flex-direction: column;
    }
    
    .gallery-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-thumbs img {
        max-width: 60px;
    }
    
    .specs-section {
        flex-direction: column;
    }
    
    .specs-image {
        min-width: auto;
    }
    
    .advantages-section {
        flex-direction: column;
    }
    
    .feedback-section {
        padding: 25px;
    }
    
    .feedback-container {
        flex-direction: column;
    }
    
    .feedback-left h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .feedback-left h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feedback-form-wrapper {
        padding: 20px;
    }
    
    .video-wrapper iframe {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .feedback-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .advantage-item,
    .option-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}