/* Match the comparison control to its neighbouring header controls. */
@media (min-width: 992px) {
  header .header-block__item-compare {
    flex: 0 0 84px;
    width: 84px;
    min-height: 74px;
    padding: 10px 7px;
    margin-left: 8px;
    border: 1px solid #e0e9f0;
    border-radius: 4px;
    background: linear-gradient(135deg, #fff, #f4f8fc);
    box-shadow: 0 3px 12px rgba(35,74,102,.035);
    transition: background-color .18s ease, border-color .18s ease;
  }
  header .header-block__item-compare:hover {
    border-color: #a9c9e3;
    background: #edf5fc;
  }
  header .header-compare__icon {
    color: #3979ab;
    font-size: 27px;
    line-height: 31px;
  }
  header .header-block__item-compare .header-block__item-caption {
    color: #36566f;
    font-size: .8em;
    font-weight: 700;
    line-height: 16px;
    margin-top: 5px;
    white-space: nowrap;
  }
  header .header-compare__total-items {
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(36,65,88,.12);
  }
}

/* Product comparison follows the configured wishlist colours, including active state. */
.product-page__wishlist-compare .product-page__compare-btn {
  --compare-btn-c: var(--wishlist-btn-c);
  --compare-btn-bg: var(--wishlist-btn-bg);
  --compare-btn-c-hover: var(--wishlist-btn-c-hover);
  --compare-btn-bg-hover: var(--wishlist-btn-bg-hover);
}
