/* Keep readable content on the page. The booking action is glass over the marina. */
.guest-home, .guest-page {
  display: grid;
  align-content: start;
  gap: 24px;
  width: 100%;
  max-width: var(--ig-max);
  margin-inline: auto;
  padding: 15px max(var(--gutter),env(safe-area-inset-right)) 34px max(var(--gutter),env(safe-area-inset-left));
  color: var(--ig-ink);
}
.guest-home *, .guest-page * { min-width: 0; }
:is(.guest-home,.guest-page) :is(h1,h2,h3,strong,legend,summary) { font-family: inherit; }
:is(.guest-home,.guest-page) h1 {
  margin: 0;
  font-size: clamp(2.12rem, 7.9vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 680;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
:is(.guest-home,.guest-page) h2, .guest-page legend {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -.04em;
  font-weight: 650;
}
.guest-home p, .guest-page p { font-size: .94rem; line-height: 1.5; }
:is(.guest-home,.guest-page) svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  flex: none;
}

.guest-booking-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(257px, 65vw, 342px);
  padding: clamp(20px, 5vw, 31px);
  border-radius: 25px;
  background: #233b48;
  color: white;
}
.guest-booking-card img, .guest-booking-card::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.guest-booking-card img { object-fit: cover; object-position: 53% 48%; }
.guest-booking-card::before {
  content: '';
  z-index: -1;
  background: linear-gradient(0deg, rgb(7 22 32 / .88), rgb(7 22 32 / .65) 30%, rgb(7 22 32 / .08) 74%);
}
.guest-booking-content { display: grid; justify-items: start; gap: 5px; }
.guest-location { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; }
.guest-location svg { width: 14px; height: 14px; }
.guest-booking-content > strong {
  color: white;
  font-size: clamp(1.85rem, 7vw, 2.85rem);
  letter-spacing: -.052em;
  font-weight: 620;
  line-height: 1.04;
}
.guest-book-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  margin-top: 9px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .8);
  color: #132c3d;
  background: #f0f5f6;
  font-size: .85rem;
  line-height: 1.25;
  font-weight: 630;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .guest-book-cta {
    background: linear-gradient(140deg, rgb(255 255 255 / .89), rgb(228 240 245 / .68));
    box-shadow: inset 0 1px 1px rgb(255 255 255 / .65), 0 2px 7px rgb(8 22 31 / .2);
    -webkit-backdrop-filter: blur(12px) saturate(1.35);
    backdrop-filter: blur(12px) saturate(1.35);
  }
}
.guest-book-cta svg, .guest-link svg { width: 16px; height: 16px; }
.guest-shortcuts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 18px;
  padding: 0 1px 18px;
  border-bottom: 1px solid var(--ig-line);
}
.guest-shortcut { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.guest-shortcut-label { font-size: .83rem; font-weight: 550; color: var(--ig-muted); }
.guest-points-tile { flex-direction: row-reverse; justify-content: flex-end; }
.guest-points-tile strong { font-size: 1.77rem; line-height: 1; font-weight: 630; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.guest-open-wallet { color: var(--ig-accent); font-size: .85rem; font-weight: 580; gap: 7px; }
.guest-open-wallet > svg:first-child { width: 19px; }
.guest-open-wallet > svg:last-child { width: 14px; }

.guest-section { display: grid; gap: 12px; }
.guest-destinations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.guest-brand-row { display: grid; align-content: start; gap: 9px; }
.guest-brand-row img { width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; border-radius: 15px; }
.guest-brand-row > span { display: grid; gap: 3px; }
.guest-brand-row strong { font-size: .96rem; line-height: 1.25; font-weight: 620; letter-spacing: -.025em; }
.guest-brand-row small, .guest-hint { color: var(--ig-muted); }
.guest-brand-row small { font-size: .78rem; line-height: 1.35; }

.guest-list, .guest-help, #guest-preferences, .guest-access {
  background: var(--ig-surface);
  border-radius: 18px;
}
.guest-list { padding-inline: 17px; }
.guest-list > * + * { border-top: 1px solid var(--ig-line); }
.guest-button, .guest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  font-family: inherit;
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.35;
  text-align: center;
}
.guest-button {
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--ig-accent);
  color: white;
}
.guest-link { color: var(--ig-accent); }
.guest-access, #guest-preferences { display: grid; gap: 13px; padding: 18px; }
.guest-access > div, .guest-book-room { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.guest-notice { color: var(--ig-muted); padding: 12px 0; }
.guest-member {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: clamp(194px, 52vw, 259px);
  padding: clamp(20px, 5vw, 30px);
  border-radius: 20px;
  color: #332e27;
  background: linear-gradient(112deg, #fff8e8 0%, #ebe1cc 29%, #f4ebdb 38%, #d2c4ac 75%, #e8ddc6);
  border: 1px solid #cfc2a8;
  box-shadow: inset 0 1px 1px #fff9ed, 0 5px 12px rgb(61 53 37 / .09);
}
.guest-member::before, .guest-member-brand span {
  background: currentColor;
  -webkit-mask: url('/brand/infinity-jewellery-mark.svg?v=e30f48e64237a90e') center / contain no-repeat;
  mask: url('/brand/infinity-jewellery-mark.svg?v=e30f48e64237a90e') center / contain no-repeat;
}
.guest-member::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 66%;
  aspect-ratio: 1.91;
  right: -7%;
  top: -8%;
  background: linear-gradient(150deg, #fff6de 28%, #b1a184 57%, #fdf1d3 70%, #ac9a78);
  opacity: .75;
}
.guest-member-brand { display: flex; align-items: center; gap: 9px; font-size: .91rem; font-weight: 620; }
.guest-member-brand span { width: 27px; height: 16px; }
.guest-member-identity h2 { margin-bottom: 8px; font-size: clamp(1.2rem,5vw,1.55rem); overflow-wrap: anywhere; }
.guest-member small { color: #544c40; font-size: .75rem; }
.guest-page code { display: block; user-select: all; overflow-wrap: anywhere; font: .86rem/1.45 ui-monospace,Menlo,monospace; }
.guest-record { padding-block: 16px; overflow-wrap: anywhere; }
.guest-record > small, .guest-record-head > small { color: var(--ig-muted); font-size: .76rem; }
.guest-record h3, .guest-record h2 { margin: 4px 0; font-size: 1.08rem; line-height: 1.25; font-weight: 630; letter-spacing: -.03em; }
.guest-record p, .guest-help p { color: var(--ig-muted); font-size: .87rem; }
.guest-record-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 5px; }
.guest-status { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--ig-tint); color: var(--ig-ink); font-size: .72rem; line-height: 1.35; font-weight: 570; }
.guest-points { border-bottom: 1px solid var(--ig-line); padding-bottom: 16px; color: var(--ig-muted); font-size: .92rem; }
.guest-points strong { display: block; margin-bottom: 4px; color: var(--ig-ink); font-size: clamp(2.65rem, 11vw, 4rem); font-weight: 560; line-height: .99; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.guest-page summary { cursor: pointer; color: var(--ig-accent); min-height: 44px; padding-block: 12px; font-size: .86rem; line-height: 20px; font-weight: 550; }
.guest-reward summary svg { width: 15px; height: 15px; margin-inline-end: 3px; vertical-align: -3px; }
.guest-record details { margin-top: 9px; border-top: 1px solid var(--ig-line); }
.guest-record details:not([open]) { margin-bottom: -9px; }
.guest-reward p + p, .guest-reward code { margin-top: 5px; }
.guest-help { padding: 0 17px; }
.guest-help[open] { padding-bottom: 10px; }
#guest-preferences fieldset { border: 0; padding: 0; margin: 0; }
#guest-preferences legend { margin-bottom: 9px; padding: 0; }
#guest-preferences fieldset > p { color: var(--ig-muted); font-size: .88rem; }
.guest-options { margin-top: 14px; }
.guest-options label { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ig-line); font-size: .95rem; cursor: pointer; }
.guest-options input {
  appearance: none;
  flex: none;
  width: 42px;
  height: 26px;
  margin: 0;
  border: 1px solid #84909b;
  border-radius: 99px;
  background: #e1e6e9;
  position: relative;
  cursor: pointer;
}
.guest-options input::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(17 34 47 / .36);
}
.guest-options input:checked { background: var(--ig-accent); border-color: var(--ig-accent); }
.guest-options input:checked::before { transform: translateX(16px); }
#guest-preferences .form-error:empty { display: none; }

@media (hover: hover) {
  .guest-shortcut:hover, .guest-brand-row:hover strong, .guest-link:hover { text-decoration: underline; text-underline-offset: 3px; }
  .guest-booking-card:hover .guest-book-cta { background: #fff; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .guest-book-cta { background: white; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .guest-member { background: #f3ebdc; }
  .guest-member::before { display: none; }
}
@media (forced-colors: active) {
  .guest-booking-content { padding: 4px; background: Canvas; color: CanvasText; }
  .guest-options input { appearance: auto; }
  .guest-options input::before { display: none; }
  .guest-member, .guest-list, .guest-help, #guest-preferences, .guest-access, .guest-button { border: 1px solid CanvasText; }
}
