/* Customer Dashboard Styles - Modern E-commerce Design */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    font-weight: 400;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding-top: 20px;
    z-index: 1000;
}

.sidebar-header {
    padding: 0 20px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #34495e;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 24px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.sidebar-nav li a {
    display: block;
    padding: 15px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.3s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: #34495e;
}

.sidebar-nav li a i {
    margin-right: 10px;
}

/* Main Content Styles */
.main-content {
    margin-left: 250px;
}


/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

/* Top row */
.header-top {
    background: #ffffff;
    padding: 16px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.search-wrap {
    display: flex;
    flex-grow: 1;
    align-items: center;
}

.category-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    border-radius: 8px;
    color: #111827;
    cursor: pointer;
}

.support-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.support-info .phone {
    font-weight: 700;
    color: #111827;
}
.support-info .sub {
    font-size: 12px;
    color: #6b7280;
}

.recently-viewed {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #14b8a6;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Drawer toggle next to logo */
.drawer-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #111827;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.drawer-toggle:hover { background: #eef2f7; }

/* Side drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 300px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.side-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.drawer-title { font-weight: 700; color: #111827; }

.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    cursor: pointer;
}
.drawer-close:hover { background: #f8fafc; }

.drawer-nav { padding: 8px 8px 16px; overflow-y: auto; }
.drawer-nav ul { list-style: none; }

.drawer-nav a {
    display: block;
    padding: 12px 12px;
    text-decoration: none;
    color: #374151;
    border-radius: 8px;
    font-weight: 500;
}
.drawer-nav a:hover { background: #f0fdfa; color: #0d9488; }
.drawer-nav a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #9ca3af;
    transition: color 0.2s;
}
.drawer-nav a:hover i {
    color: #0d9488;
}
.drawer-nav .nav-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 8px 12px;
}
.drawer-nav .nav-title {
    padding: 12px 12px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Prevent background scroll when drawer is open */
.no-scroll { overflow: hidden; }

/* Colorful Category Icons */
.colorful-icon {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.medicines-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #3b82f6; /* Fallback for non-webkit browsers */
}

.milk-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #f59e0b;
}

.baby-icon {
    background: linear-gradient(135deg, #ec4899, #be185d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ec4899;
}

.medical-icon {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #14b8a6;
}

.personal-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #8b5cf6;
}

.wellness-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ef4444;
}

