[data-page-name="compare"] #most_viewed{
  margin-bottom: 50px;
}

[data-page-name="compare"] .padd-0 {
  padding: 0 !important;
}

[data-page-name="compare"] .container .container {
  margin: 0 -15px;
}

@media screen and (max-width: 1400px) {
  [data-page-name="compare"] .container .container {
    margin: 0;
    padding: 0;
  }
}

.compare-actions {
  display: flex;
  justify-content: end;
}
.compare-actions .btn-success {
  display: flex;
  align-items: center;
  justify-content: end;
  max-width: 140px;
  width: auto;
  padding: 0;
  background-color: transparent;
  font-size: 12px;
  color: var(--color-grey-light);
}
.compare-actions .btn-success:hover {
  background-color: transparent;
  color: var(--color-grey-light);
}
.compare-actions svg {
  font-size: 18px;
}

.product-compare {
  height: 100%;
}

.product-compare__img {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-compare__img > a:first-child {
  min-height: 120px;
}

.product-compare__title {
  font-size: 12px;
  text-align: left;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-compare {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-compare .prod_price {
  display: flex;
  gap: 10px;
  margin: 20px 0 0 0;
  font-size: 16px !important;
}

.product-compare .old_price_compare_product {
  z-index: -1;
}

.product-compare .price {
  min-height: auto;
  float: unset;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.product-compare a:visited {
  color: var(--sm-text-color);
}

.compare_table {
  display: flex;
  width: 100%;
  overflow-x: auto;
  margin-bottom: 40px;
}

.compare_table tr {
  display: flex;
  gap: 20px;
}

.compare_table td {
  display: flex;
  align-items: center;
  width: 240px;
  margin-top: 4px;
  border: 2px solid var(--color-light);
  border-radius: 5px;
  font-size: 12px;
}

.compare_table tr td {
  padding: 11px 20px ;
}

.compare_table tr:first-child td {
  padding: 20px;
}

.compare_table tr:first-child td:first-child{
  border-color: transparent;
}

.compare_table tr:not(:first-child):hover td {
  background-color: var(--color-light);
}

.compare-attr-group-name {
  background-color: var(--color-light);
  font-weight: 700;
}

.compare-attr-group-name ~ .compare-attr-group-name {
  visibility: hidden;
}

#compare_last_viewed .owl-nav > div {
  display: flex !important;
}

@media screen and (max-width: 480px) {
  .compare_table tr td:first-child {
    display: none;
  }

  .compare-attr-group-name ~ .compare-attr-group-name {
    visibility: visible;
  }
}

@media screen and (max-width: 991px) {
  .compare_table tr:first-child td {
    padding: 16px;
  }
}

@media screen and (min-width: 991px) {
  .compare_table tbody {
    width: 100%;
  }
}