/* Bus tickets — same travel language as tours, timetable layout */
.rb-bus-page {
  --rb-bus-pink: #E11D2E;
  background:
    radial-gradient(ellipse 55% 32% at 100% 8%, rgba(196, 162, 101, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 28% at 0% 42%, rgba(31, 122, 110, 0.08), transparent 50%),
    var(--rb-mist, #efe8dc);
}

.rb-bus-hero {
  position: relative;
  z-index: 24;
  padding: 118px 0 0;
  overflow: visible;
  min-height: 420px;
  isolation: isolate;
}
.rb-bus-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #1a1012;
  z-index: 0;
}
.rb-bus-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rb-hero-focus, center center);
}
.rb-bus-hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--rb-mist, #efe8dc));
}
.rb-bus-hero__veil,
.rb-bus-hero__glow {
  position: absolute;
  pointer-events: none;
}
.rb-bus-hero__veil {
  inset: 0;
  z-index: 1;
  background: linear-gradient(108deg, rgba(12, 18, 24, 0.56) 0%, rgba(18, 28, 32, 0.24) 50%, rgba(12, 18, 24, 0.18) 100%);
}
.rb-bus-hero__glow {
  inset: auto -10% -20% 35%;
  z-index: 2;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.4), transparent 70%);
  filter: blur(10px);
}
.rb-bus-hero .container { position: relative; z-index: 3; }
.rb-bus-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
}
.rb-bus-crumb a { color: #fff; }
.rb-bus-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(196, 162, 101, .22);
  color: #f7f0e2;
  font-size: 12px;
  font-weight: 800;
}
.rb-bus-hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.rb-bus-hero__title em {
  font-style: normal;
  color: #f0dfb4;
}
.rb-bus-hero__desc {
  max-width: 640px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.8;
}
.rb-bus-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: #fff;
}
.rb-bus-hero__stats li { font-size: 13px; opacity: .88; }
.rb-bus-hero__stats strong { display: block; font-size: 18px; }
.rb-bus-search { margin-bottom: -28px; }

.rb-bus-body { padding: 56px 0 80px; }
.rb-bus-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.rb-bus-rail__copy strong { display: block; font-size: 15px; }
.rb-bus-rail__copy small { color: #6b7280; }
.rb-bus-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rb-bus-chips__item {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 42, 58, .08);
  color: #1c2a3a;
  font-size: 13px;
  font-weight: 700;
}
.rb-bus-chips__item.is-active {
  background: #1c2a3a;
  color: #fff;
}

.rb-bus-popular { margin: 0 0 28px; }
.rb-bus-popular h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}
.rb-bus-popular__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.rb-bus-popular__grid a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 42, 58, .05);
  color: inherit;
}
.rb-bus-popular__grid span { color: #9ca3af; font-size: 12px; }
.rb-bus-popular__grid em {
  margin-right: auto;
  font-style: normal;
  font-size: 12px;
  color: #1f7a6e;
  font-weight: 700;
}

.rb-bus-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff6e8;
  color: #7a4e12;
  font-size: 13px;
}

.rb-bus-results__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.rb-bus-results__head h2 {
  margin: 0;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
}
.rb-bus-results__head span { color: #6b7280; font-size: 13px; }

.rb-bus-list {
  display: grid;
  gap: 14px;
}

.rb-bus-card {
  display: grid;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(196, 162, 101, .18);
  box-shadow: 0 14px 36px rgba(28, 42, 58, .06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.rb-bus-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 46, .16);
  box-shadow: 0 22px 44px rgba(28, 42, 58, .1);
}
.rb-bus-card.is-vip {
  border-color: rgba(196, 162, 101, .42);
  box-shadow: 0 14px 36px rgba(154, 120, 64, .1);
}
.rb-bus-card.is-vip::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #9a7840, #f0dfb4, #c4a265);
}
.rb-bus-card.is-sold { opacity: .82; }
.rb-bus-card.is-sold:hover { transform: none; }

