@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('./fonts/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand: #0062ff;
  --brand-dark: #004ed1;
  --accent: #ff5f1f;
  --ink: #212121;
  --muted: #536471;
  --line: #cfd9de;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --page-max: 1440px;
  --page-pad: 24px;
  --page-edge: max(
    var(--page-pad),
    calc((100vw - var(--page-max)) / 2 + var(--page-pad))
  );
  --font-body:
    'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-title: 'Gilroy', 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
}

.shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

html.is-payment-active .shell {
  min-height: calc(100vh - 72px);
}

.hero-card,
.checkout-card {
  min-height: auto;
  background: var(--surface);
  border: 0;
  box-shadow: none;
}

.brand-row,
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px var(--page-edge);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  min-width: 122px;
  border: 1px solid #d8e1e8;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 0 12px;
  box-shadow: 0 1px 2px rgba(31, 41, 55, 0.06);
}

.language-trigger:hover,
.language-picker.is-open .language-trigger {
  border-color: #b8c7d2;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.1);
}

.language-trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.language-icon,
.language-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.language-current {
  min-width: 48px;
  text-align: left;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 168px;
  padding: 6px;
  border: 1px solid #d8e1e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.16);
}

.language-menu-option {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 8px 10px;
  text-align: left;
}

.language-menu-option strong {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.language-menu-option:hover,
.language-menu-option[aria-selected='true'] {
  background: #eef4ff;
  color: var(--brand);
}

.language-menu-option:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
}

.trust-badge {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  padding: 0;
  white-space: nowrap;
}

.trust-badge:hover .trust-label,
.trust-badge:focus-visible .trust-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.trust-badge:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 999px;
}

.trust-label {
  display: inline-block;
}

.trust-label strong {
  font-weight: 600;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.trust-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.trust-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-card {
  position: relative;
}

.offer-brand-row {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: rgba(0, 0, 0, 0.12);
}

.offer-brand-row .brand,
.offer-brand-row .trust-badge {
  color: #fff;
}

.offer-brand-row .language-trigger {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.94);
}

.offer-brand-row .trust-mark svg path[stroke='black'] {
  stroke: #fff;
  stroke-opacity: 0.48;
}

.landing-hero {
  display: flex;
  align-items: center;
  min-height: 700px;
  padding: 96px var(--page-edge) 24px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 54%),
    url('./assets/hero-badura-mountains.jpg') center / cover no-repeat;
}

.landing-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.landing-hero .eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
  letter-spacing: 0;
}

.landing-hero h1 {
  color: #fff;
  text-shadow:
    0 8px 8px rgba(0, 0, 0, 0.04),
    0 4px 4px rgba(0, 0, 0, 0.08);
}

.offer-subtitle {
  width: 100%;
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  text-shadow:
    0 8px 8px rgba(0, 0, 0, 0.04),
    0 4px 4px rgba(0, 0, 0, 0.08);
}

.landing-content {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
  gap: 16px 24px;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 32px 24px;
}

.details-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.landing-price-block {
  display: grid;
  gap: 16px;
}

