/* Cuenta comprador */
.cuenta-auth {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--sh-radius);
}

.cuenta-auth h1 {
  margin: 0 0 8px;
  font-family: var(--sh-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--sh-olive);
}

.cuenta-auth-lead {
  margin: 0 0 22px;
  color: var(--sh-muted);
  font-size: 14px;
}

.cuenta-auth label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sh-muted);
}

.cuenta-auth input,
.cuenta-auth textarea {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  font-family: var(--sh-sans);
  font-size: 16px;
  background: #fff;
}

.cuenta-auth input:focus,
.cuenta-auth textarea:focus {
  outline: none;
  border-color: var(--sh-olive);
}

.cuenta-auth .sh-btn {
  width: 100%;
  margin-top: 6px;
}

.cuenta-auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--sh-muted);
}

.cuenta-auth-foot a {
  color: var(--sh-olive);
  font-weight: 600;
}

.cuenta-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.cuenta-nav {
  position: sticky;
  top: 96px;
  padding: 20px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--sh-radius);
}

.cuenta-nav h2 {
  margin: 0 0 6px;
  font-family: var(--sh-serif);
  font-size: 22px;
  color: var(--sh-olive);
}

.cuenta-nav p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--sh-muted);
}

.cuenta-nav a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sh-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cuenta-nav a:hover,
.cuenta-nav a.is-active {
  color: var(--sh-olive);
}

.cuenta-panel {
  padding: 28px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--sh-radius);
}

.cuenta-panel h1 {
  margin: 0 0 8px;
  font-family: var(--sh-serif);
  font-size: 30px;
  color: var(--sh-olive);
}

.cuenta-orders {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.cuenta-orders li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cuenta-orders strong {
  font-family: var(--sh-serif);
  font-size: 18px;
}

.cuenta-order-meta {
  font-size: 13px;
  color: var(--sh-muted);
}

.cuenta-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.1);
  color: var(--sh-olive);
}

.cuenta-badge.is-paid {
  background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 800px) {
  .cuenta-layout {
    grid-template-columns: 1fr;
  }
  .cuenta-nav {
    position: static;
  }
}
