/* A shared saved-list concept for the website and patient app. */
.favorites-review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 30px;
  background: #fcfafc;
}
.favorites-prototype-label {
  font-size: 12px;
  color: var(--purple);
  font-weight: 600;
}
.favorites-review-controls p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}
.favorites-surface-switch {
  display: flex;
  background: var(--soft);
  padding: 4px;
  border-radius: 24px;
  flex-shrink: 0;
}
.favorites-surface-switch button {
  background: transparent;
  color: var(--muted);
  border-radius: 22px;
  padding: 9px 16px;
  font-size: 13px;
  min-height: 40px;
}
.favorites-surface-switch button[aria-pressed="true"] {
  background: white;
  color: var(--purple);
  box-shadow: 0 2px 8px #44263d0d;
}
.favorites-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.favorites-heading h1 {
  font-size: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.favorites-heading h1 > span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--purple);
  font-size: 19px;
  letter-spacing: 0;
}
.favorites-heading p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 12px;
}
.favorites-heading-heart {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 50%;
  color: var(--purple);
}
.favorites-heading-heart svg {
  width: 30px;
  height: 30px;
}
.favorites-view-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  padding-bottom: 16px;
}
.favorites-view-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 26px;
  background: white;
  color: var(--muted);
}
.favorites-view-tabs button.active {
  background: var(--purple);
  color: white;
}
.favorites-view-tabs button > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff25;
  font-size: 12px;
}
.favorites-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.favorites-sidebar {
  position: sticky;
  top: 24px;
}
.favorites-categories {
  display: grid;
  gap: 7px;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: white;
}
.favorites-categories button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: white;
  color: var(--muted);
  border-radius: 16px;
  font-size: 14px;
  text-align: left;
  min-height: 48px;
}
.favorites-categories button.active {
  background: var(--soft);
  color: var(--purple);
  font-weight: 600;
}
.favorites-categories svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.favorites-categories small {
  margin-left: auto;
  font-size: 12px;
}
.favorites-storage {
  display: flex;
  gap: 10px;
  margin: 20px 10px;
}
.favorites-storage svg {
  color: var(--purple);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.favorites-storage p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.favorites-content {
  min-width: 0;
}
.favorites-list-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  min-height: 32px;
}
.favorites-list-toolbar > h2 {
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.025em;
}
.favorites-list-count {
  font-size: 12px;
  color: var(--muted);
}
.favorites-mobile-filter {
  display: none;
}
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.favorite-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  min-width: 0;
  background: white;
}
.favorite-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.favorite-kind {
  font-size: 11px;
  line-height: 1.4;
  color: var(--purple);
  background: var(--soft);
  padding: 6px 11px;
  border-radius: 18px;
}
.favorite-heart {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--purple);
  flex-shrink: 0;
  transition:
    background 0.15s,
    color 0.15s;
}
.favorite-heart svg {
  width: 21px;
  height: 21px;
}
.favorite-heart.is-saved {
  border-color: #e9d4e3;
  background: var(--soft);
}
.favorite-heart.is-saved svg {
  fill: var(--purple);
}
.favorite-heart:hover {
  background: #ead8e5;
}
.favorite-heart:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}
.favorite-card-main {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.favorite-picture {
  height: 103px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f3f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}
.favorite-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.favorite-picture > svg {
  width: 34px;
  height: 34px;
}
.favorite-doctor .favorite-picture {
  background: white;
}
.favorite-article .favorite-picture {
  height: 96px;
  background: white;
}
.favorite-checkup .favorite-picture {
  height: 70px;
  align-self: center;
  background: var(--soft);
}
.favorite-checkup .favorite-picture img {
  width: 160px;
  max-width: none;
  height: auto;
}
.favorite-card-copy {
  min-width: 0;
}
.favorite-card-copy > small {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.favorite-card h2 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.favorite-card h2 a:hover {
  color: var(--purple);
}
.favorite-card-copy p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 9px;
}
.favorite-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 17px;
  margin-top: auto;
}
.favorite-price > span {
  font-size: 11px;
  color: var(--muted);
}
.favorite-price strong {
  color: var(--purple);
  font-size: 18px;
  line-height: 1.4;
}
.favorite-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.favorite-card .btn {
  font-size: 13px;
  min-height: 44px;
  padding: 11px 17px;
  gap: 12px;
}
.favorite-detail {
  font-size: 12px;
  line-height: 1.6;
  color: var(--purple);
}
.favorite-detail span {
  margin-left: 5px;
}
.favorite-unavailable {
  background: #fbfafb;
}
.favorite-unavailable-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.favorites-empty {
  border: 1px dashed #d9c7d4;
  border-radius: 26px;
  text-align: center;
  padding: 50px 30px;
  background: #fcf9fb;
}
.favorites-empty > svg {
  width: 48px;
  height: 48px;
  color: var(--purple);
  margin: 0 auto 23px;
}
.favorites-empty h2 {
  font-size: 27px;
  margin: 0 auto 14px;
  max-width: 400px;
  line-height: 1.4;
}
.favorites-empty p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 26px;
}
.favorites-empty > .btn {
  font-size: 14px;
}
.favorites-empty-kinds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.favorites-empty-kinds button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--purple);
  background: white;
  border: 1px solid var(--line);
  padding: 12px 9px;
  border-radius: 15px;
  min-height: 44px;
}
.favorites-empty-kinds svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.favorites-demo-states {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.favorites-demo-states > span {
  margin-right: auto;
}
.favorites-demo-states button {
  padding: 9px 13px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 16px;
  min-height: 40px;
  font-size: 12px;
}
.favorites-demo-states button[aria-pressed="true"] {
  color: var(--purple);
  background: var(--soft);
}
.favorites-notice:not(:empty) {
  position: fixed;
  z-index: 50;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--purple);
  color: white;
  box-shadow: 0 8px 35px #36102e26;
  font-size: 14px;
}
.favorites-notice button {
  background: white;
  color: var(--purple);
  border-radius: 12px;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
}
.favorites-mobile-storage {
  display: none;
}
.favorites-concept {
  border: 1px solid var(--line);
  border-radius: 22px;
  margin: 32px 0 44px;
  background: #fcfafc;
}
.favorites-concept summary {
  padding: 21px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--purple);
  font-weight: 600;
}
.favorites-concept summary::-webkit-details-marker {
  display: none;
}
.favorites-concept summary > span {
  font-size: 23px;
  font-weight: 400;
}
.favorites-concept[open] summary > span {
  transform: rotate(45deg);
}
.favorites-concept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 6px 24px 24px;
}
.favorites-concept-grid article > span {
  font-size: 11px;
  color: var(--purple);
  display: block;
  margin-bottom: 12px;
}
.favorites-concept h2 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.favorites-concept p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.favorites-concept-limit {
  padding: 0 24px 24px;
}
.favorites-app-navigation {
  display: none;
}
.favorites-booking {
  width: min(520px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 36px;
  color: var(--ink);
  background: white;
}
.favorites-booking::backdrop {
  background: #27152055;
  backdrop-filter: blur(3px);
}
.favorites-booking h2 {
  font-size: 28px;
}
.favorites-booking > p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--muted);
}
.favorites-booking .favorite-booking-name {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
}
.favorites-booking .note {
  font-size: 12px;
  margin: 24px 0 0;
}
.favorites-booking .btn {
  font-size: 14px;
  white-space: normal;
}
.favorites-booking .dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: transparent;
  color: var(--purple);
  font-size: 28px;
  width: 44px;
  height: 44px;
}
.favorites-app {
  background: #f7f2f6;
}
.favorites-app #clinic-header,
.favorites-app #clinic-footer,
.favorites-app .crumb,
.favorites-app .prototype-sequence {
  display: none;
}
.favorites-app > main.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 30px 110px;
}
.favorites-app .favorites-layout {
  grid-template-columns: 1fr;
}
.favorites-app .favorites-sidebar {
  display: none;
}
.favorites-app .favorites-mobile-filter {
  display: block;
}
.favorites-app .favorites-grid {
  grid-template-columns: 1fr;
}
.favorites-app .favorites-app-navigation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 760px;
  background: #fffffffa;
  border-top: 1px solid var(--line);
  z-index: 20;
  padding: 10px 14px max(12px, env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
.favorites-app-navigation a,
.favorites-app-navigation button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  position: relative;
  font-size: 11px;
  background: transparent;
  min-height: 46px;
}
.favorites-app-navigation svg {
  width: 22px;
  height: 22px;
}
.favorites-app-navigation button {
  color: var(--purple);
  font-weight: 600;
}
.favorites-app-navigation button svg {
  fill: var(--purple);
}
.favorites-app-navigation small {
  position: absolute;
  top: -4px;
  left: calc(50% + 7px);
  background: var(--purple);
  border: 2px solid white;
  color: white;
  font-size: 9px;
  border-radius: 10px;
  min-width: 18px;
  padding: 1px 4px;
}
.favorites-app .favorites-notice:not(:empty) {
  bottom: 84px;
}
.favorites-app .favorites-heading h1 {
  font-size: 39px;
}
.favorites-app .favorites-heading-heart {
  display: none;
}
.favorites-app .favorites-mobile-storage {
  display: flex;
}
@media (max-width: 1050px) {
  .favorites-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 24px;
  }
  .favorites-grid {
    gap: 14px;
  }
  .favorite-card {
    padding: 18px;
  }
  .favorite-card-main {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }
  .favorite-card h2 {
    font-size: 17px;
  }
  .favorites-concept-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .favorites-review-controls {
    display: block;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 18px;
  }
  .favorites-surface-switch {
    width: max-content;
    margin-top: 12px;
  }
  .favorites-review-controls p {
    font-size: 12px;
  }
  .favorites-heading {
    margin-bottom: 23px;
    gap: 16px;
  }
  .favorites-heading h1 {
    font-size: 35px;
    gap: 12px;
  }
  .favorites-heading h1 > span {
    min-width: 31px;
    height: 31px;
    font-size: 15px;
  }
  .favorites-heading p {
    font-size: 15px;
    margin-top: 9px;
  }
  .favorites-heading-heart {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }
  .favorites-heading-heart svg {
    width: 24px;
    height: 24px;
  }
  .favorites-view-tabs {
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 14px;
  }
  .favorites-view-tabs button {
    font-size: 12px;
    padding: 10px 14px;
    gap: 7px;
    min-height: 44px;
  }
  .favorites-view-tabs button > span {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .favorites-layout {
    grid-template-columns: 1fr;
  }
  .favorites-sidebar {
    display: none;
  }
  .favorites-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .favorites-list-toolbar {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
  }
  .favorites-list-toolbar > h2 {
    font-size: 20px;
    margin-right: auto;
  }
  .favorites-list-count {
    display: none;
  }
  .favorites-mobile-filter {
    display: block;
  }
  .favorites-mobile-filter select {
    max-width: 130px;
    font: inherit;
    font-size: 13px;
    min-height: 44px;
    background: white;
    color: var(--purple);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 26px 10px 12px;
  }
  .favorite-card {
    padding: 18px;
    border-radius: 22px;
  }
  .favorite-card-top {
    margin-bottom: 8px;
  }
  .favorite-card-main {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 15px;
  }
  .favorite-card h2 {
    font-size: 18px;
  }
  .favorite-card-copy > small {
    font-size: 12px;
  }
  .favorite-card-copy p {
    font-size: 12px;
  }
  .favorite-picture {
    height: 99px;
  }
  .favorite-kind {
    font-size: 11px;
  }
  .favorite-price strong {
    font-size: 19px;
  }
  .favorite-price > span {
    font-size: 12px;
  }
  .favorite-card .btn {
    font-size: 13px;
    padding: 11px 17px;
    min-height: 44px;
  }
  .favorite-detail {
    font-size: 13px;
  }
  .favorites-mobile-storage {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    margin-top: 22px;
  }
  .favorites-mobile-storage svg {
    width: 16px;
    height: 16px;
    color: var(--purple);
    flex-shrink: 0;
  }
  .favorites-demo-states {
    gap: 8px;
    margin-top: 24px;
  }
  .favorites-demo-states > span {
    width: 100%;
  }
  .favorites-demo-states button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .favorites-concept summary {
    font-size: 14px;
    padding: 19px 18px;
  }
  .favorites-concept-grid {
    grid-template-columns: 1fr;
    padding: 0 18px 20px;
    gap: 24px;
  }
  .favorites-concept-limit {
    padding: 0 18px 20px;
  }
  .favorites-empty {
    padding: 32px 20px;
  }
  .favorites-empty h2 {
    font-size: 24px;
  }
  .favorites-empty p {
    font-size: 14px;
  }
  .favorites-empty > .btn {
    font-size: 13px;
    white-space: normal;
    padding: 12px 18px;
  }
  .favorites-empty-kinds {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }
  .favorites-notice:not(:empty) {
    bottom: 84px;
    font-size: 13px;
    padding: 12px 14px;
    gap: 14px;
  }
  .favorites-app > main.wrap {
    padding: 18px 20px 110px;
  }
  .favorites-app .favorites-heading h1 {
    font-size: 35px;
  }
  .favorites-booking {
    padding: 32px 24px;
  }
  .favorites-booking h2 {
    font-size: 26px;
  }
  .favorites-booking .dialog-actions {
    display: grid;
  }
  .favorites-booking .btn {
    width: 100%;
    justify-content: center;
  }
  .favorites-booking .favorite-booking-name {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .favorite-heart {
    transition: none;
  }
}
.favorite-checkup .favorite-picture img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.favorites-app .favorites-mobile-filter select {
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  background: white;
  color: var(--purple);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 26px 10px 12px;
}
.favorites-mobile-filter .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

/* Shared hearts on real directory, profile, service and programme pages. */
.favorite-heart {
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.favorite-heart svg {
  pointer-events: none;
}
.favorite-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.favorite-heading-row > :first-child {
  min-width: 0;
}
.favorite-heading-row > .favorite-heart {
  flex-shrink: 0;
}
.doctor-hero .favorite-heading-row {
  margin-bottom: 12px;
}
.doctor-hero .favorite-heading-row > .role {
  margin: 0;
}
.service-banner .favorite-heading-row {
  margin-bottom: 14px;
}
.service-banner .favorite-heading-row > .eyebrow {
  margin: 0;
}
.checkup-detail-intro .favorite-heading-row {
  margin-bottom: 12px;
}
.favorite-heading-row > h1,
.favorite-heading-row > h3 {
  flex: 1;
  margin-bottom: 0;
}
.price-result .favorite-heading-row {
  gap: 12px;
}
.price-result .favorite-heading-row > .favorite-heart {
  align-self: start;
}
.favorite-doctor-host,
.favorite-program-host {
  position: relative;
}
.favorite-corner {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}
.favorite-program-host > small {
  padding-right: 44px;
}
.related-doctors .favorite-corner {
  left: 12px;
  right: auto;
}
.favorite-tile {
  position: relative;
  min-width: 0;
}
.favorite-tile > .tile {
  height: 100%;
  padding-right: 76px;
}
.favorite-tile > .favorite-heart {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.favorite-tile .arrow {
  display: none;
}
.favorite-publication {
  position: relative;
  min-width: 0;
}
.favorite-publication > .publication-card,
.favorite-publication > .news-card {
  height: 100%;
}
.favorite-publication > .favorite-heart {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  background: #fff;
}
.favorite-service-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.favorite-service-row > .link-row {
  flex: 1;
  min-width: 0;
  border-bottom: 0;
}
.favorite-service-row > .favorite-heart {
  margin-right: 2px;
}
.favorites-nav {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  color: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
}
.favorites-nav > svg {
  width: 23px;
  height: 23px;
}
.favorites-nav:hover {
  background: var(--soft);
  text-decoration: none !important;
}
.favorites-nav > [data-favorites-count] {
  position: absolute;
  right: -4px;
  top: -2px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 12px;
  background: #60154d;
  color: white;
  border: 2px solid white;
  font-size: 9px;
  line-height: 1;
}
.favorites-nav > [hidden] {
  display: none;
}
.header .favorites-nav {
  margin-left: 0;
}
.header:has(.favorites-nav) {
  gap: 14px;
}
.header:has(.favorites-nav) .nav {
  gap: 14px;
}
.favorite-doctor-prices {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.favorite-doctor-prices > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.favorite-doctor-prices dt {
  font-size: 12px;
  color: var(--muted);
}
.favorite-doctor-prices dd {
  margin: 0;
  font-size: 17px;
  color: var(--purple);
  font-weight: 600;
}
.favorite-checkup .favorite-card-main {
  display: flex;
  flex-direction: column-reverse;
}
.favorite-checkup .favorite-picture {
  width: 100%;
  height: auto;
  margin-top: 14px;
  border-radius: 14px;
}
.favorite-checkup .favorite-picture img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.favorites-empty-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.favorites-search {
  height: 48px;
  margin: 0 0 20px;
}
.favorites-search input {
  font-size: 14px;
  min-width: 0;
  width: 100%;
}
.favorites-page .favorites-mobile-storage {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}
.favorites-categories button {
  cursor: pointer;
}
.favorites-booking .dialog-close {
  cursor: pointer;
}
.favorites-notice button {
  cursor: pointer;
}
.favorites-heading h1 > span {
  border-radius: 24px;
  min-width: 40px;
}
.schedule-row .favorite-heading-row {
  gap: 12px;
}
.schedule-row .favorite-heading-row h3 {
  font-size: 18px;
}
.favorites-storage p {
  margin: 0;
}
.favorites-notice:empty {
  display: none;
}
@media (min-width: 1001px) and (max-width: 1240px) {
  .header:has(.favorites-nav) .city {
    display: none;
  }
  .header:has(.favorites-nav) {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .header:has(.favorites-nav) .nav {
    gap: 12px;
  }
  .header:has(.favorites-nav) > .btn {
    padding: 10px 16px;
  }
}
@media (max-width: 720px) {
  .header:has(.favorites-nav) {
    gap: 8px;
  }
  .header .favorites-nav {
    width: 40px;
    min-width: 40px;
    height: 44px;
  }
  .favorite-heading-row {
    gap: 12px;
  }
  .doctor-hero .favorite-heading-row {
    margin-bottom: 10px;
  }
  .favorite-service-row {
    gap: 10px;
  }
  .favorite-service-row > .link-row {
    padding: 16px 0;
  }
  .favorite-service-row .certificate-visual {
    width: 68px;
    height: 68px;
    padding: 0;
  }
  .favorite-service-row .certificate-row {
    gap: 10px;
  }
  .favorite-service-row .certificate-row > b {
    display: none;
  }
  .favorite-service-row > .favorite-heart {
    margin-right: 0;
  }
  .favorite-tile > .tile {
    padding-right: 70px;
  }
  .favorite-tile > .favorite-heart {
    right: 12px;
  }
  .favorite-doctor-prices dd {
    font-size: 16px;
  }
  .favorites-empty-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .favorites-empty-links .btn {
    width: 100%;
    white-space: normal;
  }
  .favorites-search {
    padding: 0 14px;
    gap: 10px;
  }
  .favorites-mobile-filter select {
    max-width: 160px;
  }
  .favorites-heading h1 {
    font-size: 32px;
  }
  .favorites-list-toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .favorite-publication > .favorite-heart {
    left: 7px;
    top: 7px;
  }
  .price-result .favorite-heading-row > h3 {
    font-size: 16px;
  }
  .schedule-row .favorite-heading-row h3 {
    font-size: 17px;
  }
  .favorite-corner {
    right: 10px;
    top: 10px;
  }
  .favorites-notice:not(:empty) {
    bottom: 88px;
  }
}
@media (max-width: 1000px) {
  .header:has(.favorites-nav) .favorites-nav {
    margin-left: auto;
  }
  .header:has(.favorites-nav) .search-icon {
    margin-left: 0;
  }
}
