/* css/concierge/experience-rails.css */
/* Clean White + Black Rails Layout for Experiences & Events with Square Thumbnails */

.exp-rails-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 24px 0 70px 0;
  box-sizing: border-box;
}

/* Section Header */
.exp-rail-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.exp-rail-header {
  padding: 0 20px 14px 20px;
  box-sizing: border-box;
}

.exp-rail-title {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111317;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

.exp-rail-title span {
  white-space: nowrap;
}

.exp-rail-arrow {
  color: #8E929B;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.exp-rail-title:hover .exp-rail-arrow {
  transform: translateX(3px);
  color: #111317;
}

/* Horizontal Scroller (Swipeable Rail) */
.exp-rail-scroller {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.exp-rail-scroller::-webkit-scrollbar {
  display: none;
}

/* Experience Card */
.exp-card {
  flex: 0 0 190px;
  width: 190px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Square Media Stage: Strict 1:1 Aspect Ratio with Rounded Corners */
.exp-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F1F3F5;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease;
}

.exp-card:hover .exp-card-media {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.exp-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.exp-card:hover .exp-square-img {
  transform: scale(1.04);
}

/* Badge (Clean solid black or subtle tint - no AI slop) */
.exp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #111317;
  color: #FFFFFF;
  font-family: 'DM Mono', monospace, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Favorite Heart Button */
.exp-favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #717680;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease;
  padding: 0;
}

.exp-favorite-btn:hover {
  transform: scale(1.08);
  color: #111317;
}

.exp-favorite-btn.active {
  color: #E11D48;
}

.exp-favorite-btn.active svg {
  fill: #E11D48;
}

/* Typography & Info Row */
.exp-card-info {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.exp-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111317;
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.exp-card-meta {
  margin: 4px 0 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #717680;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.exp-price-now {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111317;
  letter-spacing: -0.02em;
}

.exp-price-was {
  font-size: 0.82rem;
  font-weight: 500;
  color: #9CA3AF;
  text-decoration: line-through;
}

.exp-card-perk {
  margin-top: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #4B5563;
  display: flex;
  align-items: center;
  gap: 4px;
}

.exp-rail-bottom-spacer {
  height: 40px;
}

@media (min-width: 768px) {
  .exp-card {
    flex: 0 0 210px;
    width: 210px;
  }
}
