/* Explora Journeys fleet pages — layer on the shared ship-detail system. */

.explora-ship {
  --explora-bronze: #a98256;
  --explora-bronze-deep: #6e4e30;
  --explora-sand: #f1ece4;
  --explora-ink: #151a1d;
}

.explora-ship .ship-hero__shade {
  background:
    linear-gradient(180deg, rgba(10, 18, 23, .06) 5%, rgba(10, 18, 23, .3) 48%, rgba(10, 18, 23, .96) 100%),
    linear-gradient(90deg, rgba(10, 18, 23, .78), rgba(10, 18, 23, .05) 72%);
}

.explora-ship .ship-kicker,
.explora-ship .ship-breadcrumb__separator {
  color: #d5b388;
}

.explora-ship .ship-section--white .ship-kicker,
.explora-ship .ship-section--paper .ship-kicker,
.explora-ship .angebote-slot .ship-kicker {
  color: var(--explora-bronze-deep);
}

.explora-ship .btn-gold,
.explora-ship .btn--primary {
  background: var(--explora-bronze);
  color: #fff;
}

.explora-ship .btn-gold:hover,
.explora-ship .btn--primary:hover {
  background: var(--explora-bronze-deep);
  color: #fff;
}

.ship-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(12, 18, 22, .48);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.ship-status-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ec597;
  box-shadow: 0 0 0 4px rgba(126, 197, 151, .17);
  content: "";
}

.ship-status-badge--build::before {
  background: #e1b26c;
  box-shadow: 0 0 0 4px rgba(225, 178, 108, .18);
}

.ship-fact-value--small {
  font-size: clamp(19px, 2.6vw, 27px) !important;
}

.ship-status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 40px;
  align-items: start;
}

.ship-answer-box {
  margin: 28px 0 4px;
  padding: 22px 24px;
  border-left: 4px solid var(--explora-bronze);
  background: var(--explora-sand);
}

.ship-answer-box strong {
  display: block;
  margin-bottom: 7px;
  color: var(--explora-bronze-deep);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ship-answer-box p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.68;
}

.ship-status-copy > p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.ship-milestones {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ship-milestones li {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 26px 24px;
  border-left: 1px solid #c9baa8;
}

.ship-milestones li::before {
  position: absolute;
  top: 4px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--explora-bronze);
  content: "";
}

.ship-milestones li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.ship-milestones time,
.ship-milestones .ship-milestones__date {
  color: var(--explora-bronze-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ship-milestones strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
}

.ship-milestones span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ship-confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ship-confirmation-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.ship-confirmation-card--open {
  background: #f8f5f0;
}

.ship-confirmation-card h3 {
  margin: 0 0 14px;
}

.ship-confirmation-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.ship-update-note {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed rgba(110, 78, 48, .34);
  background: rgba(255, 255, 255, .56);
}

.ship-update-note strong {
  color: var(--explora-bronze-deep);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ship-update-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ship-visualisation-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--explora-bronze);
  background: rgba(255, 255, 255, .08);
  color: inherit;
  font-size: 13px;
  line-height: 1.6;
}

.ship-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.ship-suite-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}

.ship-suite-card h3 {
  margin: 0 0 8px;
  color: #fff;
}

.ship-suite-card p {
  margin: 0;
  color: rgba(245, 243, 239, .74);
  font-size: 14px;
  line-height: 1.6;
}

.ship-suite-card--focus {
  border-top: 3px solid var(--explora-bronze);
}

.ship-suite-table-wrap {
  margin-top: 24px;
  border-color: rgba(255, 255, 255, .15);
}

.ship-suite-table {
  color: rgba(245, 243, 239, .8);
}

.ship-suite-table th,
.ship-suite-table td {
  border-color: rgba(255, 255, 255, .12);
}

.ship-suite-table thead th,
.ship-suite-table tbody th {
  color: #fff;
}

.ship-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ship-route-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ship-route-card:hover,
.ship-route-card:focus-visible {
  border-color: var(--explora-bronze);
  box-shadow: 0 14px 34px rgba(31, 27, 23, .08);
  transform: translateY(-2px);
}

.ship-route-card > span:first-child {
  margin-bottom: 15px;
  color: var(--explora-bronze-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ship-route-card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.28;
}

.ship-route-card__link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--explora-bronze-deep);
  font-size: 13px;
  font-weight: 800;
}

.ship-fleet-table .is-current {
  background: rgba(169, 130, 86, .12);
}

.ship-fleet-table a {
  color: var(--explora-bronze-deep);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ship-fleet-table .ship-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ship-fleet-table .ship-state::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fa884;
  content: "";
}

.ship-fleet-table .ship-state--build::before {
  background: #c99353;
}

.ship-source-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ship-source-link:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Compact offer comparison: a panoramic ship visual plus three comparable cards. */
.explora-ship .ship-offer-layout--live {
  display: block;
}

.explora-ship .ship-offer-layout--live .ship-offer-visual {
  width: 100%;
  height: clamp(220px, 25vw, 310px);
  min-height: 0;
  border-radius: 2px;
}

.explora-ship .ship-offer-layout--live .ship-offer-visual img,
.explora-ship .ship-offer-layout--fallback .ship-offer-visual img {
  height: 100%;
  min-height: 0;
  object-position: center 48%;
}

