/**
 * Tour Wishlist — scoped styles
 */

.tw-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  background: #fff;
  color: #64748B;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.tw-wishlist-btn:hover,
.tw-wishlist-btn.is-active {
  border-color: #B38756;
  color: #B38756;
  background: rgba(179, 135, 86, 0.08);
}

.tw-wishlist-btn.is-active .tw-wishlist-icon { color: #B38756; }

.tw-wishlist-loop {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  padding: 8px 10px;
  min-width: auto;
}

.tw-wishlist-loop .tw-wishlist-text { display: none; }

.woocommerce ul.products li.product { position: relative; }

.tw-wishlist-single { margin: 16px 0; }

.tw-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.tw-wishlist-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tw-wishlist-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }

.tw-wishlist-body { padding: 16px; background: #212940;}
.tw-wishlist-body span { color: white; }
.tw-wishlist-body h3 { color: white !important; margin: 8px 0; font-size: 1rem; }
.tw-wishlist-body h3 a { color: white; text-decoration: none; font-size: 1.2rem;}
.tw-wishlist-price { font-weight: 700; color: white; margin: 0 0 12px; }

.tw-wishlist-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tw-wishlist-actions .tour-btn {color: #fffbfb7d; font-size: 1.0rem;}
.tw-wishlist-actions .tour-btn:hover {color: white; }
.tw-wishlist-remove { color: #fffbfb7d; font-size: 1.0rem; font-weight: 600; text-decoration: none; }
.tw-wishlist-remove:hover {color: white; }

/* Reuse tour card styles on wishlist page */
.tw-wishlist-page .tour-card { padding: 32px; }
.tw-wishlist-page .tour-title { font-family: 'Cairo', Tahoma, Arial, sans-serif; }

/* Empty wishlist — matches cart empty state */
.tw-wishlist-page {
  --tw-primary: #0B0F1A;
  --tw-accent: #B38756;
  --tw-accent-dark: #9A7045;
}

.tw-empty-state {
  text-align: center;
  padding: 48px 20px 40px;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
}

.tw-empty-state__icon {
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
  margin: 0 auto 24px;
  color: var(--tw-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tw-empty-state__icon svg {
  width: 100%;
  height: 100%;
  max-width: 88px;
  max-height: 88px;
}

.tw-empty-state__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--tw-accent);
}

.tw-empty-state__desc {
  margin: 0 auto 28px;
  max-width: 480px;
  color: #FFFFFF;
  line-height: 1.8;
}

.tw-empty-state__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--tw-accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(179, 135, 86, 0.35);
  transition: 0.25s ease;
}

.tw-empty-state__cta:hover {
  background: var(--tw-accent-dark);
  transform: translateY(-2px);
}
