:root {
    --accent-cyan: #AAFEFC;
}

.shop-container-fixed {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 20px;
    z-index: 10;
    position: relative;
}

.shop-main-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(25px);
    border: 2px solid var(--accent-muted);
    border-radius: 40px;
    padding: 50px;
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-strong), 0 0 40px rgba(170, 254, 252, 0.05);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 40px;
}

.shop-item {
    min-height: 380px; 
    padding: 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.item-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 15px rgba(170, 254, 252, 0.25));
}

.item-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.item-price-tag {
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.item-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-details {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(170, 254, 252, 0.2);
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-details:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.btn-add-quick {
    width: 45px;
    height: 42px;
    background: var(--accent-cyan);
    border: none;
    border-radius: 12px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-add-quick:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* Pop-Up / Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-card {
    background: #0a0a0a;
    border: 1px solid var(--accent-cyan);
    padding: 40px;
    border-radius: 30px;
    max-width: 480px;
    width: 95%;
    text-align: center;
}

.modal-img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(170, 254, 252, 0.3));
}

.btn-modal-buy {
    background: var(--accent-cyan);
    color: #000;
    font-weight: 800;
    border: none;
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-modal-buy:hover {
    box-shadow: 0 0 20px var(--accent-cyan);
    transform: translateY(-2px);
}

.nav-btn-custom {
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-muted);
    padding: 10px 20px;
    border-radius: 12px;
    transition: 0.3s;
}

.nav-btn-custom:hover {
    background: var(--accent-cyan);
    color: black;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.close-btn {
    position: absolute;
    top: 20px; right: 25px;
    background: none; border: none;
    color: white; font-size: 2rem; cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .shop-container-fixed {
        padding: 80px 15px 30px 15px !important;
    }

    .shop-main-card {
        padding: 30px 15px !important;
        border-radius: 25px !important;
        height: auto !important;
    }

    .shop-main-card h1 {
        font-size: 2.2rem !important;
        letter-spacing: 4px !important;
    }

    .shop-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .shop-item {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 25px 15px !important;
    }

    .item-img {
        width: 130px !important;
        height: 130px !important;
        margin-bottom: 15px !important;
    }

    .item-name {
        font-size: 1.15rem !important;
    }

    .item-price-tag {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    div[style*="left: 30px"] {
        top: 15px !important;
        left: 15px !important;
    }
    
    .cart-overlay {
        top: 15px !important;
        right: 15px !important;
        padding: 8px 15px !important;
    }
}