/* ==========================================================================
   TRIVOY WISHLIST — Luxury Travel Wishlist Module Stylesheet
   Inherits Trivoy global design tokens, header, sidebar & footer from style.css
   ========================================================================== */

/* ---------- WISHLIST TOKENS ---------- */
:root {
  /* Brand Accents */
  --brand-emerald-dark: #071a12;
  --brand-emerald: #0d2c1e;
  --brand-emerald-light: #164e33;
  --brand-emerald-soft: #206d48;
  --brand-sage: #34d399;
  --brand-sage-light: #e6f3ec;
  --brand-sage-tint: #f0f7f3;

  /* Accent Colors */
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;
  --accent-rose: #e11d48;
  --accent-rose-light: #ffe4e6;
  --accent-blue: #2563eb;
  --accent-blue-light: #eff6ff;

  /* Neutrals & Surfaces */
  --wl-bg-main: #f8faf9;
  --wl-bg-surface: #ffffff;
  --wl-bg-subtle: #f1f5f3;
  --wl-border-light: #e2ebe6;
  --wl-border-hover: #c4d7cd;

  /* Radius & Shadows */
  --wl-radius-xs: 6px;
  --wl-radius-sm: 10px;
  --wl-radius-md: 16px;
  --wl-radius-lg: 24px;
  --wl-radius-xl: 32px;
  --wl-radius-full: 9999px;

  --wl-shadow-card: 0 4px 20px rgba(7, 26, 18, 0.06);
  --wl-shadow-hover: 0 16px 36px rgba(7, 26, 18, 0.12);
  --wl-shadow-drawer: -8px 0 32px rgba(7, 26, 18, 0.16);
  --wl-shadow-modal: 0 24px 60px rgba(7, 26, 18, 0.22);
}

/* Wishlist Container */
.wishlist-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1440px) {
  .wishlist-container {
    max-width: 1420px;
    padding: 0 32px;
  }
}

/* ==========================================================================
   WISHLIST HERO SECTION
   ========================================================================== */
.wishlist-hero {
  padding: 40px 0 28px;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--wl-border-light);
}

.hero-title-group {
  max-width: 680px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-sage-light);
  color: var(--brand-emerald-light);
  border-radius: var(--wl-radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.hero-badge-pill i {
  color: var(--accent-rose);
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-emerald-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 16px;
  color: #5c6e64;
  font-weight: 400;
  line-height: 1.5;
}

/* Hero Metrics & Actions */
.hero-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-md);
  box-shadow: 0 2px 8px rgba(7, 26, 18, 0.04);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-emerald-dark);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: #5c6e64;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Primary Button */
.btn-primary-wl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--brand-emerald) 0%, var(--brand-emerald-light) 100%);
  color: #fff !important;
  border-radius: var(--wl-radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(13, 44, 30, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary-wl:hover {
  background: linear-gradient(135deg, var(--brand-emerald-light) 0%, var(--brand-emerald-soft) 100%);
  box-shadow: 0 6px 20px rgba(13, 44, 30, 0.35);
  transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary-wl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--brand-emerald-dark) !important;
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-secondary-wl:hover {
  background: var(--wl-bg-subtle);
  border-color: var(--wl-border-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   COLLECTIONS HORIZONTAL BAR / CARDS
   ========================================================================== */
.collections-section {
  padding: 24px 0 16px;
}

.collections-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #819b8e;
}

.collections-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--wl-border-hover) transparent;
  -webkit-overflow-scrolling: touch;
}

.collections-scroll-container::-webkit-scrollbar {
  height: 6px;
}
.collections-scroll-container::-webkit-scrollbar-thumb {
  background: var(--wl-border-hover);
  border-radius: 10px;
}

/* Collection Card */
.collection-card {
  flex: 0 0 240px;
  background: #ffffff;
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(7, 26, 18, 0.04);
  user-select: none;
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-sage);
  box-shadow: var(--wl-shadow-card);
}

.collection-card.active {
  border-color: var(--brand-emerald-light);
  background: var(--brand-sage-tint);
  box-shadow: 0 0 0 2px var(--brand-emerald-light), var(--wl-shadow-card);
}

