

.products-row {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .products-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .products-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(12px);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.03), rgba(255, 0, 170, 0.02));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15), 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 240, 255, 0.4);
}

.card:hover::before { opacity: 1; }

.product-image-container {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 30, 0.15);
    padding: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.product-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 240, 255, 0.06) 100%);
    pointer-events: none;
    z-index: 0;
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(0, 240, 255, 0.03), transparent, rgba(255, 0, 170, 0.03), transparent);
    animation: glassShine 6s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glassShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.15));
    position: relative;
    z-index: 1;
}

.card:hover .product-image {
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-description {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

.price {
    margin: 0 0 12px;
    color: var(--neon-cyan);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.In-stock {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.Out-stock {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    color: #ff3355;
    background: rgba(255, 51, 85, 0.1);
    border: 1px solid rgba(255, 51, 85, 0.2);
}

.cart-btn {
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #0a0a1a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5), 0 8px 20px rgba(0, 240, 255, 0.3);
}

.cart-btn:active {
    transform: translateY(0);
}