.rb-bus-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px dashed rgba(196, 162, 101, .28);
}
.rb-bus-card__brand { min-width: 0; }
.rb-bus-card__company {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.rb-bus-card__company img,
.rb-bus-card__initial {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: contain;
  background: #f7f2ea;
  border: 1px solid rgba(196, 162, 101, .2);
  flex-shrink: 0;
}
.rb-bus-card__initial {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1c2a3a;
}
.rb-bus-card__company-text { min-width: 0; }
.rb-bus-card__company small { display: block; }
.rb-bus-card__company strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.45;
  color: #1c2a3a;
}
.rb-bus-card__go {
  flex-shrink: 0;
  color: #c4a265;
  opacity: .85;
}
.rb-bus-card__company small {
  color: #6b7280;
  font-size: 12px;
  margin-top: 1px;
}
a.rb-bus-card__company:hover strong,
a.rb-bus-card__company:focus-visible strong {
  color: var(--rb-bus-pink, #E11D2E);
}
a.rb-bus-card__company:hover .rb-bus-card__go,
a.rb-bus-card__company:focus-visible .rb-bus-card__go {
  color: var(--rb-bus-pink, #E11D2E);
  opacity: 1;
}

.rb-bus-card__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-bus-card__chips li {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f4efe8;
  color: #6b5340;
  font-size: 11px;
  font-weight: 700;
}
.rb-bus-card__chips li.is-vip {
  background: #1c2a3a;
  color: #f0dfb4;
}

.rb-bus-card__main {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 168px;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 18px 16px;
}

.rb-bus-card__when {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #faf6ef, #f4efe8);
  text-align: center;
}
.rb-bus-card__when b {
  font-size: 28px;
  letter-spacing: -.04em;
  line-height: 1;
  color: #1c2a3a;
  font-variant-numeric: tabular-nums;
}
.rb-bus-card__when em {
  display: inline-flex;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(196, 162, 101, .18);
  color: #9a7840;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.rb-bus-card__when span {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.rb-bus-card__route {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(108px, 152px) minmax(0, max-content);
  grid-template-areas:
    "from-hint track to-hint"
    "from track to";
  justify-content: center;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.rb-bus-card__hint {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #b08a4a;
}
.rb-bus-card__hint.is-from {
  grid-area: from-hint;
  text-align: start;
}
.rb-bus-card__hint.is-to {
  grid-area: to-hint;
  text-align: end;
}
.rb-bus-card__stop {
  min-width: 0;
  max-width: 148px;
}
.rb-bus-card__stop.is-from {
  grid-area: from;
  text-align: start;
}
.rb-bus-card__stop.is-to {
  grid-area: to;
  text-align: end;
}
.rb-bus-card__stop em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  color: #1c2a3a;
  line-height: 1.3;
}
.rb-bus-card__stop small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8a8074;
  font-size: 12px;
  margin-top: 3px;
}
.rb-bus-card__track {
  grid-area: track;
  display: flex;
  align-items: center;
  align-self: center;
  min-width: 0;
  height: 36px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 240, 226, .9), rgba(247, 240, 226, .35));
  box-shadow: inset 0 0 0 1px rgba(196, 162, 101, .16);
}
.rb-bus-card__pin {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f7f0e2 58%);
  border: 1.5px solid #c4a265;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7);
  flex-shrink: 0;
}
.rb-bus-card__pin.is-to {
  background: radial-gradient(circle at 35% 30%, #f7e7c4, #c4a265 70%);
  border-color: #9a7840;
}
.rb-bus-card__rail {
  flex: 1;
  height: 0;
  border-top: 1.5px dashed rgba(154, 120, 64, .48);
}
.rb-bus-card__bus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 3px;
  border-radius: 50%;
  background: #fff;
  color: #9a7840;
  border: 1px solid rgba(196, 162, 101, .42);
  box-shadow: 0 6px 12px rgba(154, 120, 64, .14);
  flex-shrink: 0;
}