.collection-card-cover {
  width: 100%;
  height: 120px;
  border-radius: var(--wl-radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--wl-bg-subtle);
}

.collection-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover .collection-cover-img {
  transform: scale(1.06);
}

.collection-badge-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  background: rgba(7, 26, 18, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--wl-radius-full);
}

.collection-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collection-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.collection-emoji {
  font-size: 16px;
  flex-shrink: 0;
}

.collection-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-emerald-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-privacy-tag {
  font-size: 12px;
  color: #819b8e;
}

.collection-menu-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--wl-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c6e64;
  opacity: 0.7;
  transition: all 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.collection-card:hover .collection-menu-btn {
  opacity: 1;
}

.collection-menu-btn:hover {
  background: var(--wl-bg-subtle);
  color: var(--brand-emerald-dark);
}

/* + Create Collection Card */
.collection-create-card {
  flex: 0 0 190px;
  min-height: 170px;
  border: 2px dashed var(--wl-border-hover);
  border-radius: var(--wl-radius-md);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand-emerald-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.collection-create-card:hover {
  border-color: var(--brand-emerald-light);
  background: var(--brand-sage-tint);
  transform: translateY(-2px);
}

.create-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--wl-radius-full);
  background: var(--brand-sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--brand-emerald);
}

.create-card-text {
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================================
   TOOLBAR: SEARCH, FILTER, SORT & VIEW TOGGLES
   ========================================================================== */
.wishlist-toolbar {
  padding: 16px 0;
  position: relative;
  background: #ffffff;
  border-top: 1px solid var(--wl-border-light);
  border-bottom: 1px solid var(--wl-border-light);
  margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(7, 26, 18, 0.02);
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Live Search Input */
.search-input-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 360px;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #819b8e;
  font-size: 16px;
  pointer-events: none;
}

.search-input-wl {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 40px;
  border-radius: var(--wl-radius-full);
  border: 1px solid var(--wl-border-light);
  background: #ffffff;
  font-size: 14px;
  color: var(--brand-emerald-dark);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.search-input-wl:focus {
  border-color: var(--brand-emerald-light);
  box-shadow: 0 0 0 3px rgba(22, 78, 51, 0.12);
  outline: none;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: var(--wl-radius-full);
  background: var(--wl-bg-subtle);
  color: #5c6e64;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: none;
  cursor: pointer;
}
.search-clear-btn.visible {
  display: flex;
}

/* Category Filter Chips */
.filter-chips-group {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--wl-radius-full);
  border: 1px solid var(--wl-border-light);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #5c6e64;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.chip-btn:hover {
  border-color: var(--wl-border-hover);
  color: var(--brand-emerald-dark);
  background: var(--wl-bg-subtle);
}

.chip-btn.active {
  background: var(--brand-emerald-dark);
  color: #fff;
  border-color: var(--brand-emerald-dark);
  box-shadow: 0 2px 6px rgba(7, 26, 18, 0.1);
}

/* Secondary Filters & Sort Controls */
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.toolbar-select-wl {
  appearance: none;
  -webkit-appearance: none;
  height: 38px;
  padding: 0 30px 0 12px;
  border-radius: var(--wl-radius-full);
  border: 1px solid var(--wl-border-light);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-emerald-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.toolbar-select-wl:hover {
  border-color: var(--wl-border-hover);
  background: var(--wl-bg-subtle);
}

.toolbar-select-wl:focus {
  border-color: var(--brand-emerald-light);
  outline: none;
}

.select-arrow {
  position: absolute;
  right: 10px;
  pointer-events: none;
  font-size: 11px;
  color: #5c6e64;
}

/* Mobile Filter Trigger Button */
.btn-mobile-filters {
  display: none;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--wl-radius-full);
  border: 1px solid var(--wl-border-light);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* View Toggle (Grid / List) */
.view-toggle-group {
  display: flex;
  align-items: center;
  background: var(--wl-bg-subtle);
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-full);
  padding: 2px;
}

.view-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--wl-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c6e64;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.view-toggle-btn.active {
  background: #fff;
  color: var(--brand-emerald);
  box-shadow: 0 2px 6px rgba(7, 26, 18, 0.08);
}

/* ==========================================================================
   SAVED ITEMS GRID & LUXURY CARDS
   ========================================================================== */
.wishlist-results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.results-count-text {
  font-size: 15px;
  font-weight: 600;
  color: #5c6e64;
}

.results-count-number {
  color: var(--brand-emerald-dark);
  font-weight: 700;
}

.active-collection-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-emerald);
  background: var(--brand-sage-light);
  padding: 4px 14px;
  border-radius: var(--wl-radius-full);
}

