body {
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #000e33;
  color: #ffffff;
  overflow-x: hidden;
}

/* ───── NAVBAR ───── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  height: 80px;
  padding: 0 48px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(0, 14, 51, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
}

.nav-logo {
  width: 225px;
  height: auto;
  grid-column: 1;
  justify-self: start;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  grid-column: 3;
  justify-self: end;
}

.nav-item {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
}

.nav-item i {
  font-size: 0.65rem;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0066ff, #c27aff);
  opacity: 0;
  transform: translateY(4px);
  transition: 0.2s ease;
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
}

.create-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.menu-toggle {
  display: none;
}
a {
  text-decoration: none;
  color: white;
}
.hamburger {
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(0, 14, 51, 0.96);
  padding: 20px 24px;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
}

.menu-toggle:checked ~ .mobile-menu {
  display: flex;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #000e33;
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
}

@media (max-width: 1100px) {
  .navbar {
    padding: 0 32px 20px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px 20px;
  }

  .nav-logo {
    width: 180px;
  }

  .nav-left {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 20px;
  }

  .nav-logo {
    width: 170px;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right .create-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

a {
  text-decoration: none;
}

.notification-modal {
  position: absolute;
  top: 52px;
  right: 0;
  width: 320px;
  max-height: 420px;
  background: rgba(2, 8, 32, 0.98);
  border-radius: 16px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.notification-header h4 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.notif-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  z-index: 2000001 !important;
}

.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 2000001 !important;
}

.notification-entry.unread {
  background: rgba(0, 102, 255, 0.08);
}

.notification-empty {
  padding: 12px 16px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.notification-avatar.monogram {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  padding: 2px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar.monogram::after {
  content: attr(data-initials);
  background: #000e33;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
}

.notification-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.notif-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.notif-name {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.notif-name:hover {
  text-decoration: underline;
}

.trip-link {
  color: #c27aff;
  text-decoration: none;
}
.invite-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.invite-actions button {
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ✅ Creator star badge */
.creator-star {
  color: #FFD700;
  font-size: 14px;
  margin-left: 4px;
  filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

/* ✅ Better hover state for creator bar */
.collection-creator-bar {
  cursor: pointer !important;
  user-select: none;
}

.collection-creator-bar:hover .collection-creator-name {
  color: #667eea;
}
/* ✅ FIXED: Collection creator bar - no weird padding */
.collection-creator-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.collection-creator-bar,
.collection-creator-link {
  position: relative;
  z-index: 500;
}

.collection-creator-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  padding: 4px 8px;
  margin: -4px -8px; /* Negative margin to expand clickable area */
  border-radius: 6px;
  transition: background 0.15s ease;
  cursor: pointer;
}

.collection-creator-link:hover {
  background: rgba(102, 126, 234, 0.08);
}

.collection-creator-link:hover .collection-creator-name {
  color: #667eea;
}

.collection-creator-name {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

  /* Creator badge */
  .creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
  }

  .creator-badge i {
    font-size: 10px;
  }

  /* ✅ Animation on hover */
  .collection-creator-bar:hover .creator-badge {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
  }

  .creator-badge {
    transition: all 0.2s ease;
  }

.invite-actions button:first-child {
  background: #4b5bd5;
  color: #ffffff;
}

.invite-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.invite-status {
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.8;
}
.avatar:hover,
.create-btn:hover,
.notification-bell:hover,
  .group-btn-primary:hover,
  #buildCollectionBtn.hover,
  .rec-card-save-btn:hover,