.landing-price-line {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.list-price {
  flex: 0 0 auto;
  color: #d32f2f;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: line-through;
  white-space: nowrap;
}

.price,
.summary-price {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
}

.summary-price {
  font-size: 48px;
  line-height: 56px;
}

.purchase-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.purchase-action .primary {
  width: 280px;
}

.purchase-action span {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.sold-out-message {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  line-height: 36px;
}

.primary {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.primary.is-loading {
  opacity: 1;
}

.primary.is-loading::after {
  content: '';
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -0.12em;
  animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.primary:hover:not(:disabled) {
  background: var(--brand-dark);
}

.wide {
  width: 100%;
}

.landing-intro-list,
.bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.landing-intro-list li + li {
  margin-top: 16px;
}

.bullets ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

.detail-section {
  max-width: 720px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.package-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.detail-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.detail-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.detail-copy {
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.detail-copy p {
  margin: 0 0 16px;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.address-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.address-pin {
  flex: 0 0 auto;
  color: #d32f2f;
}

.detail-section .detail-bullets {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.detail-section .detail-bullets li + li {
  margin-top: 8px;
}

.package-details {
  display: grid;
  gap: 16px;
}

.package-detail {
  display: grid;
  gap: 12px;
  border: 1px solid #e4ebf1;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff2ec;
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.package-detail h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
}

.package-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-detail li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.package-detail li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 316px 316px 316px;
  gap: 16px;
  min-width: 0;
}

.photo {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}

.photo-dining,
.photo-bar {
  grid-row: 1;
}

.photo-room {
  grid-column: 1 / -1;
  grid-row: 2;
}

.photo-garden,
.photo-reception {
  grid-row: 3;
}

.checkout-card {
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background: var(--soft);
}

.ghost {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft);
  padding: 0;
  color: var(--muted);
}

.ghost svg {
  display: block;
  width: 24px;
  height: 24px;
}

.checkout-grid {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px 24px 32px;
}

.checkout-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 24px;
  align-items: stretch;
  min-height: 592px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.checkout-main {
  min-width: 0;
}

.panel,
.summary {
  border: 0;
  border-radius: 0;
  padding: 0;
}

.panel + .panel {
  margin-top: 24px;
}

.checkout-form,
.checkout-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.checkout-form {
  gap: 24px;
}

.checkout-section {
  gap: 16px;
  width: 100%;
}

.checkout-section h3,
.summary h3,
#payment-panel h3,
#payment-status-title,
#success-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: 0;
}

.checkout-copy {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.checkout-divider,
.summary-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.checkout-progress {
  margin: 0;
}

.checkout-progress:empty {
  display: none;
}

.muted,
.secure,
.summary p {
  color: var(--muted);
}

label {
  display: block;
  width: min(100%, 400px);
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

input {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.sr-only + input,
.stacked-field input {
  margin-top: 0;
}

.stacked-field {
  position: relative;
  color: transparent;
  font-size: 0;
}

.stacked-field span {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  pointer-events: none;
}

.stacked-field input {
  padding-top: 20px;
  padding-bottom: 4px;
}

input:disabled,
select:disabled {
  background: #eef2f7;
  cursor: not-allowed;
}

.weekend-picker {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-top: 16px;
}

.weekend-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  border: 2px solid #d88a00;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 16px 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  cursor: pointer;
}

.weekend-picker-trigger:focus-visible {
  outline: 3px solid rgba(0, 98, 255, 0.22);
  outline-offset: 2px;
}

.weekend-picker-trigger:disabled {
  border-color: #cfd9de;
  background: #eef2f7;
  color: var(--muted);
  cursor: not-allowed;
}

.weekend-picker-chevron {
  width: 0;
  height: 0;
  margin-left: 16px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--muted);
}

.weekend-picker.is-open .weekend-picker-chevron {
  transform: rotate(180deg);
}

.weekend-picker-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 2px;
  max-height: 222px;
  overflow-y: auto;
  border: 1px solid #cfd9de;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.16);
  padding: 6px;
  scrollbar-gutter: stable;
}

.weekend-picker-menu[hidden] {
  display: none;
}

.weekend-picker-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  padding: 0 12px 0 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  cursor: pointer;
}

.weekend-picker-option::before {
  content: '';
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.weekend-picker-option:hover,
.weekend-picker-option:focus-visible {
  outline: 0;
  background: #f5f8fb;
}

.weekend-picker-option.is-selected {
  background: #fff4e1;
  color: var(--ink);
}

.weekend-picker-option.is-selected::before {
  content: '✓';
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.summary-price {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
  letter-spacing: 0;
}

.summary-line {
  margin: 0;
  color: var(--ink) !important;
  font-size: 16px;
  line-height: 24px;
}

#summary-status {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

#summary-status:empty {
  display: none;
}

.blue-info-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  padding: 24px;
}

html.is-blue-info-open {
  overflow: hidden;
}

.blue-info-modal {
  width: 100%;
  max-width: 1392px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.blue-info-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 16px;
}

.blue-info-topbar h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blue-info-close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  flex: 0 0 auto;
}

.blue-info-close:hover {
  color: var(--ink);
  background: #e9eef4;
}

.blue-info-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.blue-info-room {
  background: var(--soft);
  padding: 16px;
}

.blue-info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.blue-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(720px, 100%);
}

.blue-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blue-info-col h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
}

.blue-info-copy {
  display: grid;
  gap: 16px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.blue-info-copy p,
.blue-info-source-copy {
  margin: 0;
}

.blue-info-copy strong {
  font-weight: 700;
}

.blue-info-copy a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blue-info-steps {
  margin: 0;
  padding-left: 24px;
}

.blue-info-steps li {
  padding-left: 4px;
}

.blue-info-protected-list {
  margin: -8px 0 0;
  padding-left: 16px;
}

.blue-flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 2px solid var(--brand);
  border-radius: 16px;
  background: #e5efff;
  padding: 24px;
}

.blue-flow-card-nested,
.blue-flow-card-leaf {
  background: var(--surface);
  padding: 24px;
}

.blue-flow-card-leaf {
  background: #e5efff;
}

.blue-flow-card h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
  max-width: calc(100% - 96px);
}

.blue-flow-card-nested h4,
.blue-flow-card-leaf h4 {
  font-size: 28px;
  line-height: 36px;
}

.blue-flow-corner {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-top-right-radius: 14px;
}

