/* Ficha del vehículo (catálogo): galería + tarjeta de decisión, lo esencial y pestañas */
.catalog-detail{width:min(1200px,96vw);max-width:1200px;padding:56px 32px 32px;background:var(--b-panel);color:var(--b-ink)}
.catalog-detail>.close{position:absolute;top:10px;right:12px;width:40px;height:40px;z-index:5}
.fx-main{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.catalog-detail .fx-gal{background:var(--b-paper);padding:12px;margin:0}
.catalog-detail .fx-gal .media-stage{height:480px;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%)}
.catalog-detail .fx-gal .media-toolbar{padding:10px 0}
.fx-side{position:sticky;top:-56px;background:var(--b-paper);padding:24px;display:flex;flex-direction:column;gap:14px;clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%)}
.fx-tag{align-self:flex-start;background:var(--b-cyan);color:var(--b-cyan-ink);font-size:11.5px;font-weight:600;padding:5px 11px;letter-spacing:.02em}
.catalog-detail .fx-side h2{margin:0;font:400 21px/1.4 Michroma,sans-serif;letter-spacing:-.01em;color:var(--b-ink)}
.catalog-detail .fx-side h2 span{color:var(--b-mute)}
.fx-lot{margin:0;font-size:12.5px;color:var(--b-mute);display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.fx-lot b{color:var(--b-ink)}
.fx-chips{display:flex;flex-wrap:wrap;gap:6px}
.fx-chip{background:var(--b-panel);padding:5px 10px;font-size:12px;font-weight:500;line-height:1.4}
.fx-chip.ok{background:#e3f6ec;color:#136b3d}.fx-chip.warn{background:#fdf0e1;color:#8a4b0a}
html[data-theme=dark] .fx-chip.ok{background:#12301f;color:#7fe0a8}html[data-theme=dark] .fx-chip.warn{background:#33240f;color:#f5c27d}
.fx-cd{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff7e8;color:#6b4300}
.fx-cd svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.fx-cd>div{display:flex;flex-direction:column;line-height:1.35}.fx-cd b{font-size:15px}.fx-cd small{font-size:12px}
.fx-cd[data-state=closed]{background:var(--b-panel);color:var(--b-mute)}
html[data-theme=dark] .fx-cd{background:#2c2312;color:#f3cf8e}
.fx-bid{background:#092d3b;color:#fff;padding:18px 20px;display:flex;flex-direction:column;gap:4px}
.fx-bid small{font-size:11px;color:#bcd9e3;letter-spacing:.04em}
.fx-bid strong{font-size:clamp(28px,3vw,38px);line-height:1.15;color:#7de2f8;font-weight:600;overflow-wrap:anywhere}
.fx-sug{background:#0c3a4b;color:#fff;padding:14px 20px;display:flex;flex-direction:column;gap:3px;border-top:1px solid #ffffff1a}
.fx-sug small{font-size:11px;color:#bcd9e3;letter-spacing:.04em}
.fx-sug strong{font-size:clamp(20px,2.2vw,27px);line-height:1.15;color:#fff;font-weight:600;overflow-wrap:anywhere}
.fx-acts{display:flex;gap:8px}
.catalog-detail .fx-want{flex:1;justify-content:center;font-size:15px;font-weight:600;padding:16px 18px}
.catalog-detail .fx-save{position:static;width:54px;height:auto;min-height:52px;font-size:20px;background:var(--b-panel);color:var(--b-ink);border:0;box-shadow:none;clip-path:var(--b-cut2);opacity:1;transform:none}
.catalog-detail .fx-save.on{color:#e0245e}
.fx-45{margin:0;display:flex;gap:10px;font-size:13px;line-height:1.55;color:var(--b-ink)}
.fx-45 svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--b-cyan);stroke-width:1.8;margin-top:1px}
.fx-45 small{display:block;color:var(--b-mute);font-size:11.5px}
.fx-steps{list-style:none;margin:0;padding:14px 0 0;border-top:1px solid var(--b-line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center;font-size:11.5px;line-height:1.4;color:var(--b-mute)}
.fx-steps li{display:flex;flex-direction:column;align-items:center;gap:4px}.fx-steps b{font-size:13px;color:var(--b-ink)}
.fx-ess{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}
.fx-tile{background:var(--b-paper);padding:16px 18px;display:flex;flex-direction:column;gap:3px;line-height:1.4}
.fx-tile small{font-size:12px;color:var(--b-mute)}.fx-tile b{font-size:15.5px;overflow-wrap:anywhere}
.fx-low{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start;margin-bottom:20px}
.fx-tabs{background:var(--b-paper);min-width:0}
.fx-tablist{display:flex;border-bottom:1px solid var(--b-line);overflow-x:auto;scrollbar-width:none}
.fx-tablist button{flex:none;height:54px;padding:0 20px;background:transparent;border:0;border-bottom:3px solid transparent;font:500 13.5px Poppins,sans-serif;color:var(--b-mute);cursor:pointer;white-space:nowrap}
.fx-tablist button[aria-selected=true]{color:var(--b-ink);font-weight:600;border-bottom-color:var(--b-cyan)}
.fx-tablist button:hover{color:var(--b-ink)}
.fx-panel{padding:4px 4px}
.catalog-detail .fx-panel .vehicle-group{border:0;margin:0;background:transparent;padding:20px}
.catalog-detail .fx-panel .vehicle-group+.vehicle-group{border-top:1px solid var(--b-line)}
.catalog-detail .fx-panel .vehicle-group dl{grid-template-columns:repeat(3,minmax(0,1fr))}
.fx-aside2{display:flex;flex-direction:column;gap:12px}
.fx-obs,.fx-otro{padding:20px;display:flex;flex-direction:column;gap:8px}
.fx-obs{background:var(--b-paper)}.fx-obs b{font-size:14px}.fx-obs p{margin:0;font-size:13.5px;line-height:1.7}.fx-obs small{font-size:12px;color:var(--b-mute)}
.fx-otro{background:#141917;color:#fff}.fx-otro b{font-size:15px}.fx-otro p{margin:0;font-size:13px;line-height:1.6;color:#c9d0ce}
.catalog-detail .fx-otro .button{justify-content:center;background:#fff;color:#141917;font-weight:600}
html[data-theme=dark] .fx-otro{background:#060908}
.catalog-detail .vehicle-footnote{background:transparent;padding:0;margin:0 0 8px}
.fx-bar{display:none}
@media(max-width:860px){
  .fx-main,.fx-low{grid-template-columns:minmax(0,1fr)}
  .fx-side{position:static}
  .fx-ess{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:740px){
  .catalog-detail{padding:0 0 0;width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0}
  .catalog-detail>.close{top:10px;right:10px;background:rgba(255,255,255,.92);color:#141917}
  .catalog-detail .fx-gal{padding:0}
  .catalog-detail .fx-gal .media-stage{height:290px;clip-path:none}
  .catalog-detail .fx-gal .media-toolbar,.catalog-detail .fx-gal .media-thumbnails{padding-left:12px;padding-right:12px}
  .fx-side{padding:18px 16px;clip-path:none;margin-top:8px}
  .catalog-detail .fx-side h2{font-size:19px}
  .fx-ess{margin:8px 0;gap:8px;padding:0 0}
  .fx-tile{padding:14px}
  .fx-low{gap:8px;margin-bottom:8px}
  .catalog-detail .fx-panel .vehicle-group{padding:16px}
  .catalog-detail .fx-panel .vehicle-group dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-tablist button{padding:0 14px;font-size:13px}
  .catalog-detail .vehicle-footnote{padding:8px 16px 16px}
  .fx-acts .fx-want{display:none}
  .fx-acts .fx-save{width:auto;flex:1;font-size:14px}
  .fx-acts .fx-save::after{content:' Guardar';font-size:13px;font-weight:500}
  .fx-bar{display:flex;position:sticky;bottom:0;z-index:4;align-items:center;gap:12px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));background:var(--b-paper);border-top:1px solid var(--b-line);box-shadow:0 -8px 24px rgba(20,25,23,.08)}
  .fx-bar>div{display:flex;flex-direction:column;min-width:0;line-height:1.25}
  .fx-bar small{font-size:11px;color:var(--b-mute)}.fx-bar b{font-size:18px;white-space:nowrap}
  .catalog-detail .fx-bar .button{flex:1;justify-content:center;font-size:15px;font-weight:600;padding:15px 16px}
}
.fx-ess:empty{display:none}
@media(max-width:740px){
  .catalog-detail .fx-gal .media-stage .media-zoom{top:auto;bottom:12px;right:12px}
  .catalog-detail .fx-acts .fx-save{border-radius:0;height:48px;min-height:48px;display:flex;align-items:center;justify-content:center;gap:6px;clip-path:var(--b-cut2)}
}
.fx-ess{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}@media(max-width:740px){.fx-ess{grid-template-columns:repeat(2,minmax(0,1fr))}}
