.loja-container {
    width: 100%;
    padding: 10px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loja-header {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 13px;
    padding: 0 15px;
    border-radius: 4px;
    line-height: 40px;
    color: #ffffff; /* text-white */
    font-weight: bold;
}

.loja-saldo {
    background-color: #242526; /* bg-card */
    border: 1px solid #3e4042; /* border-color */
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    text-align: left;
    color: #ffffff; /* text-white */
}

.loja-saldo-valor {
    font-weight: bold;
    color: #2d88ff; /* primary-color/accent */
}

.loja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.loja-card {
    border: 1px solid #3e4042; /* border-color */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2);
    border-radius: 6px;
    text-align: left;
    display: flex;
    flex-direction: column;
    background-color: #242526; /* bg-card */
    transition: transform 0.3s, box-shadow 0.3s;
}

    .loja-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    }

.loja-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.loja-card img {
    width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.loja-card-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.loja-card-titulo {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff; /* text-white */
    margin: 0;
    flex-grow: 1;
    margin-bottom: 10px;
}

.loja-card-custo {
    text-align: center;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1rem;
    color: #2d88ff; /* primary-color/accent */
}

.loja-btn {
    width: 100%;
    color: white;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s ease;
}

    .loja-btn:active {
        transform: scale(0.98);
    }

.btn-resgatar {
    background-color: #28a745; /* green-check */
}

    .btn-resgatar:hover {
        background-color: #218838;
    }

.btn-insuficiente {
    background-color: #4A5568;
    color: #A0AEC0;
    cursor: not-allowed;
}

.card-esgotado {
    filter: grayscale(100%);
    opacity: 0.8;
}

.btn-esgotado {
    background-color: #555 !important;
    color: #aaa !important;
    cursor: not-allowed;
    border: 1px solid #444;
    pointer-events: none;
}

.aviso-esgotado {
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: bold;
    margin-left: 5px;
}