/* ── COMPARE TRAY ── */
#pal-compare-tray {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #0D1B3E; border-top: 2px solid #00B87A;
    z-index: 300; animation: slideUp .25s ease;
    box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.compare-tray-inner {
    max-width: 1240px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.compare-tray-label {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
    color: #fff; white-space: nowrap; flex-shrink: 0;
}
#compare-tray-cars { display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }
.compare-tray-car {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1); border-radius: 8px;
    padding: 6px 10px 6px 6px; min-width: 140px; max-width: 200px;
}
.compare-tray-car .tray-img {
    width: 40px; height: 34px; border-radius: 6px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; overflow: hidden;
}
.compare-tray-car .tray-img img { width: 100%; height: 100%; object-fit: cover; }
.compare-tray-car .tray-name {
    font-size: 12px; font-weight: 600; color: #fff; line-height: 1.3;
    flex: 1; overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.compare-tray-car .tray-remove {
    background: none; border: none; color: rgba(255,255,255,.5);
    cursor: pointer; font-size: 14px; padding: 0 0 0 4px; line-height: 1; flex-shrink: 0;
}
.compare-tray-car .tray-remove:hover { color: #ff6b6b; }
.compare-tray-slot {
    width: 140px; height: 46px;
    border: 1.5px dashed rgba(255,255,255,.2); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: rgba(255,255,255,.35);
}
.compare-tray-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── COMPARE BUTTON ── */
.compare-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 100px;
    border: 1.5px solid #E8EAED; background: #fff;
    color: #1A1A2E; font-family: 'DM Sans', sans-serif;
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all .15s; white-space: nowrap;
}
.compare-btn:hover { border-color: #0D1B3E; background: #F4F5F7; }
.compare-btn.in-compare { background: #0D1B3E; color: #fff; border-color: #0D1B3E; }
.compare-btn.in-compare:hover { background: #c0392b; border-color: #c0392b; }

/* ── COMPARE TABLE ── */
#pal-compare-page { padding: 20px 0 48px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td {
    padding: 12px 16px; text-align: left; vertical-align: top;
    font-size: 14px; border-bottom: 1px solid #E8EAED;
}
.compare-table .col-label {
    font-weight: 600; color: #6B7280; font-size: 12px;
    text-transform: uppercase; letter-spacing: .04em;
    background: #F4F5F7; width: 140px; white-space: nowrap;
}
.compare-better { background: #f0fdf4; color: #00B87A; font-weight: 700; }
.compare-feat-list { display: flex; flex-wrap: wrap; gap: 4px; }
.compare-feat-tag {
    font-size: 11px; padding: 2px 8px;
    background: #EEF9F5; color: #00B87A;
    border-radius: 100px; font-weight: 600;
}
.compare-car-title {
    font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
    color: #0D1B3E; margin-bottom: 4px; line-height: 1.3;
}
.compare-car-price {
    font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 800;
    color: #00B87A; margin-bottom: 10px;
}
