:root {
  --color-primary: #242a46;
  --color-text: #0076ff;
  --color-secondary: #f2f2f2;
  --offer-red: #ff2c2c;
  --offer-green: #4fd32f;
  --offer-grey: #888888;
  --loading-color-default: #eff1f4;
  --loading-color-secondary: #9ca3af;
}

@font-face {
  font-display: swap;
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 300;
  src: url(/fonts/SFProDisplay-Light.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/SFProDisplay-Regular.woff2) format("woff2"),
  url(/fonts/SFProDisplay-Regular.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 600;
  src: url(/fonts/SFProDisplay-Semibold.woff2) format("woff2"),
  url(/fonts/SFProDisplay-Semibold.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 500;
  src: url(/fonts/SFProDisplay-Medium.woff2) format("woff2"),
  url(/fonts/SFProDisplay-Medium.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Text;
  font-style: normal;
  font-weight: 200;
  src: url(/fonts/SFProText-Light.woff2) format("woff2"),
  url(/fonts/SFProText-Light.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Text;
  font-style: normal;
  font-weight: 300;
  src: url(/fonts/SFProText-Regular.woff2) format("woff2"),
  url(/fonts/SFProText-Regular.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Text;
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/SFProText-Medium.woff2) format("woff2"),
  url(/fonts/SFProText-Medium.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: SF Pro Text;
  font-style: normal;
  font-weight: 600;
  src: url(/fonts/SFProText-Semibold.woff2) format("woff2"),
  url(/fonts/SFProText-Semibold.woff) format("woff");
}
@font-face {
  font-family: DIN;
  font-style: normal;
  font-weight: light;
  src: url(/fonts/DINCondensed-Light.ttf) format("truetype");
}
@font-face {
  font-family: DIN;
  font-style: normal;
  font-weight: bold;
  src: url(/fonts/DINCondensed-Regular.ttf) format("truetype");
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #eff1f4;
  color: var(--color-primary);
  font-family: SF Pro Display, sans-serif;
  font-size: 18px;
  line-height: 1;
  min-width: 320px;
}

body,
html {
  height: 100%;

  /*Не давать браузеру менять текстовый масштаб*/
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-height: 100%;
  max-width: 100%;
}

.main {
  height: 100%;
  margin: 0 auto;
  max-width: 774px;
  display: grid;
  grid-template-columns: 1fr 500px 1fr;
  gap: 16px;
}

.main::after {
  content: "";
  width: 100%;
  position: relative;
  bottom: 0;
  left: 0;
  order: 4;
}

.main-left {
  width: 100%;
  max-width: 250px;
  padding-bottom: 20px;
  padding-top: 151px;
}

.main-center {
  width: 100%;
  max-width: 500px;
  padding-left: 16px;
  padding-right: 16px;
  /*padding-bottom: 20px;*/
  padding-top: 151px;
}

.main-right {
  width: 100%;
  height: 100%;
  max-width: 250px;
  margin-left: 0;
  padding-top: 151px;
}
/*
.footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  order: 5;
}
*/
@media (max-width: 1080px) {

  .main {
    grid-template-columns: 1fr 500px;
  }

  .main::after {
    order: 3;
  }

  .main-right {
    max-width: 500px;
    order: 4;
  }

  .main::before {
    content: "";
    order: 5;
  }
/*
  .footer {
    order: 6;
  }
*/
}

/* Wrap sidebar news */
@media (max-width: 1080px) {

  .main::before,
  .main::after {
    display: none;
  }

  .main-right {
    grid-column: 1 / -1;
    max-width: 100%;
  }
/*
  .footer {
    grid-column: 1 / -1;
  }
 */
}

@media (max-width: 805px) {

  .main {
    max-width: 532px;
    grid-template-columns: 1fr;
  }

  .main::after {
    display: none;
  }
  .main::before {
    display: none;
  }

  .main-left {
    display: none;
  }

  .main-center {
    padding-top: 16px;
    max-width: none;
  }

  .main-right {
    max-width: 532px;
    padding: 0 16px;
    order: 4;
  }
}

@media (min-width: 806px) {

  .main-left {
    padding-top: 0;
  }

  .main-center {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .main-right {
    padding-top: 0;
  }
}

@media (min-width: 1080px) {

  .main {
    max-width: 1048px;
  }

  .main-right {
    display: block;
  }
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Filter Desktop
 *
 */

.desktop-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.desktop-filter-search {
  margin-bottom: 16px;
  gap: 18px;
}

.desktop-filter-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
}

.desktop-filter-title button {
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  /*line-height: 1.5;*/
  letter-spacing: normal;
  text-align: right;
  color: var(--color-text);
  text-decoration: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

        .desktop-filter:has(.desktop-filter-content.collapse) {
          gap: 0;
        }

        .desktop-filter {
          transition: all 0.3s ease;
        }

        .desktop-filter-title {
          display: flex;
          align-items: center;
          justify-content: space-between;
          cursor: pointer;
          transition: color 0.2s;
        }

        .desktop-filter.is_cancel_view .desktop-filter-title {
          cursor: default;
        }

.desktop-filter-title.collapse svg {
  width: 10px;
  height: 6px;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.desktop-filter-title svg {
  transform: rotate(0deg);
}


.desktop-filter-content.collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.desktop-filter-content {
  max-height: unset;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}








.desktop-filter-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desktop-filter-item-list.active {
  max-height: unset;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/*
.desktop-filter-item-list.hidden {
  display: none;
}
*/

.desktop-filter-item-list label {
  font-size: 14px;
  line-height: 1.29;
  color: var(--color-primary);
  font-family: SF Pro Text, sans-serif;
  font-weight: 300;
}

.desktop-filter-item-list label span {
  margin-left: 4px;
  opacity: 0.6;
}

.desktop-filter-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.desktop-filter-item-status {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.29;
  color: rgba(36, 42, 70, 0.6);
  margin-left: auto;
}

.desktop-filter-item-status svg {
  position: relative;
  top: 0px;
}

/* Скрываем стандартный input */
.desktop-filter-item input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Создаем кастомный radio */
.desktop-filter-item input[type="radio"] + label {
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  user-select: none;
}

.desktop-filter-item input[type="radio"] + label::before {
  content: "";
  position: absolute;
  /* top: 1px; */
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #9ca3af;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

/* Внутренний круг */
.desktop-filter-item input[type="radio"] + label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s;
}

/* Состояние checked */
.desktop-filter-item input[type="radio"]:checked + label::before {
  border-color: #0076ff;
  border-width: 1px;
}

.desktop-filter-item input[type="radio"]:checked + label::after {
  background-color: #0076ff;
}

/* Состояние disabled */
.desktop-filter-item input[type="radio"]:disabled + label {
  cursor: not-allowed;
  opacity: 0.7;
}

.desktop-filter-item input[type="radio"]:disabled + label::before {
  background-color: rgba(156, 163, 175, 0.4);
  border-color: #9ca3af;
}

/* Состояние checked и disabled */
.desktop-filter-item input[type="radio"]:checked:disabled + label::before {
  border-color: rgba(156, 163, 175, 0.4);
}

.desktop-filter-item input[type="radio"]:checked:disabled + label::after {
  background-color: rgba(36, 42, 70, 0.8);
}

/* Добавляем hover эффект для активных radio */
.desktop-filter-item input[type="radio"]:not(:disabled) + label:hover::before {
  border-color: #0076ff;
}




/* --------------------- */
/* Checkbox */

/*
.desktop-filter-checkbox {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.desktop-filter-checkbox-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
}

.desktop-filter-checkbox-item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desktop-filter-checkbox-item-list label {
  font-size: 14px;
  line-height: 1.29;
  color: var(--color-primary);
  font-family: SF Pro Text, sans-serif;
  font-weight: 300;
  max-width: 230px;
}

.desktop-filter-checkbox-item-list label span {
  margin-left: 4px;
  opacity: 0.6;
}

.desktop-filter-checkbox-item {
  display: flex;
  align-items: start;
  gap: 8px;
}

.desktop-filter-checkbox-item-status {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.29;
  color: rgba(36, 42, 70, 0.6);
  margin-left: auto;
}

.desktop-filter-checkbox-item-status svg {
  position: relative;
  top: 1px;
}

.desktop-filter-checkbox .desktop-filter-checkbox-item-list label {
  font-size: 14px;
  line-height: 1.29;
  color: var(--color-primary);
}

.desktop-filter-checkbox .desktop-filter-checkbox-item-list label span {
  margin-left: 4px;
  opacity: 0.6;
}
*/

/* Стили для чекбоксов */

.desktop-filter-item input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.desktop-filter-item input[type="checkbox"] + label {
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  user-select: none;
}

.desktop-filter-item input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16.5px;
  height: 16.5px;
  border: 1px solid #9ca3af;
  border-radius: 3px;
  background-color: #fff;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

/* Галочка */
.desktop-filter-item input[type="checkbox"] + label::after {
  content: url('data:image/svg+xml,<svg width="10" height="8" viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M3.756 7.708.733 4.686l.864-.864 2.16 2.158h-.001L8.936.8l.864.863-5.18 5.182-.864.863z" fill="white" fill-rule="nonzero"/></svg>');
  position: absolute;
  left: 3px;
  top: 5px;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 0;
}

/* Состояние checked */
.desktop-filter-item input[type="checkbox"]:checked + label::before {
  border-color: #0073ff;
  background-color: #0073ff;
}

.desktop-filter-item input[type="checkbox"]:checked + label::after {
  opacity: 1;
}


@media (min-width: 806px) {

  .desktop-filter-item input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #9ca3af;
    border-radius: 3px;
    background-color: #fff;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
  }

  .desktop-filter-item input[type="checkbox"] + label::after {
    content: url('data:image/svg+xml,<svg width="11" height="9" viewBox="0 0 11 9" xmlns="http://www.w3.org/2000/svg"><path d="M3.756 7.708.733 4.686l.864-.864 2.16 2.158h-.001L8.936.8l.864.863-5.18 5.182-.864.863z" fill="%230076FF" fill-rule="nonzero" stroke="%230076FF" stroke-linejoin="round"/></svg>');
    position: absolute;
    left: 3px;
    top: 5px;
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 0;
  }

  .desktop-filter-item input[type="checkbox"]:checked + label::before {
    border-color: #0073ff;
    background-color: #fff;
  }

  .desktop-filter-item input[type="checkbox"]:checked + label::after {
    opacity: 1;
  }
}


/* Состояние checked и disabled */
.desktop-filter-item input[type="checkbox"]:checked:disabled + label::before {
  background-color: rgba(156, 163, 175, 0.4);
  border-color: #9ca3af;
}

.desktop-filter-item input[type="checkbox"]:checked:disabled + label::after {
  content: url('data:image/svg+xml,<svg width="10" height="8" viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M3.756 7.708.733 4.686l.864-.864 2.16 2.158h-.001L8.936.8l.864.863-5.18 5.182-.864.863z" fill="rgba(36, 42, 70, 0.8)" fill-rule="nonzero"/></svg>');
  opacity: 1;
}

/* Состояние disabled */
.desktop-filter-item input[type="checkbox"]:disabled + label {
  cursor: not-allowed;
  opacity: 0.7;
}

.desktop-filter-item input[type="checkbox"]:disabled + label::before {
  background-color: rgba(156, 163, 175, 0.4);
  border-color: #9ca3af;
}

/* Добавляем hover эффект для активных checkbox */
.desktop-filter-item input[type="checkbox"]:not(:disabled) + label:hover::before {
  border-color: #0073ff;
}



/* Dropdown filters */
/*
.desktop-filter-checkbox:has(.desktop-filter-checkbox-content:not(.active)) {
  gap: 0;
}

.desktop-filter-checkbox {
  transition: all 0.3s ease;
}

.desktop-filter-checkbox-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s;
}

.desktop-filter-checkbox-title svg {
  width: 10px;
  height: 6px;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.desktop-filter-checkbox-title.active svg {
  transform: rotate(0deg);
}

.desktop-filter-checkbox-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.desktop-filter-checkbox-content.active {
  max-height: unset;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
*/




/* --------------------- */





/* Search */
.search {
  position: relative;
  width: 100%;
  height: 40px;
  padding: 11px 15px 11px 11px;
  border-radius: 8px;
  border: solid 1px #9ca3af;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background-color 0.2s;
}

.search.active {
  background-color: #fff;
  color: var(--color-primary);
}

.search svg {
  width: 16px;
  height: 16px;
}

.search input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  background-color: transparent;
  color: var(--color-primary);
}

.search input::placeholder {
  color: var(--color-primary);
  opacity: 0.6;
}

.search input:focus {
  outline: none;
}

.search-close {
  position: absolute;
  right: 8px;
  cursor: pointer;
  display: none;
}

/* Меняем условие отображения крестика */
.search.active .search-close {
  display: none; /* Убираем автоматическое отображение при active */
}

.search.active.has-value .search-close {
  display: block; /* Показываем только когда есть значение */
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Filter Mobile
 *
 */

.mobile-filter {
  width: 100%;
  height: 40px;
  margin-bottom: 16px;
  display: none;
}

.mobile-filter nav {
  margin-bottom: 8px;
  overflow: auto;
  padding: 0 0 8px;
  white-space: nowrap;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: absolute;
  padding-left: 16px;
  padding-right: 16px;
  left: 0;
}

.mobile-filter nav::-webkit-scrollbar {
  display: none;
}

.mobile-filter nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.mobile-filter-item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.mobile-filter-item a {
  background-color: transparent;
  color: var(--color-primary);
  height: 40px;
  padding: 11px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  gap: 0px;
}

.mobile-filter-item a .arrow-down {
  margin-bottom: 0px;
  margin-left: 8px;
}

.mobile-filter-item a .sort {
  margin-right: 8px;
}

.mobile-filter-item a:hover {
  background-color: var(--color-secondary);
}

.mobile-filter-item .count {
  opacity: 0.6;
  font-size: 15px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: right;
  color: #fff;
  margin-left: 5px;
  margin-top: -1px;
}

.mobile-filter-item .cross {
  margin-left: 8px;
}

.mobile-filter-item:has(.cross) a {
  padding-right: 8px;
}

.mobile-filter-item a.active {
  background-color: #fff;
  color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
/*
.mobile-filter-item a.active:hover {
  background-color: #fff;
}
*/
@media (min-width: 532px) {

  .mobile-filter nav {
    padding-left: calc((100vw - 500px) / 2);
  }
}

@media (max-width: 805px) {

  .mobile-filter {
    display: block;
  }
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Modal Filter
 *
 */

.modal-filter {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-filter a {
  color: var(--color-text);
  text-decoration: none;
}

.modal-filter a:hover {
  color: var(--color-text);
  /* text-decoration: underline; */
}

.modal-filter a:visited {
  color: var(--color-text);
}

.modal-filter.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

.modal-filter.active {
  transform: translateY(0);
}

.modal-filter-wrap {
  width: 100%;
  max-width: 320px;
  min-height: 477px;
  max-height: 546px;
  margin: 27px;
  transform: translateY(-20px);
  transition: transform 0.3s;
  padding: 36px 5px 0 16px;
  border-radius: 32px;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.16), 0 2px 12px 0 rgba(0, 0, 0, 0.12);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-filter-wrap {
  transform: translateY(0);
}

.modal-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal-filter-title {
  font-size: 24px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.17;
  letter-spacing: normal;
  color: var(--color-primary);
}

.modal-filter-header button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: background-color 0.2s;
  position: absolute;
  top: 16px;
  right: 16px;
}

.modal-filter-header button:hover {
  background-color: #f2f2f2;
}

.modal-filter-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-filter-content::-webkit-scrollbar {
  width: 5px;
  margin-top: -35px;
}

.modal-filter-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-filter-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.modal-filter-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.modal-filter-content::-webkit-scrollbar-button {
  display: none;
}







.modal-filter-content /*.form-group*/ {
  gap: 0;
}

.modal-filter-content .modal-filter-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  height: 53px;
  border-bottom: 1px solid #eae7e2;
}

.modal-filter-content .modal-filter-item label {
  order: 1;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
}

.modal-filter-content .modal-filter-item label div {
  display: flex;
  gap: 8px;
}

/* Скрываем стандартный input */
.modal-filter-content input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Создаем кастомный radio */
.modal-filter-content input[type="radio"] + label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  user-select: none;
}



.modal-filter-content input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border: 1px solid #9ca3af;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}


/* Внутренний круг */
.modal-filter-content input[type="radio"] + label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s;
}

/* Состояние checked */
.modal-filter-content input[type="radio"]:checked + label::before {
  border-color: #0076ff;
  border-width: 1px;
}

.modal-filter-content input[type="radio"]:checked + label::after {
  background-color: #0076ff;
}

/* Состояние disabled */
.modal-filter-content input[type="radio"]:disabled + label {
  cursor: not-allowed;
  opacity: 0.7;
}

.modal-filter-content input[type="radio"]:disabled + label::before {
  background-color: rgba(156, 163, 175, 0.4);
  border-color: #9ca3af;
}

/* Состояние checked и disabled */
.modal-filter-content input[type="radio"]:checked:disabled + label::before {
  border-color: rgba(156, 163, 175, 0.4);
}

.modal-filter-content input[type="radio"]:checked:disabled + label::after {
  background-color: rgba(36, 42, 70, 0.8);
}

/* Добавляем hover эффект для активных radio */
.modal-filter-content input[type="radio"]:not(:disabled) + label:hover::before {
  border-color: #0076ff;
}

/* Стили для чекбоксов */
.modal-filter-content input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-filter-content input[type="checkbox"] + label {
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  user-select: none;
}

.modal-filter-content input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16.5px;
  height: 16.5px;
  border: 1px solid #9ca3af;
  border-radius: 3px;
  background-color: #fff;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

/* Галочка */
.modal-filter-content input[type="checkbox"] + label::after {
  content: url('data:image/svg+xml,<svg width="10" height="8" viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M3.756 7.708.733 4.686l.864-.864 2.16 2.158h-.001L8.936.8l.864.863-5.18 5.182-.864.863z" fill="white" fill-rule="nonzero"/></svg>');
  position: absolute;
  left: 3.5px;
  top: 5px;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 0;
}

/* Состояние checked */
.modal-filter-content input[type="checkbox"]:checked + label::before {
  border-color: #0073ff;
  background-color: #0073ff;
}

.modal-filter-content input[type="checkbox"]:checked + label::after {
  opacity: 1;
}

@media (min-width: 806px) {

  .modal-filter-content input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #9ca3af;
    border-radius: 3px;
    background-color: #fff;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
  }

  /* Галочка */
  .modal-filter-content input[type="checkbox"] + label::after {
    content: url('data:image/svg+xml,<svg width="11" height="9" viewBox="0 0 11 9" xmlns="http://www.w3.org/2000/svg"><path d="M3.756 7.708.733 4.686l.864-.864 2.16 2.158h-.001L8.936.8l.864.863-5.18 5.182-.864.863z" fill="%230076FF" fill-rule="nonzero" stroke="%230076FF" stroke-linejoin="round"/></svg>');
    position: absolute;
    left: 3.5px;
    top: 5px;
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 0;
  }

  /* Состояние checked */
  .modal-filter-content input[type="checkbox"]:checked + label::before {
    border-color: #0073ff;
    background-color: #fff;
  }

  .modal-filter-content input[type="checkbox"]:checked + label::after {
    opacity: 1;
  }
}

/* Состояние checked и disabled */
.modal-filter-content input[type="checkbox"]:checked:disabled + label::before {
  background-color: rgba(156, 163, 175, 0.4);
  border-color: #9ca3af;
}

.modal-filter-content input[type="checkbox"]:checked:disabled + label::after {
  content: url('data:image/svg+xml,<svg width="10" height="8" viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M3.756 7.708.733 4.686l.864-.864 2.16 2.158h-.001L8.936.8l.864.863-5.18 5.182-.864.863z" fill="rgba(36, 42, 70, 0.8)" fill-rule="nonzero"/></svg>');
  opacity: 1;
}

/* Состояние disabled */
.modal-filter-content input[type="checkbox"]:disabled + label {
  cursor: not-allowed;
  opacity: 0.7;
}

.modal-filter-content input[type="checkbox"]:disabled + label::before {
  background-color: rgba(156, 163, 175, 0.4);
  border-color: #9ca3af;
}

/* Добавляем hover эффект для активных checkbox */
.modal-filter-content input[type="checkbox"]:not(:disabled) + label:hover::before {
  border-color: #0073ff;
}

.modal-filter-content input[type="radio"] + label,
.modal-filter-content input[type="checkbox"] + label {
  flex: 1;
  cursor: pointer;
}

/* Стили для disabled состояния в модальном окне */
.modal-filter-content input[type="radio"]:disabled + label,
.modal-filter-content input[type="checkbox"]:disabled + label {
  opacity: 0.5;
}


.modal-filter-content .notice {
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  opacity: 0.6;
}

.modal-filter-content .status {
  font-size: 18px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  opacity: 0.6;
  /*margin-right: 16px;*/
}
.modal-filter-content .status:has(:not(svg)) {
  opacity: 1 !important;
}

.modal-filter-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  margin-right: 15px;
  margin-bottom: 27px;
}

.modal-filter-footer button {
  width: 60%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background-color: var(--color-primary);
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * [desktop] Sort By
 *
 */

.desktop-sort {
  display: flex;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
  justify-content: space-between;
  max-width: 500px;
}

.desktop-sort-items {
  display: flex;
  gap: 6px;
  color: rgba(36, 42, 70, 0.6);
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  text-align: right;
}

.desktop-sort a {
  font-size: 14px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  text-align: right;
  color: var(--color-text);
  max-width: 500px;
  cursor: pointer;
  text-decoration: none;
}

.desktop-sort a.active {
  color: var(--color-primary);
}

@media (max-width: 805px) {

  .desktop-sort {
    display: none;
  }
}

.switch-mode {
/*
  font-family: SF Pro Display;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  text-align: right;
  color: var(--color-text);
  text-decoration: none;
 */
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 805px) {

  .switch-mode {
/*
    font-size: 15px;
    font-weight: 500;
 */
    gap: 6px;
  }
}


.result-coin-map {
  width: 100%;
  height: 600px;
  position: relative;
  background-color: #e7e9ed;

  border-radius: 8px;
  border: solid 0.5px #979797;
  overflow: hidden;
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Map fullscreen */
@media (max-width: 805px) {

  .result-coin-map {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 0;
    border: none;
  }
}

/*
 * ---------------------------------------------------------------------------------------------------------------------
 * [desktop] Infographics
 *
 */

/*
.desktop-infographics {
  width: 100%;
  height: 100%;
  max-height: 250px;
  max-width: 250px;
  background-color: transparent;
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 6px;
}

.tradingview-widget-copyright {
  display: none;
}

.js-copyright-label {
  display: none;
}
*/

/*
.desktop-info {
  display: flex;
  flex-direction: column;
}

.desktop-info h1 {
  opacity: 0.8;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: var(--color-primary);
}

.desktop-info span {
  opacity: 0.6;
  font-family: SF Pro Text, sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  color: var(--color-primary);
  white-space: pre-line;
}
*/

/*
@media (max-width: 1080px) {

  .desktop-infographics {
    display: none;
  }
}
*/

.desktop-adv {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  order: 3;
}


.adv-sidebar-right-wrap-mob {
  text-align: center;
  display: flex;
  flex-direction: column; /* Выстраиваем элементы вертикально */
  align-items: center; /* Центрируем изображения по горизонтали */
}

.adv-sidebar-right-wrap-desk_plus a {
  margin: 0;
}

.adv-sidebar-right-wrap-desk,
.adv-sidebar-right-wrap-mob {
  display: none;
}

.adv-sidebar-right-wrap-desk_plus a img {
  margin-top: 8px;
}

.adv-sidebar-right-wrap-mob a img {
  max-width: 344px;
  margin-top: 8px;
}
.adv-sidebar-right-wrap-desk_plus a:last-child img {
  margin-bottom: 0;
}

.adv-sidebar-right-wrap-mob a img {
  /*margin-bottom: 23px;*/
}

.adv-sidebar-right-wrap-mob a:last-child img {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .adv-sidebar-right-wrap-desk_plus,
  .adv-sidebar-right-wrap-mob {
    display: none;
  }
  .adv-sidebar-right-wrap-desk {
    display: flex;
    gap: 8px;
  }
}

@media (max-width: 805px) {
  .adv-sidebar-right-wrap-desk_plus,
  .adv-sidebar-right-wrap-desk {
    display: none;
  }
  .adv-sidebar-right-wrap-mob {
    display: flex;
  }
}







/* Aditional text */

/*
.desktop-info {
  grid-column: 1 / -1;
  font-family: SF Pro Text;
  opacity: 0.6;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  order: 5;
}

@media (max-width: 805px) {
  .desktop-info {
    padding: 0 16px;
  }
}
*/


.order-banner {
  padding-top: 24px;
}

.type-order-banner {
  border-radius: 8px;
  background-color: #e7e9ed;
  padding: 16px;
  margin-bottom: 8px;
}

.type-order-banner-title {
  font-family: SF Pro Display;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #242a46;
  margin-bottom: 8px;
}

.type-order-banner p {
  font-family: SF Pro Display;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  color: #242a46;
  margin-bottom: 16px;
}

.type-order-link {
  font-family: SF Pro Display;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: var(--color-text);
  text-decoration: none;
}

@media (max-width: 1080px) {

  .order-banner {
    padding-top: 0px;
  }
}





/*
 * ---------------------------------------------------------------------------------------------------------------------
 * [modal] Search Result
 *
 */


.offer-item-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.offer-item {
  font-family: SF Pro Text, sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-transition: background-color 0.5s ease;
  transition: background-color 0.5s ease;
  cursor: pointer;
  padding: 18px 16px 0 16px;
  border-radius: 16px;
  background-color: #fff;
  color: var(--color-text);
  min-height: 74px;
  max-width: 500px;
  text-decoration: none;
}

.offer-item:visited {
  color: var(--color-text);
}

.offer-item a {
  text-decoration: none;
}

.offer-item-content {
  font-family: SF Pro Text, sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  gap: 15px;
  justify-content: space-between;
  position: relative;
  background-color: #fff;
  text-decoration: none;
  color: var(--color-text);
  min-height: 72px;
  width: 100%;
  text-decoration: none;
}

.offer-item-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  font-size: 18px;
  font-weight: 500;
}

.offer-item-info-view {
  min-width: 40px;
  position: relative;
}

.offer-item-info-view .coin-img {
  height: 40px;
  -o-object-fit: contain;
  object-fit: contain;
  width: 40px;
}

.offer-item-info-view .sale-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.offer-item-info-view .nominal {
  font-family: DIN, sans-serif;
  font-size: 12px;
  font-weight: bold;
  font-stretch: condensed;
  font-style: normal;
  line-height: normal;
  /*letter-spacing: -0.5px;*/
  text-align: center;
  color: var(--color-primary);
  /*margin-top: -2px;*/
  white-space: nowrap;
}

.offer-item-info-title {
  display: flex;
  flex-direction: column;
}

.offer-item-info-title a {
  max-width: 140px;
  font-size: 14px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Количество строк, после которых текст будет обрезан */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-item-info-title .description {
  font-size: 14px;
  font-weight: 200;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: var(--offer-grey);
  margin-bottom: 16px;
  /*margin-top: 1px;*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}


.offer-item-history-chart-loading {
  left: 50%;
  position: absolute;
  top: 20px;
  height: 43px;
  width: 73px;
}

.offer-item-history-chart-loading.empty {
  background-image: url("/img/no-data.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-item-history-chart-loading.empty .empty-text {
  font-family: DIN;
  font-size: 12px;
  font-weight: light;
  font-stretch: condensed;
  font-style: normal;
  /*line-height: 0.83;*/
  letter-spacing: normal;
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
  padding: 0 5px;
  border-radius: 2px;
  background-color: #eaeaea;
  width: 60px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*
.offer-item-history-chart {
  left: 50%;
  position: absolute;
  top: 20px;
  height: 43px;
  width: 73px;
}
*/
.offer-item-history-chart.empty {
  background-image: url("/img/no-data.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-item-history-chart.empty .empty-text {
  font-family: DIN;
  font-size: 12px;
  font-weight: light;
  font-stretch: condensed;
  font-style: normal;
  /*line-height: 0.83;*/
  letter-spacing: normal;
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
  padding: 0 5px;
  border-radius: 2px;
  background-color: #eaeaea;
  width: 60px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-item-price {
  box-sizing: border-box;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  height: 100%;
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  white-space: nowrap;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  text-align: right;
  min-width: 100px;
}

.offer-item-price a {
  color: var(--color-text);
  text-decoration: none;
  margin-top: 1px;
}

.offer-item-price span {
  display: block;
  font-size: 12px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: right;
  margin-bottom: 2px;
}
.offer-item-price span.red {
  color: var(--offer-red);
}
.offer-item-price span.green {
  color: var(--offer-green);
}
.offer-item-price span.grey {
  color: var(--offer-grey);
}

.offer-item-price .status {
  font-size: 14px;
  font-weight: 200;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: var(--offer-grey);
  margin-bottom: 16px;
  white-space: nowrap;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
  /*max-width: 160px;*/ max-width: 100px;
  margin-top: 0px;
}

.offer-item-price svg {
  margin-left: 8px;
  margin-bottom: -1px;
}

/* Mobile */
@media (max-width: 376px) {

  .offer-item-info-title {
    max-width: 150px;
  }
}

@media (max-width: 420px) {

  .offer-item-history-chart {
    display: none;
  }

  .offer-item-history-chart.empty {
    display: none;
  }

  .offer-item-history-chart-loading {
    display: none;
  }

  .offer-item-history-chart-loading.empty {
    display: none;
  }
}

@media (min-width: 376px) and (max-width: 420px) {

  .offern-item-info-title {
    max-width: 160px;
  }
}
@media (min-width: 420px) and (max-width: 475px) {

  .offer-item-info-title {
    max-width: 140px;
  }
}

/* Mobile + */
@media (max-width: 805px) {

  .offer-item-price svg {
    display: none;
  }
  .offer-item-price span {
    margin-right: 0;
  }
  .offer-item {
    border-radius: 8px;
  }
}

@media (min-width: 532px) {

  .offer-item-history-chart {
    height: 50px;
    width: 100px;
  }

  .offer-item-history-chart-loading {
    height: 50px;
    width: 100px;
  }
}






.offer-item-loading {
  font-family: SF Pro Text, sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  gap: 15px;
  justify-content: space-between;
  position: relative;
  -webkit-transition: background-color 0.5s ease;
  transition: background-color 0.5s ease;
  /* cursor: pointer; */
  padding: 18px 16px 0 16px;
  border-radius: 16px;
  background-color: #fff;
  text-decoration: none;
  color: var(--color-text);
  min-height: 87px;
  max-width: 500px;
  text-decoration: none;
}

.loading {
  animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--loading-color-default);
}

.loading-text {
  width: 100%;
  height: 16px;
  background-color: var(--loading-color-default);
  border-radius: 4px;
  display: block;
  flex-grow: 1;
  box-sizing: border-box;
}

.loading-w-xs {
  min-width: 40px;
  max-width: 80px;
}

.loading-w-sm {
  min-width: 60px;
  max-width: 100px;
}

.loading-w-md {
  min-width: 80px;
  max-width: 140px;
}

.loading-w-lg {
  min-width: 100px;
  max-width: 160px;
}

.loading-h-sx {
  height: 12px;
}

.offer-item-list .loading.offer-item-info {
  width: 100%;
}

.offer-item-list .loading .offer-item-info-title {
  gap: 3px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.offer-item-list .loading .offer-item-info-view .loading-img {
  margin-bottom: 4px;
}

.offer-item-list .loading.offer-canvas .empty-text {
  display: none;
}

.offer-item-list .loading.offer-item-price {
  align-items: flex-end;
  gap: 3px;
  padding-top: 0;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.offer-item-list .loading.offer-item-price .loading-text {
  width: 100%;
  margin-left: auto;
}

@media (max-width: 376px) {

  .loading-w-md {
    max-width: 120px;
  }

  .loading-w-lg {
    max-width: 140px;
  }
}

@keyframes pulse {

  50% {
    opacity: 0.5;
  }
}


.btn-view-all {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 44px;
  border-radius: 16px;
  background-color: #fff;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
}

@media (max-width: 805px) {

  .btn-view-all {
    border-radius: 8px;
  }
}

.btn-view-all.loading {
  position: relative;
  color: transparent; /* Скрываем текст кнопки */
}

.btn-view-all.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
  border: 3px solid #ccc; /* Цвет внешней границы */
  border-top: 3px solid #000; /* Цвет "активной" границы */
  border-radius: 50%;
  animation: spin 0.8s linear infinite; /* Анимация вращения */
}

/* Анимация вращения */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}





/* Offer extend */

.offer-item {
  transition: box-shadow 0.3s ease;
}

.offer-item.active {
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08), 0 2px 12px 0 rgba(0, 0, 0, 0.08);
  cursor: default;
}
.offer-item.active .offer-item-price,
.offer-item.active .offer-item-history-chart {
  display: none;
}
.offer-item .close-extend {
  display: none;
}
.offer-item.active .close-extend {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.2s;
}
.offer-item.active .close-extend:hover {
  background-color: #f2f2f2;
}

.offer-item-extend {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}
.offer-item.active .offer-item-extend {
  max-height: 500px;
  padding-bottom: 16px;
  opacity: 1;
  transform: translateY(0);
}


/* Mobile */
@media (max-width: 376px) {
  .offer-name-wrap {
    max-width: 150px;
  }
}

@media (max-width: 420px) {
  .offer-canvas {
    display: none;
  }
  .offer-canvas.empty {
    display: none;
  }
}

@media (min-width: 376px) and (max-width: 420px) {
  .offer-name-wrap {
    max-width: 160px;
  }
}
@media (min-width: 420px) and (max-width: 475px) {
  .offer-name-wrap {
    max-width: 140px;
  }
}

/* Mobile + */
@media (max-width: 805px) {
  .offer-price svg {
    display: none;
  }
  .offer-price span {
    margin-right: 0;
  }
}

@media (min-width: 532px) {
  .offer-canvas {
    height: 50px;
    width: 100px;
  }
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 *
 */




.action-link {
  font-size: 14px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  text-align: right;
  color: var(--color-text);
  max-width: 500px;
  cursor: pointer;
  text-decoration: none;
}

.action-link.active {
  color: var(--color-primary);
}

.view-all {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: right;
  color: var(--color-text);
  max-width: 500px;
  cursor: pointer;
  text-decoration: none;
}




@media (max-width: 805px) {

  .view-all {
    display: none;
  }

  .mobile-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    border-radius: 16px;
    background-color: #fff;
    color: var(--color-primary);
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.3px;
    text-align: center;
  }
}

@media (min-width: 806px) {

  .mobile-view-all {
    display: none;
  }
}