@supports (backdrop-filter: blur(10px)) {
  .popup__registration, .popup__med, .popup__password, .popup__med_continue, .popup__med_pred, .popup__med_choose, .popup__search, .menu__blur, .popup__edit, .popup__photo, .popup__needlog {
    position: fixed;
    width: 100%;
    height: 100%;
    font-weight: 400;
    background-color: #1D1C1C5E;
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: all 0.8s ease 0s;
    z-index: 500; }
  .popup__footer {
    position: fixed;
    width: 100%;
    height: 100%;
    font-weight: 400;
    background-color: #1D1C1C5E;
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: all 0.8s ease 0s;
    cursor: pointer;
    z-index: 500; } }

@supports not (backdrop-filter: blur(10px)) {
  .popup__registration, .popup__med, .popup__password, .popup__med_continue, .popup__med_pred, .popup__med_choose, .popup__search, .menu__blur, .popup__edit, .popup__photo, .popup__needlog {
    position: fixed;
    width: 100%;
    height: 100%;
    font-weight: 400;
    background-color: #1D1C1C5E;
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: all 0.8s ease 0s;
    cursor: pointer; }
  .popup__footer {
    position: fixed;
    width: 100%;
    height: 100%;
    font-weight: 400;
    background-color: #1D1C1C5E;
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: all 0.8s ease 0s;
    cursor: pointer; }
  .popup__registration::before {
    background-color: rgba(74, 71, 71, 0.7);
    content: '';
    position: absolute;
    inset: 0%;
    z-index: -1;
    filter: blur(28px); } }

.popup__body, .popup__med-body, .popup__med-body_continue, .popup__med-body_pred, .popup__med-body_choose, .popup__search-body, .popup__photo-body, .popup__needlog-body {
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  position: relative;
  height: 0;
  padding: 0;
  display: flex;
  z-index: 2000;
  top: 532px;
  left: 0px; }

.popup__med_a {
  background-color: #ae040f;
  padding: 11.5px 0 !important;
  border-radius: 4px;
  border: none;
  color: #ffffff;
  font-size: 20px !important;
  font-weight: 400 !important;
  cursor: pointer;
  width: 250px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
  text-decoration: none !important; }

.popup__edit-body, .popup__footer-body, .popup__password-body {
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  position: relative;
  height: 0;
  padding: 0;
  display: flex;
  z-index: 2000;
  top: 50vh;
  left: 0px; }

.popup__content, .popup__med-content, .popup__med-content_continue, .popup__med-content_pred, .popup__search-content, .popup__needlog-content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px 100px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
  transform: translate(0px, -100%);
  border-radius: 20px;
  top: 200px;
  z-index: 100; }

.popup__edit-content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px 100px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
  transform: translate(0px, -100%);
  border-radius: 30px;
  top: 500px;
  z-index: 100;
  overflow-y: scroll; }
  .popup__edit-content .profile__form {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 0;
    width: 100%; }
    .popup__edit-content .profile__form div {
      display: flex;
      flex-direction: column;
      width: 100%; }
      .popup__edit-content .profile__form div input {
        box-sizing: border-box;
        width: 100%;
        height: 70px;
        margin: 0 0 16px;
        padding: 0 30px;
        border: none;
        border-radius: 30px;
        background: #efefef;
        color: #292929;
        font-size: 20px;
        text-align: left; }
      .popup__edit-content .profile__form div input::placeholder {
        color: #bebebe; }
      .popup__edit-content .profile__form .form__login {
        margin-top: 8px; }
      .popup__edit-content .profile__form .form__login button {
        box-sizing: border-box;
        width: 100%;
        height: 70px;
        margin: 0 0 20px;
        padding: 0;
        border: none;
        border-radius: 30px;
        background: #ae040f;
        color: #efefef;
        font-size: 24px;
        font-weight: 400;
        cursor: pointer; }

.popup__footer-content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px 100px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
  transform: translate(0px, -100%);
  border-radius: 20px;
  top: 0px;
  z-index: 100;
  overflow-y: scroll; }
  .popup__footer-content .profile__form {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column; }
    .popup__footer-content .profile__form div {
      display: flex; }
      .popup__footer-content .profile__form div input {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        padding: 5px;
        border-radius: 5px; }

