/* ═══════════════════════════════════════════════
   MYFAVOURITES.CSS — Saved tours page
   Vietnam City Breaks
   ═════════════════════════════════════════════ */

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* ── Hero ── */
.fav-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2.25rem 0;
}
.fav-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1528127269322-539801943592?w=1920&q=85') center/cover no-repeat;
  animation: kenBurns 18s ease-in-out infinite alternate;
}
.fav-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,15,35,.86) 0%, rgba(10,60,60,.66) 100%);
}
.fav-hero-cnt {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 720px;
  padding: 0 1.25rem;
}
.fav-breadcrumb { margin-bottom: .8rem; }
.fav-breadcrumb ol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
}
.fav-breadcrumb ol li:not(:last-child)::after { content: '/'; margin: 0 .4rem; opacity: .5; }
.fav-breadcrumb ol a { color: rgba(255,255,255,.6); transition: color .2s; }
.fav-breadcrumb ol a:hover { color: #fff; }
.fav-breadcrumb ol li:last-child { color: rgba(255,255,255,.88); }

.fav-hero-cnt h1 {
  font-family: var(--fh);
  color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.fav-hero-cnt p {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.55;
}

/* ── Results ── */
.fav-section { padding: 2.25rem 0 4rem; }

.fav-count {
  font-size: .95rem;
  color: var(--text-m);
  margin-bottom: 1.25rem;
}
.fav-count strong { color: var(--text-h); }

.fav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* On the favourites page the heart removes — make hover signal that */
.fav-grid .wish-btn:hover { background: #fff; }
.fav-grid .wish-btn:hover svg { color: #EF4444; fill: #EF4444; }

/* ── Empty state ── */
.fav-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 540px;
  margin: 0 auto;
}
.fav-empty-ico {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fav-empty-ico svg { width: 34px; height: 34px; color: var(--primary); }
.fav-empty h2 {
  font-family: var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-h);
  margin-bottom: .6rem;
}
.fav-empty p { color: var(--text-m); margin-bottom: 1.5rem; line-height: 1.6; }
.fav-empty-links {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media(max-width:1024px) {
  .fav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:768px) {
  .fav-hero { min-height: 210px; padding: 1.75rem 0; }
}
@media(max-width:480px) {
  .fav-grid { grid-template-columns: 1fr; }
  .fav-empty-links .btn-primary,
  .fav-empty-links .btn-outline { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .fav-hero-bg { animation: none; }
}