.blue-flow-corner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.blue-flow-meta {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.blue-flow-meta strong {
  margin-right: 6px;
  font-weight: 600;
}

.blue-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.blue-flow-step strong {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
}

.blue-flow-step p {
  margin: 4px 0 0;
}

.blue-step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--brand);
  flex: 0 0 auto;
}

.blue-step-icon::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #fff;
}

.blue-info-divider {
  height: 1px;
  width: 100%;
  background: var(--line);
}

.blue-source-block {
  max-height: 520px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family:
    'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 14px;
  line-height: 24px;
  padding: 16px;
  white-space: pre;
}

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

.hidden {
  display: none !important;
}

html.has-checkout-session [data-view='offer'],
html.has-checkout-session [data-view='checkout'],
html.has-checkout-session [data-view='payment'] {
  display: none !important;
}

html.has-checkout-session [data-view='email-confirmation'] {
  display: block !important;
}

html.has-checkout-code [data-view='email-confirmation'] {
  display: none !important;
}

html.has-checkout-code [data-view='payment'] {
  display: block !important;
}

html.has-checkout-code #payment-card-panel,
html.has-checkout-code #success-panel {
  display: none !important;
}

html.has-checkout-code #payment-status-panel {
  display: grid !important;
}

.email-confirmation {
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.8);
}

.email-overlay {
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.email-modal {
  display: flex;
  overflow: hidden;
  flex: 1;
  flex-direction: column;
  min-height: calc(100vh - 48px);
  margin: 0;
  border-radius: 8px;
  background: var(--surface);
}

.email-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.email-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.email-room {
  display: flex;
  flex: 1;
  min-height: 0;
  padding: 16px;
  background: var(--soft);
}

.email-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.email-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.email-content h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
}

.email-content p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.mailbox-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #e8f1ff;
}

.mailbox-avatar svg {
  width: 88px;
  height: 88px;
}

.email-confirmation-status {
  color: var(--muted) !important;
}

.email-confirmation-status:empty {
  display: none;
}

.payment-page {
  min-height: calc(100vh - 72px);
  background: var(--surface);
}

.payment-header {
  padding-right: var(--page-edge);
  padding-left: var(--page-edge);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  grid-template-areas:
    'title summary'
    'title-divider summary'
    'details summary';
  grid-template-rows: auto auto 1fr;
  gap: 16px 24px;
  width: 100%;
  max-width: var(--page-max);
  min-height: calc(100vh - 144px);
  margin: 0 auto;
  padding: 24px;
}

.payment-offer-title {
  grid-area: title;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
}

.payment-title-divider {
  grid-area: title-divider;
}

.payment-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.payment-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.payment-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-section h2,
.payment-summary h2,
.payment-card-panel h3,
.payment-status-panel h3,
.payment-success h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.payment-section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.payment-section li,
.payment-section p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.payment-section p + p {
  margin-top: 0;
}

