/* Oasis direct booking — colours from the live oasisuluwatu.com:
   sand #DFD2C1, olive ink #2F3422, olive-grey #878372, near-black #171713, paper #FCF8ED. */

@font-face { font-family: "Marcellus"; src: url("fonts/Marcellus-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("fonts/NeueMontreal-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("fonts/NeueMontreal-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Block"; src: url("fonts/block-regular.ttf") format("truetype"); font-display: swap; }

:root {
  --page: #DFD2C1; --paper: #FCF8ED; --ink: #2F3422; --ink-soft: #5B5F4D;
  --line: rgba(47,52,34,0.16); --line-strong: rgba(47,52,34,0.32);
  --olive: #878372; --black: #171713; --white: #FFFFFF; --photo: #CFC3B2;
  --serif: "Marcellus", Georgia, serif;
  --sans: "Neue Montreal", "Avenir Next", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.55 var(--sans); }
a { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.h1 { margin: 0; font: 400 40px/1.15 var(--serif); }
.lede { margin: 0; font: 400 20px/1.35 var(--serif); }
.body { margin: 0; font-size: 15px; line-height: 1.6; }
.small { margin: 0; font-size: 13px; line-height: 1.5; }
.muted { color: var(--ink-soft); }
.label { margin: 0; font: 400 12px/1.4 var(--serif); letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; font: 400 12px/1.4 var(--serif); letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-soft); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 16px 48px 80px; }
.wrap.narrow { max-width: 760px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; background: var(--ink); color: var(--page); font: 400 14px/1 var(--serif); letter-spacing: 1.2px; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; }
.btn:hover { background: var(--black); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: rgba(47,52,34,0.06); }
.btn-cream { background: var(--page); color: var(--ink); }
.btn-cream:hover { background: var(--paper); }
.btn-line-light { background: transparent; color: var(--page); border: 1px solid var(--page); }
.btn-block { display: flex; width: 100%; min-height: 54px; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 8px 4px; text-decoration: underline; cursor: pointer; font-size: 14px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.back { background: none; border: 0; padding: 6px 0; margin: 0 0 16px; font-size: 13px; text-decoration: underline; cursor: pointer; }

.dot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; flex: none; }
.dot.forest { background: var(--olive); }
.dot.jati { background: var(--black); }
.dot.ceylon { border: 1.5px solid var(--ink); }
.dot.none { background: transparent; }

/* ---------- header ---------- */
.site-head { background: var(--page); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 48px 14px; }
.logo { font: 400 40px/1 "Block", var(--sans); color: var(--ink); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 32px; font: 400 16px/1 var(--serif); }
.nav a { text-decoration: none; }
.head-spacer { width: 110px; }
.m-nav { display: flex; flex-direction: column; padding: 0 20px 12px; font: 400 18px/1 var(--serif); }
.m-nav a { padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.m-book { background: none; border: 0; font: 400 13px/1 var(--serif); letter-spacing: 1.4px; text-transform: uppercase; padding: 12px 4px; cursor: pointer; min-width: 44px; }

.bar { display: flex; align-items: stretch; margin: 0 48px 18px; height: 54px; background: var(--paper); border: 1px solid var(--line); position: relative; }
.bar .cell { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 16px; border-right: 1px solid var(--line); min-width: 0; position: relative; }
.bar .k { font: 400 10px/1.2 var(--serif); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.bar input, .bar select, .v-btn { border: 0; background: transparent; padding: 0; font-size: 14px; min-width: 0; width: 100%; cursor: pointer; }
.bar select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232F3422' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 22px; }
.v-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.bar .dates { flex: 1 1 0; } .bar .guests { flex: 1 1 0; } .bar .villa { flex: 1.6 1 0; }
.bar .btn { height: 100%; min-height: 0; padding: 0 28px; }
.bar-error { margin: -8px 48px 14px; color: #8A3B1E; font-size: 13px; }
.pop { position: absolute; top: calc(100% + 1px); left: -1px; z-index: 20; width: 300px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(23,23,19,0.14); padding: 6px 16px 10px; }
.pop .link-btn { display: block; margin-left: auto; }

.steps { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0 48px 14px; list-style: none; font: 400 12px/1.4 var(--serif); letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink-soft); }
.steps [aria-current] { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* ---------- start ---------- */
.start-photo { margin: 0 48px; height: 560px; background: var(--photo) center/cover no-repeat; }
.start-copy { padding-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 0 0 0; padding-left: 48px; }

/* ---------- results ---------- */
.intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.intro-text { display: flex; flex-direction: column; gap: 8px; }
.intro-note { max-width: 360px; }
.section-label { margin: 48px 0 16px; }
.card { display: flex; flex-wrap: wrap; background: var(--paper); margin-bottom: 32px; }
.card .photos { flex: 1.2 1 480px; min-height: 440px; }
.card .info { flex: 1 1 400px; padding: 36px 40px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vname { margin: 0; font: 400 38px/1.1 var(--serif); }
.vname.big { font-size: 44px; }
.vsub { margin: -4px 0 0; font: italic 400 19px/1.35 var(--serif); color: var(--ink-soft); }
.where { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: rgba(47,52,34,0.06); font-size: 13.5px; line-height: 1.45; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact .n { font: 400 28px/1 var(--serif); display: flex; align-items: center; gap: 8px; min-height: 28px; }
.fact .t { font-size: 12px; color: var(--ink-soft); }
.fact svg { width: 22px; height: 22px; flex: none; }
.price-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 8px; }
.price { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.1; }
.per { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.unavail { margin: 0; font-size: 15px; }

/* photo carousel: swipe on phones, arrows on desktop */
.photos { position: relative; background: var(--photo); overflow: hidden; }
.track { display: flex; height: 100%; min-height: inherit; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; width: 100%; height: auto; min-height: inherit; object-fit: cover; scroll-snap-align: start; }
.photos::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to top, rgba(23,23,19,0.4), rgba(23,23,19,0)); pointer-events: none; }
.arrow { position: absolute; top: 50%; margin-top: -20px; z-index: 2; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(252,248,237,0.92); border: 0; border-radius: 99px; cursor: pointer; }
.arrow.l { left: 14px; } .arrow.r { right: 14px; }
.dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.dots span { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.55); }
.dots span.on { background: #fff; }
.all-photos { position: absolute; right: 14px; bottom: 12px; z-index: 2; font: 400 13px/1 var(--serif); background: rgba(252,248,237,0.95); padding: 9px 12px; text-decoration: none; }

/* ---------- villa + price ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > .main { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split > aside { flex: 1 1 360px; position: sticky; top: 20px; }
#villa-photos .photos { height: 500px; min-height: 500px; }
.v-head { display: flex; flex-direction: column; gap: 10px; }
.note { padding: 14px 16px; background: rgba(47,52,34,0.06); font-size: 14px; line-height: 1.55; }

.pcard { background: var(--white); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(23,23,19,0.10); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.pcard .big { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }
.pcard .sub { margin: 2px 0 0; font-size: 15px; color: var(--ink-soft); }
.stay { border: 1px solid var(--line-strong); }
.stay > div { display: flex; }
.stay .c { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.stay .c + .c { border-left: 1px solid var(--line-strong); }
.stay .row2 { border-top: 1px solid var(--line-strong); }
.stay .k { font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.stay .v { font-size: 14px; }
.note-c { margin: -8px 0 0; text-align: center; font-size: 14px; }
.pd-title { margin: 0; font-size: 18px; font-weight: 700; }
.pd { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.35; }
.pd > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pd dt { text-decoration: underline; text-decoration-color: rgba(47,52,34,0.45); text-underline-offset: 3px; }
.pd dd { margin: 0; text-align: right; white-space: nowrap; }
.pd .total { padding-top: 18px; border-top: 1px solid var(--line-strong); font-weight: 700; }
.pd .total dt { text-decoration: none; }
.mini { display: flex; gap: 14px; align-items: center; }
.mini .ph { width: 112px; height: 88px; flex: none; background: var(--photo) center/cover; }
.mini .vname { font-size: 24px; margin-top: 4px; }

/* ---------- forms ---------- */
.box { background: var(--paper); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.field input, .field select, .field textarea { font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 0; padding: 11px 12px; min-height: 46px; width: 100%; }
.party { display: flex; flex-direction: column; max-width: 420px; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.prow:last-child { border-bottom: 0; }
.stepper { display: flex; align-items: center; width: 128px; flex: none; border: 1px solid var(--line-strong); background: var(--white); }
.stepper button { width: 42px; height: 42px; background: none; border: 0; font-size: 18px; cursor: pointer; }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper output { flex: 1; text-align: center; font-size: 15px; }
.ages { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.age { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-soft); }
.age select { width: 76px; min-height: 40px; padding: 6px 8px; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 0; }
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft); }
.or { margin: 2px 0; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-soft); }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.cardfield { border: 1px solid var(--line-strong); background: var(--white); padding: 14px 12px; min-height: 48px; }
.powered { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; background: rgba(47,52,34,0.05); font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.powered svg { flex: none; margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form-error { margin: 0; color: #8A3B1E; font-size: 14px; }

/* ---------- confirmed ---------- */
.view.dark { background: var(--ink); color: var(--page); min-height: 70vh; }
.view.dark .wrap { padding-top: 72px; display: flex; flex-direction: column; gap: 16px; }
.light { color: var(--page); }
.eyebrow.light { color: rgba(223,210,193,0.8); }
.conf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
#view-transfer .wrap { display: flex; flex-direction: column; gap: 18px; padding-top: 32px; }

/* ---------- phone ---------- */
.m-only { display: none; }
.m-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); align-items: center; gap: 12px; }
.m-dock .what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.m-dock .a { font-size: 15px; font-weight: 700; }
.m-dock .b { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-dock .btn { min-height: 48px; padding: 0 18px; }
.pill { display: none; align-items: center; gap: 10px; width: 100%; margin: 0 0 8px; padding: 10px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; font-size: 14px; text-align: left; cursor: pointer; }
.pill-edit { margin-left: auto; text-decoration: underline; font-size: 13px; }
.sheet { position: fixed; inset: 0; z-index: 50; background: var(--paper); display: flex; flex-direction: column; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 12px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-title { margin: 0; font: 400 18px/1 var(--serif); }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 20px 20px; margin: 0; }
.sheet-sec { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sheet-sec .k, .sheet-sec legend { font: 400 11px/1.4 var(--serif); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin-bottom: 4px; }
.vopt { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.vopt:last-child { border-bottom: 0; }
.vopt .sub { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.vopt input { margin-left: auto; width: 20px; height: 20px; accent-color: var(--ink); }
.sheet-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { min-height: 48px; }

@media (max-width: 820px) {
  .d-only { display: none !important; }
  .m-only { display: flex; }
  .m-dock.m-only { display: flex; }
  .pill { display: flex; }
  .head-row { padding: 8px 12px; }
  .logo { font-size: 30px; }
  .steps { display: none !important; }
  .wrap { padding: 8px 16px 120px; }
  .h1 { font-size: 30px; }
  .lede { font-size: 17px; }
  .start-photo { margin: 0; height: 62vh; min-height: 380px; }
  .start-copy { padding: 24px 20px 120px; }
  .intro { margin-bottom: 18px; padding-bottom: 14px; }
  .card { margin: 0 -16px 20px; }
  .card .photos { flex-basis: 100%; min-height: 300px; height: 300px; }
  .card .info { flex-basis: 100%; padding: 18px 20px 22px; gap: 10px; }
  .vname { font-size: 28px; } .vname.big { font-size: 32px; }
  .vsub { font-size: 16px; }
  .facts { padding: 12px 0; }
  .fact .n { font-size: 22px; }
  .price { font-size: 22px; }
  .arrow { display: none; }
  #villa-photos { margin: 0 -16px; }
  #villa-photos .photos { height: 340px; min-height: 340px; }
  .split { gap: 24px; }
  .split > aside { position: static; flex-basis: 100%; }
  .grid2 { grid-template-columns: 1fr; }
  .box { padding: 18px 16px; }
  .view.dark .wrap { padding-top: 48px; }
  #view-villa aside .pcard .btn-block, #view-villa aside .note-c { display: none; }
}
