.wishlist-page {
  --wish-ink: #29334d;
  --wish-ink-deep: #20283c;
  --wish-coral: #c13f2a;
  --wish-coral-dark: #b94738;
  --wish-butter: #ffd276;
  --wish-powder: #eef2fb;
  --wish-lilac: #f2eff9;
  --wish-muted: #687086;
  --wish-line: rgba(41, 51, 77, .14);
  padding: 18px 0 72px;
  color: var(--wish-ink);
  background:
    radial-gradient(circle at 8% 20%, rgba(238, 242, 251, .9), transparent 27%),
    radial-gradient(circle at 92% 72%, rgba(242, 239, 249, .82), transparent 25%),
    #fbfbfd;
}

.wishlist-page .wishlist-shell {
  width: 92%;
  max-width: 1760px;
  margin: 0 auto;
}

.wishlist-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-bottom: 14px;
  color: var(--wish-muted);
  font-size: 13px;
}

.wishlist-breadcrumbs a { color: var(--wish-coral); font-weight: 700; text-decoration: none; }
.wishlist-breadcrumbs svg { color: #9aa0b0; }

.wishlist-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .78fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--wish-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(41, 51, 77, .09);
}

.wishlist-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 5px;
  background: linear-gradient(90deg, var(--wish-butter) 0 31%, var(--wish-coral) 31% 67%, var(--wish-ink) 67%);
  content: '';
}

.wishlist-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 5vw, 76px);
  background:
    radial-gradient(circle at 6% 12%, rgba(255, 210, 118, .28), transparent 22%),
    linear-gradient(135deg, #fff 0 58%, var(--wish-powder) 100%);
}

.wishlist-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--wish-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.wishlist-kicker::before { width: 34px; height: 3px; border-radius: 999px; background: var(--wish-butter); content: ''; }

.wishlist-title {
  max-width: 690px;
  margin: 0;
  color: var(--wish-ink);
  font-family: 'Barlow Condensed', Arial Narrow, sans-serif;
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .94;
}

#wishCounter {
  display: inline-flex;
  vertical-align: middle;
  margin: 0 0 .18em 12px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 95, 75, .28);
  border-radius: 999px;
  color: var(--wish-coral);
  background: #fff3f0;
  font: 800 11px/1 Inter, sans-serif;
  letter-spacing: .03em;
}

.wishlist-intro { max-width: 570px; margin: 22px 0 0; color: var(--wish-muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; }
.wishlist-empty { margin-top: 26px; }
.wishlist-empty__copy { max-width: 500px; margin: 0 0 18px; color: #4e5870; font-size: 15px; line-height: 1.55; }

.wishlist-primary,
.wishlist-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.wishlist-primary { border: 1px solid var(--wish-coral); color: #fff; background: var(--wish-coral); }
.wishlist-primary:hover { transform: translateY(-2px); background: var(--wish-coral-dark); }
.wishlist-primary svg { color: var(--wish-butter); }

.wishlist-hero__media { position: relative; min-width: 0; min-height: 430px; overflow: hidden; background: var(--wish-lilac); }
.wishlist-hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 80px;
  background: linear-gradient(90deg, rgba(255,255,255,.82), transparent);
  content: '';
  pointer-events: none;
}
.wishlist-hero__media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: center; }

.wishlist-save-mark {
  position: absolute;
  right: clamp(20px, 3vw, 42px);
  bottom: clamp(20px, 3vw, 38px);
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 9px solid var(--wish-butter);
  border-radius: 50%;
  color: #fff;
  background: var(--wish-coral);
  box-shadow: 0 12px 28px rgba(41, 51, 77, .22);
}

.wishlist-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.wishlist-hero__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font: 800 13px/1 Inter, sans-serif;
  cursor: pointer;
}

#wishAddAll { border: 1px solid var(--wish-coral); color: #fff; background: var(--wish-coral); }
#wishAddAll:hover { background: var(--wish-coral-dark); }
#wishClearAll { border: 1px solid var(--wish-line); color: var(--wish-muted); background: #fff; }
#wishClearAll:hover { border-color: var(--wish-coral); color: var(--wish-coral); }

