.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.store-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 1.15rem;
    border: 1px solid rgba(161, 161, 170, 0.24);
    border-radius: 22px;
    background: rgba(24, 24, 27, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.store-card img {
    width: min(78%, 190px);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 0.65rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.store-card__title {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
}

.store-card__description {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 0.96rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.88);
}

.price {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
}

.product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: auto;
}

.product-buttons form {
    display: grid;
}

.btn-buy-now {
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    background: linear-gradient(135deg, #52525b 0%, #3f3f46 100%);
    color: #fafafa;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #71717a 0%, #52525b 100%);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.product-no-stock {
    color: rgba(252, 165, 165, 0.95);
    font-weight: 700;
    margin: 0;
}

.hidden-quantity-input {
    display: none;
}

@media (max-width: 1000px) {
    .store-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 770px) {
    .store-grid {
        gap: 0.85rem;
    }

    .store-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .store-card img {
        width: min(82%, 180px);
    }

    .product-buttons {
        grid-template-columns: 1fr;
    }
}
