/* Checkout page — premium */
.checkout-page {
  --checkout-display: 'Outfit', system-ui, sans-serif;
  --checkout-body: 'Outfit', system-ui, sans-serif;
  --checkout-price: 'Outfit', system-ui, sans-serif;
  font-family: var(--checkout-body);
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  background: linear-gradient(180deg, #e8f6fa 0%, #f8fbfd 28%, #f8fbfd 100%);
  min-height: 100vh;
}

.checkout-hero {
  padding: calc(72px + 1.5rem) 0 1.5rem;
  background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 55%, #06b6d4 100%);
  color: #fff;
  margin-bottom: 0.5rem;
}

.checkout-hero__inner {
  text-align: center;
}

.checkout-hero h1 {
  font-family: var(--checkout-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.checkout-hero p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.checkout-steps {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.checkout-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.65;
}

.checkout-steps__item--active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
}

.checkout-steps__item span:first-child {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.checkout-layout {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 4rem;
}

@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }

  .checkout-summary {
    position: sticky;
    top: 88px;
  }
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout-card {
  background: #fff;
  border: 1px solid rgba(14, 116, 144, 0.1);
  border-radius: 22px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 12px 40px rgba(12, 74, 110, 0.07);
}

.checkout-card--payment {
  background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
  border-color: rgba(8, 145, 178, 0.2);
}

.checkout-card__head {
  margin-bottom: 1.1rem;
}

.checkout-card__head h2 {
  font-family: var(--checkout-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0c4a6e;
  margin: 0;
  letter-spacing: -0.02em;
}

.checkout-card__hint {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.25rem 0 0;
}

.checkout-badge {
  display: inline-flex;
  min-width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  background: #0891b2;
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.checkout-card--cart .checkout-card__head {
  display: flex;
  align-items: center;
}

.checkout-line {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e8f0f5;
  font-size: 0.92rem;
}

.checkout-line:last-child {
  border-bottom: none;
}

.checkout-line__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.checkout-line__body {
  flex: 1;
  min-width: 0;
}

.checkout-line__body strong {
  font-family: var(--checkout-body);
  color: #0c4a6e;
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 650;
  letter-spacing: 0;
  font-size: 0.94rem;
}

.checkout-line__meta {
  font-size: 0.8rem;
  color: #64748b;
}

.checkout-line--private {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.06), transparent);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 12px;
}

.checkout-line__extras {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  color: #0e7490;
  font-family: var(--checkout-body);
}

.checkout-line__extras li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.15rem 0;
}

.checkout-line__extras li span {
  font-family: var(--checkout-price);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Charter privado — extras */
.charter-extras {
  margin-top: 1.35rem;
  padding: 1.35rem 1.15rem 0.25rem;
  border-top: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 255, 0.85) 100%);
  border: 1px solid rgba(8, 145, 178, 0.12);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.charter-extras__head {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(8, 145, 178, 0.1);
}

.charter-extras__head h3 {
  font-family: var(--checkout-body);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 0.45rem;
  color: #0c4a6e;
}

.charter-extras__head p {
  margin: 0;
  font-family: var(--checkout-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  font-weight: 450;
}

.charter-extras__list {
  display: grid;
  gap: 0.65rem;
}

.charter-extra {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.charter-extra:hover {
  border-color: rgba(69, 216, 247, 0.45);
  background: #fff;
}

.charter-extra--on {
  border-color: #0891b2;
  background: rgba(69, 216, 247, 0.08);
  box-shadow: 0 2px 10px rgba(8, 145, 178, 0.1);
}

.charter-extra__check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.charter-extra__box {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border: 2px solid #94a3b8;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.charter-extra--on .charter-extra__box {
  border-color: #0891b2;
  background: #0891b2;
}

.charter-extra--on .charter-extra__box::after {
  content: '';
  width: 0.35rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.charter-extra__body strong {
  display: block;
  font-family: var(--checkout-body);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #0c4a6e;
  margin-bottom: 0.22rem;
  line-height: 1.35;
}

.charter-extra__desc {
  display: block;
  font-family: var(--checkout-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  font-weight: 450;
}

.charter-extra__price {
  font-family: var(--checkout-price);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #b45309;
  white-space: nowrap;
  padding-top: 0.12rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.charter-extras__total {
  margin: 1.1rem 0 0;
  font-family: var(--checkout-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-align: right;
}

.charter-extras__total strong {
  font-family: var(--checkout-price);
  color: #0c4a6e;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.checkout-line__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-family: var(--checkout-price);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  color: #0c4a6e;
}

.checkout-remove {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.15s;
}

.checkout-remove:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Sin movimiento en cards del checkout — más fácil de clickear */
.checkout-page .checkout-card,
.checkout-page .checkout-card:hover,
.checkout-page .checkout-sidebar .checkout-card,
.checkout-page .checkout-sidebar .checkout-card:hover {
  transform: none !important;
}

.checkout-page .charter-extra,
.checkout-page .charter-extra:hover,
.checkout-page .charter-extra--on {
  transform: none !important;
}

.checkout-page .checkout-line,
.checkout-page .checkout-line:hover {
  transform: none !important;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-family: var(--checkout-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
}

.checkout-row span:last-child {
  font-family: var(--checkout-price);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: #0c4a6e;
}

.checkout-row--total {
  font-weight: 650;
  color: #0c4a6e;
  border-top: 1px dashed #cbd5e1;
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  font-size: 1rem;
}

.checkout-row--total span:first-child {
  font-family: var(--checkout-body);
  font-weight: 700;
  letter-spacing: 0;
}

.checkout-row--total span:last-child {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0891b2;
}

.checkout-summary__note {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.85rem;
  line-height: 1.45;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

.checkout-pay-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: #ecfeff;
  border: 1.5px solid #a5f3fc;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #0c4a6e;
}

.checkout-pay-amount strong {
  font-family: var(--checkout-price);
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: #0891b2;
}

.checkout-row--deposit {
  color: #0891b2;
  font-size: 1.05rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ecfeff, transparent);
  margin: 0.5rem -0.5rem 0;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
}

.checkout-section-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0891b2;
  margin: 1.1rem 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}

.checkout-section-label:first-of-type {
  margin-top: 0;
}

.checkout-field {
  margin-bottom: 0.9rem;
}

.checkout-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.checkout-input-wrap {
  position: relative;
}

.checkout-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.7;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  padding: 0.78rem 0.9rem 0.78rem 2.5rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fafcfd;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;
  border-color: #0891b2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.checkout-field input:valid:not(:placeholder-shown),
.checkout-field select:valid {
  border-color: #a5f3fc;
}

.checkout-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .checkout-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .charter-extra {
    grid-template-columns: auto 1fr;
    gap: .55rem .75rem;
  }
  .charter-extra__price {
    grid-column: 2;
    justify-self: start;
  }
}

/* Hotel picker (zona + select) */
.hotel-picker__select,
.hotel-picker select,
.hotel-picker__other {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: .95rem;
  appearance: auto;
}

.hotel-picker__other {
  margin-top: .55rem;
}

.hotel-picker__hint {
  margin: .55rem 0 0;
  padding: .65rem .8rem;
  border-radius: 10px;
  background: rgba(14, 165, 233, .08);
  color: #0c4a6e;
  font-size: .85rem;
  line-height: 1.4;
}

.hotel-picker label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: .35rem;
}

.hotel-picker label + .hotel-picker__select,
.hotel-picker label[style] {
  margin-top: 0;
}

@media (max-width: 480px) {
  .checkout-page .header__logo-text {
    font-size: .7rem;
  }
  .checkout-page .cart-nav-btn span[data-i18n] {
    display: none;
  }
}

.checkout-insurance {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
  border: 1.5px solid #bae6fd;
  border-radius: 14px;
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  cursor: pointer;
}

.checkout-insurance input {
  margin-top: 0.2rem;
  accent-color: #0891b2;
  width: 1.1rem;
  height: 1.1rem;
}

.checkout-insurance strong {
  display: block;
  color: #0c4a6e;
  margin-bottom: 0.15rem;
}

.checkout-insurance small {
  color: #64748b;
  font-size: 0.78rem;
}

.checkout-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.35rem;
}

.checkout-card-preview {
  background: linear-gradient(135deg, #0c4a6e, #0891b2);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  color: #fff;
  margin-bottom: 1.25rem;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.checkout-card-preview::after {
  content: '';
  position: absolute;
  right: -20%;
  top: -40%;
  width: 60%;
  height: 140%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.checkout-card-preview__chip {
  width: 36px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  margin-bottom: 1rem;
}

.checkout-card-preview__number {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.checkout-card-preview__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.btn-checkout-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-checkout-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.4);
}

.btn-checkout-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-checkout-submit__arrow {
  font-size: 1.2rem;
}

.checkout-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.checkout-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #64748b;
}

.checkout-empty a {
  color: #0891b2;
  font-weight: 600;
}

.checkout-security-list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.checkout-security-list li {
  font-size: 0.78rem;
  color: #475569;
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.45;
}

.checkout-security-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

.checkout-legal {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.checkout-legal a {
  color: #0891b2;
}

.checkout-summary h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0c4a6e;
  margin-bottom: 1rem;
}

.checkout-summary__perks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.checkout-summary__perks li {
  font-size: 0.8rem;
  color: #475569;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.checkout-summary__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 800;
}

.cart-nav-btn__count {
  display: inline-flex;
  min-width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  background: #f59e0b;
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  margin-left: 0.25rem;
}

.confirm-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.confirm-box h1 {
  font-size: 1.75rem;
  color: #0c4a6e;
  margin-bottom: 0.5rem;
}

.confirm-code {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0891b2;
  margin: 1rem 0;
}

.confirm-box .btn--ghost {
  background: #fff;
  border: 1.5px solid rgba(12, 74, 110, 0.25);
  color: #0c4a6e;
}

.confirm-box .btn--ghost:hover {
  border-color: #0891b2;
  color: #0891b2;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.confirm-box--incomplete .confirm-code {
  color: #475569;
}

.confirm-sandbox-note {
  margin: 1rem auto 0;
  max-width: 28rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 0.92rem;
  line-height: 1.45;
}

.emergency-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.emergency-wa a {
  color: #dc2626;
  font-weight: 600;
}

/* Bote section checkout bar */
.bote-checkout-bar {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.bote-checkout-bar__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bote-checkout-bar__from {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
}

.bote-checkout-bar__price strong {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0c4a6e;
}

.bote-checkout-bar__label {
  font-size: 0.85rem;
  color: #0891b2;
  font-weight: 600;
}

.bote-checkout-bar__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bote-checkout-bar__alt {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Booking form pay button */
.btn-booking-pay {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
  transition: transform 0.15s;
}

.btn-booking-pay:hover {
  transform: translateY(-1px);
}

/* Map link */
.map-box__link {
  text-align: center;
  margin-top: 0.85rem;
}

.map-box__link a {
  color: #0891b2;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.map-box__link a:hover {
  text-decoration: underline;
}

.checkout-availability {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.checkout-availability--ok {
  background: rgba(46, 196, 182, 0.12);
  color: #0d9488;
}

.checkout-availability--warn {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}