.payment-summary {
  grid-area: summary;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.payment-total {
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
}

.payment-card-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stripe-payment-element {
  width: 100%;
}

.stripe-payment-element.is-mounted .stripe-payment-placeholder {
  display: none;
}

.stripe-payment-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.payment-card-inputs {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.payment-card-field {
  position: relative;
  width: 100%;
  max-width: none;
}

.payment-card-field input {
  height: 48px;
  margin: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
}

.card-number-field input {
  padding-right: 148px;
}

.card-logos {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 24px;
}

.payment-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-card-row .payment-card-field:first-child {
  border-right: 1px solid var(--line);
}

.security-info {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.security-info svg {
  flex: 0 0 24px;
}

.payment-state {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.payment-state:empty {
  display: none;
}

.payment-status-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--soft);
}

.payment-status-panel p,
.payment-success p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.payment-status-panel.is-complete .status-spinner {
  border-color: #126b34;
  animation: none;
}

.payment-status-panel.is-complete .status-spinner::after {
  content: '';
  display: block;
  width: 8px;
  height: 14px;
  margin: 3px auto 0;
  border: solid #126b34;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.payment-success {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--soft);
}

.payment-success .eyebrow {
  margin: 0 0 8px;
}

.payment-success #component-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.status-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #d9e1ef;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: button-spin 0.8s linear infinite;
}

.component-confirmation {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  overflow-wrap: anywhere;
}

.component-confirmation img {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  background: #fff;
}

.component-confirmation a {
  color: var(--brand);
  font-size: 13px;
}

#component-list {
  padding-left: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px var(--page-edge);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer-logo {
  display: block;
  width: 108px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-mark {
  width: 28px;
  height: 28px;
  background: #9aa7b0;
}

.site-footer p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

html.has-checkout-session:not(.has-checkout-code):not(.is-payment-active)
  .site-footer,
html.is-checkout-active .site-footer,
html.is-email-confirmation-active .site-footer {
  display: none;
}

@media (max-width: 900px) {
  .brand-row,
  .modal-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    max-width: 58vw;
    font-size: 18px;
    line-height: 26px;
  }

  .header-actions {
    gap: 8px;
  }

  .offer-brand-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 16px 24px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .offer-brand-row .brand {
    max-width: none;
    overflow: visible;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-overflow: clip;
    white-space: nowrap;
  }

  .offer-brand-row .header-actions {
    justify-content: space-between;
    width: 100%;
  }

  .offer-brand-row .language-picker {
    display: block;
  }

  .offer-brand-row .language-trigger {
    min-width: 76px;
    height: 34px;
    gap: 6px;
    border-color: #d8e1e8;
    background: #fff;
    padding: 0 10px;
  }

  .offer-brand-row .trust-badge {
    color: var(--brand);
    font-size: 14px;
    line-height: 20px;
  }

  .offer-brand-row .trust-prefix {
    display: inline;
  }

  .offer-brand-row .trust-mark svg path[stroke='black'] {
    stroke: #000;
    stroke-opacity: 0.12;
  }

  .language-current {
    display: none;
  }

  .trust-prefix {
    display: none;
  }

  .blue-info-overlay {
    padding: 24px;
  }

  .blue-info-topbar {
    min-height: 72px;
    padding: 12px 16px;
  }

  .blue-info-topbar h2 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }

  .blue-info-close {
    width: 40px;
    height: 40px;
  }

  .blue-info-room {
    padding: 16px;
  }

  .blue-info-card {
    padding: 16px;
  }

  .blue-info-col {
    gap: 24px;
  }

  .blue-info-col h3 {
    font-size: 32px;
    line-height: 40px;
  }

  .blue-flow-card,
  .blue-flow-card-nested,
  .blue-flow-card-leaf {
    gap: 24px;
    padding: 16px;
  }

  .blue-flow-card h4 {
    font-size: 20px;
    line-height: 24px;
    max-width: calc(100% - 64px);
  }

  .blue-flow-step {
    gap: 8px;
  }

  .blue-flow-step strong {
    font-size: 16px;
    line-height: 24px;
  }

  .blue-step-icon {
    width: 32px;
    height: 32px;
  }

  .blue-step-icon::before {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }

  .blue-flow-card-nested,
  .blue-flow-card-leaf {
    margin-left: 0;
  }

  .blue-flow-corner {
    width: 42px;
    height: 42px;
  }

  .blue-source-block {
    max-height: 520px;
    font-size: 12px;
    line-height: 20px;
    padding: 16px;
  }

  .landing-hero {
    align-items: flex-end;
    min-height: 520px;
    padding: 72px 24px 28px;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 58%),
      url('./assets/hero-badura-mountains.jpg') center / cover no-repeat;
  }

  .landing-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 16px 40px;
  }

  .checkout-grid {
    padding: 12px 16px 24px;
  }

  .checkout-box {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
  }

  .email-overlay {
    padding: 24px;
  }

  .email-modal {
    min-height: calc(100vh - 48px);
  }

  .email-modal-header h2 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  .email-panel {
    min-height: 420px;
    padding: 16px;
  }

  .email-content h3 {
    font-size: 32px;
    line-height: 40px;
  }

  .payment-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: auto;
    padding: 16px;
  }

  .payment-header {
    min-height: 72px;
    padding: 16px;
  }

  .payment-header .brand {
    max-width: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  .payment-summary {
    order: 2;
    border-left: 0;
    padding-top: 0;
    padding-left: 0;
  }

  .payment-summary::after {
    content: '';
    width: 100%;
    height: 1px;
    background: var(--line);
  }

  .payment-details {
    order: 3;
  }

  .payment-offer-title {
    font-size: 32px;
    line-height: 40px;
  }

  .payment-total {
    font-size: 32px;
    line-height: 40px;
  }

  .summary {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 16px;
    padding-left: 0;
  }

  label {
    width: 100%;
  }

  .weekend-picker {
    max-width: none;
  }

  h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .offer-subtitle {
    font-size: 22px;
    line-height: 30px;
  }

  .landing-price-line {
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .price,
  .summary-price {
    font-size: 36px;
    line-height: 44px;
  }

  .purchase-action {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .purchase-action .primary {
    width: min(100%, 280px);
  }

  .details-column {
    order: 2;
  }

  .gallery {
    order: 3;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    height: auto;
  }

  .photo-dining,
  .photo-bar,
  .photo-room,
  .photo-garden,
  .photo-reception {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 18px 24px;
  }

  .footer-logo {
    width: 96px;
    height: 30px;
  }

  .site-footer p {
    font-size: 14px;
    line-height: 20px;
  }
}
