

/* Start:/compare/compare.css?179431726712063*/
/* Compare Page Styles */
.compare-wrapper {
  max-width: 1280px;
  margin: 0 auto 64px;
  padding: 0 16px;
}

.compare-page {
  display: flex;
  flex-direction: column;
}

/* Header */
.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 24px;
}

.compare-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0 !important;
  line-height: 1.2;
}

.compare-subtitle {
  font-size: 16px;
  line-height: 24px;
  color: #999999;
  margin: 0;
}

/* Catalog Pricing Controls (стили тумблеров берутся из каталога custom.css) */
.catalog-top-controls__pricing {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.catalog-top-controls__group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-top-controls__label {
  font-size: 14px;
  color: #222222;
  font-weight: 400;
  white-space: nowrap;
}

/* Строка управления (свитч "Только отличия" и кнопка "Очистить сравнение" - стили как было) */
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.clear {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 16px !important;
}

@media (max-width: 768px) {
  .clear span {
    display: none;
  }
}

.switch-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.switch {
  width: 40px;
  height: 24px;
  border-radius: 50px;
  background-color: #e0e0e0;
  position: relative;
  cursor: pointer;
}

.switch-ball {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.3s ease-in-out;
}

.switch.on {
  background: #b3c535;
}

.switch.on .switch-ball {
  left: 17px;
}

/* Category Tabs */
.tabs-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
}

.tabs-compare {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
  padding: 16px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  position: relative;
  font-weight: bold;
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: #444;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
}

.tab-btn:hover::after,
.tab-btn.active::after {
  background-color: #b3c535;
}