.wishlist-content { padding-top: 46px; }
.wishlist-tools { display: none; align-items: center; gap: 8px; margin-bottom: 22px; overflow-x: auto; }
.wish-filter {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--wish-line);
  border-radius: 999px;
  color: var(--wish-muted);
  background: #fff;
  font: 700 13px/1 Inter, sans-serif;
  cursor: pointer;
}
.wish-filter.is-active { border-color: var(--wish-coral); color: #fff; background: var(--wish-coral); }
.wish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
.wish-grid .prod-card { position: relative; border: 1px solid var(--wish-line) !important; box-shadow: 0 9px 30px rgba(41, 51, 77, .055); }

.wish-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid var(--wish-line);
  border-radius: 8px;
  color: var(--wish-muted);
  background: #fff;
  font: 700 12px/1 Inter, sans-serif;
  cursor: pointer;
}
.wish-remove-btn:hover { border-color: rgba(216,95,75,.45); color: var(--wish-coral); background: #fff8f6; }
.wish-grid .prod-card.wish-removing { opacity: 0; transform: scale(.97) !important; transition: opacity .2s, transform .2s; }
.wish-grid .prod-card.wish-filter-hidden { display: none !important; }

.wishlist-routes { display: none; }
.wishlist-routes__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}
.wishlist-routes__head span { display: block; margin-bottom: 8px; color: var(--wish-coral); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.wishlist-routes__head h2 { margin: 0; color: var(--wish-ink); font: 800 clamp(34px, 3vw, 48px)/.98 'Barlow Condensed', Arial Narrow, sans-serif; letter-spacing: -.025em; }
.wishlist-routes__head p { max-width: 470px; margin: 0; color: var(--wish-muted); font-size: 14px; line-height: 1.5; }
.wishlist-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wishlist-route {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--wish-line);
  border-radius: 14px;
  color: #fff;
  background: var(--wish-ink);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(41,51,77,.09);
}
.wishlist-route img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.wishlist-route::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,51,77,.02) 22%, rgba(41,51,77,.9) 100%); content: ''; }
.wishlist-route__copy {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.wishlist-route__copy small { display: block; margin-bottom: 5px; color: var(--wish-butter); font-size: 10px; font-weight: 750; }
.wishlist-route__copy strong { font: 800 28px/1 'Barlow Condensed', Arial Narrow, sans-serif; }
.wishlist-route__copy b { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 18px; font-weight: 400; }
.wishlist-route:hover img { transform: scale(1.035); }

#wishUndo {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 10020;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 300px;
  max-width: calc(100vw - 32px);
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #fff;
  background: var(--wish-ink);
  box-shadow: 0 14px 40px rgba(41,51,77,.25);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .2s, transform .2s;
}
#wishUndo.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
#wishUndo button { margin-left: auto; padding: 4px; border: 0; color: var(--wish-butter); background: transparent; font: 800 13px/1 inherit; cursor: pointer; }

@media (max-width: 1024px) {
  .wishlist-hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); }
  .wish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 700px) {
  .wishlist-page { padding: 8px 0 48px; }
  .wishlist-page .wishlist-shell { width: 100%; padding-inline: 16px; }
  .wishlist-breadcrumbs { min-height: 36px; margin-bottom: 8px; }
  .wishlist-hero { display: flex; min-height: 0; flex-direction: column; border-radius: 14px; }
  .wishlist-hero__media { order: -1; min-height: 250px; }
  .wishlist-hero__media::before { inset: auto 0 0; width: auto; height: 52px; background: linear-gradient(0deg, #fff, transparent); }
  .wishlist-hero__media img { height: 250px; min-height: 250px; object-position: center 38%; }
  .wishlist-hero__content { min-height: 0; padding: 30px 22px 34px; background: #fff; }
  .wishlist-kicker { margin-bottom: 14px; }
  .wishlist-title { font-size: clamp(44px, 13vw, 58px); }
  #wishCounter { display: flex; width: max-content; margin: 13px 0 0; }
  .wishlist-intro { margin-top: 16px; font-size: 15px; }
  .wishlist-empty { margin-top: 20px; }
  .wishlist-empty__copy { max-width: 320px; margin-bottom: 16px; font-size: 14px; }
  .wishlist-primary { min-height: 46px; }
  .wishlist-save-mark { right: 16px; bottom: 16px; width: 54px; height: 54px; border-width: 7px; }
  .wishlist-content { padding-top: 36px; }
  .wishlist-routes__head { display: block; }
  .wishlist-routes__head p { margin-top: 12px; }
  .wishlist-route-grid { display: flex; gap: 12px; margin-right: -16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wishlist-route-grid::-webkit-scrollbar { display: none; }
  .wishlist-route { flex: 0 0 min(78vw, 300px); min-height: 210px; scroll-snap-align: start; }
  .wish-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .wish-grid .prod-card { display: grid !important; grid-template-columns: 112px minmax(0, 1fr); min-height: 170px; overflow: hidden; border-radius: 12px !important; }
  .wish-grid .prod-card > a { height: 100%; }
  .wish-grid .pcard-cover { height: 100%; min-height: 170px; aspect-ratio: auto !important; }
  .wish-grid .pcard-cover img { height: 100% !important; object-fit: cover !important; }
  .wish-grid .prod-card > .pcard-body { min-width: 0; padding: 38px 14px 12px !important; }
  .wish-grid .prod-card > .pcard-body > a { margin-bottom: 7px !important; font-size: 14px !important; -webkit-line-clamp: 2 !important; }
  .wish-grid .pcard-add-btn { padding: 9px 10px !important; }
  #wishUndo { bottom: 82px; width: calc(100vw - 32px); min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wishlist-route img,
  .wishlist-primary { transition: none; }
}

.wishlist-page a:focus-visible,
.wishlist-page button:focus-visible { outline: 3px solid var(--wish-butter); outline-offset: 3px; }
