.main-content {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

/* Header */
.top-header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.back-btn, .cart-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--cyan-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

/* Search Bar */
.search-section {
    padding: 1.5rem 0;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 0.875rem 3rem 0.875rem 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    border-color: var(--cyan-primary);
    background: rgba(6, 182, 212, 0.12);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan-primary);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
    padding: 0.625rem 1.25rem;
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-chip.active {
    background: linear-gradient(to right, var(--cyan-primary), #2563eb);
    border-color: transparent;
    color: white;
}

.filter-chip:hover:not(.active) {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--cyan-primary);
}

/* Products Grid */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.products-count {
    color: #9ca3af;
    font-size: 0.95rem;
}

.products-count span {
    color: var(--cyan-primary);
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #9ca3af;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn.active {
    background: var(--cyan-primary);
    border-color: var(--cyan-primary);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.08), rgba(168, 85, 247, 0.08));
    border-radius: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-primary);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(to right, var(--cyan-primary), #2563eb);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.product-badge.new {
    background: linear-gradient(to right, #10b981, #059669);
}

.product-badge.sale {
    background: linear-gradient(to right, #f59e0b, #d97706);
}

.product-image-container {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: rgba(6, 182, 212, 0.05);
}

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

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

.wishlist-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.wishlist-btn:hover {
    background: var(--cyan-primary);
    border-color: var(--cyan-primary);
}

.wishlist-btn.active {
    background: #ef4444;
    border-color: #ef4444;
}

.product-info {
    padding: 1rem;
}

.product-category {
    color: var(--cyan-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #eab308;
    font-size: 0.85rem;
}

.rating-count {
    color: #9ca3af;
    font-size: 0.8rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.current-price {
    color: var(--cyan-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.original-price {
    color: #9ca3af;
    font-size: 0.85rem;
    text-decoration: line-through;
}

.add-to-cart-btn {
    background: linear-gradient(to right, var(--cyan-primary), #2563eb);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.add-to-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(6, 182, 212, 0.2);
}

.empty-icon i {
    font-size: 3rem;
    color: var(--cyan-primary);
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.empty-text {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.75rem 0;
    z-index: 100;
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s;
}

.nav-item.active {
    color: var(--cyan-primary);
}

.nav-item i {
    font-size: 1.5rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.05) 25%, rgba(6, 182, 212, 0.1) 50%, rgba(6, 182, 212, 0.05) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
@media(max-width: 768px){
    .main-content {
        margin-top: 3rem;
    }
}