.tab-count {
  color: #999999;
  font-weight: 400;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Compare Table */
.compare-table-wrapper {
  overflow-x: auto;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

/* 1) паддинг внутри любого cell = 8px 24px */
/* 2) размер текста (и наименования столбцов и столбцы) = 14/24 */
/* 6) границы в таблице везде цвет #E0E0E0 */
.compare-table th,
.compare-table td,
.compare-col-head,
.compare-col-item {
  padding: 8px 24px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 24px;
}

/* 8) при прокрутке вправо, первый столбец (с названиями) остается в поле видимости */
.compare-col-head {
  position: sticky;
  left: 0;
  z-index: 4;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
  color: #777;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: none;
}

.compare-col-item {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  vertical-align: top;
  color: #222;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.compare-col-item--price {
  height: 1px;
}

.compare-table tr:last-child .compare-col-head,
.compare-table tr:last-child .compare-col-item {
  border-bottom: none;
}

/* Убираем border-right у последнего элемента строки, чтобы не было двойной рамки */
.compare-table tr th:last-child,
.compare-table tr td:last-child,
.compare-table tr > .compare-col-item:last-child {
  border-right: none;
}

/* 7) каждая чётная строка имеет bg #FAFAFA */
.compare-table tr:nth-child(even) th,
.compare-table tr:nth-child(even) td,
.compare-table tr.is-even th,
.compare-table tr.is-even td {
  background-color: #fafafa;
}

.compare-table tr:nth-child(odd) th,
.compare-table tr:nth-child(odd) td,
.compare-table tr.is-odd th,
.compare-table tr.is-odd td {
  background-color: #ffffff;
}

/* Product Card in Header Row */
.compare-col-item--product {
  position: relative;
}

.compare-card {
  position: static;
  display: flex;
  flex-direction: column;
}

/* 5) кнопка удаления = top 4 right 4 (absolute) */
.compare-delete-btn,
.delete-icon-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.compare-delete-btn:hover svg path,
.delete-icon-btn:hover svg path {
  stroke: #fd6a6a;
}

/* 4) фотка товара (соотношение 196:140, по центру) */
.compare-card__image-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 16px;
  text-decoration: none;
}

.compare-card__img {
  width: 100%;
  min-width: 196px;
  max-width: 240px;
  aspect-ratio: 196 / 140;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* 3) название товара 20/26 bold */
.compare-card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.compare-card__title a {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.compare-card__title a:hover {
  color: #b3c535;
}

/* 9) строка цен */
.compare-price-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.compare-price-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.compare-price-box > div:last-of-type {
  margin-bottom: 24px;
}

/* основная цена 24/32 fw-700 */
.compare-price-main {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.compare-price-main strong {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #222;
}

/* под ней вплотную цена м2 16/24 */
.compare-price-sub {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #666;
  margin-top: 0;
  margin-bottom: 0;
}

/* от нее вниз 8 тут разделительная линия */
.compare-price-alt {
  border-top: 1px solid #e0e0e0;
  margin-top: 8px;
  padding-top: 8px;
}

/* от нее 8 тут вторая цена 12/16 (сама цена 14/16 bold) */
.compare-price-alt-main,
.js-price-alt-main {
  font-size: 12px;
  line-height: 16px;
  color: #888;
  margin: 0;
}

.compare-price-alt-main strong,
.js-price-alt-main strong {
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  color: #222;
}

/* от нее вниз 8 тут цена м2 вторая 12/16 */
.compare-price-alt-sub,
.js-price-alt-sub {
  font-size: 12px;
  line-height: 16px;
  color: #888;
  margin-top: 8px;
  margin-bottom: 0;
}

/* от этого всего вниз 24 и тут кнопка в корзину */
.compare-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px !important;
  width: 100% !important;
  background: #b3c535;
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto !important;
  box-shadow: 0px 8px 8px -4px #59631229, inset 0px -2px 0px 0px #00000026 !important;
  box-sizing: border-box;
  padding: 0 16px;
}

.compare-buy-btn:hover {
  background: #a3b528;
  box-shadow: 0px 8px 12px -2px #59631240, inset 0px -2px 0px 0px #00000026 !important;
}

.compare-buy-btn span {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.compare-buy-btn svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

/* Colors List */
.compare-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-items: center;
}

.compare-color-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #d4d4d4;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.compare-color-circle.is-transparent {
  background: #fff !important;
}

.compare-color-circle.is-transparent svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.compare-empty-val {
  color: #aaa;
}

/* Empty State */
.compare-page--empty {
  margin-top: 24px;
}

.compare-empty {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.compare-empty__left {
  flex: 1 1 480px;
  max-width: 520px;
}

.compare-empty .compare-title {
  margin: 0 0 60px 0 !important;
}

.compare-empty__content {
  width: 100%;
}

.compare-empty__title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 16px 0;
}

.compare-empty__text {
  font-size: 16px;
  line-height: 24px;
  color: #777777;
  margin: 0 0 24px 0;
  max-width: 440px;
}

.compare-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  color: #ffffff !important;
  text-decoration: none !important;
  background: #b3c535;
  box-shadow: 0 8px 8px -4px rgba(89, 99, 18, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.15) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.compare-empty__btn:hover {
  background: #99a92e;
  color: #ffffff !important;
}

.compare-empty__image-wrap {
  flex: 0 1 600px;
  max-width: 600px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.compare-empty__image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

#wait_bx_catalog_compare_block {
  display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .compare-empty {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .compare-empty .compare-title {
    margin: 0 0 32px 0 !important;
  }

  .compare-empty__left {
    max-width: 100%;
    width: 100%;
  }

  .compare-empty__image-wrap {
    max-width: 100%;
    justify-content: center;
    align-self: center;
  }

  .compare-empty__image {
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .compare-title {
    font-size: 26px;
  }

  .compare-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .catalog-top-controls__pricing {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .catalog-top-controls__group {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .compare-empty__btn {
    width: 100%;
    text-align: center;
  }

  .compare-empty__image {
    max-width: 100%;
  }
}

/* End */


/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?179431693951*/
font.errortext{color:red}font.notetext{color:green}
/* End */
/* /compare/compare.css?179431726712063 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?179431693951 */
