.compare-section {
}

.compare-nav {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: var(--space-40-m30);
}

.compare-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 10px;
}

.compare-nav a {
  display: block;
  padding-bottom: 7px;
  position: relative;
  white-space: nowrap;
  color: var(--black-50);
}

.compare-nav a:hover,
.compare-nav a.is-active {
  color: var(--black);
}

.compare-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.compare-nav a.is-active:after {
  background-color: var(--red-main-color);
}

.compare,
.compare-fixed {
  display: flex;
}

.compare:not(.is-construct),
.compare-fixed:not(.is-construct) {
  opacity: 0;
}

.compare__sidebar,
.compare-fixed__sidebar {
  flex-shrink: 0;
  width: 312px;
}

.compare-fixed__sidebar {
  display: flex;
  align-items: center;
}

.compare__content,
.compare-fixed__content {
  flex-grow: 1;
  min-width: 1px;
}

.compare__sidebar-header {
  height: var(--compare-header-height, auto);
  margin-bottom: 60px;
}

.compare__sidebar-header-content {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  align-items: flex-start;
}

.compare__list,
.compare-fixed__list {
  position: relative;
}

@media (min-width: 992px) {
  .compare__list + .compare__list,
  .compare-fixed__list + .compare-fixed__list {
    display: none;
  }

  .compare__list .swiper-pagination,
  .compare-fixed__list .swiper-pagination {
    display: none;
  }
}

.compare__list .swiper {
  margin-top: -12px;
  padding-top: 12px;
}

.compare__list .swiper-button-next,
.compare__list .swiper-button-prev {
  top: 205px;
}

.compare-fixed__list .swiper-button-next,
.compare-fixed__list .swiper-button-prev {
  width: 42px;
  height: 42px;
  margin-top: -21px;
}

.compare-fixed__list .swiper-button-prev {
  left: -21px;
}

.compare-fixed__list .swiper-button-next {
  right: -21px;
}

.compare__item {
}

.compare__item-header {
  display: flex;
  height: var(--compare-header-height, auto);
  margin-bottom: 60px;
}

.compare__product {
  display: flex;
  width: 100%;
}

.compare__data-list {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
}

.compare__data-section {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.compare__data-section-header {
  pointer-events: none;
  height: var(--compare-section-header-height, auto);
}

.compare__sidebar .compare__data-section-header {
  width: var(--compare-width, 0);
  position: relative;
  z-index: 10;
}

.compare__sidebar .compare__data-section-title {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
  vertical-align: top;
  cursor: pointer;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  user-select: none;
}

.compare__data-section:not(.is-close) .compare__data-section-title .icon {
  transform: rotate(180deg);
}

.compare__data-section.is-close .compare__data-section-content {
  display: none;
}

.compare__data-row {
  height: var(--compare-row-height, auto);
  position: relative;
  font-size: 16px;
  line-height: 1.2;
  padding: 15px 0 14px;
}

.compare__sidebar .compare__data-row {
  padding-right: 40px;
  color: var(--black-50);
}

.compare__sidebar .compare__data-row:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  border-bottom: 1px dashed var(--grey-dark);
  width: var(--compare-width, 0);
}

@media (min-width: 992px) {
  .compare__sidebar .compare__data-row.is-hover:before {
    background: var(--grey-light);
  }
}

.compare__sidebar .compare__data-row:last-child:before {
  border-bottom-color: transparent;
}

.compare__data-row-title {
  height: var(--compare-row-title-height, auto);
}

.compare__item .compare__data-row {
  z-index: 1;
}

.compare__item .compare__data-row:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0 -10px;
  z-index: -1;
}

.compare__item .compare__data-row-title {
  display: none;
}

.compare__data-row-text {
}

.compare.show-different .compare__data-section:not(.is-different),
.compare.show-different .compare__data-row:not(.is-different) {
  display: none;
}

.compare-fixed-section {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: var(--white);
  padding: 15px 0;
  z-index: 1100;
  transform: translateY(-100%);
  backface-visibility: hidden;
  transition: 0.25s ease-in-out;
}

html.is-compare-fixed .compare-fixed-section {
  opacity: 1;
  transform: translateY(0);
  box-shadow: var(--popup-shadow);
}

.compare-fixed .item__image {
  border-radius: 0;
  background: none;
  margin-bottom: 10px;
  max-width: 60px;
}

.compare-fixed .item__image-wrapper {
  padding: 0;
}

.compare-fixed .item__header {
  margin-bottom: 7px;
}

.compare-fixed .item__meta {
  height: auto;
  column-gap: 10px;
  margin-bottom: 5px;
}

