:root {
    --deep-bg: #0a0f1e;
    --card-bg: rgba(16, 23, 42, 0.8);
    --neon-blue: #00d4ff;
    --neon-glow: rgba(0, 212, 255, 0.3);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-blue: #0088ff;
    --border-color: rgba(0, 212, 255, 0.2);
}

/* ===== MAIN CONTAINER ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    font-size: 2rem;
    color: var(--neon-blue);
    text-align: center;
    margin: 4rem 0 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 0 15px var(--neon-glow);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top, var(--neon-glow), transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-glow);
}

/* ===== PRODUCT IMAGES & ICONS ===== */
.product-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.product-image-glow {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-glow {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 0 25px var(--neon-blue));
}

.product-icon {
    font-size: 3.5rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--neon-glow));
    transition: transform 0.3s ease;
}

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

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3em;
}

.product-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--neon-blue);
    margin: 1.5rem 0;
    text-shadow: 0 0 10px var(--neon-glow);
}

/* ===== BUTTONS ===== */
.btn-add-to-cart {
    background: linear-gradient(135deg, var(--accent-blue), var(--neon-blue));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--neon-blue);
    filter: brightness(1.1);
}

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

/* ===== CART SIDEBAR / SUMMARY ===== */
.cart-summary-fixed {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 1.5rem;
    width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--neon-glow);
    z-index: 1000;
    backdrop-filter: blur(15px);
    display: none; /* Controlled by JS */
}

.cart-summary-fixed.active {
    display: block;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(120%); }
    to { transform: translateX(0); }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.cart-items-list {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info h4 {
    font-size: 0.95rem;
    margin: 0;
}

.cart-item-info span {
    font-size: 0.85rem;
    color: var(--neon-blue);
}

.remove-item {
    color: #ff4d4d;
    cursor: pointer;
    padding: 5px;
    transition: 0.2s;
}

.remove-item:hover {
    color: #ff1a1a;
    transform: scale(1.2);
}

.cart-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-checkout {
    background: white;
    color: var(--deep-bg);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-checkout:hover {
    background: var(--neon-blue);
    color: white;
    box-shadow: 0 0 20px var(--neon-blue);
}

/* Custom Scrollbar */
.cart-items-list::-webkit-scrollbar {
    width: 5px;
}

.cart-items-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.cart-items-list::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-summary-fixed {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }
}
