/* assets/css/style.css */
/* ГЛУБОКИЙ СЛОЖНЫЙ КАСТОМНЫЙ CSS ДЛЯ УНИКАЛИЗАЦИИ ДИЗАЙНА */
/* Палитра строго сохранена на основе исходного промпта (Красные акценты, светлый фон) */

:root {
    --primary-color: #dc2626;      /* Основной глубокий красный */
    --primary-hover: #b91c1c;      /* Темно-красный для ховеров */
    --primary-light: #fef2f2;      /* Мягкий нежно-красный фон */
    --primary-glow: rgba(220, 38, 38, 0.15); /* Прозрачное свечение для теней */
    
    --bg-main: #fafafa;
    --text-dark: #111827;
    --text-muted: #9ca3af;
    --border-soft: #f3f4f6;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-layered: 0 4px 6px -1px rgba(0,0,0,0.03), 0 10px 15px -3px rgba(0,0,0,0.05), 0 20px 25px -5px rgba(0,0,0,0.03);
    --shadow-deep: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 15px 25px -10px rgba(220, 38, 38, 0.04);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

/* Переопределение глобальной типографики */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
}

/* Декоративные фоновые подложки на самом лендинге */
.custom-bg-glow-top {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    background: radial-gradient(circle, rgba(254,242,242,0.8) 0%, rgba(250,250,250,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.custom-bg-glow-mid {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(254,242,242,0.5) 0%, rgba(250,250,250,0) 80%);
    z-index: 1;
    pointer-events: none;
}

/* СТИЛИ ХЕДЕРА */
.custom-header {
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.custom-logo-text {
    letter-spacing: 0.15em;
    font-size: 1.35rem;
}

/* Эффекты карточки товара */
.custom-product-card {
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(243, 244, 246, 0.8);
    z-index: 10;
}

/* Внутренние свечения внутри карточки товара */
.card-glow-accent-1 {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220,38,38,0.03) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.card-glow-accent-2 {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220,38,38,0.02) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

/* СТИЛИ ИНТЕРАКТИВНОЙ ГАЛЕРЕИ (БЕЗ JS) */
.custom-main-image-viewport {
    height: 380px;
    box-shadow: var(--shadow-inset);
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: var(--radius-md);
    position: relative;
}

/* Механика слайдера через radio checked */
#prod-img-1:checked ~ .custom-main-image-viewport .img-slot-1 { display: block; animation: imgFadeIn 0.4s ease-out forwards; }
#prod-img-2:checked ~ .custom-main-image-viewport .img-slot-2 { display: block; animation: imgFadeIn 0.4s ease-out forwards; }
#prod-img-3:checked ~ .custom-main-image-viewport .img-slot-3 { display: block; animation: imgFadeIn 0.4s ease-out forwards; }
#prod-img-4:checked ~ .custom-main-image-viewport .img-slot-4 { display: block; animation: imgFadeIn 0.4s ease-out forwards; }

/* Подсветка активной миниатюры */
#prod-img-1:checked ~ .custom-thumbnails-container .label-slot-1 { border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-glow); opacity: 1; }
#prod-img-2:checked ~ .custom-thumbnails-container .label-slot-2 { border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-glow); opacity: 1; }
#prod-img-3:checked ~ .custom-thumbnails-container .label-slot-3 { border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-glow); opacity: 1; }
#prod-img-4:checked ~ .custom-thumbnails-container .label-slot-4 { border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-glow); opacity: 1; }

.custom-slide-image {
    display: none;
    max-height: 100%;
    max-width: 100%;
}

.custom-thumb-label {
    opacity: 0.6;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.custom-thumb-label:hover {
    opacity: 1;
    border-color: #cbd5e1;
}

/* ТИПОГРАФИКА И ОПИСАНИЕ СПРАВА */
.custom-main-title {
    line-height: 1.15;
}

.custom-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(220,38,38,0.2));
    border-radius: var(--radius-full);
}

.custom-check-icon-wrapper {
    width: 20px;
    height: 20px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.custom-check-bullet {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
}

.custom-benefit-item {
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

/* СТИЛИ ДЛЯ АНИМИРОВАННОЙ CTA-СЕКЦИИ */
.custom-cta-section {
    background: radial-gradient(circle at 10% 20%, rgb(255, 255, 255) 0%, rgb(254, 245, 245) 100%);
    box-shadow: var(--shadow-layered);
    z-index: 10;
}

.cta-bg-shape-1 {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(220, 38, 38, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-bg-shape-2 {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background-color: rgba(220, 38, 38, 0.015);
    border-radius: 50%;
    pointer-events: none;
}

.custom-cta-button {
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4), 0 8px 16px -6px rgba(220, 38, 38, 0.2);
    animation: pulseCta 2.5s infinite;
}

.custom-cta-button:hover {
    box-shadow: 0 15px 30px -5px rgba(220, 38, 38, 0.5), 0 10px 20px -6px rgba(220, 38, 38, 0.3);
}

/* Блик поверх кнопки */
.custom-btn-shine-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    animation: shineEffect 4s infinite ease-in-out;
}

/* СТИЛИ ДЛЯ ВЕРТИКАЛЬНЫХ ОТЗЫВОВ */
.custom-reviews-section {
    box-shadow: var(--shadow-layered);
}

.custom-review-item-container {
    background-color: #ffffff;
}

.custom-review-item-container:hover {
    background-color: #fafafa;
    transform: translateX(4px);
}

.custom-avatar-wrapper {
    background-color: #f3f4f6;
}

.custom-verified-badge {
    font-size: 9px;
    letter-spacing: 0.05em;
}

.custom-verified-badge-inline {
    color: #c2410c; /* Тональность оригинального Амазон детекта */
}

/* СТИЛИ ПОДВАЛА (FOOTER) */
.custom-footer {
    background-color: #0f172a;
}

.custom-footer-link {
    position: relative;
    text-decoration: none;
}

.custom-footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.2s ease-in-out;
}

.custom-footer-link:hover::after {
    width: 100%;
}

/* АНИМАЦИИ (CSS ONLY) */
@keyframes imgFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulseCta {
    0% { box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4), 0 8px 16px -6px rgba(220, 38, 38, 0.2); }
    50% { box-shadow: 0 10px 30px 2px rgba(220, 38, 38, 0.55), 0 8px 20px 0px rgba(220, 38, 38, 0.25); }
    100% { box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4), 0 8px 16px -6px rgba(220, 38, 38, 0.2); }
}

@keyframes shineEffect {
    0% { left: -100%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

.animate-bounce-horizontal {
    animation: bounceH 1s infinite;
}

@keyframes bounceH {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* АДАПТИВНОСТЬ И МЕДИА-ЗАПРОСЫ (MOBILE FIRST) */
@media (max-width: 640px) {
    .custom-main-image-viewport {
        height: 280px;
    }
}

@media (min-width: 768px) {
    .custom-review-item-container {
        padding: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .gallery-interactive-wrapper {
        position: Skinner;
        top: 20px;
    }
}