:root {
            --primary: #1e429f;
            --primary-dark: #0f2a6b;
            --secondary: #e53e3e;
            --accent: #f6ad55;
            --light: #f5f7fa;
            --dark: #1a202c;
            --gray: #718096;
            --light-gray: #e2e8f0;
            --white: #ffffff;
            --pink: #fbb6ce;
            --light-pink: #fed7e2;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark);
            line-height: 1.6;
            background-color: #f9fafb;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

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

        .logo h1 {
            color: var(--primary);
            font-size: 24px;
            margin-left: 10px;
        }

        .logo-icon {
            font-size: 28px;
            color: var(--primary);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav li {
            margin: 0 15px;
        }

        nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            transition: color 0.3s;
        }

        nav a:hover,
        nav a.active {
            color: var(--primary);
        }

        .header-actions {
            display: flex;
            align-items: center;
        }

        .search-bar {
            display: flex;
            align-items: center;
            background: var(--light);
            border-radius: 20px;
            padding: 8px 15px;
            margin-right: 15px;
        }

        .search-bar input {
            border: none;
            background: transparent;
            outline: none;
            margin-left: 5px;
            width: 150px;
        }

        .icon-btn {
            background: none;
            border: none;
            font-size: 18px;
            color: var(--dark);
            margin-left: 15px;
            cursor: pointer;
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--secondary);
            color: white;
            font-size: 12px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Profile Dropdown Styles */
        .profile-container {
            position: relative;
        }

        .profile-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--white);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            width: 200px;
            padding: 10px 0;
            margin-top: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 101;
        }

        .profile-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .profile-dropdown::before {
            content: '';
            position: absolute;
            top: -8px;
            right: 15px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid var(--white);
        }

        .profile-header {
            padding: 10px 15px;
            border-bottom: 1px solid var(--light-gray);
            margin-bottom: 5px;
        }

        .profile-name {
            font-weight: 600;
            font-size: 16px;
            color: var(--dark);
        }

        .profile-email {
            font-size: 14px;
            color: var(--gray);
            margin-top: 2px;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            text-decoration: none;
            color: var(--dark);
            transition: background-color 0.2s;
            cursor: pointer;
        }

        .dropdown-item:hover {
            background-color: var(--light);
        }

        .dropdown-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
            color: var(--primary);
        }

        .dropdown-divider {
            height: 1px;
            background-color: var(--light-gray);
            margin: 5px 0;
        }

        /* Login/Signup specific styles */
        .auth-buttons {
            padding: 15px;
            text-align: center;
        }

        .btn {
            display: block;
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            text-decoration: none;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
        }

        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            margin-top: 8px;
        }

        .btn-outline:hover {
            background-color: var(--light);
        }

        /* Footer */
        footer {
            background: linear-gradient(to right, var(--dark) 0%, #2d3748 100%);
            color: white;
            padding: 50px 0 20px;
            margin-top: 50px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-section h3 {
            font-size: 18px;
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--light-gray);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--white);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-links a {
            color: var(--white);
            font-size: 20px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: var(--light-gray);
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }

            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
        }

        /* Mobile Navigation Styles */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--dark);
            cursor: pointer;
            margin-left: 20px;
        }

        .mobile-nav {
            background: linear-gradient(to bottom, var(--white) 0%, #fef5f7 100%);
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: right 0.3s ease;
            padding: 20px;
            overflow-y: auto;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--light-gray);
        }

        .close-menu {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--dark);
            cursor: pointer;
        }

        .mobile-nav-links {
            list-style: none;
        }

        .mobile-nav-links li {
            margin-bottom: 15px;
        }

        .mobile-nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 18px;
            display: block;
            padding: 10px 0;
            transition: color 0.3s;
        }

        .mobile-nav-links a:hover,
        .mobile-nav-links a.active {
            color: var(--primary);
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Media Queries for Mobile */
        @media (max-width: 992px) {
            .mobile-menu-btn {
                display: block;
            }

            nav ul {
                display: none;
            }

            .search-bar {
                display: none;
            }

            .header-actions {
                gap: 10px;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: row;
                justify-content: space-between;
                gap: 15px;
            }

            .logo h1 {
                font-size: 20px;
            }

            .header-actions {
                margin-left: auto;
            }
        }

        @media (max-width: 480px) {
            .logo h1 {
                font-size: 18px;
            }

            .icon-btn {
                margin-left: 10px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                margin-left: 25px;
            }
        }

        @media (max-width: 480px) {
            .mobile-menu-btn {
                margin-left: 20px;
            }

            .header-actions {
                gap: 5px;
            }
        }

        /* Cart Count Animation */
        .cart-count {
            animation: bounce 0.5s;
        }

        @keyframes bounce {

            0%,
            20%,
            60%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(-10px);
            }

            80% {
                transform: translateY(-5px);
            }
        }