body {
  margin: 0;
  font-family: "Arial", sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}
.present-page {
  margin-left: auto;
  margin-right: auto;
  z-index: 5;
}
.present-page .container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.stub-div {
  display: none;
}
@media (min-width: 576px) {
  .present-page .container {
    max-width: 540px;
  }
}

@media (min-width: 992px) {
  .present-page .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .present-page .container {
    max-width: 1170px;
  }
}

@media (min-width: 1536px) {
  .present-page .container {
    max-width: 1250px;
  }
}

.present-page .container {
  padding-right: 10px;
  padding-left: 10px;
}

.present-page .breadcrumb {
  margin-bottom: 7px;
}

.present {
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.present__submit {
  display: block;
  width: 100%;
  margin-top: 35px;
  font-size: 18px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  color: #ffffff;
  background: #9c46d2;
  border: 1px solid #9c46d2;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  white-space: nowrap;
}

.present-hero {
  position: relative;
  height: 190px;
  padding: 20px;
  margin-bottom: 25px;
  overflow: hidden;
  line-height: 1.2;
  text-transform: uppercase;
  color: #5a4b7e;
  border-radius: 8px;
}

.present-hero__title {
  position: relative;
  z-index: 1;
  font-size: 14px;
  margin-bottom: 5px;
}

.present-hero__subtitle {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.present-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.present-block {
  position: relative;
}

.present-block:not(:last-of-type) {
  margin-bottom: 25px;
}

.present-block__anchor {
  position: absolute;
  top: -200px;
  z-index: -1;
}

.present-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.present-header__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000000;
}

.inverted-style .present-header__title,
.inverted-style .present-header__next,
.inverted-style .present-tabs__item {
  color: #fff;
}

.present-header__next {
  font-size: 14px;
  line-height: 1.2;
  text-decoration-line: underline;
  color: #59617d;
}

.present-tabs {
  display: flex;
  margin-bottom: 15px;
}

.present-tabs__item {
  padding: 0;
  padding: 8.5px 23px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.125;
  text-align: center;
  color: #8b8592;
  white-space: nowrap;
  border: none;
  border-radius: 8px;
  background-color: unset;
  box-shadow: 0 0 0 1px #8b8592;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.47, 0, 0.745, 0.715),
    box-shadow 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.present-tabs__item:hover,
.present-tabs__item:focus,
.present-tabs__item:active {
  outline: none;
}

.present-tabs__item:not(:last-of-type) {
  margin-right: 10px;
}

.present-tabs__item.active {
  color: #994cca;
  box-shadow: 0 0 0 2px #994cca;
}

.present-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.present-content.hidden {
  display: none;
}

.present-content--price {
  display: block;
  grid-template-columns: unset;
  gap: unset;
}

.present-content--age {
  display: block;
  grid-template-columns: unset;
  gap: unset;
}

.present-item {
  position: relative;
  display: flex;
  border-radius: 8px;
}

.present-content--price .present-item {
  display: block;
}

.present-content--price .present-item:not(:last-of-type) {
  margin-bottom: 16px;
}

.present-item--vertical {
  grid-row: span 2;
}

.present-item--horizontal {
  grid-column: span 2;
}

.present-item__sizer {
  flex-grow: 1;
  padding-bottom: 100%;
  height: 0;
}

.present-item--vertical .present-item__sizer {
  padding-bottom: calc(200% + 10px);
}

.present-item--horizontal .present-item__sizer {
  padding-bottom: 48.532%;
}

.present-item__control {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1rem;
  height: 1.25rem;
  opacity: 0;
}

.present-item__content {
  position: relative;
  z-index: 1;
  display: block;
  flex-grow: 1;
  width: 100%;
  max-width: 100%;
  /* height: 100%; */
  padding: 10px 14px;
  margin-left: -100%;
  /* overflow: hidden; */
  font-family: "Roboto", sans-serif;
  cursor: pointer;
  border-radius: 8px;
  transition: box-shadow 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
  /*flex-shrink: 0;*/
  /*height: 100%;*/
  margin-bottom: 0;
}

.present-content--price .present-item__content {
  padding: 15px 24px;
  margin-left: unset;
}

.present-item__close {
  position: absolute;
  top: -9px;
  right: -10px;
  z-index: 1;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  content: "";
  background-color: #994cca;
  box-shadow: 0 0 0 2px #ffffff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.present-item__close::after,
.present-item__close::before {
  position: absolute;
  top: calc(50% - 1px);
  left: calc(50% - 4px);
  display: block;
  width: 8px;
  border: 1px solid #ffffff;
  border-radius: 1px;
  content: "";
}

.present-item__close::after {
  transform: rotate(45deg);
}

.present-item__close::before {
  transform: rotate(-45deg);
}

/* .present-item__control:focus + .present-item__content,
.present-item__control:active + .present-item__content {
box-shadow:  0 0 0 2px #994CCA;
} */

.present-item__control:checked + .present-item__content {
  box-shadow: inset 0 0 0 2px #ffffff, 0 0 0 2px #994cca;
}

.present-item__control:checked + .present-item__content .present-item__close {
  opacity: 1;
}

.present-item__title {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.present-content--price .present-item__title {
  font-size: 16px;
  text-transform: unset;
}

.present-item__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.present-item__icon {
  position: absolute;
  top: -6px;
  right: 30px;
  z-index: 2;
  width: 55px;
  height: 55px;
  pointer-events: none;
}

.present-item__icon--xl {
  display: none;
}

.present-desc {
  padding-bottom: 50px;
}

.inverted-style .present-desc {
  color: #fff;
}
.present-desc p {
  margin: 0;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.8px;
}

.present-age__image {
  width: 100%;
  height: 165px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.present-age__image.hidden {
  display: none;
}

.range-slider {
  position: relative;
  padding-top: 17px;
  padding-bottom: 25px;
}

.range-slider__line {
  position: absolute;
  top: 26px;
  left: 2px;
  height: 5px;
  background: #994cca;
  border-radius: 17px;
  opacity: 0.5;
  pointer-events: none;
}

.range-slider__input {
  width: 100%;
  -webkit-appearance: none;
}

.range-slider__input:focus {
  outline: none;
}

.range-slider__input::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: none;
  background: #f5eff6;
  border-radius: 17px;
  border: 0px solid #010101;
}

.range-slider__input::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: none;
  background: #f5eff6;
  border-radius: 17px;
  border: 0px solid #010101;
}

.range-slider__input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  border: 0px solid #ffffff;
  border-radius: 50%;
  background: #994cca;
  cursor: pointer;
  -webkit-appearance: none;
}

.range-slider__input::-moz-range-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  border: 0px solid #ffffff;
  border-radius: 50%;
  background: #994cca;
  cursor: pointer;
  -webkit-appearance: none;
}

.range-slider__input::-moz-focus-outer {
  border: 0;
}

.range-slider__label {
  position: absolute;
  top: 53px;
  left: 0;
  padding: 7px 12px;
  font-size: 14px;
  line-height: 1.15;
  color: #ffffff;
  white-space: nowrap;
  border-radius: 8px;
  background: #5d5c6d;
}

.range-slider__label::before {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  background: #5d5c6d;
  transform: rotate(45deg);
  display: block;
  width: 10px;
  height: 10px;
  content: "";
}

.range-slider__values {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
}

.range-slider__value {
  font-size: 14px;
  line-height: 1.15;
  color: #5d5c6d;
  opacity: 0.5;
}

.sidebar {
  position: fixed;
  right: 0;
  bottom: env(safe-area-inset-bottom);
  left: 0;
  z-index: 5;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 45px;
  font-size: 16px;
  line-height: 1.125;
  color: #ffffff;
  background: #994cca;
  box-shadow: 2px 2px 35px rgba(0, 0, 0, 0.12);
}

.sidebar__arrow div {
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-left: none;
  border-bottom: none;
  transform: rotate(-45deg);
  opacity: 0.6;
}

.sidebar__arrow div:nth-child(2) {
  opacity: 0.4;
}

.sidebar__arrow div:nth-child(3) {
  opacity: 0.2;
}

.sidebar__header b {
  margin-left: 5px;
}

.sidebar__body {
  display: none;
  padding: 10px 15px;
  background-color: #ffffff;
}

.sidebar__body--active {
  display: block;
}

.sidebar__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: -15px;
  margin-left: -15px;
  border-top: 1px solid #994cca;
}

