/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Top Section */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.header-top {
    background: #5865F2;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-info:hover {
    opacity: 0.8;
}

.header-info .icon {
    flex-shrink: 0;
}

/* Header Main Section */
.header-main {
    background: #5865F2;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-main .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover {
    opacity: 0.8;
}

.btn-new-arrivals {
    background: #FFD700;
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.btn-new-arrivals:hover {
    transform: translateY(-2px);
    background: #FFC700;
    opacity: 1 !important;
}

/* Cart Link */
.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    position: relative;
}

.cart-link:hover {
    opacity: 0.8;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF4444;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Mobile Sidebar */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    z-index: 1999;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #5865F2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-navigation {
    flex: 1;
    padding: 20px 0;
}

.mobile-menu {
    list-style: none;
}

.mobile-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.mobile-menu li a:hover {
    background: #f5f5f5;
}

.mobile-new-arrivals {
    background: #FFD700;
    color: #000 !important;
    font-weight: 600;
    border-radius: 8px;
    margin: 10px 20px;
    text-align: center;
    border: none !important;
}

.mobile-sidebar-footer {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.mobile-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5865F2;
    text-decoration: none;
    padding: 10px 0;
    font-size: 14px;
}

.mobile-contact:hover {
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-menu li a {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .header-top {
        font-size: 13px;
    }

    .header-top-left,
    .header-top-right {
        gap: 15px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .cart-link span {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-top {
        font-size: 12px;
    }

    .header-top .container {
        flex-direction: column;
        gap: 8px;
    }

    .header-top-left,
    .header-top-right {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .header-info span {
        font-size: 12px;
    }

    .site-logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .header-info {
        font-size: 11px;
    }

    .header-info .icon {
        width: 14px;
        height: 14px;
    }

    .site-logo img {
        height: 45px;
    }
}