/* Área cuenta: páginas de la cuenta del cliente (cada página la carga; los enganches de tarjeta, ficha,
   encabezado y checkout usan solo clases de tienda.css). Sin build: CSS plano. */
.acct-narrow{max-width:560px}
.acct{max-width:1080px}
.acct-box{padding:28px;margin-top:16px}
.acct-box h1{font-size:clamp(1.6rem,3vw,2.2rem);margin:0 0 8px}
.acct-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 14px}
.acct-head h1{margin:0}
.acct-mail{margin:4px 0 0;overflow-wrap:anywhere}
.acct-head form .btn[type="submit"],.acct-actions form .btn[type="submit"]{width:auto}
.acct-nav{margin:0 0 4px}
.acct-sec{padding:22px;margin-top:16px}
.acct-sec h2{font-size:1.25rem;margin:0 0 8px}
.acct-sec-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.acct-sec-h a{font-weight:600;text-decoration:underline}
.acct-sec .grid{margin-top:12px}
.acct-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:0 16px}
.acct-order{padding:16px 0;border-bottom:1px solid var(--line-soft)}
.acct-order:last-child{border-bottom:0}
.acct-order-h{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.acct-items{margin:6px 0;font-size:.92rem;line-height:1.4}
.acct-eta{margin:4px 0;font-weight:600}
.acct-warn{margin:6px 0;padding:10px 12px;border-radius:var(--r-sm);background:var(--warn-soft);color:var(--warn);font-size:.92rem}
.acct-order-f{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.acct-total{font-size:1.15rem}
.acct-actions{display:flex;flex-wrap:wrap;gap:8px}
.acct-actions .btn{height:44px;padding:0 16px}
.acct-small{font-size:.88rem}
.status-pill.curso{background:var(--plinth);color:var(--ink)}
.acct-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line-soft)}
.acct-row-t{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 220px}
.acct-row-t>span{overflow-wrap:anywhere}
.acct-list{list-style:none;margin:0 0 14px;padding:0}
.acct-list li{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--line-soft)}
.acct-add{margin-top:8px}
.acct-add summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.acct-why{margin:18px 0 10px;padding-left:20px;line-height:1.7}
.acct-danger{background:var(--danger);color:#fff}
.acct-danger:hover{background:color-mix(in srgb,var(--danger) 85%,#000);color:#fff}
@media(max-width:760px){
  .acct-box{padding:20px}
  .acct-sec{padding:18px}
  .acct-actions{width:100%}
  .acct-actions>.btn,.acct-actions>form{flex:1 1 auto}
  .acct-actions form .btn[type="submit"]{width:100%}
}