.explora-ship .ship-offer-layout--live .angebote-slot__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ship-offer-carousel {
  position: relative;
}

.ship-offer-carousel__button,
.ship-offer-carousel__status {
  display: none;
}

.explora-ship .angebote-card {
  min-height: 0;
  padding: 24px;
  border-color: rgba(110, 78, 48, .18);
  box-shadow: 0 12px 34px rgba(31, 27, 23, .07);
}

.explora-ship .angebote-card__route {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.23;
}

.explora-ship .angebote-card__meta {
  min-height: 3.2em;
  line-height: 1.55;
}

.explora-ship .angebote-card__price {
  padding-top: 8px;
  font-size: clamp(26px, 2.3vw, 32px);
}

.explora-ship .angebote-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  text-align: center;
}

.ship-offer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(110, 78, 48, .2);
  background: rgba(255, 255, 255, .66);
}

.ship-offer-toolbar span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ship-offer-toolbar .btn {
  flex: 0 0 auto;
}

.explora-ship .ship-offer-layout--fallback {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.explora-ship .ship-offer-layout--fallback .ship-offer-visual {
  height: 360px;
  min-height: 0;
}

.explora-ship .ship-offer-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
}

.ship-offer-fallback__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--explora-bronze-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.explora-ship .ship-offer-fallback h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.08;
}

.explora-ship .ship-offer-fallback .ship-actions {
  margin-top: 4px;
}

.ship-mobile-cta {
  display: none;
}

@media (max-width: 1050px) {
  .explora-ship .ship-offer-layout--live .angebote-slot__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ship-status-layout,
  .ship-suite-grid {
    grid-template-columns: 1fr;
  }

  .ship-suite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explora-ship .ship-offer-layout--fallback {
    grid-template-columns: 1fr;
  }

  .explora-ship .ship-offer-layout--fallback .ship-offer-visual {
    height: clamp(220px, 50vw, 320px);
  }

  .ship-offer-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ship-route-grid {
    grid-template-columns: 1fr;
  }

  .ship-route-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .ship-confirmation-grid,
  .ship-suite-grid {
    grid-template-columns: 1fr;
  }

  .ship-milestones li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .explora-ship {
    padding-bottom: 68px;
  }

  .explora-ship .angebote-slot {
    padding-block: 64px;
  }

  .explora-ship .ship-offer-layout--live .ship-offer-visual {
    height: 190px;
  }

  .explora-ship .ship-offer-layout--live .angebote-slot__cards {
    grid-template-columns: none;
    grid-auto-columns: minmax(82vw, 1fr);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 2px 10px;
    scroll-padding-inline: 2px;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--explora-bronze) transparent;
  }

  .ship-offer-carousel {
    padding-bottom: 48px;
  }

  .ship-offer-carousel__button {
    position: absolute;
    bottom: 0;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(110, 78, 48, .35);
    background: #fff;
    color: var(--explora-bronze-deep);
    font-size: 27px;
    line-height: 1;
  }

  .ship-offer-carousel__button--prev {
    left: 0;
  }

  .ship-offer-carousel__button--next {
    right: 0;
  }

  .ship-offer-carousel__button:disabled {
    cursor: not-allowed;
    opacity: .38;
  }

  .ship-offer-carousel__status {
    position: absolute;
    right: 52px;
    bottom: 0;
    left: 52px;
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .explora-ship .angebote-card {
    padding: 21px;
    scroll-snap-align: start;
  }

  .explora-ship .angebote-card__meta {
    min-height: 0;
  }

  .explora-ship .ship-offer-fallback {
    padding: 26px 22px;
  }

  .ship-offer-toolbar {
    padding: 16px;
  }

  .ship-offer-toolbar .btn {
    width: 100%;
    justify-content: center;
  }

  .ship-mobile-cta {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 1px;
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(20, 25, 28, .96);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px);
  }

  .ship-mobile-cta a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: var(--explora-bronze);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .ship-mobile-cta a:first-child {
    background: #fff;
    color: var(--explora-ink);
  }

  .ship-fleet-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ship-suite-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ship-suite-table,
  .ship-suite-table tbody,
  .ship-suite-table tr,
  .ship-suite-table th,
  .ship-suite-table td {
    display: block;
    width: 100%;
  }

  .ship-suite-table tr {
    margin-bottom: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
  }

  .ship-suite-table th,
  .ship-suite-table td {
    display: grid;
    grid-template-columns: minmax(94px, .7fr) minmax(0, 1.3fr);
    gap: 10px;
    padding: 6px 0;
    border: 0;
  }

  .ship-suite-table th::before,
  .ship-suite-table td::before {
    color: rgba(245, 243, 239, .58);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .ship-fleet-table,
  .ship-fleet-table tbody,
  .ship-fleet-table tr,
  .ship-fleet-table th,
  .ship-fleet-table td {
    display: block;
    width: 100%;
  }

  .ship-fleet-table tr {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .ship-fleet-table th,
  .ship-fleet-table td {
    display: grid;
    grid-template-columns: minmax(104px, .8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 7px 0;
    border: 0;
  }

  .ship-fleet-table th::before,
  .ship-fleet-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
}
