/* ==========================================================================
   D’Establo — account.css
   Cuenta de cliente: control de cuenta en la barra superior (todas las vistas),
   barra minima de las paginas sin cabecera, y las paginas Mi cuenta / Contratar /
   Pedido. Usa las variables de styles.css cuando existen (con valores de respaldo,
   porque 404, login y logout NO cargan styles.css).
   ========================================================================== */

/* ---------- Control de cuenta (barra superior) ---------- */
.acc-link, .acc > summary {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  color: inherit; text-transform: uppercase; list-style: none; text-decoration: none;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc { position: relative; }
.acc-ico { width: 13px; height: 13px; }
.acc-avatar {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold, #c9743f); color: var(--ink, #1e1e1e);
  font: 700 .72rem/22px "Sora", system-ui, sans-serif; text-align: center; text-transform: uppercase;
}
.acc-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; z-index: 200;
  background: #fff; color: var(--ink, #1e1e1e); border: 1px solid var(--line, #dedbd5); border-radius: 12px; padding: .5rem;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .45);
  text-transform: none; letter-spacing: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .9rem;
}
.acc-menu a, .acc-menu button {
  display: block; width: 100%; text-align: left; padding: .6rem .75rem; border-radius: 8px;
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.acc-menu a:hover, .acc-menu button:hover { background: var(--bg, #f1f0ed); color: var(--azul, #3d6b62); }
.acc-who { padding: .5rem .75rem .6rem; border-bottom: 1px solid var(--line, #dedbd5); margin-bottom: .35rem; display: flex; flex-direction: column; gap: .1rem; }
.acc-who strong { font-size: .92rem; }
.acc-who span { color: var(--ink-mute, #6b6862); font-size: .78rem; word-break: break-all; }
@media (max-width: 560px) {
  .acc-ico { width: 21px; height: 21px; }
  .acc-avatar { width: 26px; height: 26px; line-height: 26px; }
  .acc > summary, .acc-link { padding: .5rem; margin: -.5rem; }
  .acc-menu { top: calc(100% + 6px); right: -.4rem; }
}

/* ---------- Barra minima (404, login del panel, sesion cerrada) ---------- */
.mini-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 46px; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--azul-tinta, #1e2422); color: rgba(255, 255, 255, .85);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; letter-spacing: .07em;
}
.mini-bar img { height: 26px; width: auto; display: block; }
.mini-bar a { color: inherit; text-decoration: none; }
.mini-bar a:hover, .mini-bar .acc > summary:hover { color: var(--gold-soft, #f0d08a); }
@media (max-width: 560px) { .mini-bar .lbl { display: none; } }

/* ---------- Paginas de cuenta / contratar / pedido ---------- */
.acct-wrap { width: 100%; max-width: 1040px; margin: 0 auto; box-sizing: border-box; padding: clamp(6.5rem, 10vw, 8rem) 1.4rem 4rem; }
.acct-narrow { max-width: 520px; }
.acct-head { margin-bottom: 1.6rem; }
.acct-head h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin: .5rem 0 .3rem; }
.acct-head p { color: var(--ink-mute, #6b6862); margin: 0; }
.acct-card { background: var(--paper, #fafaf8); border: 1.5px solid var(--line, #dedbd5); border-radius: var(--radius, 14px); padding: 1.5rem; box-sizing: border-box; }
.acct-card h2 { font-size: 1.1rem; margin: 0 0 .9rem; }
.acct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 820px) { .acct-grid { grid-template-columns: 1fr; } }
.acct-login { text-align: center; }
.acct-login .kicker { justify-content: center; }
.acct-login h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin: .6rem 0 .6rem; }
.acct-lead { color: var(--ink-mute, #6b6862); margin: 0 0 1.4rem; }
.acct-fine { font-size: .8rem; color: var(--ink-mute, #6b6862); margin: .9rem 0 0; }
.acct-fine a, .acct-empty a { color: var(--azul, #3d6b62); font-weight: 600; }
.acct-empty { color: var(--ink-mute, #6b6862); margin: 0 0 1rem; }

.acct-alert { padding: .8rem 1rem; border-radius: 8px; font-size: .9rem; margin: 1rem 0; text-align: left; }
.acct-alert a { color: inherit; font-weight: 600; text-decoration: underline; }
.acct-alert.err { background: #fdecea; color: #8a2c22; }
.acct-alert.ok { background: #eaf3ec; color: var(--green, #2f6b45); }
.acct-alert.warn { background: #fff4dc; color: #7a5200; }

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; box-sizing: border-box;
  padding: .85rem 1rem; background: #fff; border: 1.5px solid var(--line, #dedbd5); border-radius: 10px;
  font: 600 .95rem "Inter", system-ui, sans-serif; color: #1f2a28; text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.btn-google:hover { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); transform: translateY(-1px); }

.acct-form { display: flex; flex-direction: column; gap: .8rem; }
.acct-fine + .acct-form { margin-top: 1rem; }
.acct-form label { display: flex; flex-direction: column; gap: .3rem; font-family: var(--ff-mono, "IBM Plex Mono", monospace); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute, #6b6862); }
.acct-form input, .acct-form select {
  width: 100%; box-sizing: border-box; font-family: var(--ff-body, "Inter", sans-serif); font-size: 15px; letter-spacing: 0; text-transform: none;
  color: var(--ink, #1e1e1e); padding: .6em .75em; border: 1.5px solid var(--line, #dedbd5); border-radius: 8px; background: #fff;
}
.acct-form input:focus, .acct-form select:focus { outline: none; border-color: var(--azul, #3d6b62); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.acct-form .btn { align-self: flex-start; margin-top: .3rem; }

.acct-tablewrap { overflow-x: auto; }
.acct-table { width: 100%; border-collapse: collapse; }
.acct-table th, .acct-table td { padding: .7rem .6rem; text-align: left; font-size: .88rem; border-bottom: 1px solid var(--line-2, #ecebe7); vertical-align: top; }
.acct-table th { font-family: var(--ff-mono, monospace); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute, #6b6862); }
.acct-table td small { display: block; color: var(--ink-mute, #6b6862); font-size: .75rem; margin-top: .15rem; }
.acct-table a { color: var(--azul, #3d6b62); font-weight: 600; }
.acct-pill { display: inline-block; padding: .22em .65em; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.acct-pill.ok { background: #eaf3ec; color: var(--green, #2f6b45); }
.acct-pill.warn { background: #fff4dc; color: #7a5200; }
.acct-pill.err { background: #fdecea; color: #8a2c22; }

/* ---------- Contratar (checkout) ---------- */
.ck-grid { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 820px) { .ck-grid { grid-template-columns: 1fr; } .ck-summary { order: -1; } }
.ck-pay { width: 100%; justify-content: center; margin-top: .4rem; }
.ck-pay[disabled] { opacity: .7; cursor: progress; }
.ck-alt { font-size: .85rem; color: var(--ink-mute, #6b6862); margin: 1rem 0 0; }
.ck-alt a { color: var(--azul, #3d6b62); font-weight: 600; }
.ck-plan { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.ck-plan b { font-family: var(--ff-display, "Sora", sans-serif); font-size: 1.15rem; }
.ck-features { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--ink-soft, #3d3b37); }
.ck-features li { padding-left: 1.3rem; position: relative; }
.ck-features li::before { content: "✓"; position: absolute; left: 0; color: var(--azul, #3d6b62); font-weight: 700; }
.ck-totals { margin: 0; border-top: 1px solid var(--line, #dedbd5); padding-top: .8rem; }
.ck-totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; font-size: .92rem; }
.ck-totals dt { color: var(--ink-mute, #6b6862); margin: 0; }
.ck-totals dd { margin: 0; font-weight: 600; }
.ck-totals .tot { border-top: 1px solid var(--line, #dedbd5); margin-top: .4rem; padding-top: .7rem; font-size: 1.1rem; }
.ck-totals .tot dt { color: var(--ink, #1e1e1e); font-weight: 700; }
.ck-switch { margin: .9rem 0 0; font-size: .85rem; }
.ck-switch a { color: var(--azul, #3d6b62); font-weight: 600; }

/* ---------- Resultado del pedido ---------- */
.ped-card { text-align: center; }
.ped-ico { font-size: 2.6rem; line-height: 1; margin-bottom: .4rem; }
.ped-card h1 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin: .2rem 0 .6rem; }
.ped-data { margin: 1.2rem 0; text-align: left; border: 1px solid var(--line, #dedbd5); border-radius: 10px; background: #fff; }
.ped-data div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line-2, #ecebe7); font-size: .9rem; }
.ped-data div:last-child { border-bottom: 0; }
.ped-data dt { color: var(--ink-mute, #6b6862); margin: 0; }
.ped-data dd { margin: 0; font-weight: 600; text-align: right; }
.ped-data small { font-weight: 400; color: var(--ink-mute, #6b6862); }
.ped-actions { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; }
.ped-link { font-size: .85rem; color: var(--azul, #3d6b62); font-weight: 600; }

/* ---------- Tarjetas de planes (portada): enlace secundario a WhatsApp ---------- */
.plan-wa-alt { display: block; text-align: center; margin-top: .75rem; font-size: .85rem; color: var(--ink-mute, #6b6862); }
.plan-wa-alt:hover { color: var(--azul, #3d6b62); }

/* ---------- Paginas legales (privacidad, condiciones) y enlaces del pie ---------- */
.legal { max-width: 820px; }
.legal-body h2 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .95rem; line-height: 1.65; color: var(--ink, #1e1e1e); }
.legal-body ul { margin: .4rem 0 .8rem 1.2rem; padding: 0; }
.legal-body li { margin: .3rem 0; }
.legal-body a { color: var(--azul, #3d6b62); font-weight: 600; }
.legal-link { color: inherit; text-decoration: underline; opacity: .85; margin-right: 1rem; }
.legal-link:hover { opacity: 1; }

/* ---------- Acceso al panel (/login) y sesion cerrada (/logout) ---------- */
.login-main { min-height: 68vh; }
.login-main.acct-wrap { padding-top: clamp(8.2rem, 12vw, 9.6rem); }
.login-form { text-align: left; margin-top: 1.1rem; }
.login-field { display: flex; flex-direction: column; gap: .3rem; }
.login-field label { font-family: var(--ff-mono, "IBM Plex Mono", monospace); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute, #5c706b); }
.login-form input { font-size: 16px; min-height: 46px; }
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 3rem; }
.pass-toggle {
  position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px;
  background: none; color: var(--ink-mute, #5c706b); cursor: pointer;
}
.pass-toggle:hover { color: var(--azul, #1f8f7e); background: rgba(31, 143, 126, .08); }
.pass-toggle:focus-visible { outline: 2px solid var(--gold-deep, #b8492f); outline-offset: 1px; }
.pass-toggle svg { width: 20px; height: 20px; }
.pass-toggle .ico-ocultar { display: none; }
.pass-toggle.is-on .ico-ver { display: none; }
.pass-toggle.is-on .ico-ocultar { display: block; }
.login-form .login-err { margin: 0; }
.login-submit { width: 100%; justify-content: center; min-height: 48px; margin-top: .3rem; align-self: stretch !important; }
.acct-login > .login-submit { margin-top: 1rem; }
.login-main .acct-card { box-shadow: 0 24px 56px -34px rgba(10, 39, 35, .5); }
@media (max-width: 420px) { .login-main.acct-wrap { padding-inline: 1rem; } .login-main .acct-card { padding: 1.25rem 1.1rem; } }

/* ==========================================================================
   Mi cuenta del perfil catálogo (barra lateral, esquema Olibella). Toma los colores de styles.css:
   --azul-tinta (barra), --azul (activo y acentos), --gold (contadores), --paper / --bg-2 (tarjetas).
   ========================================================================== */
.cu-acct { max-width: 1100px; }
.cu-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.6rem; align-items: start; }
.cu-side { position: sticky; top: 6rem; background: var(--azul-tinta, #1e2422); color: #f4f2ee; border-radius: var(--radius-sm, 6px); padding: 1.3rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.cu-avatar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding-bottom: 1rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.cu-logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 8px; box-sizing: border-box; }
.cu-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cu-ini { width: 64px; height: 64px; border-radius: 50%; background: var(--azul, #3d6b62); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.9rem; }
.cu-avatar b { font-family: var(--ff-display); font-weight: 600; font-size: 1.4rem; margin-top: .3rem; }
.cu-avatar small { color: rgba(255,255,255,.55); font-size: .75rem; word-break: break-all; }
.cu-nav { display: flex; flex-direction: column; gap: .2rem; }
.cu-nav a { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: var(--radius-sm, 6px); color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem; }
.cu-nav a svg { width: 17px; height: 17px; flex: none; }
.cu-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cu-nav a.on { background: var(--azul, #3d6b62); color: #fff; }
.cu-n { margin-left: auto; font-family: var(--ff-mono); font-size: .68rem; color: var(--gold, #d4a23f); }
.cu-salir { margin-top: .8rem; width: 100%; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-sm, 6px); padding: .6rem; cursor: pointer; font: inherit; font-size: .88rem; }
.cu-salir:hover { border-color: var(--gold, #d4a23f); color: var(--gold, #d4a23f); }
.cu-baja { margin-top: .5rem; text-align: center; font-size: .72rem; color: rgba(255,255,255,.45); text-decoration: underline; }
.cu-baja:hover { color: #fff; }
.cu-main h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin: .4rem 0 .6rem; }
.cu-lead { color: var(--ink-mute, #6b6862); max-width: 60ch; margin-bottom: 1.2rem; }
.cu-two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.cu-steps { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.cu-steps span { font-size: .74rem; padding: .45rem .85rem; border-radius: 999px; background: var(--bg-2, #e8e5df); color: var(--ink-mute, #6b6862); }
.cu-steps span.on { background: var(--azul, #3d6b62); color: #fff; }
.ra-card { background: var(--paper, #fafaf8); border: 1px solid var(--line-2, #ecebe7); border-radius: var(--radius-sm, 6px); padding: 1.5rem; }
.ra-card h2 { font-family: var(--ff-display); font-size: 1.5rem; line-height: 1.1; margin: 0; }
.ra-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--azul, #3d6b62); }
.ra-count { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--azul, #3d6b62); }
.ra-empty { color: var(--ink-mute, #6b6862); margin: 0 0 1rem; }
.ra-heart { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; color: var(--azul, #3d6b62); }
.ra-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ra-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-direction: column; }
.ra-list li + li { border-top: 1px solid var(--line-2, #ecebe7); }
.ra-list a { display: flex; align-items: center; gap: .9rem; padding: .65rem 0; color: inherit; text-decoration: none; }
.ra-list a:hover b { color: var(--azul, #3d6b62); }
.ra-list b { display: block; font-weight: 600; }
.ra-list small { color: var(--ink-mute, #6b6862); font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .06em; }
.ra-thumb { flex: none; width: 54px; height: 54px; border-radius: 4px; overflow: hidden; background: var(--bg-2, #e8e5df); display: grid; place-items: center; }
.ra-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ra-seal { font-family: var(--ff-display); font-size: .95rem; color: var(--a, var(--azul, #3d6b62)); border-top: 3px solid var(--a, var(--azul, #3d6b62)); }
.ra-favs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.ra-favs .ra-empty { grid-column: 1 / -1; margin: 0; }
.ra-fav { display: flex; align-items: center; gap: .6rem; padding: .5rem; border: 1px solid var(--line-2, #ecebe7); border-radius: 4px; color: inherit; text-decoration: none; font-size: .88rem; background: #fff; }
.ra-fav:hover { border-color: var(--azul, #3d6b62); }
.ra-fav .ra-thumb { width: 40px; height: 40px; }
.ra-opt { font-size: .58rem; letter-spacing: .1em; color: var(--ink-mute, #6b6862); border: 1px solid var(--line, #dedbd5); border-radius: 999px; padding: .1em .6em; margin-left: .3rem; vertical-align: 1px; }
.cu-acct .acct-form .btn { margin-top: .5rem; }
.cu-acct textarea { width: 100%; box-sizing: border-box; font-family: var(--ff-body); font-size: 15px; padding: .6em .75em; border: 1.5px solid var(--line, #dedbd5); border-radius: 8px; background: #fff; resize: vertical; text-transform: none; letter-spacing: 0; }
.cu-acct input:disabled { background: var(--bg, #f1f0ed); color: var(--ink-mute, #6b6862); }
@media (max-width: 860px) {
  .cu-layout { grid-template-columns: 1fr; }
  .cu-side { position: static; }
  .cu-avatar { flex-direction: row; text-align: left; gap: .8rem; }
  .cu-logo, .cu-ini { width: 44px; height: 44px; font-size: 1.3rem; }
  .cu-avatar b { margin-top: 0; }
  .cu-nav { flex-direction: row; overflow-x: auto; }
  .cu-nav a { white-space: nowrap; }
  .cu-two { grid-template-columns: 1fr; }
}

/* ---------- Tienda: /pago y seguimiento del pedido ---------- */
.tp-form h2 { margin: 0 0 .2rem; }
.tp-form .tp-h2 { margin-top: .8rem; }
.tp-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.tp-row3 { grid-template-columns: 1.1fr 1fr 1fr; }
@media (max-width: 560px) { .tp-row, .tp-row3 { grid-template-columns: 1fr; } }
.tp-row[hidden], .tp-form label[hidden] { display: none; }
.tp-form textarea { font: inherit; padding: .7rem .8rem; border: 1.5px solid var(--line, #dedbd5); border-radius: 8px; background: #fff; resize: vertical; text-transform: none; letter-spacing: 0; }
.tp-form label small { text-transform: none; letter-spacing: 0; }
.tp-doc { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.tp-doc legend { font-family: var(--ff-mono, "IBM Plex Mono", monospace); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute, #6b6862); margin-bottom: .35rem; padding: 0; }
.acct-form .tp-radio { flex-direction: row; align-items: center; gap: .45rem; font-family: inherit; font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--ink, #1e1e1e); cursor: pointer; }
.tp-options { display: flex; flex-direction: column; gap: .5rem; }
.acct-form .tp-opt { flex-direction: row; align-items: flex-start; gap: .7rem; padding: .75rem .9rem; border: 1.5px solid var(--line, #dedbd5); border-radius: 10px; background: #fff; cursor: pointer; font-family: inherit; font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--ink, #1e1e1e); }
.acct-form .tp-opt:has(input:checked) { border-color: var(--azul, #3d6b62); box-shadow: 0 0 0 3px rgba(0, 0, 0, .05); }
.acct-form .tp-opt input, .acct-form .tp-radio input { width: auto; flex: none; padding: 0; margin: .2rem 0 0; accent-color: var(--azul, #3d6b62); }
.acct-form .tp-radio input { margin: 0; }
.tp-opt span { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.tp-opt small { color: var(--ink-mute, #6b6862); font-size: .8rem; }
.tp-opt em { font-style: normal; font-weight: 700; white-space: nowrap; }
.tp-lines { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.tp-lines li { display: flex; justify-content: space-between; gap: .8rem; font-size: .9rem; text-align: left; }
.tp-lines span { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.tp-lines small { color: var(--ink-mute, #6b6862); font-size: .8rem; }
.tp-lines em { font-style: normal; font-weight: 600; white-space: nowrap; }
.ped-lines { margin: 1.2rem 0 0; padding: .9rem; border: 1px solid var(--line, #dedbd5); border-radius: 10px; background: #fff; }
.ped-steps { list-style: none; display: flex; gap: .3rem; margin: 1rem 0 0; padding: 0; counter-reset: paso; }
.ped-steps li { flex: 1; font-size: .72rem; font-weight: 600; color: var(--ink-mute, #6b6862); padding-top: .55rem; border-top: 4px solid var(--line, #dedbd5); }
.ped-steps li.on { color: var(--green, #2f6b45); border-top-color: var(--green, #2f6b45); }

/* ---------- Mi cuenta: pedidos, comprobantes, direcciones, privacidad (cuentas completas) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cu-acct .btn-sm { padding: .5em 1em; font-size: .82rem; }
.cu-acct .cu-main, .cu-acct .cu-side { min-width: 0; }   /* el menú horizontal del celular se desplaza dentro, sin ensanchar la página */
.cu-sec > .ra-card + .ra-card, .cu-dirs + .ra-card { margin-top: 1rem; }
.cu-orders { display: flex; flex-direction: column; gap: .8rem; }
.cu-order { padding: 1.1rem 1.2rem; }
.cu-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; }
.cu-order-head b { display: block; font-family: var(--ff-display); font-size: 1.05rem; }
.cu-order-head small { color: var(--ink-mute, #6b6862); font-size: .8rem; }
.cu-order-items { margin: .6rem 0 .8rem; font-size: .9rem; color: var(--ink-soft, #3d3b37); overflow-wrap: anywhere; }
.cu-order-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.cu-order-tot { font-weight: 700; font-size: 1.05rem; }
.cu-order-cpe { font-size: .8rem; color: var(--ink-mute, #6b6862); }
.cu-order-foot .btn { margin-left: auto; }
.cu-cpe td { vertical-align: middle; }
.cu-cpe-links { white-space: nowrap; }
.cu-cpe-links a + a { margin-left: .8rem; }
.cu-dirs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.cu-dir { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 1.2rem; }
.cu-dir.is-main { border-color: var(--azul, #3d6b62); }
.cu-dir-txt { display: flex; flex-direction: column; gap: .2rem; min-width: 0; overflow-wrap: anywhere; }
.cu-dir-txt b { font-weight: 700; }
.cu-dir-txt small { color: var(--ink-mute, #6b6862); }
.cu-dir-acts { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; flex: none; }
.cu-dir-acts form { margin: 0; }
.cu-del svg { width: 15px; height: 15px; }
.cu-dir-acts .btn { min-height: 2.4rem; }
.cu-dir-form h2, .cu-baja-form h2, .cu-acceso h2 { font-size: 1.25rem; margin-bottom: .3rem; }
.cu-three { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: .8rem; }
.cu-acceso p { margin: .5rem 0 0; font-size: .92rem; }
.cu-acceso a { color: var(--azul, #3d6b62); font-weight: 600; }
.cu-baja-list { margin: 0 0 .4rem 1.1rem; padding: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft, #3d3b37); }
.cu-btn-danger { --bg-btn: #a3261b; --fg-btn: #fff; align-self: flex-start; }
.cu-btn-danger:hover { --bg-btn: #851d14; }
.cu-sec .cu-lead a { color: var(--azul, #3d6b62); font-weight: 600; }
@media (max-width: 860px) {
  .cu-three { grid-template-columns: 1fr; }
  .cu-dir { flex-direction: column; }
  .cu-dir-acts { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cu-order-foot .btn { margin-left: 0; }
  .cu-cpe thead { display: none; }
  .cu-cpe tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line-2, #ecebe7); }
  .cu-cpe td { border: 0; padding: 0; }
  .cu-cpe td:first-child { grid-column: 1 / -1; }
}
/* /pago: elegir una dirección guardada */
.tp-saved { display: flex; flex-direction: column; gap: .4rem; }
.tp-saved select { width: 100%; }
.acct-form .tp-save { flex-direction: row; align-items: center; gap: .45rem; font-family: inherit; font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--ink, #1e1e1e); }
.acct-form .tp-save input { width: auto; margin: 0; accent-color: var(--azul, #3d6b62); }
