/* static/css/store_page.css */

.store-wrapper {
    width: 100%;
    max-width: 420px;
    min-height: 100vh;
    background-color: #0a2d3e;
    color: white;
    display: flex;
    flex-direction: column;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #004d40;
    position: sticky;
    top: 0;
    z-index: 10;
}
.store-header h1 { font-size: 1.2em; margin: 0; }
.store-header a { color: white; font-size: 1.2em; text-decoration: none; }
.user-points { font-weight: bold; font-size: 1.1em; }
.user-points .fa-coins { color: #ffd700; }

.store-main {
    padding: 20px;
    padding-bottom: 80px; /* बॉटम नैव के लिए जगह */
    flex-grow: 1;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.avatar-card {
    background: #1e3a5f;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 2px solid #4db6ac;
    position: relative;
}
.avatar-card.rarity-RARE { border-color: #3d5afe; }
.avatar-card.rarity-EPIC { border-color: #673ab7; }
.avatar-card.rarity-LEGENDARY { border-color: #fdd835; }


.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    background: rgba(0,0,0,0.2);
}
.avatar-name { font-size: 1.1em; font-weight: bold; margin: 0 0 10px 0; }

.action-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.buy-btn { background-color: #4caf50; color: white; }
.equip-btn { background-color: #4285F4; color: white; }
.equipped-btn { background-color: #fdd835; color: #333; cursor: default; }

/* बॉटम नैव की स्टाइल (प्रोफाइल पेज से कॉपी) */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; max-width: 420px; margin: 0 auto; display: flex; justify-content: space-around; background: #004d40; padding: 10px 0;   box-shadow: 0 -2px 10px rgba(0,0,0,0.3);}
.bottom-nav-item { color: #ccc; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.8em; }
.bottom-nav-item.active { color: white; }
.bottom-nav-item i { font-size: 1.5em; }