.vrp-app{max-width:1100px;margin:auto;}
.vrp-topbar{display:flex;justify-content:space-between;margin-bottom:20px;}
.vrp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;}
.vrp-product-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.05);}
.vrp-img{width:100%;height:140px;object-fit:cover;border-radius:10px;}
.vrp-error{
    background:#ffeaea;
    border:1px solid #ffb3b3;
    padding:20px;
    border-radius:10px;
    text-align:center;
    color:#a00;
}

.vrp-login-btn{
    display:inline-block;
    margin-top:10px;
    padding:10px 15px;
    background:#0073aa;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
}

/* ================= BOTONES ================= */

.vrp-login-btn,
.vrp-logout {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 🔵 LOGIN */
.vrp-login-btn {
    background: linear-gradient(135deg, #1f6be7, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31,107,231,0.25);
}

.vrp-login-btn:hover {
    background: linear-gradient(135deg, #1857c2, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(31,107,231,0.35);
}

/* 🔁 RELOGIN (usa el mismo estilo) */
.vrp-error .vrp-login-btn {
    margin-top: 12px;
}

/* 🔴 LOGOUT */
.vrp-logout {
    background: #fff;
    color: #1f6be7;
    border: 1px solid #1f6be7;
}

.vrp-logout:hover {
    background: #1f6be7;
    color: #fff;
}

/* ================= TOPBAR ================= */

.vrp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* ================= BOTÓN CANJEAR ================= */

.vrp-product-card button.buy {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #1f6be7, #3b82f6);
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.vrp-product-card button.buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(31,107,231,0.3);
}

.vrp-product-card button.buy:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* ================= ERROR BOX ================= */

.vrp-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #b91c1c;
}