/* Grid Layout */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

@media (min-width: 1200px) {
  .wishlist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1440px) {
  .wishlist-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   LIST VIEW STYLES
   ========================================================================== */
.wishlist-grid.list-view {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.wishlist-grid.list-view .wishlist-card {
  display: flex !important;
  flex-direction: row !important;
  min-height: 240px;
  align-items: stretch;
  border-radius: var(--wl-radius-lg);
}

.wishlist-grid.list-view .card-media {
  flex: 0 0 340px;
  width: 340px;
  height: auto;
  min-height: 240px;
}

.wishlist-grid.list-view .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 28px;
}

.wishlist-grid.list-view .card-title {
  font-size: 20px;
  margin: 4px 0 8px;
}

.wishlist-grid.list-view .card-features-list {
  margin: 10px 0 12px;
}

.wishlist-grid.list-view .card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--wl-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 820px) {
  .wishlist-grid.list-view .wishlist-card {
    flex-direction: column !important;
  }
  .wishlist-grid.list-view .card-media {
    flex: none;
    width: 100%;
    height: 220px;
    min-height: 220px;
  }
  .wishlist-grid.list-view .card-content {
    padding: 16px;
  }
}

/* Luxury Wishlist Card */
.wishlist-card {
  background: #ffffff;
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--wl-shadow-card);
}

.wishlist-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--wl-shadow-hover);
  border-color: var(--wl-border-hover);
}

/* Card Image Gallery Carousel Container */
.card-media {
  position: relative;
  width: 100%;
  height: 250px;
  background: var(--wl-bg-subtle);
  overflow: hidden;
}

.card-img-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-img-slide {
  flex: 0 0 100%;
  height: 100%;
}

.card-img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wishlist-card:hover .card-img-slide img {
  transform: scale(1.05);
}

/* Carousel Navigation Arrows */
.card-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: var(--wl-radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--brand-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 5;
  border: none;
  cursor: pointer;
}

.card-slider-arrow.prev { left: 10px; }
.card-slider-arrow.next { right: 10px; }

.wishlist-card:hover .card-slider-arrow {
  opacity: 0.9;
}

.card-slider-arrow:hover {
  opacity: 1 !important;
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

/* Carousel Dots */
.card-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border-radius: var(--wl-radius-full);
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--wl-radius-full);
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
  cursor: pointer;
}

.slider-dot.active {
  width: 16px;
  background: #fff;
}

/* Card Floating Badges */
.card-badge-top-left {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 6;
}

.card-pill-tag {
  padding: 4px 10px;
  border-radius: var(--wl-radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(7, 26, 18, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-pill-tag.deal {
  background: var(--accent-rose);
}

.card-pill-tag.availability {
  background: var(--brand-emerald-light);
}

/* Heart Save/Remove Button */
.btn-card-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: var(--wl-radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 6;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-card-heart:hover {
  transform: scale(1.15);
  background: #fff;
}

.btn-card-heart:active {
  transform: scale(0.9);
}

/* Heart Pop Keyframe Animation */
@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.btn-card-heart.pop i {
  animation: heartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Card Content Body */
.card-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #5c6e64;
}

.card-location i {
  color: var(--brand-emerald-light);
}

.card-category-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-emerald-light);
  background: var(--brand-sage-light);
  padding: 2px 8px;
  border-radius: var(--wl-radius-full);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-emerald-dark);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating Pill */
.card-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand-emerald);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--wl-radius-xs);
}

