.soporte-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.soporte-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.soporte-modal__panel {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  max-height: min(88vh, 520px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  box-shadow: var(--shadow, 0 8px 24px rgba(0, 0, 0, 0.12));
  padding: 0 0 1rem;
}

.soporte-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.soporte-modal__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.soporte-modal__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 0 0.15rem;
}

.soporte-modal__lead {
  margin: 0;
  padding: 0.65rem 1rem 0;
  font-size: 0.88rem;
  color: var(--muted, #6b7280);
}

.soporte-modal__msg {
  margin: 0.5rem 1rem 0;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font-size: 0.88rem;
}

.soporte-modal__msg--error {
  background: #fef2f2;
  color: #991b1b;
}

.soporte-modal__msg--ok {
  background: #ecfdf5;
  color: #166534;
}

.soporte-modal__form {
  padding: 0.75rem 1rem 0;
}

.soporte-modal__form label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.soporte-modal__form select,
.soporte-modal__form textarea,
.soporte-modal__form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  font: inherit;
}

.soporte-modal__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.soporte-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg);
}

.soporte-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.soporte-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.soporte-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.soporte-back {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.cuenta-admin-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.cuenta-admin-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.cuenta-report-row {
  font-size: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.cuenta-report-row:last-child {
  border-bottom: none;
}

.btn-ban {
  color: #991b1b;
  border-color: #fecaca;
}

.btn-ban:hover {
  background: #fef2f2;
}

/* Panel detalle de producto (tarjeta tocada) */
.product-detail-modal__panel {
  width: min(26rem, 100%);
  max-height: min(90vh, 640px);
  padding: 0;
}

.product-detail-modal__body {
  padding: 0.85rem 1rem 1rem;
}

.product-detail-modal__img {
  display: block;
  width: 100%;
  max-height: min(50vh, 320px);
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.product-detail-modal__title {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.product-detail-modal__price {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #15803d;
  text-align: right;
}

.product-detail-modal__desc {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
  white-space: normal;
  word-break: break-word;
}