.sidebar__reset {
  padding: 0;
  font-size: 14px;
  line-height: 35px;
  text-decoration-line: underline;
  color: #000000;
  border: none;
  background-color: unset;
  cursor: pointer;
}

.sidebar__submit {
  padding: 0 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 33px;
  color: #ffffff;
  background: #9c46d2;
  border-radius: 8px;
  border: 1px solid #9c46d2;
  cursor: pointer;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.15;
  color: #000000;
}

.sidebar-item__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sidebar-item a,
.sidebar-item a:hover,
.sidebar-item a:focus,
.sidebar-item a:active {
  color: #000000;
  text-decoration: none;
  flex-shrink: 0;
}
.sidebar-item__empty {
  opacity: 0.25;
  margin-left: auto;
}

.sidebar-item__target {
  display: flex;
  margin-top: 3px;
  margin-left: 3px;
}

.sidebar-item__active {
  padding: 0 15px;
  line-height: 23px;
  border: 1px solid #994cca;
  border-radius: 64px;
  position: relative;
  padding-right: 1px;
  display: flex;
  align-items: center;
}

.sidebar-item__reset {
  position: relative;
  width: 21px;
  height: 21px;
  padding: 0;
  margin-left: 5px;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
  background-color: unset;
  cursor: pointer;
}

