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

html {
    scroll-padding-top: 100px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Desktop Large Screens (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .nav-container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-content h1 {
        font-size: 5rem;
        letter-spacing: -1.5px;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1.7rem;
        max-width: 1000px;
        line-height: 1.5;
        letter-spacing: 0.3px;
    }
    
    .cta-button {
        padding: 20px 60px;
        font-size: 1.3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 3rem;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 1.8rem;
        letter-spacing: 0.5px;
    }
    
    .nav-container {
        max-width: 1400px;
        padding: 0 40px;
    }
}


/* Enhanced Desktop Header */
.header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 25px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar {
    padding: 1.2rem 0;
    transition: padding 0.3s ease;
}

@media (min-width: 1200px) {
    .navbar {
        padding: 1.4rem 0;
    }
    
    .header {
        box-shadow: 0 3px 30px rgba(0,0,0,0.12);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.6rem;
    border-radius: 12px;
}

.logo:hover {
    background: rgba(0,123,255,0.05);
    transform: translateY(-1px);
}

.logo-image {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    transition: all 0.3s ease;
    object-fit: cover;
    background: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (min-width: 1200px) {
    .logo-image {
        height: 50px;
        width: 50px;
    }
}

.logo-image:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
}

.logo-text {
    color: #1a1a1a;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Arial', sans-serif;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 1200px) {
    .logo-text {
        font-size: 2rem;
        letter-spacing: -0.6px;
    }
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

@media (min-width: 1200px) {
    .header-icons {
        gap: 1.5rem;
    }
}

.cart-icon {
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,123,255,0.05);
    border: 1px solid rgba(0,123,255,0.1);
    min-width: 48px;
    min-height: 48px;
}

@media (min-width: 1200px) {
    .cart-icon {
        padding: 14px;
        min-width: 52px;
        min-height: 52px;
    }
}

.cart-icon:hover {
    background-color: rgba(0,123,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
    border-color: rgba(0,123,255,0.2);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    .cart-icon svg {
        width: 26px;
        height: 26px;
    }
}

.cart-icon:hover svg {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #007bff;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Mid-Desktop Navigation Optimization */
@media (min-width: 992px) and (max-width: 1279px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
    
    .menu-login-btn,
    .menu-signup-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Desktop Auth Buttons in Navigation */
@media (min-width: 769px) {
    .customer-auth-menu {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .menu-login-btn,
    .menu-signup-btn {
        width: auto;
        margin: 0;
        padding: 0.75rem 1.5rem;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        letter-spacing: 0.3px;
        position: relative;
        overflow: hidden;
    }
    
    .menu-login-btn::before,
    .menu-signup-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .menu-login-btn:hover::before,
    .menu-signup-btn:hover::before {
        left: 100%;
    }
    
    .menu-login-btn {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        border: 2px solid transparent;
    }
    
    .menu-login-btn:hover {
        background: linear-gradient(135deg, #0056b3, #004085);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    }
    
    .menu-signup-btn {
        background: white;
        color: #007bff;
        border: 2px solid #007bff;
    }
    
    .menu-signup-btn:hover {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,123,255,0.25);
        border-color: #0056b3;
    }
    
    /* Hide hamburger menu on desktop */
    .hamburger {
        display: none;
    }
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.nav-menu a:hover {
    color: #007bff;
    background-color: rgba(0,123,255,0.08);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: space-evenly;
    background-color: transparent;
    border: none;
    position: relative;
    z-index: 998;
    gap: 3px;
}

.hamburger:hover {
    background-color: rgba(0,0,0,0.05);
}

.hamburger span {
    width: 22px !important;
    height: 2px !important;
    background-color: #000 !important;
    background: #000 !important;
    margin: 0 !important;
    transition: 0.3s;
    border-radius: 2px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
    color: #000;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    background: white;
    color: #333;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
    color: #007bff;
}

/* Search Container */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Enhanced Products Section */
.products {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.products h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.product-placeholder {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.product-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-placeholder p {
    color: #666;
    font-size: 1rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4757;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.out-of-stock {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-bottom: 8px;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.discount-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.product-stock {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.free-delivery {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buy-now-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.buy-now-btn:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-1px);
}

.buy-now-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.add-to-cart-btn {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

.add-to-cart-btn:disabled {
    border-color: #6c757d;
    color: #6c757d;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.2rem;
}

/* Cart Icon */
.cart-container {
    position: relative;
    margin-left: 1rem;
}

.cart-icon {
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    color: #333;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #007bff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

/* Features Section */
.features {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
}

@media (min-width: 1200px) {
    .features {
        padding: 120px 0;
    }
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.features-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .features-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        max-width: 500px;
        padding: 0;
    }
}

.feature {
    text-align: center;
    padding: 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-weight: 600;
}

.feature p {
    color: #6c757d;
    line-height: 1.5;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

@media (min-width: 1200px) {
    .contact {
        padding: 120px 0;
    }
}

.contact h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 2rem;
    }
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-text p {
    margin: 0;
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Contact Form */
.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-weight: 600;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.send-button {
    background: #007bff;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.send-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 40px;
}

.footer .container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Desktop Large Screens Footer */
@media (min-width: 1200px) {
    .footer .container {
        max-width: 1400px;
        padding: 0 40px;
        gap: 5rem;
    }
    
    .footer {
        padding: 100px 0 50px;
    }
}

.footer-brand {
    margin-bottom: 0;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.footer-tagline {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 300px;
}

.footer-section {
    margin-bottom: 0;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
    position: relative;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.footer-links a:hover:before {
    width: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 8px;
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: rgba(255,255,255,0.05);
    padding-left: 1rem;
}

.social-link svg {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 8px;
    padding: 2px;
}

.social-link svg path {
    fill: white;
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 3rem;
}

.footer-bottom p {
    color: #888;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Responsive Design */
/* Mobile responsive styles for logo */
/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 400px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-links a {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: flex-start;
        align-items: center;
    }
    
    .social-link {
        font-size: 1rem;
        justify-content: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        text-align: left;
        font-size: 1rem;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .footer-logo-image {
        height: 70px;
    }
    
    .hero {
        padding: 140px 0 60px;
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
    
    .products h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 65px;
        flex-direction: column;
        background-color: white;
        width: 300px;
        max-width: 85vw;
        text-align: left;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        padding: 2rem 0;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0,0,0,0.1);
        border-left: 1px solid rgba(0,0,0,0.1);
    }

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

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 1.2rem 2rem;
        color: #000;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        text-decoration: none;
        border-radius: 0;
        position: relative;
    }

    .nav-menu a:hover {
        background-color: rgba(0,123,255,0.08);
        color: #007bff;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: #007bff;
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu a:hover::before {
        transform: scaleY(1);
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

    /* Customer Authentication Menu Items */
    .customer-auth-menu a,
    .customer-profile-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 12px;
        margin: 0.5rem 1rem;
        min-height: 48px; /* Ensures proper touch target size */
        font-size: 1rem;
    }

    .customer-auth-menu a:hover,
    .customer-profile-menu a:hover {
        background-color: #f8f9fa;
        color: #007bff;
    }

    /* Special styling for auth buttons in mobile menu */
    .customer-auth-menu a {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        margin: 0.75rem 1rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.1rem;
        min-height: 52px;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .customer-auth-menu a:hover {
        background: linear-gradient(135deg, #0056b3, #004085);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
    }

    .customer-auth-menu a:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    }

    /* Accessibility - Focus states for all auth buttons */
    .customer-auth-menu a:focus,
    .customer-auth-menu a:focus-visible,
    .customer-profile-menu a:focus,
    .customer-profile-menu a:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 2px;
        box-shadow: 0 0 0 2px #007bff;
    }

    /* Different styles for Login vs Sign Up - Improved contrast for accessibility */
    .customer-auth-menu a[id="menu-customer-login-btn"] {
        background: linear-gradient(135deg, #1e7e34, #146c43);
        color: white;
    }

    .customer-auth-menu a[id="menu-customer-login-btn"]:hover {
        background: linear-gradient(135deg, #155724, #0f5132);
        box-shadow: 0 6px 16px rgba(30, 126, 52, 0.4);
    }

    .customer-auth-menu a[id="menu-customer-login-btn"]:focus,
    .customer-auth-menu a[id="menu-customer-login-btn"]:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 2px;
        box-shadow: 0 0 0 2px #1e7e34;
    }

    .customer-auth-menu a[id="menu-customer-register-btn"] {
        background: linear-gradient(135deg, #0056b3, #5a32a3);
        color: white;
    }

    .customer-auth-menu a[id="menu-customer-register-btn"]:hover {
        background: linear-gradient(135deg, #004085, #4a2c8a);
        box-shadow: 0 6px 16px rgba(0, 86, 179, 0.4);
    }

    .customer-auth-menu a[id="menu-customer-register-btn"]:focus,
    .customer-auth-menu a[id="menu-customer-register-btn"]:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 2px;
        box-shadow: 0 0 0 2px #007bff;
    }

    /* Special styling for logout in mobile menu */
    .customer-profile-menu a[id="menu-customer-logout"] {
        color: #dc3545;
        border: 1px solid #dc3545;
        background: transparent;
    }

    .customer-profile-menu a[id="menu-customer-logout"]:hover {
        background: #dc3545;
        color: white;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .products,
    .features {
        padding: 60px 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Admin Styles */
.admin-login, .admin-panel {
    padding: 8rem 0 4rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-login-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admin-login h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #007bff;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background: #0056b3;
}

.error-message {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    text-align: center;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header h1 {
    margin: 0;
    color: #333;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn {
    background: #dc3545;
    color: white;
}

.logout-btn:hover {
    background: #c82333;
}

.export-btn, .import-btn {
    background: #28a745;
    color: white;
}

.export-btn:hover, .import-btn:hover {
    background: #218838;
}

.admin-navigation {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-tab {
    flex: 1;
    padding: 1rem 2rem;
    background: #f8f9fa;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #e0e0e0;
}

.admin-tab:last-child {
    border-right: none;
}

.admin-tab:hover {
    background: #e9ecef;
    color: #333;
}

.admin-tab.active {
    background: #007bff;
    color: white;
}

.admin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-form-section, .products-list-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-form-section h2, .products-list-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.product-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-form .form-group {
    margin-bottom: 1rem;
}

.product-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.product-form input, .product-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.product-form input:focus, .product-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.image-preview {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.save-btn, .cancel-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-btn {
    background: #007bff;
    color: white;
}

.save-btn:hover {
    background: #0056b3;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
}

.admin-products-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.admin-product-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: #f8f9fa;
}

.admin-product-info {
    flex: 1;
}

.admin-product-info h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.admin-product-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.admin-product-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-btn, .delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #ffc107;
    color: #212529;
}

.edit-btn:hover {
    background: #e0a800;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
}

.no-products {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Orders Section Styles */
.orders-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    grid-column: 1 / -1;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.orders-header h2 {
    margin: 0;
    color: #333;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #0056b3;
}

.admin-orders-list {
    max-height: 600px;
    overflow-y: auto;
}

.admin-order-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.admin-order-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.order-id {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-info {
    padding: 1rem;
}

.order-customer {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.order-customer h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
}

.order-customer p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.85rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-items h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
}

.order-item-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.order-product-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    background: #e9ecef;
}

.order-product-details {
    flex: 1;
}

.order-product-title {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.order-product-quantity {
    color: #666;
    font-size: 0.8rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.order-total-label {
    font-weight: 600;
    color: #333;
}

.order-total-amount {
    font-weight: 700;
    color: #007bff;
    font-size: 1.1rem;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.confirm-btn, .cancel-order-btn, .delete-order-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn {
    background: #28a745;
    color: white;
}

.confirm-btn:hover {
    background: #218838;
}

.cancel-order-btn {
    background: #ffc107;
    color: #212529;
}

.cancel-order-btn:hover {
    background: #e0a800;
}

.delete-order-btn {
    background: #dc3545;
    color: white;
}

.delete-order-btn:hover {
    background: #c82333;
}

.no-orders {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-orders-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-orders h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.no-orders p {
    margin: 0;
    color: #666;
}

/* Order Management Styles */
.orders-management-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    grid-column: 1 / -1; /* Span full width */
}

.orders-management-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.orders-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.orders-filter label {
    font-weight: 600;
    color: #333;
}

.orders-filter select {
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 150px;
}

.refresh-btn {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.refresh-btn:hover {
    background: #0056b3;
}

.admin-orders-list {
    max-height: 600px;
    overflow-y: auto;
}

.admin-order-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.admin-order-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-order-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-order-id {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.admin-order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-order-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.admin-order-status.processing {
    background: #fff3cd;
    color: #856404;
}

.admin-order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.admin-order-content {
    padding: 1.5rem;
}

.admin-order-customer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.customer-info h4,
.order-info h4 {
    margin: 0 0 0.75rem 0;
    color: #333;
    font-size: 1rem;
}

.customer-info p,
.order-info p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.admin-order-items {
    margin: 1.5rem 0;
}

.admin-order-items h4 {
    margin: 0 0 1rem 0;
    color: #333;
}

.admin-order-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.admin-order-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    background: #e9ecef;
}

.admin-order-product-details {
    flex: 1;
}

.admin-order-product-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.admin-order-product-quantity {
    color: #666;
    font-size: 0.9rem;
}

.admin-order-product-price {
    font-weight: 600;
    color: #007bff;
}

.admin-order-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 1rem 0;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
}

.admin-order-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.confirm-order-btn,
.cancel-order-btn,
.delete-order-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.confirm-order-btn {
    background: #28a745;
    color: white;
}

.confirm-order-btn:hover {
    background: #218838;
}

.cancel-order-btn {
    background: #ffc107;
    color: #212529;
}

.cancel-order-btn:hover {
    background: #e0a800;
}

.delete-order-btn {
    background: #dc3545;
    color: white;
}

.delete-order-btn:hover {
    background: #c82333;
}

.no-orders {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.no-orders svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-orders h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.no-orders p {
    margin: 0;
    font-size: 0.9rem;
}

/* Admin Responsive Design */
@media (max-width: 768px) {
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .product-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .admin-product-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* Order Management Mobile Styles */
    .admin-order-customer {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-order-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .orders-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .orders-filter select {
        min-width: auto;
    }
}

/* Customer Authentication Styles */
.customer-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop Auth Buttons - Enhanced for better UX */
.auth-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.register-btn {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 2px 8px rgba(40,167,69,0.2);
}

.register-btn:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.customer-profile {
    position: relative;
}

.profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    background: rgba(0,123,255,0.05);
    border: 1px solid rgba(0,123,255,0.1);
}

.profile-icon:hover {
    background-color: rgba(0,123,255,0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
    border-color: rgba(0,123,255,0.2);
}

.profile-icon:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.profile-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1100;
    display: none;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

.profile-dropdown.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    font-weight: 500;
    min-height: 48px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(5px);
    padding-left: 1.5rem;
}

.dropdown-item svg {
    transition: transform 0.3s ease;
}

.dropdown-item:hover svg {
    transform: scale(1.1);
}

.dropdown-item.logout {
    color: #dc3545;
    font-weight: 600;
}

.dropdown-item.logout:hover {
    background-color: #fff5f5;
    color: #c82333;
    border-left: 3px solid #dc3545;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Auth Form Styles */
.auth-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 3px 12px rgba(0,123,255,0.2);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.auth-submit-btn:active::before {
    left: 100%;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,123,255,0.35);
}

.auth-submit-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.auth-switch {
    text-align: center;
    color: #666;
    margin: 0;
}

.auth-switch a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Cart Styles */
.cart-content {
    padding: 1.5rem;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-cart svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #007bff;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.remove-from-cart {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-from-cart:hover {
    background: #c82333;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding: 1rem 0;
    margin-top: 1rem;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
}

.cart-total h3 {
    color: #333;
    font-size: 1.25rem;
}

.checkout-btn {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}

/* Orders Styles */
.orders-content {
    padding: 1.5rem;
}

.orders-list {
    max-height: 500px;
    overflow-y: auto;
}

.empty-orders {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-orders svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-orders h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.order-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.order-id {
    font-weight: 600;
    color: #333;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #28a745;
    color: white;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.order-product-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.order-product-details {
    flex: 1;
}

.order-product-title {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.order-product-quantity {
    color: #666;
    font-size: 0.8rem;
}

.order-total {
    text-align: right;
    font-weight: 600;
    color: #007bff;
    font-size: 1.1rem;
}

/* Orders Footer Styles */
.orders-footer {
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    margin-top: 1rem;
}

.continue-shopping-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.continue-shopping-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.continue-shopping-btn:active {
    transform: translateY(0);
}

.continue-shopping-btn svg {
    width: 16px;
    height: 16px;
}

/* Checkout Styles */
.checkout-content {
    padding: 1.5rem;
}

.checkout-section {
    margin-bottom: 2rem;
}

.checkout-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.address-display {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.address-display p {
    margin: 0.25rem 0;
    color: #333;
}

.checkout-items {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.checkout-item-quantity {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.checkout-quantity-controls .quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-quantity-controls .quantity-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.checkout-quantity-controls .quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout-quantity-controls .quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.checkout-item-price {
    font-weight: 600;
    color: #007bff;
}

.payment-methods {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    margin: 0;
}

.payment-label {
    font-weight: 500;
    color: #333;
}

.checkout-footer {
    border-top: 1px solid #eee;
    padding: 1rem 0;
    margin-top: 1rem;
}

.checkout-total {
    text-align: center;
    margin-bottom: 1rem;
}

.checkout-total h3 {
    color: #333;
    font-size: 1.25rem;
}

.place-order-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.place-order-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Order Success Styles */
/* Professional Cart Item Styles */
.cart-item-professional {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cart-item-professional:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.cart-item-image-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image-pro {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details-professional {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

.cart-item-info {
    margin-bottom: 0.8rem;
}

.cart-item-title-professional {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.cart-item-price-professional {
    font-size: 1.1rem;
    font-weight: 700;
    color: #007bff;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-quantity-controls-professional {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.2rem;
    gap: 0.3rem;
}

.quantity-btn-professional {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quantity-btn-professional:hover:not(:disabled) {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

.quantity-btn-professional:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.quantity-display-professional {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.remove-from-cart-professional {
    width: 36px;
    height: 36px;
    border: none;
    background: #fff5f5;
    color: #dc3545;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid #fecaca;
}

.remove-from-cart-professional:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

/* Buy Now Modal Styles */
.buy-now-content {
    padding: 1.5rem;
}

.buy-now-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.buy-now-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.buy-now-product-details {
    flex: 1;
}

.buy-now-product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.buy-now-product-price {
    color: #007bff;
    font-weight: 600;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls .quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls .quantity-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.quantity-controls .quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-controls input {
    width: 80px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
}

.buy-now-total {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    text-align: center;
}

.buy-now-total h3 {
    margin: 0;
    color: #007bff;
}

.buy-now-confirm-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-now-confirm-btn:hover {
    background: #0056b3;
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    margin-bottom: 1rem;
}

.success-content h2 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.order-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.order-details p {
    margin: 0.5rem 0;
    color: #333;
}

.success-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-btn:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
    .customer-auth {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .auth-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-dropdown {
        right: -50px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .cart-item-details {
        text-align: center;
    }
    
    .checkout-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .order-product {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Improve hamburger visibility and navigation */
    .hamburger {
        width: 28px;
        height: 28px;
    }
    
    .hamburger span {
        height: 3px;
        margin: 3px 0;
        border-radius: 2px;
        background: #000;
    }
    
    /* Better mobile menu positioning - Fixed header height consistency */
    .nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    /* Improve logo on mobile */
    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 35px;
        width: auto;
    }
}

/* Additional Mobile Improvements for Very Small Screens */
@media (max-width: 480px) {
    .customer-auth-menu a,
    .customer-profile-menu a {
        margin: 0.5rem 0.5rem;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        min-height: 56px; /* Larger touch targets for very small screens */
    }
    
    .customer-auth-menu a {
        font-size: 1.1rem;
        min-height: 60px;
        margin: 0.75rem 0.5rem;
    }
    
    /* Improve spacing in mobile menu */
    .nav-menu {
        padding: 1.5rem 0;
    }
    
    .nav-menu li {
        margin: 0.25rem 0;
    }
    
    /* Add visual separation for auth section */
    .customer-auth-menu:first-of-type {
        margin-top: 1.5rem;
        position: relative;
    }
    
    .customer-auth-menu:first-of-type::before {
        content: '';
        position: absolute;
        top: -0.75rem;
        left: 1rem;
        right: 1rem;
        height: 1px;
        background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    }

    /* Enhanced Mobile Menu Login and Sign Up Button Styles */
    .menu-login-btn,
    .menu-signup-btn {
        width: calc(100% - 3rem);
        margin: 1rem 1.5rem 0.5rem 1.5rem;
        padding: 16px 24px;
        border-radius: 14px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 3px 12px rgba(0,0,0,0.15);
        min-height: 52px;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
    }
    
    .menu-login-btn::before,
    .menu-signup-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .menu-login-btn:active::before,
    .menu-signup-btn:active::before {
        left: 100%;
    }

    .menu-login-btn {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        border: 2px solid transparent;
    }

    .menu-login-btn:hover {
        background: linear-gradient(135deg, #0056b3, #004085);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    }
    
    .menu-login-btn:active {
        transform: translateY(-1px);
        transition: transform 0.1s ease;
    }

    .menu-signup-btn {
        background: white;
        color: #007bff;
        border: 2px solid #007bff;
        margin-bottom: 1rem;
    }

    .menu-signup-btn:hover {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,123,255,0.3);
        border-color: #0056b3;
    }
    
    .menu-signup-btn:active {
        transform: translateY(-1px);
        transition: transform 0.1s ease;
    }
    
    /* Improve header icons spacing on very small screens */
    .header-icons {
        gap: 0.75rem;
    }
    
    .cart-icon {
        padding: 0.5rem;
    }
    
    /* Better logo text sizing for small screens */
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Improve mobile menu overall experience */
    .nav-menu.active {
        animation: slideInFromLeft 0.3s ease-out;
    }
    
    @keyframes slideInFromLeft {
        from {
            transform: translateX(-100%);
        }
        to {
            transform: translateX(0);
        }
    }
    
    /* Enhanced mobile-friendly design improvements */
    @media (max-width: 768px) {
        /* Mobile modal improvements */
        .modal-content {
            width: 95%;
            margin: 2% auto;
            max-height: 96vh;
            overflow-y: auto;
        }
    
        .cart-modal .modal-content {
            max-width: none;
            border-radius: 16px 16px 0 0;
            margin: auto 0 0 0;
            height: 85vh;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            animation: slideUpFromBottom 0.3s ease-out;
        }
    
        @keyframes slideUpFromBottom {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }
    
        /* Better cart item display on mobile */
        .cart-item {
            flex-direction: column;
            gap: 1rem;
            padding: 1.5rem;
            border-bottom: 1px solid #eee;
        }
    
        .cart-item-image {
            width: 100%;
            max-width: 120px;
            height: 120px;
            margin: 0 auto;
            border-radius: 12px;
        }
    
        .cart-item-details {
            text-align: center;
            width: 100%;
        }
    
        .cart-item-title {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
    
        .cart-item-price {
            font-size: 1.2rem;
            font-weight: bold;
            color: #007bff;
            margin: 0.5rem 0;
        }
    
        /* Enhanced mobile quantity controls */
        .quantity-controls {
            justify-content: center;
            gap: 1rem;
            margin: 1rem 0;
        }
    
        .quantity-btn {
            width: 44px;
            height: 44px;
            font-size: 1.2rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .quantity-display {
            font-size: 1.2rem;
            font-weight: bold;
            min-width: 3rem;
            text-align: center;
        }
    
        /* Mobile-friendly checkout modal */
        .checkout-modal .modal-content {
            height: 90vh;
            overflow-y: auto;
        }
    
        .checkout-item {
            flex-direction: column;
            text-align: center;
            padding: 1.5rem;
            border-bottom: 1px solid #eee;
        }
    
        .checkout-item-image {
            width: 100px;
            height: 100px;
            margin: 0 auto 1rem;
            border-radius: 12px;
        }
    
        .checkout-item-title {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
    
        .checkout-item-price {
            font-size: 1.2rem;
            color: #007bff;
            font-weight: bold;
        }
    
        /* Enhanced mobile order history */
        .orders-modal .modal-content {
            height: 90vh;
            overflow-y: auto;
        }
    
        .order-item {
            margin-bottom: 1.5rem;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        }
    
        .order-header {
            background: #f8f9fa;
            padding: 1.5rem;
            border-bottom: 1px solid #eee;
        }
    
        .order-id {
            font-size: 1.1rem;
            font-weight: bold;
            color: #333;
            margin-bottom: 0.5rem;
        }
    
        .order-status {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
        }
    
        .order-items {
            padding: 1.5rem;
        }
    
        .order-product {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid #f0f0f0;
        }
    
        .order-product:last-child {
            border-bottom: none;
        }
    
        .order-product-image {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
        }
    
        .order-product-details {
            flex: 1;
        }
    
        .order-product-title {
            font-weight: bold;
            margin-bottom: 0.25rem;
            color: #333;
        }
    
        .order-product-quantity {
            color: #666;
            font-size: 0.9rem;
        }
    
        .order-total {
            font-size: 1.2rem;
            font-weight: bold;
            color: #007bff;
            text-align: right;
            padding: 1.5rem;
            border-top: 1px solid #eee;
            background: #f8f9fa;
        }
    
        /* Enhanced mobile menu profile features */
        .customer-profile-menu a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1.2rem 1.5rem;
            margin: 0.5rem 1rem;
            border-radius: 12px;
            background: #f8f9fa;
            color: #333;
            font-weight: 500;
            transition: all 0.3s ease;
        }
    
        .customer-profile-menu a:hover {
            background: #e9ecef;
            transform: translateX(5px);
        }
    
        .customer-profile-menu a svg {
            width: 20px;
            height: 20px;
            color: #007bff;
        }
    
        /* Mobile-friendly admin order management */
        .admin-order-actions {
            flex-direction: column;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }
    
        .confirm-order-btn,
        .process-order-btn,
        .cancel-order-btn,
        .delete-order-btn {
            width: 100%;
            padding: 1rem;
            font-size: 1rem;
            font-weight: bold;
            border-radius: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }
    
        .confirm-order-btn {
            background: #28a745;
            color: white;
            border: none;
        }
    
        .confirm-order-btn:hover {
            background: #218838;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }
    
        .process-order-btn {
            background: #17a2b8;
            color: white;
            border: none;
        }
    
        .process-order-btn:hover {
            background: #138496;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
        }
    
        .cancel-order-btn {
            background: #ffc107;
            color: #212529;
            border: none;
        }
    
        .cancel-order-btn:hover {
            background: #e0a800;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
        }
    
        .delete-order-btn {
            background: #dc3545;
            color: white;
            border: none;
        }
    
        .delete-order-btn:hover {
            background: #c82333;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        }
    
        /* Better mobile order status styles */
        .admin-order-status.pending {
            background: #e7f3ff;
            color: #004085;
            border: 1px solid #b3d7ff;
        }
    
        .admin-order-status.confirmed {
            background: #d4edda;
            color: #155724;
            border: 1px solid #a8d4ae;
        }
    
        .admin-order-status.processing {
            background: #fff3cd;
            color: #856404;
            border: 1px solid #f5d659;
        }
    
        .admin-order-status.cancelled {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f1aab4;
        }
    
        /* Enhanced mobile cart icon */
        .cart-icon {
            position: relative;
            padding: 1rem;
            border-radius: 12px;
            background: #f8f9fa;
            transition: all 0.3s ease;
        }
    
        .cart-icon:hover {
            background: #e9ecef;
            transform: scale(1.05);
        }
    
        .cart-count {
            min-width: 24px;
            height: 24px;
            font-size: 0.8rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            animation: bounce 0.6s ease;
        }
    
        @keyframes bounce {
            0%, 20%, 60%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            80% {
                transform: translateY(-5px);
            }
        }
    
        /* Enhanced touch targets for better mobile UX */
        .buy-now-btn,
        .add-to-cart-btn {
            min-height: 48px;
            font-size: 1rem;
            font-weight: bold;
            padding: 0.875rem 1.5rem;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
    
        .buy-now-btn:hover:not(:disabled),
        .add-to-cart-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
    
        /* Mobile-friendly profile dropdown */
        .profile-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            width: 200px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 0.5rem;
            background: #f8f9fa;
        }
    
        .dropdown-item {
            padding: 1rem 1.5rem;
            font-size: 1rem;
            border-bottom: 1px solid #eee;
        }
    
        .dropdown-item:last-child {
            border-bottom: none;
        }
    
        .dropdown-item:hover {
            background: #e9ecef;
        }
    }
}