.header .nav-pending { color: var(--muted); cursor: default; }
.header .user-menu { position: relative; }
.header .user-btn { list-style: none; cursor: pointer; }
.header .user-btn::-webkit-details-marker { display: none; }
.header .user-menu:not([open]) .user-drop { display: none; }
.header .user-drop form { margin: 0; }
.header .user-drop a { color: var(--ink); text-decoration: none; }
.header .user-drop button { font: inherit; cursor: pointer; }
.header .header-badge { position: absolute; top: -9px; right: -11px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border: 2px solid var(--surface, #fff); border-radius: 999px; background: #c93434; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; white-space: nowrap; box-sizing: border-box; }
.header .header-badge-favorites { top: -5px; right: -5px; }
.account-dashboard { padding-top: 30px; }
.account-identity { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.account-identity .avatar { width: 68px; height: 68px; font-size: 29px; }
.account-identity .eyebrow { display: block; margin-bottom: 4px; }
.account-identity h1 { margin: 0 0 3px; font-size: clamp(24px, 3vw, 34px); }
.account-identity p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.account-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.account-quick a { display: block; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.account-quick a:hover { border-color: var(--accent); background: var(--tint); }
.account-quick strong { display: block; margin-bottom: 6px; }
.account-quick small { color: var(--muted); }
.account-dashboard .settings-card { margin-bottom: 24px; }
.account-dashboard .settings-card .btn { width: auto; }
.account-dashboard .profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.requests-page .settings-card { margin-bottom: 22px; }
.requests-form form { display: grid; gap: 16px; }
.requests-form .field-error { display: block; color: #842f23; }
.requests-list { display: grid; gap: 10px; }
.requests-item { display: grid; gap: 3px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.requests-item:hover { border-color: var(--accent); background: var(--tint); }
.requests-item span, .requests-item small { color: var(--muted); }
.demo-login{margin-top:22px}
.demo-login .auth-or{margin:0 0 14px}
.demo-login h2{margin:0 0 5px;font-size:18px;text-align:center}
.demo-login>p{margin:0 0 12px;color:var(--muted);font-size:11px;text-align:center}
.demo-login-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.demo-login-options form{margin:0}
.auth-card .demo-login-options .btn{min-height:54px;padding:9px 12px;justify-content:space-between;text-align:left}
.demo-login-options .btn>span:first-child{display:grid;gap:1px;min-width:0}
.demo-login-options strong{font-size:12px}
.demo-login-options small{color:var(--muted);font-size:10px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width: 700px) { .account-quick { grid-template-columns: 1fr; } .account-identity { padding: 18px; } }
@media(max-width:460px){.demo-login-options{grid-template-columns:1fr}}

/* Favoritos: comparación rápida, sin repetir la ficha completa. */
.favorites-page .page-heading{padding-bottom:18px}
.favorites-filters{display:flex;align-items:end;gap:10px;margin-bottom:12px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.favorites-filters label{flex:1;min-width:0;color:var(--muted);font-size:11px}
.favorites-filters select{margin-top:4px;min-height:36px;padding:7px 10px;color:var(--ink);font-size:12px}
.favorites-clear{flex:none;margin-bottom:9px;color:var(--accent-deep);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.favorites-summary{margin:0 0 12px;color:var(--muted);font-size:12px}
.favorite-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.favorite-card{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.favorite-photo{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--tint)}
.favorite-photo>a{display:block;width:100%;height:100%}
.favorite-photo img{transition:transform .2s ease}
.favorite-card:hover .favorite-photo img{transform:scale(1.025)}
.favorite-initial{display:grid;place-items:center;width:100%;height:100%;color:var(--accent-deep);font-size:38px;font-weight:750}
.favorite-remove{position:absolute;top:9px;right:9px;margin:0}
.favorite-remove button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#fffffff2;box-shadow:0 3px 12px #1c2b2426}
.favorite-remove svg{width:18px;height:18px;fill:var(--accent);stroke:var(--accent);stroke-width:1.7;stroke-linejoin:round}
.favorite-body{padding:13px 14px 12px}
.favorite-body h2{margin:0 0 5px;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.favorite-rating{min-height:19px;margin:0 0 5px;color:#b77b09;font-size:13px}
.favorite-rating b{color:var(--ink)}
.favorite-rating small{color:var(--muted);font-size:11px}
.favorite-zone{margin:0 0 7px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.favorite-zone::before{content:'⌖';margin-right:5px;color:var(--accent)}
.favorite-availability{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:0;padding:3px 8px;border-radius:999px;background:var(--tint);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.favorite-availability span{flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.favorite-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid var(--line)}
.favorite-bottom p{margin:0;color:var(--muted);font-size:10px;line-height:1.2}
.favorite-bottom strong{display:block;color:var(--accent-deep);font-size:17px}
.favorite-bottom small{margin-left:3px;font-size:10px;font-weight:400}
.favorite-bottom>a{flex:none;padding-bottom:2px;border-bottom:1px solid;color:var(--ink);font-size:11px;font-weight:650}
.favorites-empty{padding:36px 20px}

@media(max-width:1100px){.favorite-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.favorite-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.favorites-filters{flex-wrap:wrap}.favorites-filters label{flex:1 1 calc(50% - 5px)}}
@media(max-width:520px){.favorite-grid{grid-template-columns:1fr}.favorite-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.favorite-photo{height:100%;min-height:160px;aspect-ratio:auto}.favorite-body{padding:12px}.favorites-filters{display:grid;grid-template-columns:1fr;padding:12px}.favorites-filters label{width:100%}.favorites-clear{margin:0}.favorite-bottom{margin-top:9px}}