.rec-detail-save-btn:hover
 {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

/* ───── NOTIFICATIONS ───── */

.notification-container {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2000001 !important;
}

.notification-bell {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  display: none;
  box-shadow: 0 0 0 2px #000e33;
}

.notification-modal {
  position: absolute;
  top: 52px;
  right: 0;
  width: 320px;
  max-height: 420px;
  background: rgba(2, 8, 32, 0.98);
  border-radius: 16px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.notification-header h4 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.notification-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.notif-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.notif-name {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.notif-name:hover {
  text-decoration: underline;
}

.trip-link {
  color: #c27aff;
  text-decoration: none;
}

.trip-link:hover {
  text-decoration: underline;
}

.comment-timestamp {
  font-size: 0.75rem;
  opacity: 0.65;
}

/* invite buttons */

.invite-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.invite-actions button {
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.invite-actions button:first-child {
  background: #4b5bd5;
  color: #ffffff;
}

.invite-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.invite-status {
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* make dropdown nicer on mobile */
@media (max-width: 768px) {
  .notification-modal {
    right: 50%;
    transform: translateX(50%);
    width: min(360px, calc(100vw - 32px));
      z-index: 2000001 !important; /* above nav dropdowns */

  }
}

.notif-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
}

.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.notification-entry.unread {
  background: rgba(0, 102, 255, 0.08);
}

.notification-empty {
  padding: 12px 16px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.monogram-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-location {
  font-size: 0.85rem;
  color: #4b5bd5;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gradient ring wrapper */
.avatar-gradient {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
}

@media (max-width: 768px) {
  .notification-modal {
    right: 50%;
    transform: translateX(50%);
    width: min(360px, calc(100vw - 32px));
  }
}


/* ───── PROFILE DROPDOWN ───── */
.profile-container {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-container .avatar {
  cursor: pointer;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #000e33;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 180px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
  z-index: 1100;
}

/* Invisible bridge between avatar and dropdown */
.profile-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.profile-container:hover .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.profile-dropdown a i {
  width: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-dropdown a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
}

/* ─────────── FOOTER ─────────── */
    /* ====== Footer ====== */
  /* ====== RoamRecs Footer (system style) ====== */
.rr-footer{
  background: #000e33; /* match hero base */
  color: rgba(255,255,255,0.88);
  padding: 28px 0 56px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* subtle hero-like glow */
.rr-footer::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(0,102,255,0.18), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(194,122,255,0.16), transparent 62%);
  filter: blur(40px);
  opacity: 0.8;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Logo + tagline */
.footer-logo-wrapper{
  text-align: left;
  margin-bottom: 26px;
}

.footer-logo{
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline{
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

/* Columns */
.footer-columns{
  display: flex;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-col{
  min-width: 160px;
}

.footer-col h4{
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.footer-col a{
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(203,213,225,0.90); /* slate-ish */
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.footer-col a:hover{
  color: #ffffff;
  transform: translateX(1px);
}

/* Divider */
.footer-divider{
  margin: 34px 0 26px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-app-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-badges img {
  width: 130px;
}
/* App badges row + CTA */
.footer-app-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}


.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;

  background: linear-gradient(90deg, #0066ff, #c27aff);
  box-shadow: 0 16px 40px rgba(75,91,213,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}

.footer-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(75,91,213,0.34);
}

/* Bottom row */
.footer-bottom{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

main {
  background-color: #ffffff;
}
.footer-legal{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
}

.footer-socials a{
  margin-left: 12px;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}

.footer-socials a:hover{
  opacity: 0.8;
  transform: translateY(-1px);
}

.mycollections-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px; /* nice */
}


/* ───── DESTINATION HERO ───── */
.destination-hero {
  padding: 60px 24px 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
}

.hero-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text {
  margin: 0;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000e33;
  margin: 0 0 16px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #545459;
  opacity: 0.85;
  margin: 0 0 36px;
}

.hero-images {
  display: none;
}

/* ───── FILTER BAR WITH INLINE TOGGLE ───── */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.content-toggle {
  display: flex;
  gap: 12px;
}

.toggle-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #4b5bd5;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #4b5bd5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.toggle-btn.active {
  color: #fff;
  border: none;
  background: linear-gradient(90deg, #2f6cff 0%, #5c6cff 45%, #a06cff 100%);
  box-shadow: 0 8px 22px rgba(92,108,255,0.45),
              inset 0 1px 0 rgba(255,255,255,0.35);
}

.toggle-btn i {
  font-size: 0.85rem;
}

.toggle-btn:hover:not(.active) {
  background: rgba(75, 91, 213, 0.1);
  color: #4b5bd5;
}

.results-count {
  color: #545459;
  font-size: 0.95rem;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  min-width: 180px;
}

.sort-group label {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #000e33;
}

.filter-bar select {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #000e33;
  font-size: 0.9rem;
  border: 1px solid #545459;
  cursor: pointer;
}

.filter-bar select option {
  background: #ffffff;
  color: #000e33;
}

/* ───── CONTENT GRID ───── */
.content-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  min-height: 400px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  background: #ffffff;
}

/* ───── COLLECTION CARD (3-IMAGE LAYOUT) ───── */
.collection-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  color: #000e33;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
              inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: 0.3s ease;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35),
              inset 0 0 0 1px rgba(194, 122, 255, 0.35);
}

.collection-card-images{
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;

  height: 240px;

  /* ❌ remove this */
  /* padding: 14px; */

  box-sizing: border-box;
}

/* shared “slot” wrapper */
.collection-image-slot{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}

/* main spans both rows */
.collection-main-image{
  grid-row: 1 / 3;
}

/* minis: each is a square-ish block because rows split the fixed height */
.collection-mini-images{
  display: contents; /* lets the two mini slots participate in the grid */
}

/* media fill */
.collection-image-slot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* gradient fallback fills slot */
.collection-image-gradient{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .25s ease, transform .25s ease;
}

.collection-card:hover .collection-image-gradient{
  filter: brightness(.95) saturate(1.05);
  transform: scale(1.02);
}

/* icon sizing */
.collection-image-gradient i{
  font-size: 2.2rem;
  color: rgba(255,255,255,0.45);
}

.collection-mini-slot .collection-image-gradient i{
  font-size: 1.35rem;
}

/* optional: slightly tighter rounding on minis */
.collection-mini-slot{
  border-radius: 12px;
}


.rec-detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 16px;
}

.rec-detail-modal-content {
  background: transparent;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

/* Main card */
.rec-detail-card {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 24px;
  padding: 24px 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

/* Close button */
.rec-detail-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Top header: image + info */
.rec-detail-header {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}



.rec-detail-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}

.rec-detail-address {
  margin: 0 0 6px;
  font-size: 14px;
  color: #4a4a4a;
}

.rec-detail-rating-row {
  font-size: 14px;
  margin-bottom: 6px;
}

.rec-detail-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #eef2ff;
  color: #3f51b5;
  margin-bottom: 8px;
}

.rec-detail-description {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 4px;
}

.rec-detail-website {
  display: inline-flex;                  /* fixes arrow alignment */
  align-items: center;
  gap: 6px;                              /* space between text + icon */
  margin-top: 6px;

  font-size: 13px;
  font-weight: 500;
  color: #4b5bd5;                       /* matches your link blue */
  text-decoration: none;

  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rec-detail-website i {
  font-size: 11px;
  opacity: 0.85;
}

.rec-detail-website:hover {
  text-decoration: underline;
  opacity: 0.9;
  transform: translateY(-0.5px);        /* subtle lift like your buttons */
}

/* Divider */
.rec-detail-divider {
  border: none;
  border-top: 1px solid #ececf5;
  margin: 18px 0;
}

/* Saved row */
.rec-detail-saved-row {
  font-size: 14px;
}

/* Notes */
.rec-detail-section {
  margin-top: 12px;
}

.rec-detail-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
  color: #6b6f8a;
}

.rec-detail-notes-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #dde0f0;
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}

.rec-detail-primary-btn {
  margin-top: 8px;
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #000e33;
  color: #ffffff;
}

.rec-detail-secondary-btn {
  margin-top: 8px;
    border-radius: 999px;
    padding: 12px 16px;          /* ✅ same as primary */
    border: none;
    font-size: 14px;            /* ✅ same */
    font-weight: 500;           /* ✅ same */
    cursor: pointer;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);

  transition: all 0.2s ease;
}

.rec-detail-secondary-btn:hover {
   box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.rec-detail-secondary-btn:active {
  transform: scale(0.97);
}



/* Visibility toggle */
.rec-detail-visibility-toggle {
  display: inline-flex;
  border-radius: 999px;
  background: #f3f4ff;
  padding: 2px;
  margin-top: 4px;
}

.rec-detail-visibility-toggle .vis-pill {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.rec-detail-visibility-toggle .vis-pill.active {
  background: #ffffff;
  box-shadow: 0 0 0 1px #dde0f0;
}

.rec-detail-visibility-help {
  margin-top: 6px;
  font-size: 12px;
  color: #6b6f8a;
}

/* Responsive */
@media (max-width: 640px) {
  .rec-detail-card {
    padding: 18px 16px 20px;
  }

  .rec-detail-header {
    grid-template-columns: 1fr;
  }

  .rec-detail-image img {
    height: 180px;
  }
}
.rec-detail-image img {
  width: 100%;

}

.rec-detail-header {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.rec-detail-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

/* comment row layout */
.rr-comment{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,102,255,0.12);
}

/* avatar wrapper (this is the “hard stop”) */
.rr-avatar{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  flex: 0 0 52px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 3px solid rgba(0,102,255,0.75);
  background: #fff;
}

.rr-avatar-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* prevents baseline weirdness */
}

.rr-avatar-mono{
  width: 100%;
  height: 100%;
  display: none;           /* shown via rr-avatar--mono */
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: rgba(11,27,58,0.9);
}

.rr-avatar--mono{
  background: linear-gradient(135deg, rgba(0,102,255,0.15), rgba(194,122,255,0.18));
}

.rr-comment-body{ min-width: 0; flex: 1; }
.rr-comment-head{
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.rr-comment-name{ font-weight: 800; color: #0b1b3a; }
.rr-comment-time{ color: rgba(11,27,58,0.55); font-size: 14px; }
.rr-comment-text{ color: rgba(11,27,58,0.85); font-size: 18px; line-height: 1.35; }


.rec-comment-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;

  /* text */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  text-transform: uppercase;

  /* gradient border */
  border: 2px solid transparent;
  background:
    linear-gradient(#000e33, #000e33) padding-box,
    linear-gradient(135deg, #0066ff 0%, #c27aff 100%) border-box;
}

.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.confirm-modal.active {
  display: flex;
}

.confirm-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  text-align: center;
}

.confirm-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #ff3b30;
}

.confirm-modal-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
}

.confirm-modal-message {
  margin: 0 0 28px;
  font-size: 1rem;
  color: #000e33;
  opacity: 0.7;
  line-height: 1.5;
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-delete-btn,
.confirm-cancel-btn {
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-delete-btn {
  background: #ff3b30;
  color: white;
}

.confirm-delete-btn:hover {
  background: #e02d21;
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3);
}

.confirm-cancel-btn {
  background: transparent;
  border: 1px solid rgba(0, 14, 51, 0.2);
  color: #000e33;
}

.confirm-cancel-btn:hover {
  background: rgba(0, 14, 51, 0.05);
}

@media (max-width: 480px) {
  .confirm-modal-content {
    padding: 24px;
  }

  .confirm-modal-actions {
    flex-direction: column-reverse;
  }

  .confirm-delete-btn,
  .confirm-cancel-btn {
    width: 100%;
    justify-content: center;
  }
}


.rr-modal-card{
  position: relative;
  width: min(520px, calc(100vw - 32px));
  margin: 10vh auto 0;
}

/* Make textarea match rr-input sizing */
.rr-textarea{
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.35;
}

/* Select sometimes looks different across browsers—this helps */
.rr-input select,
select.rr-input{
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(11,27,58,0.55) 50%),
    linear-gradient(135deg, rgba(11,27,58,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.rr-input::placeholder,
.rr-textarea::placeholder {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: rgba(11,27,58,0.45);
}


.rr-input,
.rr-textarea,
select.rr-input {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.25;

  /* 🔑 fixes “weird typing” look */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  letter-spacing: -0.01em;
}



.comment-timestamp {
  font-size: 0.75rem;
  opacity: 0.65;
}

.rec-comment-row {
  display: flex;
  gap: 12px;
  padding: 12px 14px; /* ✅ Increased from 8px 10px */
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(107, 95, 255, 0.14);
  box-shadow: 0 10px 20px rgba(10, 12, 30, 0.08);
}

.rec-comment-author {
  margin: 0;
}


.rec-comment-avatar,
.comment-avatar{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid transparent;
  background:
    linear-gradient(#000e33, #000e33) padding-box,
    linear-gradient(135deg, #0066ff 0%, #c27aff 100%) border-box;
}

/* Saved bookmark styling */
.rec-save-stat.saved {
  color: #ff1744; /* Hot pink */
}

.rec-save-stat.saved i {
  color: #ff1744;
}

.rec-save-display.saved {
  color: #ff1744 !important;
}

.rec-save-display.saved i {
  color: #ff1744 !important;
}
.rec-comment-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px; /* ✅ Increased from 2px to 4px */
}

.rec-comment-header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0 !important;
}

.rec-comment-actions{
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.rec-comment-time {
  font-size: 12px;
  line-height: 0;
  color: rgba(20, 20, 30, 0.45);
}

.rec-comment-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: #000e33;
  margin: 0;
}

.rec-comment-name:hover{
  color: #4b5bd5;
}

.rec-comment-text {
  color: rgba(20, 20, 30, 0.82);
  font-size: 0.93rem;
  margin: 0;
}

.rec-comment-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-comment-delete-btn,
.rec-comment-report-btn{
  border: 1px solid rgba(20, 20, 30, 0.10);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(20, 20, 30, 0.70);
  padding: 6px 12px; /* ✅ Use padding instead of fixed height */
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.rec-comment-delete-btn:hover{
  background: rgba(255, 107, 107, 0.10);
  border-color: rgba(255, 107, 107, 0.25);
  transform: translateY(-1px);
}
.rec-comment-report-btn:hover{
  background: rgba(107, 95, 255, 0.10);
  border-color: rgba(107, 95, 255, 0.22);
  transform: translateY(-1px);
}

.rec-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.rec-comment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rec-comment-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: #000e33;
  line-height: 1.1;
  margin: 0;
}

.rec-comment-time {
  font-size: 11px;
  color: rgba(20, 20, 30, 0.45);
  line-height: 1;
}

.rec-comment-compose{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;

  padding: 12px 14px 14px;
  border-top: 1px solid rgba(107, 95, 255, 0.14);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rec-comment-textarea{
  width: 95%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(107, 95, 255, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: #000e33;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  resize: none;
  min-height: 46px;
  max-height: 110px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rec-comment-textarea::placeholder{
  color: rgba(20, 20, 30, 0.35);
}

.rec-comment-textarea:focus{
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

#recCommentSubmitBtn.rec-detail-primary-btn{
  margin-top: 0;
  padding: 10px 16px;
  border-radius: 999px;
}

@media (max-width: 520px){
  .rec-comment-compose{ grid-template-columns: 1fr; }
  #recCommentSubmitBtn.rec-detail-primary-btn{ width: 100%; }
}

.rec-comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.rec-comment-text { margin-top: 4px; }

.rr-confirm-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 12, 30, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rr-confirm-card{
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(107, 95, 255, 0.16);
  box-shadow: 0 30px 80px rgba(10, 12, 30, 0.28);
  padding: 18px 18px 16px;
  position: relative;
  transform: translateY(6px);
  animation: rrPopIn 160ms ease-out forwards;
}

.rec-comments-panel{
  margin-top: 10px;
  border-radius: 22px;
  border: 1px solid rgba(107, 95, 255, 0.16);
  background: rgba(107, 95, 255, 0.04);
  box-shadow: 0 14px 30px rgba(10, 12, 30, 0.10);
  overflow: hidden;
}

.rec-comments-scroll{
  max-height: 220px;
  overflow-y: auto;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rec-comments-scroll::-webkit-scrollbar{ width: 10px; }
.rec-comments-scroll::-webkit-scrollbar-thumb{
  background: rgba(107, 95, 255, 0.18);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.rec-comments-scroll::-webkit-scrollbar-track{
  background: rgba(0, 0, 0, 0.04);
}

.rec-comments-loading,
.rec-comments-empty,
.rec-comments-error{
  text-align: center;
  padding: 14px 0 8px;
  color: rgba(20, 20, 30, 0.55);
  font-size: 0.92rem;
}



.rec-comment-author {
  margin: 0;
}

.rr-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
}

.rr-modal-card{
  width: min(560px, 92vw);
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
  position: relative;
  padding: 34px 34px 26px;
  text-align: center;
}

.rr-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rr-modal-icon{
  width: 74px;
  height: 74px;
  border-radius: 22px;
  margin: 4px auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(194,122,255,0.14));
  border: 1px solid rgba(0,0,0,0.06);
}

.rr-modal-icon i{
  font-size: 26px;
  color: #000e33;
  opacity: 0.9;
}

.rr-modal-title{
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
  color: #000e33;
  letter-spacing: -0.02em;
}

.rr-modal-subtitle{
  margin: 10px 0 18px;
  color: rgba(11,27,58,0.65);
  font-size: 15px;
}

.rr-form{
  text-align: left;
  margin: 18px auto 0;
  max-width: 420px;
  display: grid;
  gap: 14px;
}

.rr-field{ display: grid; gap: 8px; }

.rr-label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(11,27,58,0.75);
}

.rr-input{
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(11,27,58,0.14);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  color: #0b1b3a;
  background: #fff;
}

.rr-input:focus{
  border-color: rgba(0,102,255,0.55);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.10);
}

.rr-hint{
  font-size: 12px;
  color: rgba(11,27,58,0.55);
}

.rr-toggle-row{
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

/* Switch */
.rr-switch{
  position: relative;
  width: 54px;
  height: 32px;
  display: inline-block;
}

.rr-switch input{
  opacity: 0;
  width: 0;
  height: 0;
}

.rr-slider{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(11,27,58,0.14);
  transition: 0.2s ease;
  cursor: pointer;
}

.rr-slider::before{
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transition: 0.2s ease;
}

.rr-switch input:checked + .rr-slider{
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
}

.rr-switch input:checked + .rr-slider::before{
  transform: translateX(22px);
}

.rr-modal-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 22px;
}

.rr-btn{
  height: 50px;
  border-radius: 18px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rr-btn-ghost{
  background: rgba(11,27,58,0.06);
  color: rgba(11,27,58,0.85);
}

.rr-btn-primary{
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.rr-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

/* Segmented visibility toggle (refined) */
.rr-seg-toggle{
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(11,27,58,0.06);
  border: 1px solid rgba(11,27,58,0.10);
}

.rr-seg-btn{
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;             /* key: prevents vertical bloat */
  cursor: pointer;
  color: rgba(11,27,58,0.6);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.rr-seg-btn.active{
  background: #fff;
  color: rgba(11,27,58,0.95);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border: 1px solid rgba(11,27,58,0.12);
}

/* --- VISIBILITY SEGMENTED TOGGLE (override-proof) --- */
.rr-modal .rr-seg-toggle{
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  border-radius: 999px;
  background: rgba(11,27,58,0.06);
  border: 1px solid rgba(11,27,58,0.10);

  width: fit-content;
  justify-self: start; /* prevents stretching inside your grid */
  box-sizing: border-box;
}

.rr-modal .rr-seg-toggle .rr-seg-btn{
  all: unset; /* ✅ kills global button padding/font/line-height */
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 34px;          /* ✅ controlled height */
  padding: 0 14px;       /* ✅ controlled width */
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;

  color: rgba(11,27,58,0.62);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.rr-modal .rr-seg-toggle .rr-seg-btn.active{
  background: #fff;
  color: rgba(11,27,58,0.95);
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  border: 1px solid rgba(11,27,58,0.10);
}

/* Close (X) micro-interaction */
.rr-modal-close i{
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* subtle rotate on hover */
.rr-modal-close:hover i{
  transform: rotate(90deg) scale(1.05);
  opacity: 0.8;
}

/* comment row layout */
.rr-comment{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,102,255,0.12);
}

/* avatar wrapper (this is the “hard stop”) */
.rr-avatar{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  flex: 0 0 52px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 3px solid rgba(0,102,255,0.75);
  background: #fff;
}

.rec-comment-delete-btn,
.rec-comment-report-btn{
  border: 1px solid rgba(20, 20, 30, 0.10);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(20, 20, 30, 0.70);
  padding: 6px 12px; /* ✅ Use padding instead of fixed height */
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.rec-comment-delete-btn:hover{
  background: rgba(255, 107, 107, 0.10);
  border-color: rgba(255, 107, 107, 0.25);
  transform: translateY(-1px);
}
.rec-comment-report-btn:hover{
  background: rgba(107, 95, 255, 0.10);
  border-color: rgba(107, 95, 255, 0.22);
  transform: translateY(-1px);
}

.rec-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.rr-input{
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(11,27,58,0.14);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  color: #0b1b3a;
  background: #fff;
}

.rr-input:focus{
  border-color: rgba(0,102,255,0.55);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.10);
}

.rr-hint{
  font-size: 12px;
  color: rgba(11,27,58,0.55);
}

.rr-toggle-row{
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

/* Switch */
.rr-switch{
  position: relative;
  width: 54px;
  height: 32px;
  display: inline-block;
}

.rr-switch input{
  opacity: 0;
  width: 0;
  height: 0;
}

.rr-slider{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(11,27,58,0.14);
  transition: 0.2s ease;
  cursor: pointer;
}

/* Make textarea match rr-input sizing */
.rr-textarea{
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.35;
}

/* Select sometimes looks different across browsers—this helps */
.rr-input select,
select.rr-input{
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(11,27,58,0.55) 50%),
    linear-gradient(135deg, rgba(11,27,58,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.rr-input::placeholder,
.rr-textarea::placeholder {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: rgba(11,27,58,0.45);
}


.rr-input,
.rr-textarea,
select.rr-input {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.25;

  /* 🔑 fixes “weird typing” look */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  letter-spacing: -0.01em;
}

.rr-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
}

/* Hover overlay */
/* Overlay hidden by default */
.collection-card-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

/* Show overlay on hover */
.collection-card:hover .collection-card-overlay{
  opacity: 1;
  pointer-events: auto;
}


/* Actions in top-right */
.collection-card-actions{
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
}

/* Action buttons (copy your rec-card-action vibe) */
.collection-card-action{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
}


.rec-card-action{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.rec-card-action:hover,
.collection-card-action:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  transform: scale(1.1);
}

/* Rec Options Dropdown */
.rec-options-dropdown,
.collection-options-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 14, 51, 0.15);
  min-width: 180px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.rec-options-dropdown.active,
.collection-options-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.rec-options-dropdown-item,
.collection-options-dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.9rem;
  color: #000e33;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.rec-options-dropdown-item:first-child,
.collection-options-dropdown-item:first-child {
  border-radius: 12px 12px 0 0;
}

.rec-options-dropdown-item:last-child,
.collection-options-dropdown-item:last-child {
  border-radius: 0 0 12px 12px;
}

.rec-options-dropdown-item:hover,
.collection-options-dropdown-item:hover {
  background: rgba(75, 91, 213, 0.12); /* soft indigo wash */
    color: #4b5bd5;}

.rec-options-dropdown-item.delete:hover,
.collection-options-dropdown-item.delete:hover{
  background: rgba(255, 59, 48, 0.08);
  color: #ff3b30;
}

.rec-options-dropdown-item i,
.collection-options-dropdown-item i {
  width: 16px;
  text-align: center;
}

/* ─────────────────────────────────────────────
   SHARE MODAL (matches your group modal vibe)
───────────────────────────────────────────── */
#shareModal,
#inviteModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#shareModalContent,
#inviteModalContent {
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}



.share-rec-modal {
  position: fixed;
  inset: 0;
  z-index: 2600; /* above rec detail + friends modal */
}

.share-rec-modal.hidden {
  display: none;
}

.share-rec-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Centered dialog */
.share-rec-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  max-width: 90%;
  background: #000e33;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Close button */
.share-rec-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

/* Title + subtitle */
.share-rec-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.share-rec-subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: #b4b9d8;
}

/* Button column */
.share-rec-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* Each share button */
.share-rec-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
  border: none;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, transform 0.12s ease;
}

.share-rec-btn i {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.share-rec-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Spin animation on close hover */
.share-rec-close {
  transition: transform 0.35s ease;
}

.share-rec-close i {
  transition: transform 0.35s ease;
  display: inline-block;
}

.share-rec-close:hover i {
  transform: rotate(90deg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 80px auto;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}


.shareHeader {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

#userSearch {
  margin-bottom: 16px;
  margin-top: 20px;
}

.userSearch input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: rgba(0, 14, 51, 0.02);
  color: #000e33;
  font-size: 0.95rem;
  font-family: inherit;
}

.userSearch input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.user-results {
  max-height: 400px;
  overflow-y: auto;
}

.group-creator {
  font-size: 14px;
  color: #64748b;
  padding-bottom: 10px;
}

.group-creator a {
  color: #4b5bd5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.group-creator a:hover {
  text-decoration: underline;
}

.monogram-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name1 {
  font-weight: 600;
  font-size: 1rem;
  color: #000e33;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-name {
  font-weight: 500;
  font-size: 1rem;
  color: #000e33;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Gradient ring wrapper */
.avatar-gradient {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.sendButton {
  padding: 8px 20px;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

.modal-subtitle {
  margin: 12px 0 20px;
  padding-top: 8px;
  font-size: 0.95rem;
  color: #4a4f6b;
  text-align: center;
}

/* ─────────────────────────────────────────────
   SHARE MODAL (matches your group modal vibe)
───────────────────────────────────────────── */
#shareModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#shareModalContent {
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.modal-subtitle {
  margin: 0 0 14px;
  color: rgba(26,26,26,0.7);
  font-size: 14px;
}

.rr-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;

  /* 🔑 FIX */
  z-index: 100000;
}


.rr-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* Content area */
.collection-card-content {
  padding: 18px;
}

/* Collection Creator Bar */
.collection-creator-bar {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}


.collection-creator-link:hover .collection-creator-name,
.rec-creator-link:hover .rec-creator-name {
  color: #4b5bd5;
}

/* ✅ Thinner gradient ring wrapper */
.collection-creator-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  padding: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ✅ Inner circle (white background for image) */
.collection-creator-avatar img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

/* ✅ Initials (centered in gradient) */
.collection-creator-initials {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.collection-creator-name {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}


.collection-creator-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  padding: 2px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.collection-creator-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
}

.collection-creator-name {
  font-size: 14px;
  color: #545459;
  font-weight: 500;
}

.collection-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #000e33;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-card-location,
.collection-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
  color: #4b5bd5;
}

.rec-card-stats,
.collection-card-stats {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.rec-card-stats span,
.collection-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ───── REC CARD ───── */
.rec-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  color: #000e33;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
              inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.rec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35),
              inset 0 0 0 1px rgba(194, 122, 255, 0.35);
}

.rec-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  display: block;
}

.rec-info {
  padding: 20px;
}

.rec-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #000e33;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-category {
  font-size: 0.85rem;
  color: #4b5bd5;
  margin-bottom: 10px;
  text-transform: capitalize;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rec-description {
  font-size: 0.9rem;
  color: #545459;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.rec-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.rec-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}



.rec-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.user-avatar .avatar-monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}
.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.rec-user span {
  font-size: 0.85rem;
  color: #545459;
  font-weight: 500;
}

/* ───── EMPTY STATE ───── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #545459;
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 5rem;
  margin-bottom: 24px;
  opacity: 0.2;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-state h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #000e33;
  font-weight: 600;
}

.empty-state p {
  font-size: 1.05rem;
  color: #545459;
}

/* ───── LOADING STATE ───── */
.loading-state {
  text-align: center;
  padding: 80px 20px;
  color: #4b5bd5;
  grid-column: 1 / -1;
}

.loading-state i {
  font-size: 3.5rem;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.loading-state p {
  color: #545459;
  font-size: 1rem;
  margin: 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ───── RESPONSIVE ───── */

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 24px 60px;
  }

  .filter-bar {
    padding: 20px 24px;
  }
}

@media (max-width: 768px) {
  .destination-hero {
    padding: 50px 20px 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
  }

  .filter-left {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .content-toggle {
    width: 100%;
  }

  .toggle-btn {
    flex: 1;
  }

  .results-count {
    text-align: center;
  }

  .sort-group {
    width: 100%;
    justify-content: space-between;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px 60px;
  }
}

@media (max-width: 480px) {
  .destination-hero {
    padding: 40px 16px 0;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .collection-card-image,
  .rec-image {
    height: 180px;
  }
}

/* Add to your CSS file */
.collection-card-action.saved {
  background: linear-gradient(135deg, #ff6b9d, #c27aff);
}

.collection-card-action.saved i {
  color: #fff;
}
.collection-save-stat.saved {
  background: linear-gradient(135deg, #ff6b9d, #c27aff) !important;
}

.rec-save-display.saved {
  color: #ff1744; /* Pink color */
}

.rec-save-display.saved i {
  color: #ff1744;
}
.collection-save-stat.saved i {
  color: #fff;
}/* Pink bookmark when saved */
.collection-save-display.saved i {
  color: #ff1744;
}

.collection-save-display,
.collection-comment-display,
.collection-rec-display {
    opacity: 0.75;

}
/* ✅ Add pink bookmark when saved */
.rec-save-display {
  transition: all 0.3s ease;
}

.rec-save-display.saved {
  color: #ff1744;
}

.rec-save-display.saved i {
  color: #ff1744;
  font-weight: 900;
}



.comment-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 1.5px solid #C2A15A;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #C2A15A;
  background-color: #333;
  font-size: 14px;
  text-transform: uppercase;
}




.comment-entry {
display: flex;
}

.comment-meta {
flex: 1;
}



.modal-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}



.modal-comment-form textarea {
  width: 95%;
  height: 50px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 8px;
  resize: none;
}

.modal-comment-form button {
  align-self: flex-end;
  background: #C2A15A;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  margin-right: 10px;
  cursor: pointer;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}


.comment-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}



.comment-body {
  font-size: 14px;
}



.comment-body {
  flex: 1;
  min-width: 0;
  display: flex;
  padding-bottom: 5px;
  flex-direction: column;
}

.comment-body a {
  font-weight: 600;
  text-decoration: none;
  color: #222;
  display: block;
}


#recDetailModal .saved-by-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 8px;
  font-size: 14px;
  color: #5a5f7b;
}

#recDetailModal .saved-by-avatars {
  display: flex;
  align-items: center;
}

/* gradient ring */
#recDetailModal .saved-by-avatar-ring {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -10px; /* overlap */
}

/* inner circle */
#recDetailModal .saved-by-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #000e33;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#recDetailModal .saved-by-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* initials fallback */
#recDetailModal .saved-by-avatar-inner.monogram {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff
}

/* text */
#recDetailModal .saved-by-text {
  font-size: 14px;
  color: #5a5f7b;
  white-space: nowrap;
  padding-left: 10px;
}

/* “1 friend” link */
#recDetailModal .saved-by-friends-link {
  color: #4b5bd5;
  font-weight: 500;
  cursor: pointer;
}

#recDetailModal .saved-by-friends-link:hover {
  text-decoration: underline;
}

/* small screens */
@media (max-width: 600px) {
  #recDetailModal .saved-by-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  #recDetailModal .saved-by-text {
    white-space: normal;
  }
}
/* ────────────────────────────────────────────── */
/* Friends who saved this modal – My Recs page   */
/* ────────────────────────────────────────────── */
.friends-saved-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  animation: fadeIn 0.3s ease;
}

.friends-saved-modal.hidden { display: none; }

/* Backdrop should NOT be above the dialog */
.friends-saved-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;  /* modal already provides overlay */
  z-index: 0;
}

/* IMPORTANT: your dialog container needs to be above backdrop */
.friends-saved-dialog {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  padding: 18px 18px 16px;
}


/* Header / title / close */
.friends-saved-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}



/* List area */
.friends-saved-list {
  max-height: 260px;
  overflow-y: auto;
  padding-top: 6px;
}

/* Each friend row */
.friends-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.friends-saved-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Avatar ring w/ RR gradient */
.friends-saved-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.friends-saved-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.friends-saved-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends-saved-monogram {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #050b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.friends-saved-name {
  font-size: 14px;
  font-weight: 500;
}

/* Optional helper states (if you use them in JS) */
.friends-saved-loading,
.friends-saved-empty,
.friends-saved-error {
  font-size: 13px;
  color: #e5e7eb;
  padding: 6px 2px;
}

/* ───── SHARE REC MODAL ───── */

.share-rec-modal {
  position: fixed;
  inset: 0;
  z-index: 2600; /* above rec detail + friends modal */
}

.share-rec-modal.hidden {
  display: none;
}

.share-rec-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Centered dialog */
.share-rec-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  max-width: 90%;
  background: #000e33;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Close button */
.share-rec-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}




.friends-saved-modal.hidden {
  display: none;
}




/* Header / title / close */
.friends-saved-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}



/* List area */
.friends-saved-list {
  max-height: 260px;
  overflow-y: auto;
  padding-top: 6px;
}

/* Each friend row */
.friends-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.friends-saved-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Avatar ring w/ RR gradient */
.friends-saved-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.friends-saved-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.friends-saved-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends-saved-monogram {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #050b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.friends-saved-name {
  font-size: 14px;
  font-weight: 500;
}

/* Optional helper states (if you use them in JS) */
.friends-saved-loading,
.friends-saved-empty,
.friends-saved-error {
  font-size: 13px;
  color: #e5e7eb;
  padding: 6px 2px;
}
/* Optional: add a subtle animation when it changes */
.collection-save-display i {
  transition: color 0.3s ease;
}


.friends-saved-modal.hidden {
  display: none;
}


/* Centered dark card */

.friends-saved-dialog{
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

/* Header / title / close */
.friends-saved-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 14, 51, 0.08);
  display: flex;
  justify-content: center; /* Changed from space-between */
  align-items: center;
  position: relative; /* For absolute positioning of close button */
}

.friends-saved-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.friends-saved-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 26px;
    line-height: 34px;
}

