/* Products Section */
.products h2 {
    color: #1f6071;
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    width: 85%; 
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    transform: none; 
}

/* ✨ ДИНАМИКА: Эффект при наведении (Лифт и Оранжевое свечение) */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.4); 
}

/* Область для видео/изображения */
.product-image {
    height: 350px; 
    background: #f4f4f9; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder i { display: none; }

.product-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: absolute; 
    top: 0;
    left: 0;
}


/* === ИНФОРМАЦИОННЫЙ БЛОК === */
.product-info {
    padding: 20px;
    
    /* ✅ Устанавливаем высоту и базовый цвет текста */
    height: 270px; 
    color: #1f6071; 
    overflow: hidden;
}

/* 2. Заголовки продуктов */
.product-info h3 {
    color: #1f6071;
    margin-bottom: 5px; 
}

/* 2. Цена продукта */
.product-price {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1f6071; /* ✅ Цена в цвете бирюзы */
    margin: 10px 0;
}

/* 3. КНОПКА (ОСНОВНОЙ СТИЛЬ) */
.product-info .btn {
    background-color: #1f6071; /* ✅ Фон кнопки — бирюзовый */
    color: white;
    box-shadow: 0 4px 10px rgba(31, 96, 113, 0.5); /* Бирюзовая тень */
    transition: all 0.2s ease;
}

/* 3. КНОПКА (HOVER СТИЛЬ) */
.product-info .btn:hover {
    background-color: #3b88a1; /* Чуть светлее бирюзовый на hover */
    transform: translateY(-3px);
}

/* 3. КНОПКА (СВЕЧЕНИЕ ПРИ НАЖАТИИ :ACTIVE) */
.product-info .btn:active {
    /* Эффект нажатия */
    transform: scale(0.97); 
    background-color: #1a5668; /* Темнее */
    
    /* ✨ ОТБЛЕСК/СВЕЧЕНИЕ (белый внутренний отсвет) */
    box-shadow: 0 0 10px rgba(255, 255, 255, 1), 
                0 0 20px rgba(31, 96, 113, 0.8);
}

/* === СТИЛИ ДЛЯ ПОСЛЕДОВАТЕЛЬНОГО ПОЯВЛЕНИЯ (STAGGER) === */

.product-card.stagger-1 { transition-delay: 0.1s; }
.product-card.stagger-2 { transition-delay: 0.3s; }
.product-card.stagger-3 { transition-delay: 0.5s; }


/* Адаптивность */
@media (max-width: 992px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        width: 95%; 
    }
}
@media (max-width: 768px) {
    .products-grid { 
        grid-template-columns: 1fr;
        width: 90%; 
    }
}