/* Header Styles - Lamsat Hadya Luxury Design */
.store-header {
    background: #FFFFFF;
    color: var(--text-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    background: var(--dark-bg);
    padding: 8px 0;
    font-size: 13px;
    color: #F9F5EE;
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-top-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-top a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

.header-top a span {
    direction: ltr;
    unicode-bidi: embed;
}

.header-top a:hover {
    color: var(--primary-light);
}

.header-top a i {
    font-size: 16px;
}

.contact-whatsapp:hover {
    color: #25D366;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary-dark);
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 450px;
}

.search-form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-size: 12px;
    transition: color 0.2s;
    position: relative;
}

.header-action:hover {
    color: var(--primary-color);
}

.header-action i {
    font-size: 24px;
    margin-bottom: 4px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* Navigation */
.header-nav {
    background: var(--section-bg);
    border-top: 1px solid var(--border-color);
}

.header-nav .container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-color);
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 28px;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .header-search {
        display: none;
    }
    
    .header-nav .container {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .header-action span {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-nav.show {
        display: block;
    }
    
    .header-nav .container {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}
