.favorites-page { background: var(--paper); }

.favorites-hero {
  padding: 48px 0 55px;
  color: var(--white);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.favorites-hero::after {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  position: absolute;
  top: -315px;
  right: 4vw;
  content: "";
}

.favorites-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: end;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.favorites-breadcrumbs {
  margin: 0 0 28px;
  padding: 0;
  color: rgba(255, 255, 255, .45);
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 8px;
}

.favorites-breadcrumbs li + li::before { margin-right: 8px; content: "/"; }
.favorites-breadcrumbs a:hover { color: #fff; }
.favorites-eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 8px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.favorites-hero h1 { max-width: 100%; margin: 0; font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: clamp(38px, 5vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; overflow-wrap: anywhere; }
.favorites-hero__note { margin: 0; padding-left: 23px; border-left: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .6); font-size: 10px; line-height: 1.72; }

.favorites-content { min-height: 470px; padding: 30px 0 80px; }
.favorites-toolbar { min-height: 47px; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.favorites-toolbar p { margin: 0; color: var(--muted); font-size: 10px; }
.favorites-toolbar strong { color: var(--ink); font-size: 12px; }
.favorites-toolbar button { padding: 4px 0; border-bottom: 1px solid var(--teal); color: var(--teal); background: transparent; font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.favorites-toolbar button:hover { color: var(--ink); border-color: var(--ink); }

.favorites-loading,
.favorites-error,
.favorites-empty { min-height: 350px; border: 1px solid var(--line); background: var(--white); place-content: center; justify-items: center; text-align: center; }
.favorites-loading { display: grid; gap: 13px; color: var(--muted); font-size: 9px; }
.favorites-loading i { width: 34px; height: 34px; border: 2px solid rgba(36, 94, 103, .18); border-top-color: var(--teal); border-radius: 50%; animation: favorites-spin 720ms linear infinite; }
@keyframes favorites-spin { to { transform: rotate(360deg); } }
.favorites-empty { padding: 50px 24px; display: grid; }
.favorites-empty > span { color: var(--accent); font-family: Georgia, serif; font-size: 66px; line-height: 1; }
.favorites-empty h2,
.favorites-error h2 { max-width: 100%; margin: 8px 0 7px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; overflow-wrap: break-word; }
.favorites-empty p,
.favorites-error p { width: 100%; max-width: 470px; margin: 0 auto 22px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.favorites-empty a,
.favorites-error button { min-height: 42px; padding: 0 16px; color: var(--white); background: var(--navy); display: inline-flex; align-items: center; gap: 25px; font-size: 8px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.favorites-empty a:hover,
.favorites-error button:hover { background: var(--teal); }
.favorites-error { padding: 50px 24px; display: grid; }
.favorites-grid:empty { display: none; }
.favorites-grid .offer-card.is-removing { opacity: 0; transform: scale(.97); transition: 180ms ease; }
.favorites-grid .offer-badge { right: 52px; left: auto; }
.favorites-grid .offer-favorite { right: 9px; }

@media (max-width: 900px) {
  .favorites-hero { padding: 36px 0 43px; }
  .favorites-hero__inner { grid-template-columns: 1fr 300px; gap: 35px; }
}

@media (max-width: 650px) {
  .favorites-hero { padding: 27px 0 34px; }
  .favorites-hero__inner { display: block; }
  .favorites-breadcrumbs { margin-bottom: 20px; font-size: 7px; }
  .favorites-hero h1 { font-size: clamp(32px, 9.5vw, 37px); }
  .favorites-hero__note { margin-top: 21px; padding-left: 15px; font-size: 9px; }
  .favorites-content { padding: 18px 0 54px; }
  .favorites-toolbar { margin-bottom: 11px; }
  .favorites-loading,
  .favorites-error,
  .favorites-empty { min-height: 310px; }
  .favorites-empty,
  .favorites-error { min-width: 0; padding: 42px 16px; overflow: hidden; }
  .favorites-empty h2,
  .favorites-error h2 { font-size: 25px; line-height: 1.15; }
}