.user-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.user-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 14, 51, 0.08);
  display: flex;
  justify-content: center; /* Changed from space-between */
  align-items: center;
  position: relative; /* For absolute positioning of close button */
}

.user-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Modern modal close button */
.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.close-icon {
  font-size: 22px;
  line-height: 1;
  color: #1a1a1a;
  opacity: 0.7;
}
#shareModalContent {
  position: relative;
}



.modal-close {
  position: absolute; /* Position it absolutely */
  right: 28px; /* Align to the right */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: transparent;
  color: #000e33;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.user-modal-body {
  padding: 16px 28px 28px;
  overflow-y: auto;
  flex: 1;
}

.modal-list {
  max-width: 480px;   /* try 480–520px */
  margin: 0 auto 14px;
}


.modal-loading {
  text-align: center;
  padding: 40px 20px;
  color: #000e33;
  opacity: 0.6;
}

.modal-empty {
  text-align: center;
  padding: 40px 20px;
  color: #000e33;
  opacity: 0.6;
}

.modal-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.follow-btn,
.unfollow-btn,
.view-group-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.follow-btn {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
}

.follow-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6);
  transform: translateY(-2px);
}

.unfollow-btn {
  background: transparent;
  border: 1px solid rgba(0, 14, 51, 0.3);
  color: #000e33;
}

