/* Header-2 Styles */
.header-2-container {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.header-2-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-2-container {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.header-2-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-2-logo-section {
    display: flex;
    align-items: center;
}

.header-2-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.header-2-search-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-2-search-section .search-container {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.header-2-search-section .search-style-3 {
    display: flex;
    align-items: center;
    height: 40px;
    width: 100%;
}

.header-2-search-section .search-input-box {
    position: relative;
    width: 100%;
}

.header-2-nav-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-2-nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.3s;
    border: none;
    background-color: transparent;
    margin-right: 5px;
}

.header-2-nav-icon img {
    width: 20px;
    height: 20px;
}

.header-2-badge {
    position: absolute;
    top: -9px;
    right: -8px;
    background: var(--primary) ;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-2-mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.header-2-mobile-menu-wrapper {
    display: none;
}

/* Mobile Search Overlay */
.header-2-mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.header-2-mobile-search-overlay.active {
    display: block;
}

.header-2-mobile-search-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-2-grid {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        padding: 0 15px;
    }

    .header-2-nav-section {
        gap: 15px;
    }

    .header-2-search-section .search-container {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .header-2-grid {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        padding: 0 15px;
    }

    /* Hide desktop search on mobile */
    .header-2-search-section {
        display: none;
    }

    /* Show mobile menu button */
    .header-2-mobile-menu-wrapper {
        display: block;
    }

    /* Mobile nav section - only show cart and search icons */
    .header-2-nav-section
        .header-2-nav-icon:not(.header-2-mobile-cart):not(
            .header-2-mobile-search
        ) {
        display: none;
    }

    .header-2-nav-section {
        gap: 10px;
        justify-content: flex-end;
    }

    /* Center logo on mobile */
    .header-2-logo-section {
        justify-content: center;
    }

    .header-2-logo {
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .header-2-container {
        padding: 10px 0;
    }

    .header-2-grid {
        padding: 0 10px;
    }

    .header-2-search-input {
        height: 40px;
        font-size: 13px;
    }

    .header-2-search-btn {
        width: 30px;
        height: 30px;
    }

    .header-2-nav-section {
        gap: 10px;
    }
}
