.mzd-vehicle-compare-add{border:1px solid #d61920;background:#fff;color:#c71920;border-radius:8px;padding:7px 12px;font-weight:700;margin:8px;cursor:pointer}
.mzd-vehicle-compare-add[aria-pressed=true]{background:#fff0f0}
.mzd-vehicle-compare-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:1100;display:none;align-items:center;justify-content:space-between;gap:12px;background:#20333d;color:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 8px 28px #0004}
.mzd-vehicle-compare-bar.is-visible{display:flex}
.mzd-vehicle-compare-bar.is-pending{left:auto;background:#edf0f2;color:#20333d;box-shadow:0 4px 16px #0002}
.mzd-vehicle-compare-bar button,.mzd-vehicle-compare-dialog button{cursor:pointer}
.mzd-vehicle-compare-bar button{border:0;border-radius:7px;background:#d61920;color:#fff;padding:9px 14px;font-weight:700}
.mzd-vehicle-compare-bar button:disabled{display:none}
.mzd-vehicle-compare-open{overflow:hidden}
.mzd-vehicle-compare-dialog{position:fixed;inset:0;z-index:1200;display:none;background:#0009;padding:16px}
.mzd-vehicle-compare-dialog.is-visible{display:flex;align-items:center;justify-content:center}
.mzd-vehicle-compare-content{width:min(100%,1100px);max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:#fff;border-radius:14px;padding:18px;box-shadow:0 16px 40px #0003}
.mzd-vehicle-compare-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.mzd-vehicle-compare-head h2{margin:0;color:#20333d;font-size:24px}
.mzd-vehicle-compare-head p{margin:3px 0 0;color:#68777e;font-size:14px}
.mzd-vehicle-compare-head button{border:0;background:#f0f2f4;border-radius:50%;width:38px;height:38px;font-size:25px;line-height:1;color:#20333d;flex:none}
.mzd-vehicle-compare-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}
.mzd-vehicle-compare-diff-count{background:#eaf1f3;color:#20333d;border-radius:14px;padding:6px 10px;font-size:13px;font-weight:700}
.mzd-vehicle-compare-toggle{border:1px solid #20333d;background:#fff;color:#20333d;border-radius:8px;padding:7px 12px;font-weight:700}
.mzd-vehicle-compare-toggle[aria-pressed=true]{background:#20333d;color:#fff}
.mzd-vehicle-compare-table-wrap{overflow:auto;min-height:0;border:1px solid #e4e8eb;border-radius:8px}
.mzd-vehicle-compare-table{width:100%;border-collapse:separate;border-spacing:0;min-width:560px;color:#20333d}
.mzd-vehicle-compare-table td,.mzd-vehicle-compare-table th{border-bottom:1px solid #e4e8eb;padding:11px;text-align:left;vertical-align:middle;min-width:160px}
.mzd-vehicle-compare-table thead th{position:sticky;top:0;background:#fff;z-index:2;vertical-align:top;box-shadow:0 2px 4px #0001}
.mzd-vehicle-compare-table .mzd-vehicle-compare-label{position:sticky;left:0;z-index:1;background:#fff;min-width:126px;width:126px;font-weight:700}
.mzd-vehicle-compare-table thead .mzd-vehicle-compare-label{z-index:3}
.mzd-vehicle-compare-table tbody tr:nth-child(odd):not(.mzd-vehicle-compare-section) .mzd-vehicle-compare-label{background:#f7f8f9}
.mzd-vehicle-compare-table tbody tr:nth-child(odd):not(.mzd-vehicle-compare-section) td{background:#f7f8f9}
.mzd-vehicle-compare-table .mzd-vehicle-compare-section th{background:#20333d;color:#fff;padding:9px 12px;font-size:14px}
.mzd-vehicle-compare-table .mzd-vehicle-compare-vehicle{min-width:190px;width:30%}
.mzd-vehicle-compare-vehicle img{display:block;width:148px;height:90px;object-fit:cover;border-radius:8px;margin-bottom:8px;background:#f0f2f4}
.mzd-vehicle-compare-vehicle strong{display:block;max-width:240px;font-size:14px}
.mzd-vehicle-compare-price{display:block;margin:4px 0;color:#c71920;font-size:15px}
.mzd-vehicle-compare-vehicle a{display:block;color:#bf181f;font-weight:700;text-decoration:none}
.mzd-vehicle-compare-remove{border:0;background:transparent;color:#68777e;text-decoration:underline;padding:8px 0}
.mzd-vehicle-compare-table td.mzd-vehicle-compare-highlight{background:#e9f6ef!important}
.mzd-vehicle-compare-highlight small{display:block;margin-top:3px;color:#17754c;font-size:11px;font-weight:700}
.mzd-vehicle-compare-note{color:#68777e;font-size:12px;line-height:1.5;margin:12px 0 0}
.mzd-vehicle-saved-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 10px}
.mzd-vehicle-saved-actions button{border:1px solid #d61920;background:#fff;color:#c71920;border-radius:8px;padding:9px 12px;font-weight:700}
.mzd-vehicle-saved-list{display:none;background:#fff;border:1px solid #e2e6eb;border-radius:10px;margin:8px 10px;padding:12px}
.mzd-vehicle-saved-list.is-visible{display:block}
.mzd-vehicle-saved-row{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:8px;border-bottom:1px solid #eee}
.mzd-vehicle-saved-row button{border:0;background:transparent;color:#c71920}
.mzd-vehicle-saved-status{font-size:13px;color:#566}
@media(max-width:767px){
  .mzd-vehicle-compare-bar{bottom:70px;padding:10px 12px;font-size:13px}
  .mzd-vehicle-compare-dialog{padding:0}
  .mzd-vehicle-compare-content{width:100%;height:100%;max-height:none;border-radius:0;padding:14px}
  .mzd-vehicle-compare-head h2{font-size:20px}
  .mzd-vehicle-compare-table{min-width:0}
  .mzd-vehicle-compare-table td,.mzd-vehicle-compare-table th{min-width:145px;padding:8px;font-size:13px}
  .mzd-vehicle-compare-table .mzd-vehicle-compare-label{min-width:105px;width:105px}
  .mzd-vehicle-compare-table .mzd-vehicle-compare-vehicle{min-width:150px;width:150px}
  .mzd-vehicle-compare-vehicle img{width:130px;height:78px}
}