.popup__password-content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px 100px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
  transform: translate(0px, -100%);
  border-radius: 30px;
  top: 0px;
  z-index: 100;
  overflow-y: scroll; }
  .popup__password-content .profile__form {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    width: 100%; }
    .popup__password-content .profile__form div {
      display: flex;
      flex-direction: column;
      width: 100%; }
      .popup__password-content .profile__form div input {
        box-sizing: border-box;
        width: 100%;
        height: 70px;
        margin: 0 0 16px;
        padding: 0 30px;
        border: none;
        border-radius: 30px;
        background: #efefef;
        color: #292929;
        font-size: 20px;
        text-align: left; }
      .popup__password-content .profile__form div input::placeholder {
        color: #bebebe; }
      .popup__password-content .profile__form .form__login button {
        box-sizing: border-box;
        width: 100%;
        height: 70px;
        margin: 0 0 20px;
        padding: 0;
        border: none;
        border-radius: 30px;
        background: #ae040f;
        color: #efefef;
        font-size: 24px;
        font-weight: 400;
        cursor: pointer; }

.auth__pass {
  position: absolute; }

.auth__eye {
  position: relative;
  right: 40px;
  top: 6px; }

@media (max-width: 600px) {
  .auth__pass {
    width: 260px; }
    .auth__pass input {
      width: 100%; }
  .auth__eye {
    right: -100px;
    top: -45px; } }

.popup__med_pred {
  top: 0; }

.popup__med-content_pred {
  top: 0; }

.popup__med-content_choose {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px 100px 57px 100px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
  transform: translate(0px, -100%);
  border-radius: 20px;
  top: 200px;
  width: 960px; }

.popup__med-content_pred ul {
  margin-top: 20px;
  margin-bottom: 20px; }
  .popup__med-content_pred ul li {
    font-size: 20px; }

.popup__med-content, .popup__med-content_continue, .popup__search-content, .popup__needlog-content {
  width: 960px;
  padding: 30px 80px; }

.popup__med-content_choose select {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #ae040f;
  border-radius: 14px;
  padding: 13px 0;
  background: transparent;
  background: url("/img/arrow_black.png");
  background-size: auto;
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; }

.popup__med-content_choose .form__login button {
  margin-top: 80px; }

.round-checkbox {
  /* Стили для чекбокса в состоянии checked */
  /* Создаем галочку с помощью псевдоэлемента */ }
  .round-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ae040f;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    top: 3px; }
  .round-checkbox input[type="checkbox"]:checked {
    background-color: #ffffff;
    border: 2px solid #ae040f; }
  .round-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #ae040f;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg); }

.popup__continue_p {
  text-align: center;
  font-size: 24px;
  font-weight: 300; }

.popup__needlog-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #ae040f;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.popup__needlog-close:hover {
  opacity: 0.75;
}

.popup__med-title, .popup__needlog-title {
  text-align: center;
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 42px; }

.popup__edit-title, .popup__photo-title {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 15px; }

.popup__title {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 7px; }

.form__login {
  display: flex;
  flex-direction: column;
  text-align: center; }
  .form__login input {
    text-align: center;
    margin-bottom: 17px;
    border: 1px solid #ae040f;
    border-radius: 11px;
    padding: 6px 111px; }
  .form__login input:nth-child(2) {
    margin-bottom: 12px; }
  .form__login a {
    font-size: 13px;
    text-decoration: underline;
    padding-bottom: 20px;
    font-weight: 300; }
  .form__login a:hover {
    text-decoration: none; }
  .form__login button {
    background-color: #ae040f;
    padding: 11.5px 0;
    border-radius: 4px;
    border: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    width: 250px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px; }
  .form__login .reg {
    background-color: #ae040f;
    padding: 11.5px 0;
    border-radius: 4px;
    border: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    width: 250px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
    text-decoration: none; }
  .form__login .reg:hover {
    text-decoration: none; }
  .form__login .error {
    margin: 0;
    font-size: 12px;
    color: red;
    padding-left: 20px;
    padding-right: 20px; }
  .form__login .popup__needlog_btn {
    font-size: 16px;
    padding: 14px 0; }

.popup__active {
  opacity: 1;
  visibility: visible; }

.popup__active_blur {
  opacity: 1;
  visibility: visible; }

@media (max-width: 600px) {
  .popup__content {
    width: 300px;
    padding: 20px; }
  .form__login input {
    padding: 6px 0; }
  .round-checkbox {
    margin: 10px; } }

/* Стили для попапа выхода */
.logout-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  /* Скрыт по умолчанию */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease; }

.logout-popup.active {
  display: flex;
  opacity: 1; }

.logout-popup-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
  width: 100%;
  top: 124px;
  right: 10%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: absolute;
  border: 1px solid; }

@media screen and (max-width: 1920px) {
  .logout-popup-content {
    right: 92px; } }

@media screen and (max-width: 500px) {
  .logout-popup-content {
    right: 20px; } }

@media screen and (max-width: 340px) {
  .logout-popup-content {
    width: 260px; } }

.logout-popup.active .logout-popup-content {
  transform: translateY(0); }

.logout-popup-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333; }