.sidebar-item__reset::after,
.sidebar-item__reset::before {
  position: absolute;
  top: calc(50% - 0.5px);
  left: calc(50% - 5px);
  width: 10px;
  height: 1px;
  content: "";
  background-color: #c4c4c4;
  transform: rotate(45deg);
}

.sidebar-item__reset::before {
  transform: rotate(-45deg);
}

@media only screen and (min-width: 960px) {
  .present {
    margin-bottom: 190px;
  }

  .present__grid {
    padding-right: 30px;
  }

  .present__submit {
    max-width: 80%;
    margin-top: 70px;
    font-size: 24px;
    line-height: 66px;
  }

  .present-hero {
    height: 250px;
    padding: 70px;
    padding-top: 80px;
    margin-bottom: 40px;
  }

  .present-hero__title {
    font-size: 24px;
  }

  .present-hero__subtitle {
    font-size: 48px;
  }

  .present-block:not(:last-of-type) {
    margin-bottom: 90px;
  }

  .present-header {
    margin-bottom: 25px;
  }

  .present-header__title {
    font-size: 30px;
  }

  .present-header__next {
    font-size: 18px;
  }

  .present-tabs {
    margin-bottom: 20px;
  }

  .present-tabs__item {
    padding: 12px 28px;
    font-size: 18px;
  }

  .present-tabs__item:not(:last-of-type) {
    margin-right: 15px;
  }

  .present-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .present-content--price {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .present-content--price .present-item:not(:last-of-type) {
    margin-bottom: 0;
  }

  .present-item--horizontal {
    grid-column: unset;
    grid-row: unset;
  }

  .present-item--horizontal-xl {
    grid-row: unset;
    grid-column: span 2;
  }

  .present-item--vertical-xl {
    grid-row: span 2;
  }

  .present-item__sizer {
    padding-bottom: 79%;
  }

  .present-item--vertical-xl .present-item__sizer {
    padding-bottom: calc(200% - 90px);
  }

  .present-item--horizontal-xl .present-item__sizer {
    padding-bottom: 37.5%;
  }

  .present-item__control:checked + .present-item__content {
    box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 3px #994cca;
  }

  .present-item__content {
    padding: 22px 30px;
  }

  .present-content--price .present-item__content {
    padding: 28px 29px;
  }

  .present-item__close {
    top: -10px;
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 3px #ffffff;
  }

  .present-item__close::before,
  .present-item__close::after {
    left: calc(50% - 5px);
    width: 10px;
  }

  .present-item__title {
    font-size: 18px;
  }

  .present-content--price .present-item__title {
    font-size: 20px;
  }

  .present-item__icon {
    display: none;
  }

  .present-item__icon--xl {
    right: 0;
    display: block;
    width: 200px;
    height: 85px;
  }

  .present-desc {
    padding-bottom: 60px;
  }

  .present-age__image {
    height: 225px;
  }

  .range-slider {
    padding-top: 31px;
    padding-bottom: 0;
  }

  .range-slider__line {
    top: 35px;
    left: 0;
    height: 10px;
  }

  .range-slider__input::-webkit-slider-runnable-track {
    height: 10px;
  }

  .range-slider__input::-moz-range-track {
    height: 10px;
  }

  .range-slider__input::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -5px;
  }

  .range-slider__input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    margin-top: -5px;
  }

  .range-slider__label {
    top: 68px;
    padding: 11px 20px;
    font-size: 16px;
  }

  .range-slider__label::before {
    top: -6px;
    left: calc(50% - 6px);
    width: 12px;
    height: 12px;
  }

  .range-slider__values {
    padding-top: 12px;
  }

  .range-slider__value {
    font-size: 16px;
  }
}

