.compare-modal {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  background: var(--global-palette9);
  border: 1px solid var(--global-palette7);
  padding: 24px;
  width: calc(100vw - 60px);
  max-width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 24px;
  cursor: move;
  max-height: 90vh; 
  overflow-y: auto;
}

.compare-modal .compare-modal-content {
  display: flex;
  flex-direction: column;
}

.compare-modal h2 {
  margin-top: 0;
}

.hidden {
  display: none;
}

.compare-modal .compare-modal-content {
  cursor: grab;
}

body {
  overflow: auto !important; 
}

.btn-small {
  font-size: 1rem;
  line-height: 1.6;
  padding: 7px 14px;
}

.btn-danger,
.remove-product {
  background-color: #c02b0a;
  color: var(--global-palette9);
  border: 2px solid #c02b0a;
}

.btn-danger:hover,
.btn-danger:focus,
.remove-product:hover,
.remove-product:focus {
  background-color: var(--global-palette9);
  color: #c02b0a;
  border-color: #c02b0a;
}

.compare-modal-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.remove-product {
  display: inline-block;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

.remove-product:hover,
.remove-product:focus  {
  background-color: var(--global-palette9);
  color: #c02b0a;
}

.compare-modal td {
  padding: 5px 0;
}

.compare-modal td:first-child {
  text-align: left;
}

.compare-modal td:last-child {
  text-align: right;
}