.add-to-compare svg,
.header_ui_compare svg,
.comparison-empty svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card .add-to-favorits,
.product-card .add-to-cart,
.product-card .add-to-compare {
  cursor: pointer;
}

.product-card .product-dimension { white-space: nowrap; }

.product-card .add-to-favorits.is-active,
.product-card .add-to-favorits.is-active:hover,
.product-card .add-to-cart.in-cart,
.product-card .add-to-cart.in-cart:hover,
.product-card .add-to-compare.is-active,
.product-card .add-to-compare.is-active:hover,
.catalog--wardrobes .product-card .wardrobes-card-actions .add-to-favorits.is-active,
.catalog--wardrobes .product-card .wardrobes-card-actions .add-to-cart.in-cart,
.catalog--wardrobes .product-card .wardrobes-card-actions .add-to-cart.in-cart:hover,
.catalog--wardrobes .product-card .wardrobes-card-actions .add-to-compare.is-active {
  border-color: #127b83 !important;
  background: #127b83 !important;
  color: #fff !important;
}

.wardrobes-card-actions .add-to-compare {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid #dbe7e9 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #127b83 !important;
}

.header_ui_compare svg {
  width: 22px;
  height: 22px;
}

.header_ui_item svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-chevron-down {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 6px;
  border: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: inherit;
  font-size: 0;
  line-height: 0;
  transform: rotate(45deg);
}

.icon-chevron-down:before { display: none; }

.compare-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: 320px;
  padding: 13px 18px;
  border-radius: 4px;
  background: #17324f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(23,50,79,.24);
  opacity: 0;
  transform: translateY(12px);
  transition: .2s ease;
}

.compare-notice.is-visible { opacity: 1; transform: translateY(0); }

.comparison-page { padding: 28px 0 64px; color: #17324f; }
.comparison-page__heading { margin-bottom: 24px; }
.comparison-page__heading h1 { margin: 0 0 8px; font-size: 32px; }
.comparison-page__heading p { margin: 0; color: #607682; }
.comparison-table { overflow-x: auto; border: 1px solid #dfe8ea; border-radius: 6px; background: #fff; }
.comparison-row {
  display: grid;
  grid-template-columns: 190px repeat(var(--comparison-columns), minmax(210px, 1fr));
  min-width: calc(190px + var(--comparison-columns) * 210px);
  border-bottom: 1px solid #e6edef;
}
.comparison-row:last-child { border-bottom: 0; }
.comparison-label,
.comparison-value { padding: 16px; border-right: 1px solid #e6edef; }
.comparison-row > :last-child { border-right: 0; }
.comparison-label { background: #f7f9f9; font-weight: 700; }
.comparison-value { color: #506876; }
.comparison-products { align-items: stretch; }
.comparison-product { position: relative; padding: 16px; border-right: 1px solid #e6edef; }
.comparison-product:last-child { border-right: 0; }
.comparison-product a { display: block; color: #17324f; text-decoration: none; }
.comparison-product img { display: block; width: 100%; height: 160px; margin-bottom: 12px; object-fit: cover; background: #f2f4f3; }
.comparison-product strong { display: block; min-height: 42px; line-height: 1.35; }
.comparison-product b { display: block; margin-top: 9px; color: #127b83; font-size: 17px; }
.compare-remove { position: absolute; top: 8px; right: 8px; z-index: 1; width: 30px; height: 30px; padding: 0; border: 1px solid #d7e3e5; border-radius: 50%; background: #fff; color: #127b83; cursor: pointer; font-size: 22px; line-height: 27px; }
.compare-remove:hover { border-color: #127b83; }
.comparison-page__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.comparison-page__actions a,
.comparison-page__actions button,
.comparison-empty a { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 18px; border: 1px solid #127b83; border-radius: 4px; background: #fff; color: #127b83; cursor: pointer; font: inherit; text-decoration: none; }
.comparison-page__actions a,
.comparison-empty a { background: #127b83; color: #fff; }
.comparison-empty { padding: 64px 24px; border: 1px solid #dfe8ea; border-radius: 6px; background: #fff; text-align: center; }
.comparison-empty svg { width: 46px; height: 46px; color: #127b83; }
.comparison-empty h2 { margin: 15px 0 8px; }
.comparison-empty p { margin: 0 0 20px; color: #607682; }

@media(max-width: 700px){
  .comparison-page { padding-top: 18px; }
  .comparison-page__heading h1 { font-size: 26px; }
  .comparison-row { grid-template-columns: 130px repeat(var(--comparison-columns), minmax(180px, 1fr)); min-width: calc(130px + var(--comparison-columns) * 180px); }
  .comparison-label, .comparison-value, .comparison-product { padding: 12px; }
  .comparison-product img { height: 125px; }
}
