/* ===== PANEL ===== */
.compare-panel{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:#fff;
  box-shadow:0 -6px 30px rgba(0,0,0,.15);
  padding:16px 24px;
  z-index:9999;
  transition: all .25s ease;
}

.hidden{ display:none; }

/* ===== COLLAPSED STATE (NEW) ===== */
.compare-panel.is-collapsed{
  padding:0;
  height:52px;
  overflow:hidden;
}

/* ===== TOP BAR (NEW) ===== */
.compare-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 76px;
  background:#111;
  color:#fff;
  font-size:13px;
}

.compare-toggle-btn{
  background:transparent;
  border:1px solid #fff;
  color:#fff;
  padding:4px 10px;
  border-radius:6px;
  cursor:pointer;
  font-size:12px;
}

/* скрываем контент при collapse */
.compare-panel.is-collapsed .compare-inner{
  display:none;
}

/* ===== INNER ===== */
.compare-inner{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
padding-top:10px;
}

/* ===== CARS ROW ===== */
.compare-cars{
  display:flex;
  align-items:center;
  gap:28px;
  flex:1;
}

/* ===== CARD ===== */
.compare-car-card{
  width:240px;
  text-align:center;
  font-size:13px;
}

/* ===== IMAGE WRAP ===== */
.compare-img-wrap{
  position:relative;
  border: solid 1px #f2f2f2;
  padding: 10px;
}

/* ===== IMAGE LINK ===== */
.compare-link{
  display:block;
}

.compare-link img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:0px;
  display:block;
}

/* ===== REMOVE BUTTON ===== */
.compare-remove{

  top:8px;
  right:8px;
  width:26px;
  height:26px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,.7);
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  transition:.2s ease;
position:absolute;
}

.compare-remove:hover{
  background:#ff3b30;
  transform:scale(1.1);
}

/* ===== TITLE ===== */
.compare-title{
  display:block;
  margin-top:10px;
  font-weight:600;
  font-size:14px;
  height:40px;
  overflow:hidden;
  text-decoration:none;
  color:#000;
}

/* ===== SPECS ===== */
.compare-specs{
  margin-top:8px;
  font-size:12px;
  opacity:.85;
  display:flex;
  justify-content:space-between;
}

/* ===== ACTIONS ===== */
.compare-actions{
  display:flex;
  align-items:center;
  gap:16px;
}

/* ===== ACTIVE COMPARE BUTTON ===== */
.compare-btn.active{
  outline:2px solid #17B036;
}


.compare-title {
  margin-bottom: 0px !important;
  line-height: 36px;
  margin-top: 0px;
  text-transform: uppercase;
}