.unfollow-btn:hover {
  background: rgba(0, 14, 51, 0.05);
}

.view-group-btn {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
}

.view-group-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6);
  transform: translateY(-2px);
}

/* Group Item in Modal */
.group-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: 0.2s ease;
  cursor: pointer;
  margin-bottom: 8px;
}

/* List area */
.friends-saved-list {
  max-height: 260px;
  overflow-y: auto;
  padding-top: 6px;
}

/* Each friend row */
.friends-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.friends-saved-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Avatar ring w/ RR gradient */
.friends-saved-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.friends-saved-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.friends-saved-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends-saved-monogram {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #050b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.friends-saved-name {
  font-size: 14px;
  font-weight: 500;
}

/* Optional helper states (if you use them in JS) */
.friends-saved-loading,
.friends-saved-empty,
.friends-saved-error {
  font-size: 13px;
  color: #e5e7eb;
  padding: 6px 2px;
}

/* ───── SHARE REC MODAL ───── */

.share-rec-modal {
  position: fixed;
  inset: 0;
  z-index: 2600; /* above rec detail + friends modal */
}

.share-rec-modal.hidden {
  display: none;
}

.share-rec-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Centered dialog */
.share-rec-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  max-width: 90%;
  background: #000e33;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Close button */
.share-rec-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