[type="reset"],
[type="submit"],
button,
html [type="button"] {
  -webkit-appearance: none;
}

@media only screen and (min-width: 1200px) {
  .present__container {
    display: grid;
    grid-template-columns: 23.2% 76.8%;
    gap: 0 30px;
  }

  .sidebar__body {
    background: none;
  }

  .inverted-style .sidebar__reset {
    color: #fff;
  }

  .sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
  }
  /* //sticky class */
  .is-sticky-sidebar .stub-div {
    display: block;
  }

  .is-sticky-sidebar .sidebar {
    position: fixed;
    left: auto;
    right: auto;
    max-width: 267px;
    top: 65px;
    bottom: auto;
    width: -moz-available; /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
    width: fill-available;
  }

  .is-sticky-sidebar.is-sticky-bottom .sidebar {
    position: absolute;
    top: auto;
    bottom: 0;
    right: auto;
  }

  .sidebar__header {
    display: none;
  }

  .sidebar__body {
    display: block;
    padding: 0;
  }

  .sidebar__content {
    padding: 20px;
    border: 2px solid #3e3e3e;
    border-radius: 8px;
    background-color: #fff;
  }

  .sidebar__footer {
    flex-wrap: wrap;
    padding: 0;
    padding-top: 20px;
    margin: 0;
    border-top: unset;
  }

  .sidebar__submit {
    width: 100%;
    font-size: 20px;
    line-height: 53px;
    order: -1;
  }

  .sidebar__reset {
    width: 100%;
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
  }

  .sidebar-item {
    flex-flow: column;
    align-items: flex-start;
    margin-bottom: 0;
    font-size: 16px;
  }
  .sidebar-item__list {
    justify-content: flex-start;
    width: 100%;
  }
  .sidebar-item:not(:last-of-type) {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .sidebar-item__empty {
    font-size: 13px;
  }

  .sidebar-item__target {
    margin-top: 10px;
    margin-left: 0;
    margin-right: 5px;
  }

  .sidebar-item__active {
    font-size: 14px;
    line-height: 23px;
    padding-right: 15px;
  }

  .sidebar-item__reset {
    position: absolute;
    top: -5px;
    left: auto;
    right: -6px;
    width: 16px;
    height: 16px;
    margin-left: 0;
    background-color: #ffffff;
  }

  .present__submit {
    transition: background-color 0.2s cubic-bezier(0.47, 0, 0.745, 0.715),
      border-color 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
    max-width: 600px;
    /* border-radius: 30px; */
    line-height: 50px;
  }

  .present__submit:hover,
  .present__submit:focus,
  .present__submit:active {
    background-color: #8b21ce;
    border-color: #8b21ce;
  }

  .present-tabs__item:hover,
  .present-tabs__item:focus,
  .present-tabs__item:active {
    color: #994cca;
    box-shadow: 0 0 0 2px #994cca;
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}

@media (min-width: 1536px) {
  .is-sticky-sidebar .sidebar {
    max-width: 280px;
  }
}

.is-result-page-sidebar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 12;
}

