.store-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 2;
}

.store-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.store-header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.store-header h1 i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-header p {
    color: #c9a9dd;
    font-size: 1.2rem;
    font-weight: 500;
}

.store-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.category-filter {
    padding: 1rem 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    color: #c9a9dd;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.category-filter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-filter:hover::before,
.category-filter.active::before {
    width: 300px;
    height: 300px;
}

.category-filter:hover,
.category-filter.active {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 100%;
    animation: gradient-slide 3s linear infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-card:hover::after {
    width: 500px;
    height: 500px;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        0 0 100px rgba(157, 78, 221, 0.2);
}

.product-image {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.3));
}

.product-image i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.product-info {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.product-info h3 {
    color: #fff;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-info p {
    color: #c9a9dd;
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
}

.product-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.buy-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border: none;
    color: white;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.buy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.buy-btn:hover::before {
    width: 400px;
    height: 400px;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(157, 78, 221, 0.4),
        0 0 60px rgba(0, 212, 255, 0.3);
}

.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    border-left: 2px solid var(--primary);
    padding: 3rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar h3 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: #e0e6ed;
}

.cart-item button {
    background: rgba(255, 71, 87, 0.2);
    border: 2px solid #ff4757;
    color: #ff4757;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cart-item button:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.cart-total {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 15px;
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #00ff88, var(--primary));
    border: none;
    color: white;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.checkout-btn:hover::before {
    width: 400px;
    height: 400px;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

@media (max-width: 768px) {
    .store-header h1 {
        font-size: 2.5rem;
    }
    
    .product-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
