/* Стили только для hero */
.product-hero-minimal {
    padding: 1.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hero-image-col {
    position: relative;
}

.image-wrapper {
    position: relative;
    transform-style: preserve-3d;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%);
    z-index: -1;
    border-radius: 4px;
    transform: rotateY(5deg) rotateX(2deg) translateZ(-20px);
    filter: blur(12px);
    opacity: 0.7;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    position: relative;
    background: white;
    transform: translateZ(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        -15px 15px 30px rgba(0,0,0,0.15),
        0 8px 20px rgba(0,0,0,0.1);
}

.hero-image:hover {
    transform: translateZ(15px);
    box-shadow: 
        -20px 20px 40px rgba(0,0,0,0.2),
        0 12px 25px rgba(0,0,0,0.15);
}

.product-title {
    font-size: 3.4rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.product-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 1.2rem;
}

/* Кнопка "Заказать" */
.hero-order-btn-container {
    margin-top: auto; /* Автоматический отступ сверху - прижимает к низу */
    padding-top: 2rem; /* Добавляем отступ от контента */
    text-align: left;
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    height: 100%; /* Добавляем высоту для flex-распределения */
}

/* Анимация пульсации */
.hero-order-btn {
    display: inline-block;
    padding: 9px 12px;
    background-color: #00000000;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid #000;
    position: relative;
    animation: pulse 2s infinite;
}

/* Эффект при наведении */
.hero-order-btn:hover {
    background-color: black;
    color: #ffffff;
    /* animation: none; Останавливаем анимацию при наведении */
}

/* Ключевые кадры анимации */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hero-order-btn {
        padding: 8px 10px; /* Уменьшенные отступы */
        font-size: 15px;
        width: auto; /* Изменено с 100% на auto */
        display: inline-block; /* Для корректной работы width: auto */
        text-align: center;
        animation: pulse-mobile 2s infinite;
        margin: auto; /* Центрирование если нужно */
        max-width: 50%; /* Ограничение максимальной ширины */
    }

    @keyframes pulse-mobile {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
        }
        70% {
            transform: scale(1.03);
            box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        }
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    

    .image-wrapper::before {
        top: 6px;
        left: -6px;
        filter: blur(5px);
    }
    
    .hero-image {
        box-shadow: 
            -6px 6px 12px rgba(0,0,0,0.1),
            0 2px 6px rgba(0,0,0,0.05);
    }
    
    .hero-image {
        box-shadow: -5px 5px 10px rgba(0,0,0,0.1);
    }
}