/* Hover effects for colorful icons */
.drawer-nav a:hover .colorful-icon {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* Alternative solid color approach for better browser compatibility */
@supports not (-webkit-background-clip: text) {
    .medicines-icon { color: #3b82f6 !important; }
    .milk-icon { color: #f59e0b !important; }
    .baby-icon { color: #ec4899 !important; }
    .medical-icon { color: #14b8a6 !important; }
    .personal-icon { color: #8b5cf6 !important; }
    .wellness-icon { color: #ef4444 !important; }
    .home-icon { color: #0d9488 !important; }
    .all-products-icon { color: #0ea5e9 !important; }
    .orders-icon { color: #f97316 !important; }
    .profile-icon { color: #6366f1 !important; }
    .wishlist-icon { color: #e11d48 !important; }
}

/* Category navigation styles */
.category-item {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: visible;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-item:hover .category-main-wrapper {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.category-item:hover .category-toggle i {
    transform: rotate(180deg);
}

.category-item:hover .sub-category-list {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.category-main-wrapper {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #374151;
    flex: 1;
    cursor: default;
    user-select: none;
}

.category-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: #6b7280;
    transition: all 0.3s ease;
    border-left: 1px solid #e5e7eb;
    min-width: 40px;
}

.category-toggle i {
    transition: transform 0.3s ease;
}

.sub-category-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Open state for sub-category list */
.sub-category-list.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease;
}

/* Sub-category item styles */
.sub-category-item {
    position: relative;
}

.sub-category-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.sub-category-main-wrapper:hover {
    background: #f8fafc;
    color: #374151;
}

.sub-category-link {
    display: flex;
    align-items: center;
    flex: 1;
}

.sub-category-link i {
    width: 16px;
    text-align: center;
    margin-right: 10px;
    color: #9ca3af;
}

.sub-category-toggle {
    margin-left: 8px;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.sub-category-toggle i {
    font-size: 12px;
}

/* Sub-sub-category list styles */
.sub-sub-category-list {
    display: none;
    background: #f8fafc;
    border-left: 3px solid #e5e7eb;
    margin-left: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.sub-sub-category-list.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease;
}

.sub-sub-category-list a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.sub-sub-category-list a:hover {
    background: #e5e7eb;
    color: #374151;
    padding-left: 20px;
}

.sub-sub-category-list a i {
    width: 14px;
    text-align: center;
    margin-right: 8px;
    color: #9ca3af;
    font-size: 11px;
}

.sub-category-list a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.sub-category-list a:last-child {
    border-bottom: none;
}

.sub-category-list a:hover {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #374151;
    padding-left: 24px;
}

.sub-category-list a i {
    margin-right: 10px;
    font-size: 12px;
    opacity: 0.7;
    width: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-main-wrapper {
        flex-direction: column;
    }
    
    .sub-category-list {
        position: static;
        border: none;
        border-radius: 0;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
        background: #f8fafc;
        margin-top: 0;
    }
    
    .sub-category-list a {
        padding-left: 40px;
    }
}

/* Additional colorful icons */
.home-icon {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0d9488;
}

.all-products-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0ea5e9;
}

.orders-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #f97316;
}

.profile-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #6366f1;
}

.wishlist-icon {
    background: linear-gradient(135deg, #e11d48, #be123c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #e11d48;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-btn {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.category-btn:hover {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
    transform: translateY(-1px);
}

.search-bar {
    display: flex;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-bar input {
    border: none;
    background: none;
    outline: none;
    padding: 8px 15px;
    flex: 1;
    font-size: 14px;
}

.search-bar button {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.search-bar button:hover {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-meta {
    display: none;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.user-menu:hover {
    text-decoration: none;
    color: #333;
}

.user-menu i {
    color: #14b8a6;
}

.user-menu .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #14b8a6;
    transition: all 0.3s ease;
}

.user-menu:hover .user-avatar {
    border-color: #0d9488;
    transform: scale(1.05);
}

.sidebar-user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #6366f1;
    display: inline-block;
    vertical-align: middle;
}

/* User dropdown */
.user-menu { position: relative; }
.user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    color: #333;
}
.user-menu-btn:hover { background: #f8f9fa; }
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1001;
}
.user-dropdown.open { display: block; }
.user-dropdown a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.user-dropdown a:hover { background: #f8f9fa; }

.wishlist {
    position: relative;
    color: #333;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

.wishlist:hover {
    background: #f8f9fa;
}

.cart {
    position: relative;
    color: #f59e0b;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.cart:active {
    transform: scale(0.95);
}

.count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
    transform: translateZ(0);
    min-width: 20px;
    min-height: 20px;
}

.cart .total {
    margin-left: 5px;
    font-weight: 600;
    color: #14b8a6;
}

.logout-btn {
    color: #ff6b6b;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #ffe6e6;
}

/* Drawer removed */

/* Header Bottom Navigation */
.header-bottom {
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.header-bottom .container {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.main-nav {
    width: 100%;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.main-nav .nav-links a {
    padding: 8px 16px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    background-color: #eef2f7;
    color: #111827;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%2320bfa9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
    min-height: 500px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.hero-slider .slide {
    display: none;
    animation: heroFade 0.6s ease-in-out;
}

.hero-slider .slide.active {
    display: block;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, opacity 0.4s ease;
    z-index: 3;
}

.hero-nav:hover { background: #ffffff; transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 10px; }
.hero-next { right: 10px; }

/* Faded state when idle */
.hero-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-text h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.highlight {
    color: #0d9488;
    font-style: normal;
    background: linear-gradient(120deg, #d1fae5 0%, transparent 100%);
    padding: 0 4px;
    border-radius: 4px;
}

.hero-text p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 400;
}

.btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-showcase {
    display: flex;
    gap: 20px;
    position: relative;
}

.product-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #fff;
}

.product-img.product-1 {
    transform: rotate(-5deg);
}

.product-img.product-2 {
    transform: rotate(5deg);
    margin-top: 20px;
}

.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.hero-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-indicators span.active {
    background: #14b8a6;
}

/* Professional Hero Elements */
.professional-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: #0d9488;
    border: 2px solid #0d9488;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #0d9488;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.25);
}

/* Promotional Badges on Images */
.product-showcase {
    position: relative;
}

.discount-badge,
.free-delivery-badge,
.buy2take1-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
    animation: bounce 1s infinite alternate;
    z-index: 10;
}

.free-delivery-badge {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.buy2take1-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    font-size: 10px;
    padding: 6px 10px;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

/* Professional Hero Text Styling */
.hero-text {
    flex: 1;
    max-width: 600px;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1f2937;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.services-highlight {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item i {
    font-size: 18px;
    color: #0d9488;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item span {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Hero Banner Styles */
.hero-banner {
    flex: 1;
    max-width: 500px;
    height: 400px;
}

.banner-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.banner-image-container:hover {
    transform: translateY(-5px);
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(31, 41, 55, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
}

.banner-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #0d9488;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Promotional Banners */
.promo-banners {
    padding: 70px 0;
    background: #ffffff;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.banner {
    padding: 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.banner-1 {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
}

.banner-2 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.banner-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.banner-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.banner-content h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.banner-content p {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.date {
    font-weight: bold;
    font-size: 1rem;
}

.discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin: 8px 0;
}

.btn-banner {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
}

.btn-banner:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.banner-image {
    font-size: 2.4rem;
    opacity: 0.3;
}

/* Featured Products - Professional White Background */
.featured-products {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6 0%, #0d9488 50%, #14b8a6 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0d9488;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(13, 148, 136, 0.1);
}

.section-header p {
    font-size: 1.125rem;
    color: #000000;
    max-width: 640px;
    line-height: 1.6;
    font-weight: 400;
}

.btn-secondary {
    background: #ffffff;
    color: #0d9488;
    border: 2px solid #d1fae5;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background: #0d9488;
    color: white;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

/* Category Filter Dropdown - Professional Style */
.category-filter-dropdown {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
}

.category-filter-dropdown label {
    font-weight: 600;
    color: #0d9488;
    font-size: 1rem;
}

.category-filter-dropdown select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    width: 100%;
}

.category-filter-dropdown select:hover {
    border-color: #14b8a6;
    box-shadow: 0 4px 8px rgba(20, 184, 166, 0.1);
}

.category-filter-dropdown select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.category-filter-dropdown select option {
    padding: 10px;
    background: white;
    color: #374151;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #14b8a6;
    display: flex;
    flex-direction: column;
}

.btn-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    color: #8c8c8c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    font-size: 12px;
}

.btn-wishlist:hover, .btn-wishlist.active {
    background-color: #fce7f3;
    color: #db2777;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.15);
    border-color: #14b8a6;
}
.product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}


.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #14b8a6;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.product-badge.discount {
    background: #ff6b6b;
}

.product-image {
    width: 100%;
    height: 160px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 0;
    padding: 8px;
}

.product-category {
    font-size: 9px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
    font-weight: 500;
}

/* Add product content container */
.product-card > * {
    padding: 0 12px;
}

.product-card > .product-image {
    padding: 12px;
}

.product-card > .btn-add {
    margin: 0 12px 12px 12px;
    width: calc(100% - 24px);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    color: #262626;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
    flex-grow: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.product-rating i {
    color: #ffd700;
    font-size: 14px;
}

.product-rating span {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.product-brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.current-price {
    font-size: 16px;
    font-weight: 600;
    color: #0d9488;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.btn-add {
    width: calc(100% - 24px);
    background: #0d9488;
    color: #fff;
    border: 1px solid #0d9488;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 36px;
}

.btn-add:hover {
    background: #0f766e;
    border-color: #0f766e;
    transform: translateY(-1px);
}

.btn-add:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-add:disabled:hover {
    background: #0d9488;
    border-color: #0d9488;
    transform: none;
}

/* Force button structure */
.product-card .btn-add {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
    margin: 0 12px 12px 12px !important;
    text-align: center !important;
    white-space: nowrap !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.btn-add.btn-success {
    background: #14b8a6 !important;
    border-color: #14b8a6 !important;
}

.btn-add.btn-error {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

.btn-add.btn-loading {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
}

.product-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.product-indicators span.active {
    background: #14b8a6;
}

/* Bottom CTA Section */
.bottom-cta {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaves" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15,5 Q20,10 15,15 Q10,10 15,5" fill="%2320bfa9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23leaves)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-image .product-showcase {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.product-item i {
    font-size: 1.5rem;
    color: #14b8a6;
}

.product-item span {
    font-weight: 600;
    color: #333;
}

.cta-text {
    flex: 1;
    max-width: 500px;
}

.cta-subtitle {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Quick Actions */
.quick-actions {
    padding: 80px 0;
    background: #f8f9fa;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.action-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.action-card i {
    font-size: 2.5rem;
    color: #14b8a6;
    margin-bottom: 20px;
}

.action-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.action-card p {
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #14b8a6;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #14b8a6;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #14b8a6;
}

.footer-section i {
    margin-right: 8px;
    color: #14b8a6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .search-bar {
        max-width: none;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 8px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .product-card {
        border-radius: 6px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-name {
        font-size: 13px;
        height: 36px;
    }
    
    .current-price {
        font-size: 14px;
    }
    
    .action-card {
        padding: 20px;
    }
}

/* Contact Us Section Styles */
.contact-us {
    padding: 80px 0;
    background-color: #f9fafb;
}
.contact-us .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-us .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}
.contact-us .section-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}
.contact-form input, .contact-form textarea {
    width: 100%;
}

/* Search Suggestions Styles */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.suggestion-item:hover {
    background-color: #f8fafc;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}

.suggestion-price {
    font-weight: 600;
    color: #0d9488;
}

.suggestion-category {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
}

.suggestion-stock {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.suggestion-stock.in-stock {
    background: #ccfbf1;
    color: #166534;
}

.suggestion-stock.out-of-stock {
    background: #fef2f2;
    color: #dc2626;
}

.search-wrap {
    position: relative;
}

.search-bar {
    position: relative;
}

.search-loading {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6b7280;
    display: none;
}

.search-loading.show {
    display: block;
}

.search-no-results {
    padding: 20px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.search-no-results i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #d1d5db;
}

/* Highlight matching text in suggestions */
.suggestion-highlight {
    background: #fef3c7;
    font-weight: 600;
}

/* Mobile responsive for suggestions */
@media (max-width: 768px) {
    .search-suggestions {
        max-height: 300px;
    }
    
    .suggestion-item {
        padding: 10px 12px;
    }
    
    .suggestion-image {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .suggestion-name {
        font-size: 13px;
    }
    
    .suggestion-details {
        font-size: 11px;
    }
}

/* Cart Dropdown Styles */
.cart-container {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 350px;
    max-height: 500px;
    display: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.cart-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cart-dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.cart-loading {
    font-size: 12px;
    color: #6b7280;
    display: none;
}

.cart-loading.show {
    display: block;
}

.cart-dropdown-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-item-preview {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
}

.cart-item-preview:hover {
    background-color: #f8fafc;
}

.cart-item-preview:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.cart-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
}

.cart-item-quantity {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.cart-item-price {
    font-weight: 600;
    color: #0d9488;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.cart-item-remove:hover {
    color: #ef4444;
    background-color: #fef2f2;
    transform: scale(1.1);
}

.cart-item-remove:active {
    transform: scale(0.95);
}

.cart-item-remove:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.cart-item-remove:disabled:hover {
    color: #9ca3af;
    background: none;
}

/* Enhanced Header Icons with Colors */
.header-actions i,
.drawer-nav i,
.support-info i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Colorful Header Action Icons */
.header-actions .user-menu i {
    color: #3b82f6; /* Blue */
}

.header-actions .wishlist i {
    color: #ef4444; /* Red */
}

.header-actions .cart i {
    color: #eab308; /* Yellow */
}

.header-actions .logout-btn i {
    color: #f97316; /* Orange */
}

/* Hover Effects with Enhanced Colors */
.header-actions .user-menu:hover i {
    color: #1d4ed8;
    transform: scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(59, 130, 246, 0.4));
}

.header-actions .wishlist:hover i {
    color: #dc2626;
    transform: scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(239, 68, 68, 0.4));
}

.header-actions .cart:hover i {
    color: #ca8a04;
    transform: scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(234, 179, 8, 0.4));
}

.header-actions .logout-btn:hover i {
    color: #ea580c;
    transform: scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(249, 115, 22, 0.4));
}

/* Drawer Toggle with Color */
.drawer-toggle i {
    color: #6366f1; /* Purple */
    transition: all 0.3s ease;
}

.drawer-toggle:hover i {
    color: #4f46e5;
    transform: rotate(90deg) scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(99, 102, 241, 0.4));
}

/* Search Button with Color */
.search-bar button i {
    color: #ffffff; /* White */
    transition: all 0.2s ease;
}

.search-bar button:hover i {
    color: #f3f4f6;
    transform: rotate(15deg) scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.6));
}

/* Support Info with Colors */
.support-info i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.support-info .phone i {
    color: #14b8a6; /* Green */
}

.support-info .sub i {
    color: #f59e0b; /* Amber */
}

.support-info:hover .phone i {
    color: #0d9488;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.support-info:hover .sub i {
    color: #d97706;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

/* Drawer Navigation Enhanced Colors */
.drawer-nav a:hover i {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Specific Home Icon Enhancement - Force Visibility */
.home-nav-link i,
.side-drawer .drawer-nav .home-nav-link i,
.drawer-nav .home-nav-link i {
    color: #ef4444 !important;
    transition: all 0.3s ease !important;
}

.home-nav-link:hover i,
.side-drawer .drawer-nav .home-nav-link:hover i,
.drawer-nav .home-nav-link:hover i {
    color: #dc2626 !important;
    transform: scale(1.15) !important;
    filter: drop-shadow(0 3px 6px rgba(239, 68, 68, 0.5)) !important;
    animation: heartbeat 0.6s ease-in-out !important;
}

@keyframes heartbeat {
    0% { transform: scale(1.15); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1.15); }
}

.drawer-close i {
    color: #ef4444;
    transition: all 0.3s ease;
}

.drawer-close:hover i {
    color: #dc2626;
    transform: scale(1.2) rotate(90deg);
    filter: drop-shadow(0 3px 6px rgba(239, 68, 68, 0.4));
}

/* Cart Notification Styles */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-notification-success {
    background-color: #14b8a6;
}

.cart-notification-error {
    background-color: #ef4444;
}

.cart-notification-info {
    background-color: #3b82f6;
}

.cart-dropdown-footer {
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
    background: #f8fafc;
}

.cart-dropdown-total {
    text-align: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #111827;
}

.cart-dropdown-actions {
    display: flex;
    gap: 8px;
}

.btn-cart-view, .btn-cart-checkout {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-cart-view {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-cart-view:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-cart-checkout {
    background: #0d9488;
    color: #ffffff;
    border: 1px solid #0d9488;
}

.btn-cart-checkout:hover {
    background: #0f766e;
    border-color: #0f766e;
}

.cart-empty-message {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.cart-empty-message i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #d1d5db;
}

.cart-empty-message p {
    margin: 0;
    font-size: 14px;
}

.cart-has-more {
    padding: 8px 20px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #f3f4f6;
    font-size: 12px;
    color: #6b7280;
}

/* Mobile responsive for cart dropdown */
@media (max-width: 480px) {
    .cart-dropdown {
        width: 300px;
        right: -20px;
    }
    
    .cart-item-preview {
        padding: 10px 16px;
    }
    
    .cart-item-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .cart-item-name {
        font-size: 13px;
    }
    
    .cart-dropdown-header,
    .cart-dropdown-footer {
        padding: 12px 16px;
    }
}

/* ================================================
   COMPREHENSIVE RESPONSIVE HEADER DESIGN
   ================================================ */

/* Hide mobile cart on desktop, show desktop cart */
.mobile-cart {
    display: none;
}

/* Mobile First Approach - Base Styles for Mobile */
@media (max-width: 1024px) {
    /* Header adjustments for tablets */
    .header-top .container {
        gap: 15px;
    }
    
    .support-info {
        display: none; /* Hide support info on tablets and below */
    }
    
    .recently-viewed {
        display: none; /* Hide recently viewed on tablets and below */
    }
    
    .category-select-btn {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    /* Header responsiveness for mobile - changed from fixed to sticky */
    .header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .header-top {
        padding: 12px 0;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }
    
    /* Logo and drawer section */
    .header-logo-group {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
    
    .drawer-toggle {
        order: -1; /* Move drawer toggle to the left */
        width: 40px;
        height: 40px;
    }
    
    .logo {
        flex: 1;
        justify-content: center;
        font-size: 20px;
    }
    
    .logo img {
        height: 35px;
    }
    
    /* Search section - full width on mobile but smaller than before */
    .search-wrap {
        order: 1;
        width: 100%;
        flex: none;
        display: flex;
        justify-content: center;
    }
    
    .category-select-btn {
        display: none; /* Hide category button on mobile, use drawer instead */
    }
    
    .search-bar {
        width: 100%;
        border-radius: 22px;
        padding: 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        max-width: 90%;
        margin: 0 auto;
    }
    
    .search-bar input {
        padding: 10px 12px;
        font-size: 15px; /* Prevent zoom on iOS */
        border-radius: 18px;
    }
    
    .search-bar button {
        padding: 8px 12px;
        border-radius: 18px;
        min-width: 40px;
    }
    
    /* Hide header actions completely on mobile */
    .header-actions {
        display: none;
    }
    
    /* Header logo group adjustments for mobile */
    .header-logo-group {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    
    /* Show mobile cart in top right corner */
    .mobile-cart {
        display: block;
        order: 3;
    }

    
    /* Mobile cart styling - simple icon like original with yellow color */
    .mobile-cart .cart {
        position: relative;
        color: #f59e0b;
        text-decoration: none;
        padding: 8px;
        border-radius: 50%;
        transition: background 0.3s;
    }
    
    .mobile-cart .cart:hover {
        background: #f8f9fa;
    }
    
    .mobile-cart .cart .label {
        display: none; /* Hide cart label text on mobile */
    }
    
    .mobile-cart .cart .total {
        margin-left: 5px;
        font-weight: 600;
        color: #14b8a6;
        font-size: 14px;
    }
    
    .mobile-cart .count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -8px;
        right: -8px;
    }
    
    /* Side drawer adjustments for mobile */
    .side-drawer {
        width: 280px;
    }
    
    .drawer-overlay {
        z-index: 999;
    }
    
    /* Search suggestions mobile optimization */
    .search-suggestions {
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .header-top {
        padding: 10px 0;
    }
    
    .header-top .container {
        padding: 0 12px;
        gap: 10px;
    }
    
    .header-logo-group {
        gap: 10px;
    }
    
    .drawer-toggle {
        width: 36px;
        height: 36px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .search-bar {
        padding: 3px;
        max-width: 85%;
    }
    
    .search-bar input {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .search-bar button {
        padding: 8px 10px;
        min-width: 36px;
    }
    
    /* Mobile cart adjustments for smaller screens */
    .mobile-cart .cart {
        padding: 6px;
    }
    
    .mobile-cart .cart .total {
        font-size: 12px;
    }
    
    .mobile-cart .count {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    

    
    /* Side drawer for extra small screens */
    .side-drawer {
        width: 260px;
    }
    
    /* Cart dropdown adjustments */
    .cart-dropdown {
        width: 280px;
        right: -30px;
        max-height: 400px;
    }
    
    /* Mobile cart dropdown in top right */
    .mobile-cart .cart-dropdown {
        width: 280px;
        right: -10px;
        max-height: 400px;
    }
    
    .cart-dropdown-header h4 {
        font-size: 16px;
    }
    
    /* User dropdown adjustments */
    .user-dropdown {
        min-width: 180px;
        right: -10px;
    }
}

@media (max-width: 360px) {
    /* Very small mobile devices */
    .header-top .container {
        padding: 0 8px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .search-bar {
        max-width: 80%;
        padding: 2px;
    }
    
    .search-bar input {
        padding: 7px 8px;
        font-size: 13px;
    }
    
    .search-bar button {
        padding: 7px 8px;
        min-width: 32px;
    }
    
    /* Mobile cart adjustments for very small screens */
    .mobile-cart .cart {
        padding: 5px;
    }
    

    
    .side-drawer {
        width: 240px;
    }
    
    .cart-dropdown {
        width: 260px;
        right: -40px;
    }
    
    .mobile-cart .cart-dropdown {
        width: 260px;
        right: -20px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header-top {
        padding: 8px 0;
    }
    
    .header-top .container {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
    
    .header-logo-group {
        width: auto;
        flex: 0 0 auto;
    }
    
    .search-wrap {
        flex: 1;
        order: 0;
        max-width: 60%;
    }
    
    .header-actions {
        width: auto;
        flex: 0 0 auto;
        order: 0;
        border: none;
        padding: 0;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .search-bar input {
        padding: 8px 12px;
    }
    
    .search-bar button {
        padding: 8px 12px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Focus states for accessibility */
@media (max-width: 768px) {
    .drawer-toggle:focus,
    .search-bar button:focus,
    .mobile-cart .cart:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }
    
    .search-bar input:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
}

/* Animation improvements for mobile */
@media (max-width: 768px) {
    .mobile-cart .cart {
        transition: all 0.2s ease;
    }
    
    .mobile-cart .cart:active {
        transform: scale(0.95);
    }
    
    .side-drawer {
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Print styles */
@media print {
    .header,
    .side-drawer,
    .drawer-overlay {
        display: none;
    }
}

/* Responsive Health Tips Grid */
@media screen and (max-width: 768px) {
    .responsive-tips-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media screen and (max-width: 480px) {
    .responsive-tips-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .tip-card {
        padding: 20px 14px !important;
    }
}

/* Cart count responsive improvements */
@media screen and (max-width: 768px) {
    .cart .count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -3px;
        right: -3px;
        min-width: 18px;
        min-height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .cart .count {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -2px;
        right: -2px;
        min-width: 16px;
        min-height: 16px;
        font-weight: 600;
    }
}

/* View Product Button Styling */
.btn-view-product {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 100%;
}

.btn-view-product:hover {
    background: linear-gradient(135deg, #0f766e, #0d5750);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-view-product:active {
    transform: translateY(0);
}

.btn-view-product i {
    font-size: 0.9rem;
}