.logout-popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: center; }

.logout-popup-btn {
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.1s ease;
  border: none;
  min-width: 100px; }
  .logout-popup-btn:active {
    transform: scale(0.98); }

.logout-popup-btn.cancel {
  background: #ccc;
  color: #333; }
  .logout-popup-btn.cancel:hover {
    background: #b3b3b3; }

.logout-popup-btn.confirm {
  background: #ae040f;
  color: white; }
  .logout-popup-btn.confirm:hover {
    background: #8a030c; }

.popup__content--clip {
  overflow: hidden;
}

.popup__hint {
  font-size: 14px;
  margin-bottom: 15px;
}

.popup__message-text {
  font-size: 14px;
  margin: 15px 0;
}

.popup__message-view {
  text-align: center;
}

.popup__submit-row {
  margin-top: 20px;
}

/* Auth login popup: center in viewport (overrides legacy fixed top offsets) */
.popup__registration .popup__body {
  top: 0;
  left: 0;
  height: 100%;
  max-height: 100%;
  padding: 24px 15px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.popup__registration .popup__content {
  top: 0;
  transform: none;
  margin: 0 auto;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

/* Legacy popups: center in viewport (cabinet edit/password/photo, med, search, need-login) */
.popup__edit.popup__active,
.popup__password.popup__active,
.popup__photo.popup__active,
.popup__med.popup__active,
.popup__med_continue.popup__active,
.popup__med_pred.popup__active,
.popup__med_choose.popup__active,
.popup__search.popup__active,
.popup__needlog.popup__active,
.popup__footer.popup__active {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.popup__edit-body,
.popup__password-body,
.popup__photo-body,
.popup__footer-body,
.popup__body,
.popup__med-body,
.popup__med-body_continue,
.popup__med-body_pred,
.popup__med-body_choose,
.popup__search-body,
.popup__needlog-body {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 24px 15px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.popup__edit-content,
.popup__password-content,
.popup__photo-content,
.popup__footer-content,
.popup__content,
.popup__med-content,
.popup__med-content_continue,
.popup__med-content_pred,
.popup__med-content_choose,
.popup__search-content,
.popup__needlog-content {
  top: 0;
  margin: 0 auto;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  width: calc(100% - 30px);
}

.popup__edit-content.popup__active,
.popup__password-content.popup__active,
.popup__photo-content.popup__active,
.popup__footer-content.popup__active,
.popup__content.popup__active,
.popup__med-content.popup__active,
.popup__med-content_continue.popup__active,
.popup__med-content_pred.popup__active,
.popup__med-content_choose.popup__active,
.popup__search-content.popup__active,
.popup__needlog-content.popup__active {
  transform: none;
}

@media (max-width: 600px) {
  .popup__edit-content,
  .popup__password-content,
  .popup__med-content,
  .popup__med-content_continue,
  .popup__med-content_pred,
  .popup__med-content_choose,
  .popup__search-content,
  .popup__needlog-content {
    padding: 20px;
    width: calc(100% - 20px);
    max-width: 100%;
  }
}

/* Auth panel: resend verification / similar flows (Figma) */
.popup__registration .popup__content:has(.popup-auth-panel:not(.u-collapsed)),
.popup__registration .popup__content.popup__content--auth-panel {
  background-color: #efefef;
  border-radius: 30px;
  max-width: 1036px;
  width: calc(100% - 30px);
  padding: 40px 53px;
  box-sizing: border-box;
}

.popup-auth-panel {
  text-align: center;
}

.popup-auth-panel__title {
  margin: 0 0 10px;
  color: #ae040f;
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

#login-view > .popup-auth-panel__title,
#auth-login-form > .popup-auth-panel__title {
  margin-bottom: 40px;
}

#login-view .popup-auth-panel__form > .popup-auth-panel__input:first-of-type,
#auth-login-form > .popup-auth-panel__input:first-of-type {
  margin-bottom: 20px;
}

.popup-auth-panel__hint {
  margin: 0 0 40px;
  color: #292929;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.popup-auth-panel__form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-auth-panel__input {
  box-sizing: border-box;
  width: 100%;
  max-width: 930px;
  height: 70px;
  margin: 0 0 20px;
  padding: 0 30px;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: #292929;
  font-size: 20px;
  text-align: left;
}

.popup-auth-panel__input::placeholder {
  color: #bebebe;
}

.popup-auth-panel__submit {
  box-sizing: border-box;
  width: 100%;
  max-width: 930px;
  height: 70px;
  margin: 0 0 20px;
  padding: 0;
  border: none;
  border-radius: 30px;
  background: #ae040f;
  color: #efefef;
  font-size: 30px;
  font-weight: 400;
  cursor: pointer;
}

.popup-auth-panel__back {
  color: #292929;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  text-decoration: underline;
  text-underline-position: from-font;
}

.popup-auth-panel__back:hover {
  text-decoration: none;
}

.popup-auth-panel__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.popup-auth-panel__pass {
  position: relative;
  width: 100%;
  max-width: 930px;
  margin: 0 0 20px;
}

.popup-auth-panel__pass .popup-auth-panel__input {
  margin-bottom: 0;
  padding-right: 64px;
}

.popup-auth-panel__eye {
  position: absolute;
  top: 50%;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 12px;
  padding: 0;
  border: none;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.popup-auth-panel__eye-icon {
  display: block;
  width: 22px;
  height: 12px;
  object-fit: contain;
}

.popup-auth-panel__eye-icon.u-collapsed {
  display: none;
}

.popup-auth-panel__error,
.popup-auth-panel__errors {
  width: 100%;
  max-width: 930px;
  margin: 0 0 16px;
  padding: 0;
  color: #ae040f;
  font-size: 18px;
  list-style: none;
  text-align: center;
}

.popup-auth-panel--page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1036px;
  margin: 40px auto;
  padding: 40px 53px;
  border-radius: 30px;
  background: #efefef;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-auth-panel--with-hint > .popup-auth-panel__title,
#forgot-password-view > .popup-auth-panel__title,
#resend-verification-view > .popup-auth-panel__title {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .popup__registration .popup__content:has(.popup-auth-panel:not(.u-collapsed)),
  .popup__registration .popup__content.popup__content--auth-panel {
    padding: 28px 20px;
  }

  .popup-auth-panel__title {
    font-size: 22px;
  }

  .popup-auth-panel__hint {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .popup-auth-panel__input,
  .popup-auth-panel__submit {
    height: 54px;
    font-size: 16px;
  }

  .popup-auth-panel__submit {
    font-size: 20px;
  }

  .popup-auth-panel__back {
    font-size: 16px;
  }

  .popup-auth-panel__links {
    gap: 8px;
  }

  .popup-auth-panel__eye {
    right: 18px;
  }

  .popup-auth-panel--page {
    padding: 28px 20px;
  }

  #login-view > .popup-auth-panel__title,
  #auth-login-form > .popup-auth-panel__title {
    margin-bottom: 24px;
  }
}

/* Delete project confirm (Figma 915:1972 / 915:2010) */
.popup-confirm {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.popup-confirm[hidden] {
  display: none !important;
}

.popup-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 28, 28, 0.37);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.popup-confirm__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 330px;
  padding: 20px 15px;
  border-radius: 30px;
  background: #efefef;
}

.popup-confirm__title {
  margin: 0 0 20px;
  color: #ae040f;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.popup-confirm__title--wrap {
  min-height: 43px;
}

.popup-confirm__actions {
  display: flex;
  gap: 21px;
  justify-content: center;
}

.popup-confirm__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 30px;
  padding: 0 12px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.popup-confirm__btn--yes {
  border: none;
  background: #ae040f;
  color: #efefef;
}

.popup-confirm__btn--no {
  border: 1px solid #ae040f;
  background: transparent;
  color: #ae040f;
}

@media (min-width: 768px) {
  .popup-confirm__dialog {
    max-width: 480px;
    padding: 28px 30px;
  }

  .popup-confirm__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .popup-confirm__btn {
    height: 44px;
    font-size: 18px;
  }
}

/* Favorites added (Figma 985:1457) */
.popup-favorite.popup__med {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-favorite .popup-favorite__body {
  position: static !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  max-height: none !important;
  padding: 15px !important;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.popup-favorite .popup-favorite__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 330px;
  margin: 0;
  padding: 20px 15px;
  top: auto;
  transform: none;
  border-radius: 30px;
  background: #efefef;
  color: #ae040f;
}

.popup-favorite .popup-favorite__content.popup__active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.popup-favorite__title {
  margin: 0 0 20px;
  color: #ae040f;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.popup-favorite__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-favorite__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #efefef;
}

.popup-favorite__btn--continue {
  background: #ae040f;
  margin: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  font-size: 15px !important;
  border-radius: 30px !important;
}

.popup-favorite__btn--view {
  background: #292929;
}

.popup-favorite__btn--view:hover {
  text-decoration: none;
  color: #efefef;
}

@media (min-width: 768px) {
  .popup-favorite .popup-favorite__content {
    max-width: 480px;
    padding: 28px 30px;
  }

  .popup-favorite__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .popup-favorite__btn,
  .popup-favorite__btn--continue {
    height: 44px !important;
    font-size: 18px !important;
  }

  .popup-favorite__actions {
    gap: 12px;
  }
}
