.favorite-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 24px;
  touch-action: manipulation;
}
.favorite-toggle[aria-pressed=true] {
  color: #e33b50;
}
.favorite-toggle:focus-visible {
  outline: 3px solid #18559f;
  outline-offset: 3px;
}

#main-slider .hotel-favorite-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 16;
}

#main-slider .icon-fullscreen {
  right: 72px !important;
}

.favorites-page {
  padding: 20px 10px 28px;
  background: var(--white-color, #fff);
}
.favorites-page .favorites-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0 2px;
}
.favorites-page .favorites-heading h1 {
  margin: 0;
  font: 700 24px/1.3 var(--title-font, "Manrope", sans-serif);
  color: var(--black-color, #090c08);
}
.favorites-page .favorites-count {
  min-width: 28px;
  padding: 4px 8px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--light-gray-color, #ededed);
  color: var(--blue-color, #18559f);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.favorites-page [hidden] {
  display: none !important;
}

.favorites-page .favorite-card {
  margin: 0 0 10px;
}
.favorites-page .favorite-card .hotel-info-wrapper {
  min-width: 0;
}
.favorites-page .favorite-card .hotel-name {
  overflow-wrap: anywhere;
}
.favorites-page .favorite-card .hotel-adress {
  margin: 0;
}
.favorites-page .favorite-card .favorite-toggle {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 16;
}

body.favorites-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--white-color, #fff);
}
body.favorites-layout #page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
}
body.favorites-layout #page::before, body.favorites-layout #page::after {
  display: none;
}
body.favorites-layout #page > header, body.favorites-layout #page > footer {
  flex-shrink: 0;
}
body.favorites-layout #page > #content {
  flex: 1 0 auto;
}
body.favorites-layout #page > footer {
  margin-top: auto;
}

#favorites-refresh-error {
  color: var(--dark-gray-color, #6d696a);
  font-size: 12px;
  line-height: 1.5;
}

.favorites-page .favorite-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--main-color, #f5af41);
  color: var(--black-color, #090c08);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.favorites-page .favorite-details-link:hover {
  filter: brightness(0.96);
}
.favorites-page .favorite-details-link:focus-visible {
  outline: 3px solid var(--blue-color, #18559f);
  outline-offset: 3px;
}

.favorites-page .favorites-empty {
  margin: 0;
  padding: 32px 24px;
  background: var(--white-color, #fff);
  text-align: center;
}
.favorites-page .favorites-empty .favorites-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light-gray-color, #ededed);
  color: var(--main-color, #f5af41);
  font-size: 30px;
}
.favorites-page .favorites-empty p {
  margin: 16px auto 20px;
  max-width: 380px;
  color: var(--dark-gray-color, #6d696a);
  font-size: 14px;
  line-height: 1.6;
}

#favorites-status:not(:empty) {
  position: fixed;
  bottom: 90px;
  left: 16px;
  right: 16px;
  padding: 12px;
  background: #313131;
  color: white;
  border-radius: 8px;
  z-index: 10000;
}