/* Add at the beginning of your shop.css */
.purchase-btn {
    position: relative;
    transition: background-color 0.3s ease;
    opacity: 1;
}

.purchase-btn.loading {
    opacity: 0;
}

.purchase-btn .button-text {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.shop-container {
    padding: 1rem;
}

.shop-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-btn:hover {
    background-color: #34495e;
}

.category-btn.active {
    background-color: #e74c3c;
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.shop-item {
    background-color: #34495e;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-5px);
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-name {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.item-description {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.currency-icon {
    font-size: 1.2rem;
}

.purchase-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.purchase-btn:hover {
    background-color: #27ae60;
}

.coming-soon {
    color: #bdc3c7;
    text-align: center;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
}

.purchase-btn.owned {
    background-color: #3498db;
    opacity: 1;
}

.purchase-btn.owned:hover {
    background-color: #2980b9;
}

.purchase-btn[disabled] {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.purchase-btn.equipped {
    background-color: #27ae60;
    opacity: 1;
    cursor: default;
}