.destinations-hero > .container {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
  direction: ltr;
}

.destinations-intro {
  display: block;
}

.destinations-hero .hero-content {
  grid-column: 2;
  grid-row: 1;
}

[dir="rtl"] .destinations-hero .hero-content,
[dir="rtl"] .trip-booking-card,
[dir="rtl"] .trip-planner-workspace,
[dir="rtl"] .destinations-intro {
  direction: rtl;
}

[dir="ltr"] .destinations-hero .hero-content,
[dir="ltr"] .trip-booking-card,
[dir="ltr"] .trip-planner-workspace,
[dir="ltr"] .destinations-intro {
  direction: ltr;
}

.destinations-intro .section-heading {
  margin-bottom: 35px;
}

.trip-booking-card,
.planner-panel,
.booking-summary-card,
.booking-confirmation {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(54, 22, 48, 0.1);
}

.trip-booking-card {
  position: static;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  max-height: none;
  overflow: visible;
  padding: 16px;
  scrollbar-color: rgba(109, 40, 95, 0.35) transparent;
  scrollbar-width: thin;
}

.trip-booking-card__heading {
  margin-bottom: 11px;
}

.trip-booking-card__heading h3 {
  color: var(--purple-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.trip-booking-card__heading p {
  margin-top: 2px;
  color: var(--text-light);
  font-size: 0.7rem;
  line-height: 1.6;
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.booking-field {
  display: grid;
  gap: 4px;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-field label,
.booking-field > span {
  color: var(--purple-dark);
  font-size: 0.69rem;
  font-weight: 800;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  color: var(--text);
  background: var(--beige-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.72rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-field textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(109, 40, 95, 0.1);
}

.trip-duration {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  color: var(--purple);
  background: var(--beige-light);
  border-radius: 9px;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.booking-primary-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border: 0;
  border-radius: 10px;
  box-shadow: 0 9px 22px rgba(109, 40, 95, 0.2);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-primary-button:hover {
  box-shadow: 0 12px 28px rgba(109, 40, 95, 0.27);
  transform: translateY(-2px);
}

.trip-planner-workspace {
  margin-top: 48px;
  scroll-margin-top: 110px;
}

.mini-trip-plan {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.mini-trip-plan__heading,
.mini-trip-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-trip-plan__heading h4 {
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.mini-trip-plan__heading span {
  padding: 3px 7px;
  color: var(--purple);
  background: var(--beige-light);
  border-radius: 20px;
  font-size: 0.62rem;
  font-weight: 800;
}

.mini-trip-timeline {
  display: grid;
  max-height: 135px;
  overflow-y: auto;
  margin: 9px 0;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.68rem;
  line-height: 1.5;
}

.mini-trip-day {
  position: relative;
  padding: 7px 18px 7px 8px;
  background: var(--beige-soft);
  border-radius: 8px;
}

.mini-trip-day::before {
  position: absolute;
  top: 11px;
  right: 7px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

[dir="ltr"] .mini-trip-day {
  padding: 7px 8px 7px 18px;
}

[dir="ltr"] .mini-trip-day::before {
  right: auto;
  left: 7px;
}

.mini-trip-day strong,
.mini-trip-day span {
  display: block;
}

.mini-trip-day strong {
  color: var(--purple-dark);
  font-size: 0.68rem;
}

.mini-trip-day span {
  margin-top: 1px;
}

.mini-trip-total {
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-trip-total strong {
  color: var(--purple);
  font-size: 0.76rem;
}

.trip-planner-workspace[hidden] {
  display: none;
}

.planner-live-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px 20px;
  gap: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(53, 21, 47, 0.2);
}

.planner-live-summary h3 {
  font-size: 1.12rem;
  font-weight: 900;
}

.planner-live-summary__values {
  color: var(--beige-light);
  font-size: 0.9rem;
  font-weight: 800;
}

.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: 22px;
}

.planner-panel,
.booking-summary-card {
  padding: clamp(20px, 3vw, 28px);
}

.planner-panel__heading,
.booking-summary-card__heading {
  margin-bottom: 20px;
}

.planner-panel__heading h3,
.booking-summary-card__heading h3 {
  color: var(--purple-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.planner-panel__heading p,
.booking-summary-card__heading p {
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.8rem;
}

.trip-timeline {
  display: grid;
  gap: 15px;
}

.timeline-day {
  position: relative;
  padding: 17px 21px 17px 17px;
  background: var(--beige-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.timeline-day::before {
  position: absolute;
  top: 21px;
  right: -6px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(200, 155, 84, 0.2);
}

[dir="ltr"] .timeline-day::before {
  right: auto;
  left: -6px;
}

.timeline-day__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timeline-day__heading strong {
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.timeline-day__heading span {
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 800;
}

.timeline-day__items {
  display: grid;
  margin-top: 11px;
  gap: 8px;
}

.timeline-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  padding: 9px 10px;
  gap: 8px;
  background: var(--white);
  border-radius: 10px;
}

.timeline-experience__name {
  min-width: 0;
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 800;
}

.timeline-experience select {
  min-height: 34px;
  padding: 4px 7px;
  color: var(--purple-dark);
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.7rem;
}

.timeline-remove {
  width: 32px;
  height: 32px;
  color: #8b3442;
  background: #fff1f3;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.timeline-empty {
  margin-top: 9px;
  color: var(--text-light);
  font-size: 0.76rem;
}

.booking-summary-list,
.booking-price-list {
  display: grid;
  gap: 10px;
}

.booking-summary-row,
.booking-price-item,
.booking-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.booking-summary-row span,
.booking-price-item span {
  color: var(--text-light);
  font-size: 0.78rem;
}

.booking-summary-row strong,
.booking-price-item strong {
  color: var(--purple-dark);
  font-size: 0.8rem;
  text-align: end;
}

.booking-price-list {
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.booking-total {
  margin-bottom: 21px;
  color: var(--purple-dark);
  font-weight: 900;
}

.booking-total strong {
  color: var(--purple);
}

.customer-form {
  display: grid;
  gap: 12px;
}

.terms-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.76rem;
}

.terms-field input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--purple);
}

.booking-form-status {
  min-height: 20px;
  color: #8b3442;
  font-size: 0.76rem;
  font-weight: 700;
}

.booking-confirmation {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-color: rgba(74, 132, 91, 0.3);
}

.booking-confirmation[hidden] {
  display: none;
}

.booking-confirmation h3 {
  color: #315f3d;
  font-size: 1.35rem;
  font-weight: 900;
}

.booking-confirmation__number {
  display: inline-flex;
  margin: 12px 0 18px;
  padding: 8px 13px;
  color: var(--purple-dark);
  background: var(--beige-light);
  border-radius: 9px;
  font-weight: 900;
}

.booking-confirmation__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  color: var(--text-light);
  font-size: 0.82rem;
}

@media (max-width: 950px) {
  .destinations-hero > .container,
  .planner-layout {
    grid-template-columns: 1fr;
  }

  .destinations-hero > .container {
    gap: 0;
    direction: inherit;
  }

  .destinations-hero .hero-content,
  .trip-booking-card {
    grid-column: 1;
  }

  .destinations-hero .hero-content {
    grid-row: 1;
  }

  .trip-booking-card {
    grid-row: 2;
    margin: 0 0 70px;
    width: 100%;
    max-width: 620px;
  }
}

@media (max-width: 650px) {
  .booking-fields,
  .booking-confirmation__details {
    grid-template-columns: 1fr;
  }

  .booking-field--full,
  .trip-duration {
    grid-column: auto;
  }

  .trip-booking-card,
  .planner-panel,
  .booking-summary-card {
    padding: 17px;
    border-radius: 18px;
  }

  .planner-live-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-experience {
    grid-template-columns: 1fr auto;
  }

  .timeline-experience select {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-primary-button {
    transition: none;
  }
}