.rb-bus-card__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  padding: 2px 2px 2px 6px;
  margin-right: 4px;
  border-right: 1px dashed rgba(196, 162, 101, .38);
}
.rb-bus-card__seats {
  font-size: 12px;
  font-weight: 700;
  color: #1f7a6e;
  text-align: start;
}
.rb-bus-card__seats.is-sold { color: #b91422; }
.rb-bus-card__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
}
.rb-bus-card__price strong { font-size: 20px; color: #1c2a3a; }
.rb-bus-card__price small { color: #6b7280; }
.rb-bus-card__price .is-muted { font-size: 14px; color: #9ca3af; }
.rb-bus-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(225, 29, 46, .22);
}
.rb-bus-card__cta:hover { filter: brightness(1.05); }
.rb-bus-card__cta.is-sold {
  background: #1c2a3a;
  box-shadow: none;
}

.rb-bus-empty {
  padding: 42px 20px;
  text-align: center;
  border-radius: 20px;
  background: #fff;
}
.rb-bus-empty p { margin: 8px auto 0; max-width: 440px; color: #6b7280; }
.rb-bus-pager { margin-top: 22px; }

@media (max-width: 991px) {
  .rb-bus-card__main {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-areas:
      "when route"
      "aside aside";
  }
  .rb-bus-card__when { grid-area: when; }
  .rb-bus-card__route { grid-area: route; }
  .rb-bus-card__aside {
    grid-area: aside;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    width: 100%;
    margin: 2px 0 0;
    padding: 12px 0 0;
    border-right: 0;
    border-top: 1px dashed rgba(196, 162, 101, .28);
  }
  .rb-bus-card__cta { margin-top: 0; }
}

@media (max-width: 640px) {
  .rb-bus-hero { padding-top: 96px; min-height: 0; }
  .rb-bus-hero__title { font-size: 28px; }
  .rb-bus-body { padding: 40px 0 64px; }
  .rb-bus-card__head {
    padding: 14px 14px 10px;
    align-items: flex-start;
  }
  .rb-bus-card__chips { max-width: 46%; }
  .rb-bus-card__chips li:nth-child(n+3) { display: none; }
  .rb-bus-card__main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px 14px;
  }
  .rb-bus-card__when {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    gap: 8px 10px;
    width: 100%;
    padding: 10px 12px;
    text-align: start;
  }
  .rb-bus-card__when b { font-size: 26px; }
  .rb-bus-card__when span { margin-right: auto; }
  .rb-bus-card__route {
    width: 100%;
    padding: 6px 0 2px;
    grid-template-columns: minmax(0, 1fr) minmax(78px, 1fr) minmax(0, 1fr);
    justify-content: stretch;
  }
  .rb-bus-card__stop { max-width: none; }
  .rb-bus-card__stop em { font-size: 15px; }
  .rb-bus-card__track { height: 34px; }
  .rb-bus-card__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "seats price"
      "cta cta";
    align-items: center;
    gap: 8px 10px;
    padding-top: 12px;
  }
  .rb-bus-card__seats { grid-area: seats; }
  .rb-bus-card__price {
    grid-area: price;
    justify-content: flex-end;
  }
  .rb-bus-card__cta {
    grid-area: cta;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-bus-card,
  .rb-bus-card:hover {
    transform: none;
    transition: none;
  }
}

/* Seat map — boarding-pass + cabin */
.rb-seat-page {
  position: relative;
  padding: 118px 0 88px;
  overflow: hidden;
}
.rb-seat-page__glow {
  position: absolute;
  inset: 80px -12% auto;
  height: 280px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 70% at 82% 30%, rgba(196, 162, 101, .28), transparent 70%),
    radial-gradient(ellipse 36% 60% at 12% 70%, rgba(31, 122, 110, .12), transparent 68%);
  filter: blur(8px);
}
.rb-seat-crumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #8a8074;
  font-size: 13px;
  font-weight: 600;
}
.rb-seat-crumb a { color: #1c2a3a; }
.rb-seat-intro {
  position: relative;
  margin: 0 0 22px;
}
.rb-seat-intro__eye {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(196, 162, 101, .18);
  color: #8a6a32;
  font-size: 12px;
  font-weight: 800;
}
.rb-seat-intro h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #1c2a3a;
  line-height: 1.35;
}
.rb-seat-intro p {
  margin: 0;
  color: #6b6258;
  font-size: 14px;
}
.rb-seat-intro p a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.rb-seat-intro p a:hover,
.rb-seat-intro p a:focus-visible {
  color: var(--rb-bus-pink, #E11D2E);
}
.rb-seat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.rb-seat__main {
  min-width: 0;
  padding: 22px 24px 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(252,248,241,.96));
  border: 1px solid rgba(196, 162, 101, .22);
  box-shadow:
    0 18px 48px rgba(28, 42, 58, .07),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.rb-seat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 22px;
  margin-bottom: 14px;
}
.rb-seat__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.rb-seat__company {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.rb-seat__company img,
.rb-seat__company > span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(196, 162, 101, .28);
  box-shadow: 0 8px 18px rgba(28, 42, 58, .05);
}
.rb-seat__company > span {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1c2a3a;
}
.rb-seat__company strong,
.rb-seat__company small { display: block; }
a.rb-seat__company:hover strong,
a.rb-seat__company:focus-visible strong {
  color: var(--rb-bus-pink, #E11D2E);
}
.rb-seat__brand strong {
  font-size: 15px;
  line-height: 1.5;
}
.rb-seat__brand small { color: #8a8074; font-size: 12px; }
.rb-seat__vip {
  margin-right: 2px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #1c2a3a;
  color: #f0dfb4;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.rb-seat__trip { min-width: 0; flex: 1; }
.rb-seat__path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.rb-seat__path > div { min-width: 0; }
.rb-seat__path small {
  display: block;
  color: #9a7840;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 2px;
}
.rb-seat__path b {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}
.rb-seat__path > div:last-child { text-align: left; }
.rb-seat__path i {
  position: relative;
  height: 0;
  border-top: 1px dashed #c4a265;
}
.rb-seat__path i::before,
.rb-seat__path i::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c4a265;
  box-shadow: 0 0 0 4px rgba(196, 162, 101, .16);
}
.rb-seat__path i::before { right: -2px; }
.rb-seat__path i::after { left: -2px; }
.rb-seat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.rb-seat__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 42, 58, .06);
  color: #4b4450;
  font-size: 12px;
  font-weight: 700;
}
.rb-seat__tag.is-bus {
  background: #e8f0f6;
  color: #3d6b8c;
  border-color: transparent;
}
.rb-seat__alert,
.rb-seat__warn {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.8;
}
.rb-seat__alert { background: #fff6e8; color: #7a4e12; }
.rb-seat__warn {
  margin-top: 14px;
  background: linear-gradient(90deg, #fff4e8, #fff8f0);
  color: #9a3412;
  border: 1px solid rgba(194, 65, 12, .1);
}
.rb-seat__cabin {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 20px;
  background: #faf7f2;
  border: 1px solid #eee4d6;
}
.rb-seat__cockpit {
  flex-shrink: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a8074;
  border-right: 1px solid #eee4d6;
}
.rb-seat__cockpit svg { color: #1c2a3a; }
.rb-seat__cockpit small {
  font-size: 10px;
  font-weight: 700;
}
.rb-seat__deck {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 2px 0;
}
.rb-seat__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: max-content;
}
.rb-seat__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.rb-seat__row.is-aisle { min-height: 12px; }
.rb-seat__aisle {
  display: block;
  width: 100%;
  height: 1px;
  background: #e5d9c6;
}
.rb-seat__gap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.rb-seat__cell {
  width: 44px;
  height: 44px;
  border: 1px solid #d8cfc2;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #1c2a3a;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
button.rb-seat__cell {
  cursor: pointer;
  padding: 0;
}
button.rb-seat__cell:focus-visible {
  outline: 2px solid #c4a265;
  outline-offset: 2px;
}
.rb-seat__cell.is-available:hover {
  border-color: #1c2a3a;
}
.rb-seat__cell.is-selected {
  background: #e11d2e;
  border-color: #e11d2e;
  color: #fff;
}
.rb-seat__cell.is-ladies {
  background: #f3d4dc;
  border-color: #f3d4dc;
}
.rb-seat__cell.is-gents {
  background: #d5e6f3;
  border-color: #d5e6f3;
}
.rb-seat__cell.is-unavailable {
  background: #ece8e2;
  border-color: #ece8e2;
  color: #9a938a;
}
.rb-seat__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 16px 2px 0;
  padding: 0;
  list-style: none;
}
.rb-seat__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b6258;
  font-size: 12px;
  font-weight: 600;
}
.rb-seat__legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d8cfc2;
}
.rb-seat__legend .is-ladies { background: #f3d4dc; box-shadow: none; }
.rb-seat__legend .is-gents { background: #d5e6f3; box-shadow: none; }
.rb-seat__legend .is-unavailable { background: #ece8e2; box-shadow: none; }
.rb-seat__legend .is-selected { background: #e11d2e; box-shadow: none; }
.rb-seat__side {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(196, 162, 101, .22);
  box-shadow: 0 18px 48px rgba(28, 42, 58, .07);
}
.rb-seat__pass-top {
  padding: 22px 22px 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(196, 162, 101, .28), transparent 46%),
    linear-gradient(160deg, #243446, #1c2a3a);
  color: #fff;
}
.rb-seat__pass-top span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #f0dfb4;
  margin-bottom: 4px;
}
.rb-seat__pass-top strong {
  display: block;
  font-size: 32px;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.rb-seat__pass-top small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.rb-seat__pass-top.is-hot small { color: #ffb4ba; }
.rb-seat__pass-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 20px;
}
.rb-seat__pass-body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 16px;
  left: 16px;
  height: 0;
  border-top: 1px dashed #e5d9c6;
}
.rb-seat__fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rb-seat__ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f7f2ea;
  color: #9a7840;
  flex-shrink: 0;
}
.rb-seat__fact strong,
.rb-seat__fact small { display: block; }
.rb-seat__fact strong { font-size: 16px; }
.rb-seat__fact small { color: #8a8074; font-size: 12px; margin-top: 3px; }
.rb-seat__picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -6px 0 0 46px;
  padding: 0;
  list-style: none;
}
.rb-seat__picks li {
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.rb-seat__refunds h3 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #1c2a3a;
}
.rb-seat__refunds ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.rb-seat__refunds li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #5b534c;
}
.rb-seat__refunds em {
  font-style: normal;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}
.rb-seat__refunds .is-warn { background: #ffedd5; color: #c2410c; }
.rb-seat__refunds .is-danger { background: #fee2e2; color: #b91c1c; }
.rb-seat__buy,
.rb-seat-dock button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 13px 16px;
  background: linear-gradient(180deg, #ef3344, #e11d2e);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(225, 29, 46, .22);
}
.rb-seat__buy:hover:not(:disabled),
.rb-seat-dock button:hover:not(:disabled) {
  background: #b91422;
}
.rb-seat__buy:disabled,
.rb-seat-dock button:disabled {
  background: #e8d9c4;
  color: #8a8074;
  box-shadow: none;
  cursor: not-allowed;
}
.rb-seat__hint {
  margin: 0;
  color: #8a8074;
  font-size: 12px;
  line-height: 1.75;
}
.rb-seat__back {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #1c2a3a;
}
.rb-seat-dock {
  display: none;
}

@media (max-width: 991px) {
  .rb-seat {
    grid-template-columns: 1fr;
  }
  .rb-seat__side { position: static; }
  .rb-seat__path {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  }
  .rb-seat-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin-top: 18px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,251,246,.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(196, 162, 101, .22);
    box-shadow: 0 -10px 28px rgba(28, 42, 58, .08);
  }
  .rb-seat-dock[hidden] { display: none; }
  .rb-seat-dock strong,
  .rb-seat-dock small { display: block; }
  .rb-seat-dock strong { font-size: 16px; }
  .rb-seat-dock small { color: #8a8074; font-size: 12px; }
  .rb-seat-dock button { width: auto; min-width: 148px; }
  .rb-seat__buy { display: none; }
}

@media (max-width: 640px) {
  .rb-seat-page { padding: 118px 0 28px; }
  .rb-seat-intro h1 { font-size: 26px; }
  .rb-seat__main { padding: 16px; border-radius: 22px; }
  .rb-seat__head { align-items: stretch; }
  .rb-seat__path {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .rb-seat__path i {
    width: 56px;
    justify-self: center;
    transform: rotate(-90deg);
  }
  .rb-seat__path > div:last-child { text-align: right; }
  .rb-seat__cabin {
    padding: 14px 12px;
    border-radius: 16px;
    gap: 12px;
  }
  .rb-seat__cockpit { width: 36px; }
  .rb-seat__cell,
  .rb-seat__gap { width: 38px; height: 38px; }
  .rb-seat__cell { border-radius: 10px; font-size: 12px; }
  .rb-seat__pass-top strong { font-size: 26px; }
}

.rb-bus-guide {
  margin-top: 48px;
  padding: 28px 28px 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(196, 162, 101, .18);
  box-shadow: 0 16px 36px rgba(28, 42, 58, .05);
}
.rb-bus-guide__head { max-width: 46em; margin-bottom: 22px; }
.rb-bus-guide__head span {
  display: inline-block;
  margin-bottom: 8px;
  color: #9a7840;
  font-size: 12px;
  font-weight: 800;
}
.rb-bus-guide__head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
}
.rb-bus-guide__head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #5c6168;
}
.rb-bus-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rb-bus-guide__grid section {
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: #faf7f2;
}
.rb-bus-guide__grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}
.rb-bus-guide__grid p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #5c6168;
}
.rb-bus-faq { margin-top: 42px; }
.rb-bus-faq__head { margin-bottom: 16px; }
.rb-bus-faq__head span {
  display: inline-block;
  margin-bottom: 6px;
  color: #9a7840;
  font-size: 12px;
  font-weight: 800;
}
.rb-bus-faq__head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
}
.rb-bus-faq__list { display: flex; flex-direction: column; gap: 10px; }
.rb-bus-faq__item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 28, 30, .06);
}
.rb-bus-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 800;
}
.rb-bus-faq__item summary::-webkit-details-marker { display: none; }
.rb-bus-faq__item summary::after {
  content: "+";
  float: left;
  color: #9a7840;
  font-weight: 800;
}
.rb-bus-faq__item[open] summary::after { content: "−"; }
.rb-bus-faq__item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.9;
  color: #5c6168;
}

@media (max-width: 991px) {
  .rb-bus-guide__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-seat__cell { transition: none; }
}