/* Title + subtitle */
.share-rec-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.share-rec-subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: #b4b9d8;
}

/* Button column */
.share-rec-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* Each share button */
.share-rec-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
  border: none;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, transform 0.12s ease;
}

.share-rec-btn i {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.share-rec-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Spin animation on close hover */
.share-rec-close {
  transition: transform 0.35s ease;
}

.share-rec-close i {
  transition: transform 0.35s ease;
  display: inline-block;
}

.share-rec-close:hover i {
  transform: rotate(90deg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 80px auto;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}


.shareHeader {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

#userSearch {
  margin-bottom: 16px;
  margin-top: 20px;
}

.userSearch input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: rgba(0, 14, 51, 0.02);
  color: #000e33;
  font-size: 0.95rem;
  font-family: inherit;
}

.userSearch input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.user-results {
  max-height: 400px;
  overflow-y: auto;
}

.user-result-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.user-result-entry:hover {
  background-color: #f5f5f5;
}

.user-info1 {
  display: flex;
  align-items: center;
  gap: 12px;
}



.user-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.collection-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.collection-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.collection-modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 14, 51, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.collection-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.collection-modal-body {
  padding: 20px 28px 28px;
  overflow-y: auto;
  overflow-x: hidden; /* ← Add this */
  flex: 1;
}

.collection-place-preview-name,
.collection-place-preview-address,
.collection-item-name {
  word-wrap: break-word;
  word-break: break-word;
}
/* Place Preview */
.collection-place-preview {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(0, 14, 51, 0.03);
  border-radius: 12px;
  margin-bottom: 20px;
}

.collection-place-preview-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.collection-place-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-place-preview-info {
  flex: 1;
  min-width: 0;
}

.collection-place-preview-name {
  font-weight: 600;
  font-size: 1rem;
  color: #000e33;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-place-preview-address {
  font-size: 0.85rem;
  color: #4b5bd5;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Search */
.collection-search {
  margin-bottom: 16px;
}

.collection-search input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: rgba(0, 14, 51, 0.02);
  color: #000e33;
  font-size: 0.95rem;
  font-family: inherit;
}

.collection-search input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* Collections List */
.collections-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.collection-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s ease;
  margin-bottom: 8px;
  border: 2px solid transparent;
}

