.compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 18px;
}

.compare-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.compare-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 18px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: #2a2b2e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .15s;
}

.compare-clear:hover {
  background: var(--orange);
  color: #fff;
}

.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line, #e6e7e9);
  background: #fff;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border: 1px solid var(--line, #e6e7e9);
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.compare-table .compare-label {
  width: 180px;
  min-width: 150px;
  color: #55565c;
  background: #f7f7f8;
  font-weight: 700;
}

.compare-table .compare-group th {
  color: #fff;
  background: #2a2b2e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: left;
}

.compare-table .compare-product-name {
  vertical-align: top;
}

.compare-table .compare-product-name a:not(.compare-remove-link) {
  display: block;
  color: var(--ink, #333745);
  font-weight: 700;
  text-decoration: none;
}

.compare-table .compare-product-name a:not(.compare-remove-link):hover {
  color: var(--orange);
}

.compare-table .compare-remove-link {
  display: inline-block;
  margin-top: 8px;
  color: #888;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
}

.compare-table .compare-remove-link:hover {
  color: var(--orange);
}

.compare-table .compare-image__wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.compare-table .compare-image__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #050505;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s;
}

.compare-table .compare-image__remove:hover {
  background: var(--orange);
  color: #fff;
}

.compare-table .compare-product-name a {
  color: var(--ink, #333745);
  font-weight: 700;
  text-decoration: none;
}

.compare-table .compare-product-name a:hover {
  color: var(--orange);
}

.compare-table .compare-image {
  text-align: center;
  background: #fff;
}

.compare-table .compare-image img {
  display: block;
  max-width: 140px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.compare-table .compare-price {
  font-size: 16px;
  font-weight: 700;
}

.compare-table .compare-price del {
  margin-right: 6px;
  color: #c63247;
  font-weight: 400;
}

.compare-table .compare-actions {
  text-align: center;
}

.compare-table .compare-actions .buy-button {
  width: 100%;
  margin-bottom: 8px;
}

.compare-table .compare-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid #d5d6da;
  border-radius: 20px;
  color: #55565c;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}

.compare-table .compare-remove:hover {
  color: #fff;
  border-color: #2a2b2e;
  background: #2a2b2e;
}

.compare-table tr.is-diff td:not(.compare-label) {
  background: #fff8f3;
}

.compare-table tr.compare-hidden {
  display: none;
}

.compare-empty {
  margin: 24px 0 18px;
  color: #55565c;
  font-size: 15px;
}

.compare-continue {
  margin-top: 8px;
}

.compare-continue .buy-button {
  display: inline-flex;
  width: auto;
  min-width: 180px;
  text-decoration: none;
}

@media (max-width: 760px) {
  .compare-table .compare-label {
    width: 120px;
    min-width: 110px;
    padding: 10px;
    font-size: 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px;
    font-size: 13px;
  }

  .compare-table .compare-image img {
    max-width: 96px;
  }
}
