/* ===== VIKON HEADER CSS ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Roboto:wght@400;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ========== DESKTOP HEADER ========== */
#header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: 'Inter', sans-serif;
}

/* ---- TOPBAR ---- */
.header-topbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /*padding: 8px 40px;*/
    width: 100%;
    height: 48px;
    background: #CD0E1D;
    border-bottom: 1px solid #F5707A;
}

.topbar-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-left: 40px;
}

.topbar-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 16px;
    gap: 8px;
    height: 32px;
    background: #F2404E;
    border: 1px solid #F2404E;
    border-radius: 999px;
    text-decoration: none;
    color: #F1F1F6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    transition: background 0.2s;
}

.topbar-contact-item:hover {
    background: #b00c19;
    border-color: #b00c19;
}

.topbar-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.topbar-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-right: 40px;
}

.topbar-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #F1F1F6;
    text-decoration: none;
    transition: opacity 0.2s;
}

.topbar-links a:hover {
    opacity: 0.8;
}

.topbar-separator {
    width: 1px;
    height: 12px;
    background: #F1F1F6;
    opacity: 0.5;
}

/* ---- HEADER CONTENT ---- */
.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    gap: 40px;
    width: 100%;
    height: 88px;
    background: #CD0E1D;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    width: 209px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.header-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.header-logo-text .logo-icon {
    width: 42px;
    height: 42px;
}

.header-logo-text .logo-wordmark {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 4px;
    color: #FFFFFF;
    text-transform: uppercase;
}

/* Search Bar */
.header-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px;
    flex: 1;
    max-width: 640px;
    height: 50px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.header-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #3D3D5C;
}

.header-search input::placeholder {
    color: #3D3D5C;
    opacity: 0.65;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    background: #CD0E1D;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #a80b17;
}

.search-btn svg {
    width: 18px;
    height: 18px;
    color: #FFFFFF;
}

/* Header Actions */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #F2404E;
    border-radius: 999px;
    text-decoration: none;
    color: #F1F1F6;
    transition: background 0.2s;
}

.header-user-btn:hover {
    background: #d63040;
}

.header-user-btn svg {
    width: 24px;
    height: 24px;
}

.header-cart-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 20px 4px 4px;
    gap: 10px;
    height: 56px;
    background: #14141F;
    border-radius: 999px;
    text-decoration: none;
    color: #F1F1F6;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
    white-space: nowrap;
}

.header-cart-btn:hover {
    background: #2a2a3f;
}

.cart-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #10BC35;
    border-radius: 999px;
    flex-shrink: 0;
}

.cart-icon-circle svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}

/* ---- NAVBAR ---- */
.header-navbar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 40px;
    width: 100%;
    height: 56px;
    background: #14141F;
}

.navbar-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: nowrap;
}

.navbar-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 32px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    background: #CD0E1D;
    color: #FFFFFF;
}

/* ========== MOBILE HEADER ========== */
.header-mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #CD0E1D;
}

/* Mobile Banner */
.mobile-banner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    width: 100%;
    height: 28px;
    background: #CD0E1D;
    border-bottom: 1px solid rgba(205, 14, 29, 0.1);
}

.mobile-banner span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    text-align: center;
}

/* Mobile Header Content */
.mobile-header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    width: 100%;
    height: 63px;
    background: #CD0E1D;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.mobile-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.mobile-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.mobile-icon-btn:hover {
    opacity: 0.85;
}

.mobile-icon-btn.user-btn {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
}

.mobile-icon-btn.cart-btn {
    background: #FFFFFF;
}

.mobile-icon-btn.menu-btn {
    background: #14141F;
}

.mobile-icon-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-icon-btn.user-btn svg { color: #FFFFFF; }
.mobile-icon-btn.cart-btn svg { color: #EF1022; }
.mobile-icon-btn.menu-btn svg { color: #F1F1F6; }

/* ========== MOBILE MENU DRAWER ========== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #14141F;
    z-index: 201;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    overflow-y: auto;
}

.mobile-menu-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
}

.mobile-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    padding: 4px;
}

.mobile-drawer-close svg {
    width: 24px;
    height: 24px;
}

.mobile-drawer-nav {
    list-style: none;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer-nav li a {
    display: block;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}

.mobile-drawer-nav li a:hover {
    background: #CD0E1D;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    #header > .header-topbar,
    #header > .header-content,
    #header > .header-navbar {
        display: none;
    }

    .header-mobile {
        display: flex;
    }

    .overall-wrapper {
        padding-top: 0 !important;
    }
}

@media (min-width: 769px) {
    .header-mobile,
    .mobile-menu-overlay,
    .mobile-menu-drawer {
        display: none !important;
    }

}

/* Navigation wrapper from original HTML */
.navigation-wrapper {
    width: 100%;
}

.top-navigation-bar {
    display: none !important;
}