/* UCARS approved compact purchased-cars catalogue. Scoped to this page only. */
.catalog-page{background:#f4f7fb;min-height:calc(100vh - 70px);padding:25px 28px 40px;color:#10233d;font-family:Arial,sans-serif}
.catalog-page *{box-sizing:border-box}
.catalog-topline{display:flex;align-items:center;gap:12px;margin-bottom:20px;min-width:0}
.catalog-red-mark{width:7px;height:38px;flex:none;background:#ed1025;transform:skew(-20deg)}
.catalog-overline{font-size:10px;color:#718096;letter-spacing:1px;font-weight:700}
.catalog-topline h2{margin:4px 0 0;font-size:25px;font-weight:800;color:#10233d}
.catalog-back{margin-left:auto;color:#ed1025;font-weight:700;font-size:12px;display:flex;align-items:center;gap:6px;white-space:nowrap}
.catalog-back svg{width:15px;height:15px}
.catalog-content{background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:18px;box-shadow:0 5px 18px #10233d0b}
.catalog-toolbar{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(105px,.8fr) minmax(95px,.65fr) minmax(160px,1.4fr) auto;gap:10px;align-items:end;margin-bottom:14px}
.catalog-select{display:flex;flex-direction:column;gap:5px;min-width:0}
.catalog-select span{font-size:11px;font-weight:700;color:#64748b}
.catalog-select select,.catalog-search{height:38px;width:100%;border:1px solid #e0e6ef;background:#f9fafc;border-radius:6px;color:#10233d;font-size:12px}
.catalog-select select{padding:0 9px}
.catalog-search{display:flex;align-items:center;gap:7px;padding:0 9px;min-width:0}
.catalog-search svg{width:16px;height:16px;color:#718096;flex:none}
.catalog-search input{border:0;background:transparent;outline:0;width:100%;min-width:0;color:#10233d;font-size:12px}
.catalog-reset{height:38px;border:0;background:#ed1025;color:#fff;border-radius:6px;padding:0 15px;cursor:pointer;font-weight:700;font-size:12px}
.catalog-reset:hover,.catalog-details:hover{background:#c80c1f}
.catalog-demo{display:flex;align-items:center;gap:7px;margin:0 0 13px;color:#8b6d31;font-size:11px}
.catalog-demo svg{width:14px;height:14px;flex:none}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.catalog-card{display:grid;grid-template-columns:44% minmax(0,1fr);min-width:0;min-height:154px;border:1px solid #e1e6ed;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 3px 10px #10233d0b}
.catalog-card[hidden]{display:none}
.catalog-photo{position:relative;min-width:0;min-height:154px;background:#e8edf3}
.catalog-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.catalog-auction,.catalog-status{position:absolute;top:7px;font-size:9px;font-weight:800;border-radius:4px;padding:5px 6px}
.catalog-auction{left:7px;background:#fff;color:#10233d}
.catalog-status{right:7px;background:#ed1025;color:#fff}
.catalog-card-body{min-width:0;padding:10px 9px 9px;display:flex;flex-direction:column;align-items:flex-start}
.catalog-card-body h4{font-size:13px;line-height:1.25;margin:0 0 3px;color:#10233d;font-weight:800}
.catalog-year{font-size:11px;color:#64748b}
.catalog-card-specs{display:flex;flex-direction:column;gap:5px;margin:8px 0 9px;width:100%;font-size:10px;line-height:1.2;color:#334155}
.catalog-card-specs span{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.catalog-card-specs svg{width:12px;height:12px;flex:none;color:#10233d}
.catalog-card-specs strong{color:#ed1025;font-size:13px}
.catalog-details{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:7px 9px;border:0;border-radius:5px;background:#ed1025;color:#fff;font-size:10px;font-weight:800;cursor:pointer}
.catalog-details svg{width:12px;height:12px}
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;font-size:11px;color:#64748b}
.catalog-pages{display:flex;align-items:center;gap:5px}
.catalog-pages button{width:29px;height:29px;border:1px solid #dce4ef;background:#fff;border-radius:5px;color:#10233d;cursor:pointer;font-size:11px}
.catalog-pages button[aria-current="page"]{background:#ed1025;border-color:#ed1025;color:#fff}
.catalog-pages button:disabled{opacity:.45;cursor:default}
.catalog-empty{text-align:center;padding:35px;background:#f8fafc;border:1px dashed #dce4ef;border-radius:8px}
.catalog-empty[hidden]{display:none}
.catalog-empty svg{width:30px;height:30px;color:#64748b}
.catalog-empty h4{margin:8px 0;font-size:17px}
.catalog-empty p{font-size:12px;color:#64748b}
.catalog-empty button{border:0;background:#10233d;color:white;padding:9px 14px;border-radius:5px;cursor:pointer}
.catalog-modal[hidden]{display:none}.catalog-modal{position:fixed;z-index:1000;inset:0;display:flex;align-items:center;justify-content:center;padding:18px}.catalog-modal-shade{position:absolute;inset:0;background:#07172bd9}.catalog-modal-panel{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;width:min(860px,100%);max-height:90vh;overflow:auto;border-radius:16px;background:#fff}.catalog-modal-close{position:absolute;z-index:2;right:15px;top:15px;width:37px;height:37px;display:grid;place-items:center;background:#fff;border:1px solid #e1e7ef;border-radius:50%;cursor:pointer}.catalog-modal-close svg{width:18px;height:18px}.catalog-modal-photo{background:#e8edf3;min-height:350px}.catalog-modal-photo img{width:100%;height:100%;object-fit:cover;display:block}.catalog-modal-info{padding:38px 26px}.catalog-modal-tag{font-size:10px;color:#ed1025;letter-spacing:1px;font-weight:900}.catalog-modal-info h3{font-size:26px;margin:10px 0}.catalog-modal-info>p{color:#72829a;line-height:1.6;font-size:13px}.catalog-modal-info dl{margin:20px 0}.catalog-modal-info dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e9eef4;font-size:13px}.catalog-modal-info dt{color:#718096}.catalog-modal-info dd{margin:0;font-weight:800}.catalog-modal-price dd{font-size:22px;color:#ed1025}.catalog-modal-info .catalog-primary{display:block;text-align:center;background:#ed1025;color:#fff;border-radius:7px;padding:12px;font-size:12px;font-weight:800}
@media(max-width:1450px){.catalog-page{padding:22px 18px}.catalog-content{padding:12px}.catalog-grid{gap:9px}.catalog-card{grid-template-columns:43% minmax(0,1fr)}.catalog-card-body{padding:8px 7px}.catalog-card-specs{font-size:9px}}
@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-search{grid-column:1/3}}
@media(max-width:750px){.catalog-grid{grid-template-columns:1fr}.catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-search{grid-column:1/-1}.catalog-card{min-height:165px}.catalog-photo{min-height:165px}.catalog-modal-panel{grid-template-columns:1fr}.catalog-modal-photo{min-height:0;height:210px}.catalog-topline h2{font-size:21px}}
@media(max-width:420px){.catalog-page{padding:15px 10px}.catalog-content{padding:10px}.catalog-toolbar{gap:8px}.catalog-reset{width:100%}.catalog-back{font-size:10px}.catalog-pagination{flex-wrap:wrap}.catalog-card{grid-template-columns:42% minmax(0,1fr)}}