.collection-item:hover {
  background: rgba(0, 14, 51, 0.03);
}

.collection-item.selected {
  background: rgba(0, 102, 255, 0.08);
  border-color: #0066ff;
}

.collection-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}


.collection-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.collection-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-item-icon i {
  color: white;
  font-size: 20px;
}
.collection-item-info {
  flex: 1;
  min-width: 0;
}

.collection-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: #000e33;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-item-count {
  font-size: 0.85rem;
  color: #000e33;
  opacity: 0.6;
}

.collection-item-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 14, 51, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: 0.2s ease;
}

.collection-item.selected .collection-item-check {
  background: #0066ff;
  border-color: #0066ff;
  color: white;
}

/* Create New Collection */
.create-collection-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 2px dashed rgba(0, 14, 51, 0.2);
  background: transparent;
  color: #000e33;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
}

.create-collection-btn:hover {
  background: rgba(0, 14, 51, 0.03);
  border-color: #4b5bd5;
  color: #4b5bd5;
}

/* New Collection Form */
.new-collection-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 14, 51, 0.08);
}

.new-collection-form input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: rgba(0, 14, 51, 0.02);
  color: #000e33;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 12px;
}

.new-collection-form input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-actions {
  display: flex;
  gap: 10px;
}
.save-btn {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
}
#addToSelectedBtn{
  margin-bottom: 10px;
}
.save-btn,
.cancel-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.save-btn {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
}


