:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --dark-color: #2d3748;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--dark-color);
}

/* Sticky Navbar - HIGH Z-INDEX */
.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1100 !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar-sticky.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* Cart Button */
.cart-btn-sticky {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.cart-btn-sticky:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white !important;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(245, 101, 101, 0.4);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    z-index: 1200;
}

/* 🌟 CATEGORY DROPDOWN */
.dropdown-menu-categories {
    max-height: 500px;
    min-width: 260px;
    max-width: 420px;
    overflow-y: auto;
    padding: 0.5rem 0.75rem;
}

.category-link-small {
    display: block;
    font-size: 0.85rem;
    line-height: 1.25;
    padding: 0.25rem 0.25rem;
    border-radius: 6px;
    white-space: normal;
}

.category-link-small:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    text-decoration: none;
}

/* Group Header */
.category-group-header {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.category-group-header:hover {
    text-decoration: none;
    color: var(--primary-color);
}
