/* HidroCardsTCG — Sprint 9.5.1: interfaz inicial de apartados */
.reserve-product-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid rgba(101,217,255,.55);border-radius:12px;background:rgba(101,217,255,.08);color:#9fe9ff;font:inherit;font-size:.82rem;font-weight:850;line-height:1;cursor:pointer;white-space:nowrap;transition:transform .18s ease,background .18s ease,border-color .18s ease}.reserve-product-button:hover:not(:disabled){transform:translateY(-2px);background:rgba(101,217,255,.15);border-color:#65d9ff}.reserve-product-button:disabled{opacity:.45;cursor:not-allowed}.reserve-product-button:focus-visible{outline:3px solid rgba(101,217,255,.46);outline-offset:3px}
body.reservation-modal-open{overflow:hidden}.reservation-modal[hidden]{display:none}.reservation-modal{position:fixed;inset:0;z-index:12500;display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .18s ease}.reservation-modal.is-open{opacity:1}.reservation-modal__backdrop{position:absolute;inset:0;background:rgba(2,10,18,.78);backdrop-filter:blur(7px)}.reservation-dialog{position:relative;width:min(100%,520px);padding:28px;border:1px solid rgba(101,217,255,.28);border-radius:24px;background:linear-gradient(160deg,#10283b,#091724);color:#fff;box-shadow:0 28px 80px rgba(0,0,0,.55);transform:translateY(12px);transition:transform .18s ease}.reservation-modal.is-open .reservation-dialog{transform:none}.reservation-dialog__close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.06);color:#fff;font-size:1.45rem;cursor:pointer}.reservation-dialog__eyebrow{margin:0 0 7px;color:#65d9ff;font-size:.78rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.reservation-dialog h2{margin:0 44px 8px 0}.reservation-dialog__description{margin:0 0 18px;color:#b8c8d5}.reservation-summary{display:grid;gap:10px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.035)}.reservation-summary__row{display:flex;justify-content:space-between;gap:18px}.reservation-summary__row span{color:#aebdca}.reservation-summary__row strong{text-align:right}.reservation-note{margin:16px 0 0;padding:13px;border-radius:12px;background:rgba(245,200,76,.09);color:#f7dc84;font-size:.9rem;line-height:1.45}.reservation-error{min-height:20px;margin:12px 0 0;color:#ff879d;font-weight:800}.reservation-dialog__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.reservation-secondary,.reservation-primary{min-height:44px;padding:10px 18px;border-radius:12px;font:inherit;font-weight:900;cursor:pointer}.reservation-secondary{border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff}.reservation-primary{border:1px solid #65d9ff;background:#65d9ff;color:#06131f}.reservation-primary:hover{filter:brightness(1.08)}
@media(max-width:760px){.reserve-product-button{width:42px;min-width:42px;padding:0;border-radius:50%}.reserve-product-button-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.reservation-dialog{padding:24px 18px}.reservation-dialog__actions{flex-direction:column-reverse}.reservation-secondary,.reservation-primary{width:100%}}

/* Sprint 9.5.2 */
.reservation-button.is-reserved {
  border-color: rgba(0, 214, 143, .7);
  background: rgba(0, 214, 143, .14);
  color: #67f5be;
  cursor: default;
}
.reservation-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10050;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(5,18,29,.96);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.38);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.reservation-toast.is-visible { opacity: 1; transform: translateY(0); }
.reservation-toast[data-type="success"] { border-color: rgba(0,214,143,.65); }
.reservation-toast[data-type="error"] { border-color: rgba(255,92,92,.7); }

/* Sprint 9.5.3 — producto apartado por otro cliente */
.product-reservation-button.is-reserved-other,
[data-reserve-id].is-reserved-other {
  opacity: .72;
  cursor: not-allowed;
  border-color: rgba(255, 193, 7, .45);
  background: rgba(255, 193, 7, .10);
}
