/* ============================================================
   Shared Trips Specific CSS
   ============================================================ */

.shared-hero {
  background: var(--cream);
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  border-bottom: 1px solid var(--sand);
}

.shared-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sale-badge {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.filter-pill {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--t-fast);
}

.filter-pill:hover {
  border-color: var(--muted);
  color: var(--dark);
}

.filter-pill.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.shared-content {
  background: var(--stone-50);
  padding: 3rem 0;
}

.shared-content-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .shared-content-inner {
    grid-template-columns: 1fr 340px;
  }
}

/* Empty State Card */
.empty-state-card {
  background: var(--white);
  border: 1px dashed var(--sand-mid);
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  width: 48px;
  height: 48px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.empty-state-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-family: "Inter", sans-serif;
}

.empty-state-card p {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.start-trip-box {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: left;
}

.start-trip-box h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Inter", sans-serif;
}

.trip-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--r-md);
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Steps widget */
.steps-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand-mid);
}

.steps-widget div {
  text-align: center;
}

/* How it works grid */
.how-it-works-shared {
  background: var(--white);
  padding: 4rem 0;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hiw-item {
  display: flex;
  gap: 1rem;
}

.hiw-num {
  width: 28px;
  height: 28px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-family: "Inter", sans-serif;
}

.hiw-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
}

/* Price Ladder Chart */
.price-ladder-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  margin-top: 3rem;
}

.price-ladder-title {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pl-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pl-pax {
  width: 40px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pl-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  min-width: 80px;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Bar widths based on price ratio roughly */
.pl-bar-1 {
  width: 100%;
  background: var(--red);
}
.pl-bar-2 {
  width: 60%;
  background: #c25f4a;
}
.pl-bar-3 {
  width: 45%;
  background: #d37360;
}
.pl-bar-4 {
  width: 35%;
  background: #df8472;
}
.pl-bar-5 {
  width: 30%;
  background: #eb9685;
}
.pl-bar-6 {
  width: 25%;
  background: #f5a999;
  color: var(--dark);
}

/* Sidebar FAQ */
.shared-faq {
  margin-bottom: 2rem;
}

.s-faq-item {
  border-bottom: 1px solid var(--sand-mid);
  padding: 1rem 0;
}

.s-faq-item:last-child {
  border-bottom: none;
}

.s-faq-q {
  font-weight: 700;
  font-family: "Inter", sans-serif;
  color: var(--dark);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.s-faq-a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  font-family: "Inter", sans-serif;
}
