    body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ffffff);
    color: #e2e8f0;
}

header {
    background: linear-gradient(to right, #ffffff);
    color: #60a5fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 5px rgba(88, 88, 88, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo span {
    font-size: 32px;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: #fff3e0;
    color: #f59e0b;
    width: 50px;
    height: 50px;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cart-btn:hover {
    background: #f59e0b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cart-btn:active {
    transform: scale(0.95);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

/* Profile Menu */
.profile-menu {
    position: relative;
}

.profile-btn {
    background: #f59e0b;
    color: #0f172a;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.profile-btn:hover {
    background: #fbbf24;
    transform: scale(1.05);
}

.profile-btn:active {
    transform: scale(0.95);
}

.profile-icon {
    font-size: 24px;
}

/* Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    margin-top: 8px;
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.active {
    display: flex;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:last-child {
    border-bottom: none;
    color: #ef4444;
}

.dropdown-item:hover {
    background: #fef3c7;
    padding-left: 20px;
    color: #f59e0b;
}

.dropdown-item:last-child:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Yangi kategoriyalar bo'limi */
.category-card {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(249 115 22 / 0.1), 0 8px 10px -6px rgb(249 115 22 / 0.1);
}

.category-card:active {
    transform: scale(0.95);
}

.image-placeholder {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Grid container responsive */
#categoryGrid {
    padding: 0 4px;
}

@media (max-width: 768px) {
    #categoryGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    #categoryGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Active state styling */
.category-card.active-nav {
    border-color: #f97316 !important;
    border-width: 2px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}