.save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.collections-list:empty::after {
  content: "No collections yet";
  display: block;
  text-align: center;
  padding: 40px 20px;
  color: #000e33;
  opacity: 0.5;
  font-style: italic;
}

/* User Item in Modal */
.user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: 0.2s ease;
  cursor: pointer;
  margin-bottom: 8px;
}

.user-item:hover {
  background: rgba(0, 14, 51, 0.03);
}

.user-item-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-item-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user-item-avatar .monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}

.user-item-info {
  flex: 1;
  min-width: 0;
}

.user-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: #000e33;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-item-location {
  font-size: 0.85rem;
  color: #4b5bd5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monogram-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}



/* Gradient ring wrapper */
.avatar-gradient {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}



.sendButton {
  padding: 8px 20px;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

.modal-subtitle {
  margin: 12px 0 20px;
  padding-top: 8px;
  font-size: 0.95rem;
  color: #4a4f6b;
  text-align: center;
}

/* ─────────────────────────────────────────────
   SHARE MODAL (matches your group modal vibe)
───────────────────────────────────────────── */
#shareModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#shareModalContent {
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.modal-close {
  position: absolute; /* Position it absolutely */
  right: 28px; /* Align to the right */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: transparent;
  color: #000e33;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  font-size: 26px;
  line-height: 34px;
}

.rr-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* Close (X) micro-interaction */
.rr-modal-close i{
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* subtle rotate on hover */
.rr-modal-close:hover i{
  transform: rotate(90deg) scale(1.05);
  opacity: 0.8;
}
.filter-right {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #000e33;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.filter-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

/* ✅ Gradient background when checked */
.filter-toggle input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  border-color: #4b5bd5;
}

/* ✅ Checkmark icon */
.filter-toggle input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.filter-toggle label {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Rec card image wrapper */
.rec-card-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Rec card overlay (hidden by default) */
.rec-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.rec-card:hover .rec-card-overlay {
  opacity: 1;
  pointer-events: all;
}

/* Rec card actions (share and options buttons) */
.rec-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
}


/* Rec location styling */
.rec-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
  color: #4b5bd5;
}

.rec-location i {
  font-size: 0.75rem;
  color: #4b5bd5;
}

.city-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #C986FF 0%, #9747FF 100%);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(201, 134, 255, 0.2);
}

.city-cta-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.city-cta-content h3 span {
  font-weight: 700;
}

.city-cta-content p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.city-cta-btn {
  padding: 0.875rem 1.75rem;
  background: white;
  color: #C986FF;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.city-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.city-cta-btn i {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .city-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.5rem;
  }

  .city-cta-content h3 {
    font-size: 1.1rem;
  }

  .city-cta-btn {
    width: 100%;
  }
}

#buildCollectionBtn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 0.rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}


/* ✅ Save button styling */
.rec-card-save-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}



.rec-card-save-btn:active {
  transform: translateY(0);
}

.rec-card-save-btn i {
  font-size: 0.8rem;
}

/* ✅ Optional: Show button only on hover */
.rec-card-save-btn {
  opacity: 0;
  pointer-events: none;
}

.destination-seo-intro {
  padding: 18px 20px 8px;
}

.destination-seo-intro .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.destination-seo-intro p {
  margin: 0;
  color: #666;
  line-height: 1.7;
}
.guest-nav-left {
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
      margin: 0;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #ffffff;
}


.rec-card:hover .rec-card-save-btn {
  opacity: 1;
  pointer-events: auto;
}

/* ✅ Mobile: always show button */
@media (max-width: 768px) {
  .rec-card-save-btn {
    opacity: 1;
    pointer-events: auto;
  }

  .rec-card-footer {
    flex-wrap: wrap;
  }

  .rec-card-save-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}


.rec-card-save-btn:active {
  transform: translateY(0);
}

/* ✅ Saved state */
.rec-card-save-btn.saved {
  background: #ececec;
  color: #777;
  cursor: default;
}


.rec-card-save-btn i {
  font-size: 0.8rem;
}

/* ✅ Optional: Show button only on hover */
.rec-card-save-btn {
  opacity: 0;
  pointer-events: none;
}

.rec-card:hover .rec-card-save-btn {
  opacity: 1;
  pointer-events: auto;
}

/* ✅ Mobile: always show button */
@media (max-width: 768px) {
  .rec-card-save-btn {
    opacity: 1;
    pointer-events: auto;
  }

  .rec-card-footer {
    flex-wrap: wrap;
  }

  .rec-card-save-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ✅ Actions container - stacked vertically */
.rec-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

/* ✅ Modal save button */
.rec-detail-save-btn {
  border: none;
  border-radius: 999px;
  margin-top: 10px !important;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}


.rec-detail-save-btn:active {
  transform: translateY(0);
}

/* ✅ Saved state for modal button */
.rec-detail-save-btn.saved {
  background: #ececec;
  color: #777;
  cursor: default;
}



.rec-detail-save-btn i {
  font-size: 0.85rem;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .rec-detail-actions {
    align-items: stretch;
  }

  .rec-detail-save-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ✅ Footer container for stats + save button */
.rec-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.rec-card-stats {
  display: flex;
  gap: 1rem;
  flex: 1;
}


/* Collection card footer - flexbox layout */
.collection-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Save button - hidden by default, shown on hover */


.collection-card-save-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transform: translateY(-1px); /* ✅ Subtle lift effect */
  cursor: pointer;
}

/* Show save button on card hover */
.collection-card:hover .collection-card-save-btn {
  display: flex; /* ✅ Show on hover */
}

/* Saved state */
.collection-card-save-btn.saved {
  background: #ececec;
  color: #777;
  cursor: default;
}

.collection-card-save-btn.saved:hover {
  transform: none; /* ✅ No lift when saved */
  box-shadow: 0 10px 25px rgba(0,0,0,0.35); /* ✅ Keep original shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .collection-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .collection-card-save-btn {
    display: flex; /* ✅ Always show on mobile */
    order: 1;
  }

  /* Don't require hover on mobile */
  .collection-card .collection-card-save-btn {
    display: flex;
  }
}

.collection-card-save-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  display: none; /* ✅ Hidden by default */
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: all 0.3s ease-in-out;
  margin-left: auto; /* ✅ Push to the right */
  opacity: 1;
  flex-shrink: 0;
}

/* Modal save button */
#modalSaveCollectionBtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#modalSaveCollectionBtn i {
  font-size: 0.875rem;
}

/* Saved state for modal button */
#modalSaveCollectionBtn.saved {
  background: #ececec;
  color: #777;
  border-color: #d4d4d4;
}