.is-result-page-sidebar a.sidebar__submit {
  color: #fff;
  text-align: center;
  text-decoration: none;
  position: relative;
  z-index: 4;
}
.is-result-page-sidebar a.sidebar__submit:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

.is-result-page-sidebar .sidebar-item__active {
  padding: 0 15px;
}
@media (min-width: 992px) {
  .sidebar-item__list {
    width: 100%;
  }
  .is-result-page-sidebar .sidebar__header {
    display: none;
  }
  .is-result-page-sidebar {
    position: static;
    margin-bottom: 20px;
  }

  .is-sticky-sidebar .stub-div {
    display: block;
  }

  /* .is-sticky-sidebar .sidebar {
    position: fixed;
    left: auto;
    right: auto;
    max-width: 267px;
    top: 65px;
  } */
  .is-result-page-sidebar .sidebar__header {
    display: none;
  }

  .is-result-page-sidebar .sidebar__body {
    display: block;
    padding: 0;
    background: none;
  }

  .is-result-page-sidebar .sidebar__content {
    padding: 20px;
    border: 2px solid #3e3e3e;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    z-index: 4;
  }

  .is-result-page-sidebar .sidebar__footer {
    flex-wrap: wrap;
    padding: 0;
    padding-top: 20px;
    margin: 0;
    border-top: unset;
  }

  .is-result-page-sidebar .sidebar__submit {
    width: 100%;
    font-size: 20px;
    line-height: 53px;
    order: -1;
  }

  .is-result-page-sidebar .sidebar-item {
    flex-flow: column;
    align-items: flex-start;
    margin-bottom: 0;
    font-size: 16px;
  }
  .is-result-page-sidebar .sidebar-item__list {
    justify-content: flex-start;
  }

  .is-result-page-sidebar .sidebar-item:not(:last-of-type) {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .is-result-page-sidebar .sidebar-item__target {
    margin-top: 10px;
    margin-left: 0;
    margin-right: 5px;
  }

  .is-result-page-sidebar .sidebar-item__active {
    font-size: 14px;
    line-height: 23px;
    padding-right: 15px;
  }

  .is-result-page-sidebar .sidebar-item__reset {
    position: absolute;
    top: -5px;
    left: auto;
    right: -6px;
    width: 16px;
    height: 16px;
    margin-left: 0;
    background-color: #ffffff;
  }
  .is-sticky-sidebar.is-result-page-sidebar {
    position: fixed;
    left: auto;
    right: auto;
    max-width: 290px;
    top: 65px;
    bottom: auto;
  }
  .is-sticky-sidebar.is-sticky-bottom.is-result-page-sidebar {
    position: absolute;
    top: auto;
    bottom: 0;
    right: auto;
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .is-sticky-sidebar.is-result-page-sidebar {
    max-width: 263px;
  }
}

@media (min-width: 1536px) {
  .is-sticky-sidebar.is-result-page-sidebar {
    max-width: 278px;
  }
}