.compare-fixed .item__sku {
  font-size: 12px;
  padding-right: 0;
}

.compare-fixed .item__sticker {
  position: static;
  font-size: 8px;
  line-height: 13px;
  padding: 0 6px;
}

.compare-fixed .item__title {
  font-size: 12px;
  height: auto;
}

.compare-fixed .item__data {
  margin: 0;
}

.compare-fixed .price-row__old {
  display: none;
}

.compare-fixed .price-row__current {
  font-size: 14px;
  line-height: 18px;
}

.compare-fixed .item__remove-btn-wrapper {
  margin-top: 8px;
}

@media (max-width: 1399.98px) {
  .compare__sidebar,
  .compare-fixed__sidebar {
    width: 292px;
  }

  .compare__list .swiper-button-next,
  .compare__list .swiper-button-prev {
    top: 155px;
  }

  .compare__product .price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare__product .price-row__main {
    display: flex;
  }
}

@media (max-width: 1199.98px) {
  .compare__list .swiper-button-next,
  .compare__list .swiper-button-prev {
    top: 110px;
  }
}

@media (max-width: 991.98px) {
  .compare-nav {
    font-size: 20px;
    margin-left: calc(-1 * var(--container-space));
    margin-right: calc(-1 * var(--container-space));
    overflow: hidden;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .compare-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .compare-nav ul {
    display: inline-flex;
    vertical-align: top;
    flex-wrap: nowrap;
    padding-left: var(--container-space);
    padding-right: var(--container-space);
    column-gap: 20px;
  }

  .compare__sidebar,
  .compare-fixed__sidebar {
    width: 250px;
  }

  .compare__sidebar .compare__data-row {
    padding-right: 20px;
  }

  .compare__lists,
  .compare-fixed__lists {
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
  }

  .compare__list,
  .compare-fixed__list {
    flex: 0 0 auto;
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .compare__item-header {
    padding-top: 52px;
  }

  .compare-fixed__item {
    padding-top: 50px;
  }

  .compare__sidebar-header-content {
    row-gap: 20px;
  }

  .compare__list .swiper-pagination,
  .compare-fixed__list .swiper-pagination {
    position: absolute;
    top: 0;
    bottom: auto;
    font-size: 14px;
    line-height: 1.2;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.25em;
  }

  .compare__list .swiper-button-next,
  .compare__list .swiper-button-prev,
  .compare-fixed__list .swiper-button-next,
  .compare-fixed__list .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin: 0;
    top: 0;
    z-index: 11;
  }

  .compare__list .swiper-button-next.swiper-button-disabled,
  .compare__list .swiper-button-prev.swiper-button-disabled,
  .compare-fixed__list .swiper-button-next.swiper-button-disabled,
  .compare-fixed__list .swiper-button-prev.swiper-button-disabled {
    display: flex;
    opacity: 0.5;
  }

  .compare__list .swiper-button-next,
  .compare-fixed__list .swiper-button-next {
    right: auto;
    left: 50%;
    margin-left: 40px;
  }

  .compare__list .swiper-button-prev,
  .compare-fixed__list .swiper-button-prev {
    left: auto;
    right: 50%;
    margin-right: 40px;
  }

  .compare__list .swiper-button-next .icon,
  .compare__list .swiper-button-prev .icon,
  .compare-fixed__list .swiper-button-next .icon,
  .compare-fixed__list .swiper-button-prev .icon {
    width: 18px;
    height: 18px;
  }

  .compare__sidebar .compare__data-section-title {
    font-size: 22px;
  }

  .compare__data-row {
    font-size: 14px;
    padding: 15px 0;
  }

  .compare__data-list {
    row-gap: 40px;
  }
}

@media (max-width: 767.98px) {
  .compare {
    position: relative;
    padding-top: 72px;
  }

  .compare__sidebar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 72px;
  }

  .compare__sidebar-header-content {
    position: absolute;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    left: 0;
    top: 0;
    width: 100%;
  }

  .compare__lists,
  .compare-fixed__lists {
    margin-left: -5px;
    margin-right: -5px;
  }

  .compare__list,
  .compare-fixed__list {
    padding-left: 5px;
    padding-right: 5px;
  }

  .compare__item-header,
  .compare__sidebar-header {
    margin-bottom: 30px;
  }

  .compare__sidebar .compare__data-row {
    padding-right: 0;
  }

  .compare__item .compare__data-row-title {
    display: block;
    margin-bottom: 10px;
  }

  .compare__sidebar .compare__data-row-title {
    position: relative;
    z-index: 10;
  }

  .compare-fixed__sidebar {
    display: none;
  }

  .compare__product {
    padding-right: 1px;
  }
}
