/**
 * Vykroyka Elite 2.0 - Boutique Design System
 * 
 * Version: 2.0.4 (Master Key) - FINAL VISUAL SYNC
 * Fixes vertical stacking of the header and restores missing assets.
 */

:root {
    --elite-primary: #121212;
    --elite-accent: #ff4a6d;
    --elite-font: 'Outfit', sans-serif;
    --elite-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Изоляция шрифта */
.elite-ui, .elite-grid, .elite-trust-signals, .elite-patterns-section {
    font-family: var(--elite-font) !important;
}

/* --- HEADER RESTORATION (Phase 6: The Boutique Layering) --- */
#masthead { 
    background: #fff !important; 
    border-bottom: 1px solid #eee !important;
}

/* СЛОЙ 1: ВЕРХНЯЯ ПОЛОСА (Служебная) */
.top__header-widget { 
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 40px !important;
    background: #000 !important; 
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px !important;
    z-index: 9999 !important;
}

/* Кнопка выхода - маленькая и аккуратная справа */
.hgroup-right { margin-left: auto !important; }
.login-register-wrap .btn { 
    font-size: 11px !important; 
    padding: 2px 10px !important; 
    border-radius: 15px !important; 
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
}

/* Соцсети - слева, маленькие */
.header-information { order: -1 !important; transform: scale(0.8) !important; }

/* СЛОЙ 2: ЛОГОТИП (Центральный) */
.hgroup-wrap .container { 
    padding-top: 50px !important; /* Отступ под вернюю полосу */
    text-align: center !important;
}
.site-branding img { max-width: 280px !important; height: auto !important; }

/* СЛОЙ 3: МЕНЮ (Чистое) */
.header-nav-section { 
    background: transparent !important;
    margin-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
}
.main-navigation ul { 
    justify-content: center !important;
    gap: 30px !important;
}
.main-navigation li a { 
    font-family: var(--elite-font) !important;
    font-size: 13px !important;
    color: #444 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

/* Скрываем лишние иконки соцсетей, которые дублируются внизу шапки */
.hgroup-wrap > .container ~ div .social-links, 
.hgroup-wrap .social-links:not(.top__header-widget *) { 
    display: none !important; 
}

/* --- Content Blocks (Elite Look) --- */
.elite-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px;
    transition: var(--elite-transition);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.elite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.elite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