#modalSaveCollectionBtn.saved:hover {
  background: #e0e0e0;
  color: #666;
  border-color: #c4c4c4;
}
/* Multi-option filter buttons */
.filter-toggle-group {
  display: flex;
  gap: 4px;
  background: rgba(75, 91, 213, 0.08);
  padding: 4px;
  border-radius: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-toggle-group::-webkit-scrollbar {
  display: none;
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5bd5;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-toggle-btn:hover {
  background: rgba(75, 91, 213, 0.12);
}

.filter-toggle-btn.active {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.filter-toggle-btn i {
  font-size: 13px;
}

@media (max-width: 768px) {
  .filter-toggle-group {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 6px;
  }

  .filter-toggle-group::-webkit-scrollbar {
    display: none;
  }

  .filter-toggle-btn {
    padding: 10px;
    flex-shrink: 0;
    font-size: 0;  /* Hide text */
    min-width: 40px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
  }

  .filter-toggle-btn i {
    font-size: 18px;  /* Show icon */
  }

  /* Collection modal tablet fix */
  .collection-modal-content {
    max-width: 90%;
    max-height: 85vh;
  }

  .rec-detail-modal-content {
    max-width: 95%;
  }
}
.collection-card-overlay {
  pointer-events: none; /* Let clicks pass through */
}

.collection-card-overlay .collection-card-actions,
.collection-card-overlay button {
  pointer-events: auto; /* But allow clicks on the actual buttons */
}

.collection-card-save-btn {
  position: relative;
  z-index: 10; /* Ensure button is above overlay */
  pointer-events: auto;
}

.rec-category {
  display: inline-block;
  padding: 4px 10px;
background: rgba(75, 91, 213, 0.12);
  color: #4b5bd5;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE PHONE OPTIMIZATIONS (480px and below)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  /* ───── HERO SECTION ───── */
  .destination-hero {
    padding: 40px 16px 20px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  /* ───── FILTER BAR ───── */
  .filter-bar {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .filter-left {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    overflow-x: hidden;
    max-width: 100%;
  }

  .content-toggle {
    width: 50%;
    gap: 8px;
  }

  .toggle-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.8rem;
    justify-content: center;
  }

  .results-count {
    font-size: 0.85rem;
    text-align: left;
  }

  /* Sort group styles moved to SORT DROPDOWN FIX section below */

  .filter-bar select {
    width: 100%;
    padding: 10px 12px;
  }

  /* ───── CONTENT GRID ───── */
  .content-grid {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ───── COLLECTION CARDS ───── */
  .collection-card {
    border-radius: 14px;
  }

  .collection-card-images {
    height: 180px;
    gap: 3px;
  }

  .collection-image-slot {
    border-radius: 10px;
  }

  .collection-mini-slot {
    border-radius: 8px;
  }

  .collection-card-content {
    padding: 14px;
  }

  .collection-creator-bar {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .collection-creator-avatar {
    width: 28px;
    height: 28px;
  }

  .collection-creator-name {
    font-size: 0.8rem;
  }

  .creator-badge {
    padding: 2px 6px;
    font-size: 10px;
  }

  .collection-card-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .collection-card-location {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .collection-card-stats {
    font-size: 0.75rem;
    gap: 12px;
  }

  .collection-card-footer {
    margin-top: 12px;
    gap: 0.5rem;
  }

  .destination-cta {
    font-size: 0.8rem;
  }

  .collection-card-save-btn {
    display: flex;
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  /* ───── REC DETAIL MODAL ───── */
  .rec-detail-modal {
    padding: 12px;
  }

  .rec-detail-card {
    padding: 16px;
    border-radius: 18px;
  }

  .rec-detail-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rec-detail-image img {
    height: 160px;
    width: 100%;
  }

  .rec-detail-title {
    font-size: 18px;
  }

  .rec-detail-address {
    font-size: 13px;
  }

  /* ───── FILTER TOGGLE GROUP ───── */
  .filter-toggle-group {
    gap: 4px;
    padding: 4px;
    max-width: calc(100vw - 32px);
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    display: flex;
  }

  .filter-toggle-btn {
    padding: 8px;
    font-size: 0;  /* Hide text */
    flex-shrink: 0;
    min-width: 36px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
  }

  .filter-toggle-btn i {
    font-size: 16px;  /* Show icon */
  }

  /* ───── FILTER RIGHT LAYOUT ───── */
  .filter-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .filter-right > .filter-toggle-group,
  .filter-group > .filter-toggle-group {
    width: fit-content;
    max-width: 100%;
  }

  .filter-group {
    width: 100%;
  }

  /* ───── SORT DROPDOWN FIX ───── */
  .sort-group {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    overflow: visible;
  }

  .sort-group label {
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    color: #000e33;
  }

  .sort-group select,
  #sortSelect {
    flex: 1;
    min-width: 0;
    max-width: none;
    font-size: 0.9rem;
    padding: 10px 36px 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    color: #000e33;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }

  /* ───── COLLECTION MODAL FIX ───── */
  .collection-modal {
    padding: 12px;
    align-items: flex-start;
    padding-top: 40px;
  }

  .collection-modal-content {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    border-radius: 16px;
  }

  .collection-modal-header {
    padding: 16px 20px;
    position: relative;
  }

  .collection-modal-header h3 {
    font-size: 1.2rem;
    padding-right: 36px;
  }

  .collection-modal-header .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    z-index: 10;
  }

  .collection-modal-body {
    padding: 16px 20px 20px;
  }

  .collections-list {
    max-height: 200px;
  }

  .collection-item {
    padding: 10px;
    gap: 10px;
  }

  .collection-item-icon {
    width: 40px;
    height: 40px;
  }

  /* ───── REC DETAIL MODAL FIX ───── */
  .rec-detail-modal {
    padding: 8px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .rec-detail-modal-content {
    max-width: 100%;
    max-height: calc(100vh - 40px);
  }

  .rec-detail-card {
    padding: 14px;
    border-radius: 16px;
  }

  .rec-detail-modal .modal-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    z-index: 10;
  }

  .rec-detail-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rec-detail-image img {
    height: 140px;
    width: 100%;
    border-radius: 12px;
  }

  .rec-detail-title {
    font-size: 16px;
  }

  .rec-detail-address {
    font-size: 12px;
  }

  .rec-detail-description {
    font-size: 13px;
  }

  .rec-detail-section-title {
    font-size: 11px;
  }

  /* ───── FOOTER ───── */
  .footer-inner {
    padding: 0 16px;
  }

  .footer-logo {
    height: 80px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-columns {
    gap: 24px;
    flex-direction: column;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-socials a {
    margin-left: 0;
    margin-right: 12px;
  }

  .footer-app-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta {
    width: 100%;
    text-align: center;
  }
    .notification-modal {
  position: absolute;
  top: 52px;
  right: 30px;
  width: 320px;
  max-height: 420px;
  background: rgba(2, 8, 32, 0.98);
  border-radius: 16px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}


  .mobile-menu .create-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }


}

/* ═══════════════════════════════════════════════════════════════════════════
   EXTRA SMALL PHONES (375px and below)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 1.3rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .toggle-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .collection-card-images {
    height: 160px;
  }

  .collection-card-content {
    padding: 12px;
  }

  .collection-card-title {
    font-size: 1rem;
  }

  .content-grid {
    padding: 12px;
  }

  .filter-bar {
    padding: 12px;
  }

  .rec-detail-card {
    padding: 14px;
  }

  .rec-detail-title {
    font-size: 16px;
  }
}

.related-destinations-links {
  padding: 56px 20px;
  background: radial-gradient(circle at top left, #E8F1FF 0, #ffffff 45%, #faf5ff 100%);
}

.related-destinations-links .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.related-destinations-links h2 {
  margin: 0 0 12px;
  color: #000e33;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.related-destinations-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}

.related-destinations-links li {
  margin: 0;
}

.related-destinations-links a {
  color: #4b5bd5;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  display: inline-block;
}

.related-destinations-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .related-destinations-links {
    padding: 44px 20px;
  }

  .related-destinations-links ul {
    gap: 10px 14px;
  }

  .related-destinations-links a {
    font-size: 14px;
  }
}
