/* My Saves / wishlist drawer */
.saves-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.saves-drawer.is-open {
  pointer-events: auto;
}
.saves-drawer[hidden] {
  display: none;
}
.saves-drawer:not([hidden]) {
  display: block;
}

.saves-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.saves-drawer.is-open .saves-drawer__backdrop {
  opacity: 1;
}

.saves-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.saves-drawer.is-open .saves-panel {
  transform: translateX(0);
}

.saves-panel__head {
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid #e8edf2;
  position: relative;
}
.saves-panel__head h2 {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d2818;
}
.saves-panel__hint {
  margin: 0;
  font-size: 0.875rem;
  color: #5c6c84;
}
.saves-panel__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #0d2818;
  border-radius: 50%;
}
.saves-panel__close:hover {
  background: #f0f4f8;
}

.saves-panel__count {
  margin: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.8125rem;
  color: #5c6c84;
  text-align: right;
  border-bottom: 1px solid #eef1f5;
}

.saves-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}
.saves-list__empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: #5c6c84;
  font-size: 0.9rem;
}

.saves-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef1f5;
}
.saves-item__link {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.saves-item__link:hover .saves-item__title {
  text-decoration: underline;
}
.saves-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.saves-item__body {
  flex: 1;
  min-width: 0;
}
.saves-item__title {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d2818;
  line-height: 1.35;
}
.saves-item__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
}
.saves-item__rating strong {
  font-size: 0.875rem;
  color: #0d2818;
}
.saves-dots {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
}
.saves-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c5d4cb;
  display: inline-block;
}
.saves-dot--on {
  background: #00a680;
}
.saves-reviews {
  color: #5c6c84;
}

.saves-item__heart {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  font-size: 1.15rem;
  color: #c5c5c5;
  line-height: 1;
  border-radius: 50%;
  margin-top: 0.15rem;
}
.saves-item__heart.is-on {
  color: #e91e63;
}
.saves-item__heart:hover {
  background: #fff0f3;
}

.saves-panel__foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #e8edf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
}
.saves-panel__foot p {
  margin: 0;
  font-size: 0.8125rem;
  color: #5c6c84;
  line-height: 1.45;
  flex: 1;
}
.btn-saves-signin {
  flex-shrink: 0;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: #0d2818;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.btn-saves-signin:hover {
  filter: brightness(1.08);
}

/* Header / inline save triggers */
.btn-header-saves,
.btn-card-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.btn-header-saves {
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.btn-header-saves:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn-header-saves__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #e91e63;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}
.btn-ghost.is-saved {
  border-color: #e91e63;
  color: #e91e63;
}

.tour-card__save {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  color: #fff;
  z-index: 2;
}
.tour-card__save.is-on {
  color: #fff;
  background: #e91e63;
}
.tour-card__media {
  position: relative;
}