.rating-score-badge i {
  color: var(--accent-gold);
  font-size: 11px;
}

.rating-label-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-emerald-dark);
}

.rating-count-text {
  font-size: 13px;
  color: #819b8e;
}

/* Key Features & Amenities Chips */
.card-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #5c6e64;
  background: var(--wl-bg-subtle);
  padding: 3px 8px;
  border-radius: var(--wl-radius-xs);
  font-weight: 500;
}

/* Collection & Notes Tag */
.card-collection-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-emerald-light);
  margin-bottom: 14px;
  background: var(--brand-sage-tint);
  border: 1px solid var(--brand-sage-light);
  padding: 3px 10px;
  border-radius: var(--wl-radius-full);
  align-self: flex-start;
}

/* Card Price & Action Footer */
.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--wl-border-light);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.card-price-group {
  display: flex;
  flex-direction: column;
}

.price-original {
  font-size: 12px;
  color: #819b8e;
  text-decoration: line-through;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-emerald-dark);
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 13px;
  color: #5c6e64;
  font-weight: 500;
}

.price-sub {
  font-size: 11px;
  color: #819b8e;
}

.btn-card-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--brand-emerald);
  color: #fff;
  border-radius: var(--wl-radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-card-view:hover {
  background: var(--brand-emerald-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   EMPTY WISHLIST STATE
   ========================================================================== */
.empty-wishlist-container {
  display: none;
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 600px;
  margin: 0 auto;
}

.empty-wishlist-container.visible {
  display: block;
}

.empty-illustration-wrap {
  width: 140px;
  height: 140px;
  border-radius: var(--wl-radius-full);
  background: radial-gradient(circle, var(--brand-sage-light) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.empty-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: var(--wl-radius-full);
  background: #ffffff;
  border: 1px solid var(--wl-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--brand-emerald);
  box-shadow: var(--wl-shadow-card);
}

.empty-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-emerald-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.empty-subtitle {
  font-size: 16px;
  color: #5c6e64;
  line-height: 1.6;
  margin-bottom: 28px;
}

.empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Suggested Destinations in Empty State */
.empty-suggestions {
  margin-top: 50px;
  text-align: left;
  border-top: 1px solid var(--wl-border-light);
  padding-top: 32px;
}

.empty-suggestions-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-emerald-dark);
  margin-bottom: 16px;
  text-align: center;
}

.empty-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.sugg-chip {
  padding: 8px 16px;
  border-radius: var(--wl-radius-full);
  background: #ffffff;
  border: 1px solid var(--wl-border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-emerald-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sugg-chip:hover {
  background: var(--brand-sage-light);
  border-color: var(--brand-sage);
  color: var(--brand-emerald);
  transform: translateY(-1px);
}

/* ==========================================================================
   ITEM DETAIL MODAL / SLIDE-OVER DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 18, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  z-index: 1001;
  box-shadow: var(--wl-shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.detail-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--wl-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--wl-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c6e64;
  background: var(--wl-bg-subtle);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-drawer-close:hover {
  background: var(--wl-border-light);
  color: var(--brand-emerald-dark);
}

.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-gallery-main {
  width: 100%;
  height: 320px;
  border-radius: var(--wl-radius-md);
  overflow: hidden;
  position: relative;
  background: var(--wl-bg-subtle);
}

.drawer-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb-btn {
  flex: 0 0 80px;
  height: 60px;
  border-radius: var(--wl-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: none;
  padding: 0;
  cursor: pointer;
}

.gallery-thumb-btn.active {
  border-color: var(--brand-emerald-light);
  opacity: 1;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-emerald-dark);
  line-height: 1.2;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #5c6e64;
}

.detail-desc {
  font-size: 15px;
  color: #5c6e64;
  line-height: 1.6;
}

.detail-collection-control {
  background: var(--wl-bg-subtle);
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-emerald-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.collection-select-custom {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--wl-radius-sm);
  border: 1px solid var(--wl-border-light);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-emerald-dark);
}

.detail-notes-box {
  background: var(--brand-sage-tint);
  border: 1px solid var(--brand-sage-light);
  border-radius: var(--wl-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notes-textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 14px;
  border-radius: var(--wl-radius-sm);
  border: 1px solid var(--wl-border-light);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-emerald-dark);
  resize: vertical;
  box-sizing: border-box;
}

.notes-textarea:focus {
  border-color: var(--brand-emerald-light);
  outline: none;
}

.btn-save-note {
  align-self: flex-end;
  padding: 6px 14px;
  background: var(--brand-emerald);
  color: #fff;
  border-radius: var(--wl-radius-full);
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.drawer-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--wl-border-light);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   CREATE / EDIT COLLECTION MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--wl-radius-xl);
  box-shadow: var(--wl-shadow-modal);
  border: 1px solid var(--wl-border-light);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--wl-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-emerald-dark);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-emerald-dark);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--wl-radius-sm);
  border: 1px solid var(--wl-border-light);
  background: #ffffff;
  font-size: 14px;
  color: var(--brand-emerald-dark);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-emerald-light);
  box-shadow: 0 0 0 3px rgba(22, 78, 51, 0.1);
  outline: none;
}

.cover-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.cover-preset-option {
  height: 64px;
  border-radius: var(--wl-radius-xs);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  transition: all 0.2s ease;
}

.cover-preset-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-preset-option.selected {
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 2px var(--brand-sage);
}

.privacy-pills-row {
  display: flex;
  gap: 10px;
}

.privacy-pill {
  flex: 1;
  padding: 10px;
  border-radius: var(--wl-radius-sm);
  border: 1px solid var(--wl-border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.privacy-pill.active {
  border-color: var(--brand-emerald);
  background: var(--brand-sage-tint);
}

.privacy-pill-text {
  display: flex;
  flex-direction: column;
}

.privacy-pill-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-emerald-dark);
}

.privacy-pill-desc {
  font-size: 11px;
  color: #5c6e64;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--wl-border-light);
  background: var(--wl-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   SHARE COLLECTION MODAL
   ========================================================================== */
.share-link-box {
  display: flex;
  align-items: center;
  background: var(--wl-bg-subtle);
  border: 1px solid var(--wl-border-light);
  border-radius: var(--wl-radius-sm);
  padding: 4px 6px 4px 14px;
}

.share-link-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #5c6e64;
  outline: none;
}

.btn-copy-link {
  padding: 8px 16px;
  border-radius: var(--wl-radius-xs);
  background: var(--brand-emerald);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   MOBILE BOTTOM SHEET FILTER DRAWER
   ========================================================================== */
.mobile-filter-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: var(--wl-radius-xl) var(--wl-radius-xl) 0 0;
  z-index: 1050;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.mobile-filter-sheet.open {
  transform: translateY(0);
}

.sheet-handle-bar {
  width: 40px;
  height: 5px;
  background: var(--wl-border-hover);
  border-radius: var(--wl-radius-full);
  margin: 12px auto 6px;
}

.sheet-header {
  padding: 12px 20px;
  border-bottom: 1px solid var(--wl-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sheet-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--wl-border-light);
  background: #ffffff;
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 440px;
  background: rgba(10, 32, 22, 0.82);
  color: #fff;
  border-radius: 16px;
  padding: 13px 20px;
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 20px rgba(16, 185, 129, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: toastSlideInTopRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.toast-icon {
  font-size: 18px;
  color: #34d399;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
}

.btn-toast-undo {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--wl-radius-full);
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toast-undo:hover {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes toastSlideInTopRight {
  from {
    opacity: 0;
    transform: translateX(45px) translateY(-10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@media (max-width: 576px) {
  .toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    align-items: stretch;
    max-width: 100%;
  }
  .toast {
    min-width: 0;
    max-width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-right {
    width: 100%;
    justify-content: space-between;
  }
  .toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input-wrap {
    max-width: 100%;
  }
  .filter-chips-group {
    display: none;
  }
  .toolbar-controls {
    justify-content: space-between;
  }
  .btn-mobile-filters {
    display: inline-flex;
  }
  .select-wrap {
    display: none;
  }
  .detail-drawer {
    max-width: 100%;
  }
}
