/* Campaign art direction. Layout primitives, type, buttons, editorial cards,
 * reviews and FAQ come from xinalani-ui.css. Scoped to the sale landing. */
body.black-friday-2026 {
    --bf-sale-purple: #5c61a7;
    --bf-sale-mist: #eaf0f1;
    --landing-cta-bg: var(--bf-sale-purple);
    --landing-cta-hover-bg: #484d8e;
    margin: 0;
    background: #fff;
}
body.bf-calendar-open { overflow: hidden; }
body.xinalani-ui #bf-booking-calendar {
    --x-terracotta: var(--bf-sale-purple);
    --x-terracotta-dark: #484d8e;
    --x-terracotta-deep: #3c4079;
    box-sizing: border-box;
    width: min(520px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 32px;
    border: 0;
    border-radius: 24px;
    background: #fffdfa;
    color: #343b3e;
    box-shadow: 0 24px 90px #0004;
    overflow: auto;
    overscroll-behavior: contain;
    text-align: left;
    font: 400 15px/1.5 var(--x-font-ui);
}
#bf-booking-calendar::backdrop { background: #161525a8; backdrop-filter: blur(4px); }
#bf-booking-calendar *, #bf-booking-calendar *::before, #bf-booking-calendar *::after { box-sizing: border-box; }
body.xinalani-ui #bf-booking-calendar .xr-eyebrow { margin-bottom: 8px; padding-right: 32px; font-size: 12px; }
body.xinalani-ui #bf-booking-calendar h2 { margin: 0 32px 12px; font-size: 27px; line-height: 1.3; text-align: center; }
body.xinalani-ui #bf-booking-calendar p { font-size: 14px; line-height: 1.5; }
body.xinalani-ui #bf-booking-calendar .bf-booking-minimum { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px; border-radius: 10px; background: #eeedf6; color: #41467f; font-size: 14px; }
#bf-booking-calendar .bf-booking-minimum svg { flex: 0 0 22px; }
#bf-booking-calendar .bf-booking-minimum strong { font-weight: 700; }
#bf-booking-calendar .bf-booking-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #eeedf6; color: #484d8e; font: 400 26px/1 var(--x-font-ui); cursor: pointer; }
#bf-booking-calendar .bf-booking-form { margin: 20px 0 0; }
#bf-booking-calendar .bf-booking-dates { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#bf-booking-calendar .bf-booking-nights { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-content: center; width: 62px; min-height: 62px; padding: 8px; border: 4px solid #fffdfa; border-radius: 50%; background: #000; color: #fff; box-shadow: 0 4px 12px #25234414; font: 600 12px/1.4 var(--x-font-ui); text-align: center; pointer-events: none; }
body.xinalani-ui #bf-booking-calendar .bf-booking-dates label { display: block; min-width: 0; margin: 0; padding: 20px 8px 16px; border-radius: 16px; background: var(--bf-sale-mist); color: #484d8e; font: 400 13px/1.4 var(--x-font-ui); letter-spacing: .03em; text-align: center; text-transform: uppercase; cursor: pointer; }
#bf-booking-calendar[open]:not(.bf-dates-interacted) label[for="bf-checkin-display"] { box-shadow: inset 0 0 0 1px #5d60a54d; animation: bf-checkin-hint 2.8s ease-in-out infinite; }
@keyframes bf-checkin-hint {
    0%, 100% { box-shadow: inset 0 0 0 1px #5d60a52e, 0 0 0 0 #5d60a500; }
    50% { box-shadow: inset 0 0 0 1px #5d60a57a, 0 0 0 4px #5d60a50d; }
}
@media (prefers-reduced-motion: reduce) {
    #bf-booking-calendar[open]:not(.bf-dates-interacted) label[for="bf-checkin-display"] { animation: none; }
}
#bf-booking-calendar .bf-booking-date { display: block; width: 100%; min-width: 0; min-height: 68px; margin: 12px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #343b3e; font: 400 clamp(22px, 2.2vw, 28px)/1.3 var(--x-font-head); letter-spacing: normal; text-transform: none; text-align: center; cursor: pointer; transition: color .18s ease; }
#bf-booking-calendar .bf-booking-date:hover,
#bf-booking-calendar .bf-booking-date[aria-pressed="true"] { color: var(--bf-sale-purple); }
#bf-booking-calendar .bf-booking-date-year { display: block; margin-top: 8px; color: #484d8e; font: 400 15px/1.4 var(--x-font-ui); }
#bf-booking-calendar .bf-booking-calendar { position: fixed; inset: auto; z-index: 10; width: min(456px, calc(100vw - 32px)); max-height: none; margin: 0; padding: 8px; overflow: visible; border: 1px solid #d6d5e7; border-radius: 16px; background: #fff; color: #343b3e; box-shadow: 0 18px 48px #25234438, 0 3px 12px #25234414; animation: bf-datepicker-open .18s ease-out; }
#bf-booking-calendar .bf-booking-calendar[hidden] { display: none; }
@keyframes bf-datepicker-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { #bf-booking-calendar .bf-booking-calendar { animation: none; } }
#bf-booking-calendar .air-datepicker {
    --adp-font-family: var(--x-font-ui);
    --adp-color: #343b3e;
    --adp-color-secondary: #626775;
    --adp-color-current-date: #484d8e;
    --adp-color-other-month: #777c8a;
    --adp-color-disabled: #bfc1cc;
    --adp-background-color: #fff;
    --adp-background-color-hover: #eeedf6;
    --adp-background-color-selected-other-month: var(--bf-sale-purple);
    --adp-background-color-selected-other-month-focused: #484d8e;
    --adp-accent-color: var(--bf-sale-purple);
    --adp-cell-background-color-selected: var(--bf-sale-purple);
    --adp-cell-background-color-selected-hover: #484d8e;
    --adp-cell-background-color-in-range: #eeedf6;
    --adp-cell-background-color-in-range-hover: #dedff0;
    --adp-cell-background-color-in-range-focused: #dedff0;
    --adp-cell-border-color-in-range: #a8abd0;
    --adp-day-name-color: #484d8e;
    --adp-day-name-color-hover: #484d8e;
    --adp-day-cell-height: var(--bf-calendar-day-height, 40px);
    width: 100%;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
}
#bf-booking-calendar .air-datepicker-nav--title { color: #343b3e; font: 600 16px/1.4 var(--x-font-ui); text-transform: capitalize; }
#bf-booking-calendar .air-datepicker-body--day-name { color: #484d8e; }
#bf-booking-calendar .air-datepicker-cell.-current- { color: #484d8e; }
#bf-booking-calendar .air-datepicker-cell.-disabled- { color: var(--adp-color-disabled); }
#bf-booking-calendar .air-datepicker-cell.-in-range- { background: #eeedf6; }
#bf-booking-calendar .air-datepicker-cell.-range-to-,
#bf-booking-calendar .air-datepicker-cell.-selected-,
#bf-booking-calendar .air-datepicker-cell.-selected-.-current-,
#bf-booking-calendar .air-datepicker-cell.-selected-.-focus- { background: var(--bf-sale-purple); color: #fff; }
#bf-booking-calendar .air-datepicker-nav--action { min-width: 44px; min-height: 44px; }
body.xinalani-ui #bf-booking-calendar .bf-booking-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#bf-booking-calendar .bf-booking-actions { display: flex; justify-content: center; margin-top: 24px; }
body.xinalani-ui #bf-booking-calendar .bf-booking-actions .xr-btn { width: 100%; min-height: 48px; }
#bf-booking-calendar .bf-booking-actions [type="submit"]:disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
#bf-booking-calendar :is(button, input, [role="button"]):focus-visible { outline: 2px solid var(--bf-sale-purple); outline-offset: 3px; }
@media (max-width: 480px) {
    body.xinalani-ui #bf-booking-calendar { padding: 24px 16px 20px; border-radius: 18px; }
    body.xinalani-ui #bf-booking-calendar h2 { font-size: 24px; }
    #bf-booking-calendar .bf-booking-actions { flex-direction: column-reverse; gap: 4px; }
    #bf-booking-calendar .bf-booking-actions .xr-btn { width: 100%; min-height: 44px; }
}
.bf-sale-page {
    --x-terracotta: var(--bf-sale-purple);
    --x-terracotta-dark: #484d8e;
    --x-terracotta-deep: #3c4079;
    --x-line: #c6cdd2;
    color: #343b3e;
}
/* Theme the shared link underline and hover locally to Black Friday. */
body.black-friday-2026 .bf-sale-page .xr-link {
    --x-terracotta-soft: var(--bf-sale-purple);
    --x-olive: var(--x-terracotta-dark);
    --x-olive-text: var(--x-terracotta-dark);
}
body.black-friday-2026.admin-bar > header { top: 32px; }
body.black-friday-2026 #xh-header.xh-header--black::before {
    inset: 0 0 -24px;
    background: linear-gradient(to bottom, rgb(0 0 0 / 45%) 0%, rgb(0 0 0 / 24%) 45%, rgb(0 0 0 / 8%) 75%, transparent 100%);
}
body.black-friday-2026 #xh-header .xh-trigger { text-shadow: 0 1px 3px rgb(0 0 0 / 25%); }
body.black-friday-2026 #xinalani-footer-2026 .ft-row button { background: var(--bf-sale-purple); }
body.black-friday-2026 #xinalani-footer-2026 .ft-row button:hover { background: #484d8e; }
.bf-sale-page .bf-sale-mist { background: var(--bf-sale-mist); }
.bf-sale-page .bf-sale-centered { text-align: center; }
body.xinalani-ui .bf-sale-page .bf-sale-small { margin-top: 20px; font-size: 13px; line-height: 1.6; }
body.xinalani-ui .bf-sale-page .bf-sale-hero {
    display: grid;
    place-items: center;
    height: auto;
    min-height: 760px;
    min-height: min(900px, 100svh);
    aspect-ratio: auto;
    padding: clamp(100px, 16svh, 140px) 24px 56px;
    isolation: isolate;
}
.bf-sale-page .bf-sale-hero > img { z-index: -2; object-position: center; }
body.xinalani-ui .bf-sale-page .bf-sale-hero::after { z-index: -1; background: linear-gradient(180deg, #0005, #0001 40%, #0005); }
.bf-sale-hero-copy { position: relative; isolation: isolate; width: min(100%, 900px); text-align: center; color: #fff; }
.bf-sale-hero-copy::before {
    content: "";
    position: absolute;
    inset: -32px -16px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgb(0 0 0 / 18%) 0%, rgb(0 0 0 / 10%) 45%, transparent 75%);
    pointer-events: none;
}
body.xinalani-ui #black-friday-2026 .bf-sale-hero-copy > .xr-section-title { margin: 28px 0 16px; font-size: clamp(24px, 2.5vw, 36px); }
.bf-sale-hero-copy > .xr-btn { margin-top: 30px; }
.bf-sale-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(260px, calc(220px + 14vw), 440px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 43% 55% 44% 50%;
    color: #d4dadd;
}
.bf-sale-page .bf-sale-badge > img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 1599px) {
    .bf-sale-badge { width: clamp(260px, calc(220px + 14vw), 350px); }
}
.bf-sale-badge :where(span, small, sup) { margin: 0; color: inherit; }
.bf-sale-badge-black { font: 400 clamp(22px, 2.4vw, 34px)/1.1 var(--x-font-ui); letter-spacing: .25em; text-transform: uppercase; }
.bf-sale-badge-friday { font: 400 clamp(36px, 4.6vw, 62px)/1.2 var(--x-font-head); text-transform: uppercase; }
.bf-sale-badge-discount { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.bf-sale-badge-discount > span { font: 400 clamp(52px, 6vw, 80px)/1.1 var(--x-font-head); }
.bf-sale-badge-discount sup { position: static; vertical-align: super; font-size: .5em; }
.bf-sale-badge-discount small { max-width: 36px; font: 400 12px/1.4 var(--x-font-ui); text-transform: uppercase; }
.bf-sale-badge-season { max-width: 100%; margin-top: 8px; padding: 0 16px; font: 400 12px/1.4 var(--x-font-ui); text-transform: uppercase; text-wrap: balance; }
.bf-sale-badge-leaf { position: absolute; left: -28px; bottom: 28px; width: 86px; height: 155px; color: var(--bf-sale-purple); transform: rotate(-12deg); }
.bf-sale-moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 30px auto 0; }
.bf-sale-moment { padding: 28px 24px; border-radius: 16px; background: #fffdfa; color: inherit; }
.bf-sale-moment:focus-visible { outline: 2px solid var(--bf-sale-purple); outline-offset: 4px; }
.bf-sale-page .bf-sale-moment:hover h3 { color: var(--bf-sale-purple); }
body.xinalani-ui #black-friday-2026 .bf-sale-moment .xr-eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: .03em; }
body.xinalani-ui #black-friday-2026 .bf-sale-moment h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.bf-sale-page .bf-sale-moment > p:last-child { font-size: 15px; }
.bf-sale-moments + .xr-section-actions { margin-top: 28px; }
@media (max-width: 480px) {
    .bf-sale-moments { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.bf-sale-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.bf-sale-page .bf-sale-room { display: flex; flex-direction: column; background: var(--bf-sale-mist); }
.bf-sale-room-media { aspect-ratio: 1.35; overflow: hidden; }
.bf-sale-room-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
body.xinalani-ui .bf-sale-page .bf-sale-room h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.4; }
.bf-sale-page .bf-sale-room-text { flex: 1; margin-bottom: 30px; }
.bf-sale-rate + .bf-sale-rate { margin-top: 24px; }
body.xinalani-ui #black-friday-2026 .bf-sale-rate h4 { margin: 0; font: 700 15px/1.4 var(--x-font-ui); text-transform: uppercase; }
.bf-sale-page .bf-sale-rate > p { font-size: 14px; color: #626c70; }
.bf-sale-page .bf-sale-rate .bf-sale-from { margin-top: 12px; font-size: 13px; }
.bf-sale-prices { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.bf-sale-prices del { color: #717b80; font-size: 17px; text-decoration-thickness: 1px; }
.bf-sale-prices ins { color: var(--bf-sale-purple); font: 400 clamp(24px, 2.5vw, 34px)/1.3 var(--x-font-head); text-decoration: none; }
.bf-sale-prices ins small { font: 400 12px/1.3 var(--x-font-ui); }
.bf-sale-room-action { margin-top: 30px; text-align: center; }
body.xinalani-ui .bf-sale-page .bf-sale-rates-note { margin-top: 24px; text-align: center; font-size: 12px; color: #626c70; }
.bf-sale-pool { overflow: hidden; background: var(--bf-sale-mist); }
.bf-sale-pool video { display: block; width: 100%; height: clamp(300px, 38vw, 560px); object-fit: cover; }
.bf-sale-leaves { background-image: url('https://xinalaniretreat.com/wp-content/uploads/2026/09/fondo-hojas-horizontal.png'); background-position: center bottom; background-size: 100% auto; background-repeat: no-repeat; }
.bf-sale-inclusions { display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 30px 0; padding: 0; list-style: none; }
.bf-sale-inclusions li { display: flex; align-items: center; gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--x-line); }
.bf-sale-inclusion-icon { flex: 0 0 36px; }
.bf-sale-page .bf-sale-inclusion-icon img { width: 36px; height: 36px; object-fit: contain; filter: grayscale(1) sepia(1) saturate(3) hue-rotate(185deg); }
body.xinalani-ui .bf-sale-page .xr-review { background: #fff; }
.bf-sale-day { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin: 48px 0 0; padding: 0; list-style: none; }
.bf-sale-day li { display: flex; gap: 20px; margin: 0; align-items: flex-start; }
.bf-sale-page .bf-sale-day img { flex: 0 0 100px; width: 100px; height: 100px; border-radius: 4px; }
body.xinalani-ui #black-friday-2026 .bf-sale-day h3 { margin: 4px 0 10px; font: 700 13px/1.5 var(--x-font-ui); text-transform: uppercase; letter-spacing: .1em; }
.bf-sale-day h3 span { color: var(--bf-sale-purple); }
.bf-sale-page .bf-sale-day p { font-size: 14px; line-height: 1.5; }
.bf-sale-getting { display: grid; grid-template-columns: .85fr 1.15fr; }
.bf-sale-getting-media { position: relative; min-height: 480px; overflow: hidden; }
.bf-sale-getting-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.bf-sale-getting-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 64px clamp(32px, 6vw, 100px); }
.bf-sale-getting-copy .xr-link { margin-top: 24px; }
.bf-sale-beach { height: clamp(300px, 45vw, 720px); }
.bf-sale-page .bf-sale-final { background-color: #c8d5d8; text-align: center; }
.bf-sale-page .bf-sale-sunset { width: 100px; height: 80px; object-fit: contain; margin: 0 auto 24px; }
.bf-sale-final .x-actions { margin: 30px 0 40px; }
@media (max-width: 1100px) {
    .bf-sale-room-body { padding: 20px; }
    .bf-sale-rooms { gap: 16px; }
    .bf-sale-day { gap: 24px; }
    .bf-sale-page .bf-sale-day img { flex-basis: 80px; width: 80px; height: 80px; }
}
@media (max-width: 782px) { body.black-friday-2026.admin-bar > header { top: 46px; } }
@media (max-width: 767px) {
    body.xinalani-ui .bf-sale-page .bf-sale-hero { min-height: 420px; padding: 24px 24px 56px; }
    .bf-sale-hero-copy > .xr-section-title { text-wrap: balance; }
    .bf-sale-rooms { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .bf-sale-room { max-width: 520px; justify-self: center; }
    .bf-sale-room-body { padding: 28px; }
    .bf-sale-inclusions, .bf-sale-day { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
    .bf-sale-getting { grid-template-columns: minmax(0, 1fr); }
    .bf-sale-getting-media { min-height: 0; aspect-ratio: 4 / 3; }
    .bf-sale-getting-copy { padding: 48px 24px; }
    .bf-sale-leaves { background-size: auto 100%; }
    .bf-sale-final .x-actions { flex-direction: column; }
}
