/* Book your private ride (design: site-dark/css/book.css, reference u03.jpeg).
   The reference screen is absolute; here the form flows top to bottom (more fields than the reference)
   but keeps the same sizes, colours and card internals, in design px of the 480 px column. */
.book { padding-bottom: 0; background: #08090B; }
.bscreen { position: relative; padding: 0 20px 34px; background: radial-gradient(140% 70% at 50% 0%, #0D0D0E 0%, #08090B 55%, #060708 100%); color: #EDEAE4; }
.book [hidden], .sheet [hidden] { display: none !important; }

/* Header */
.b-head { position: relative; height: 85px; margin: 0 -20px; }
.b-head > * { position: absolute; }
.ring { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B88C45; color: #D9AD5C; display: flex; align-items: center; justify-content: center; background: transparent; }
.ring svg { width: 25px; height: 25px; }
.ring-back { left: 19px; top: 12px; }
.ring-help { right: 17px; top: 12px; }
.ring-help svg { width: 28px; height: 28px; }
.blogo { left: 140px; top: 0; width: 200px; height: 72px; color: #D9AD5C; }
.blogo > * { position: absolute; }
.crown { left: 85px; top: 1px; width: 30px; height: 20px; }
.blogo-name { left: 0; width: 200px; top: 25.5px; text-align: center; font-family: "Libre Caslon Display", serif; font-size: 26.5px; line-height: 1; letter-spacing: .25em; text-indent: .25em; white-space: nowrap; }
.blogo-sub { left: 0; width: 200px; top: 55px; text-align: center; font-size: 11.6px; font-weight: 500; letter-spacing: .27em; text-indent: .27em; line-height: 1; white-space: nowrap; }

/* Title block */
.b-kicker { margin: 0 0 0 2px; font-size: 20px; font-weight: 500; letter-spacing: .035em; line-height: 1; color: #D9AD5C; }
.b-title { margin: 5px 0 0 3px; font-family: "Libre Caslon Display", serif; font-weight: 400; font-size: 50.5px; line-height: 1; letter-spacing: .035em; white-space: nowrap; background: linear-gradient(180deg, #F2D08A 0%, #DDAE5D 50%, #BE8A3D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-orn { display: block; margin: 7px 0 0 2px; width: 168px; height: 12px; color: #C49650; }
.b-sub { margin: 11px 0 0 1px; font-size: 15.7px; line-height: 1.35; color: #BDBAB4; }

.b-err { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(224,100,90,.12); box-shadow: inset 0 0 0 1px rgba(224,100,90,.55); color: #F3A79F; font-size: 15px; line-height: 1.4; }
.b-err p + p { margin-top: 4px; }

/* Section labels */
.b-label { display: flex; align-items: center; gap: 8px; margin: 24px 0 11px 2px; font-size: 15px; font-weight: 500; letter-spacing: .055em; line-height: 1; color: #D9AD5C; }
.b-label svg { width: 13px; height: 17px; flex: none; }
.b-note { margin: 8px 2px 0; font-size: 13.5px; line-height: 1.4; color: #A8A5A0; }
.b-center { text-align: center; margin-top: 12px; }
.b-pricenote { color: #CFCBC4; }

/* Cards */
.b-card { position: relative; display: block; width: 100%; border-radius: 10px; background: #111112; box-shadow: inset 0 0 0 1px rgba(196,150,80,.33); text-align: left; color: inherit; }
.b-card:focus-within, .card-dest:focus-visible { box-shadow: inset 0 0 0 1.5px #D9AD5C; outline: 0; }
.card-addr { height: 77px; }
.card-addr > *, .card-dest > * { position: absolute; }
.card-custom { margin-top: 10px; }
.card-dest { height: 74px; cursor: pointer; }

.pin-btn { left: 15px; top: 13px; width: 51px; height: 51px; border-radius: 50%; background: #161512; box-shadow: inset 0 0 0 1px rgba(196,150,80,.28); color: #D9AD5C; display: flex; align-items: center; justify-content: center; }
.pin-btn svg { width: 22px; height: 30px; }
.pin-btn.busy svg { animation: pinPulse 1s ease-in-out infinite; }
.pin-static svg { width: 20px; height: 26px; }
@keyframes pinPulse { 50% { transform: translateY(-3px); } }
.b-input { left: 81px; top: 15px; width: 290px; height: 28px; border: 0; outline: 0; background: transparent; padding: 0; font-size: 18.6px; color: #F4F2EE; text-overflow: ellipsis; }
.b-input::placeholder { color: #F4F2EE; opacity: 1; }
.b-input:focus::placeholder { color: #6F6B64; }
.b-hint { font-size: 14.2px; color: #AFACA6; line-height: 1; white-space: nowrap; max-width: 290px; overflow: hidden; text-overflow: ellipsis; }
.card-addr .b-hint { left: 82px; top: 47px; }
.edit-btn { right: 15px; top: 14px; width: 44px; height: 44px; color: #D9AD5C; display: flex; align-items: center; justify-content: center; }
.edit-btn svg { width: 26px; height: 26px; }

.b-swap { display: flex; align-items: center; margin: 12px 2px -6px; height: 22px; color: #D9AD5C; }
.b-swap i { flex: 1; height: 1px; background: rgba(196,150,80,.28); }
.b-swap svg { width: 20px; height: 20px; margin: 0 18px; }

.flag-ico { left: 24px; top: 17px; width: 31px; height: 40px; color: #D9AD5C; }
.b-title-txt { left: 82px; top: 17px; font-size: 18.6px; color: #F4F2EE; line-height: 1.1; white-space: nowrap; max-width: 310px; overflow: hidden; text-overflow: ellipsis; }
.card-dest .b-hint { left: 82px; top: 49px; max-width: 310px; }
.card-dest .chev { right: 21px; top: 27px; width: 12px; height: 20px; color: #D9AD5C; }

/* Quick select tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; height: 71px; border-radius: 10px; background: #111112; box-shadow: inset 0 0 0 1px rgba(196,150,80,.33); color: #F1EEE8; text-align: left; transition: background .2s, box-shadow .2s; }
.tile > * { position: absolute; }
.t-ico { left: 14px; top: 14px; width: 44px; height: 42px; color: #D9AD5C; }
.t-txt { left: 70px; top: 15px; right: 44px; font-size: 17.5px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-txt small { display: block; font-size: 13px; line-height: 18px; color: #B9B6B0; }
.t-radio { right: 13px; top: 24px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.4px #8F8C86; }
.tile[aria-checked="true"] { background: linear-gradient(135deg, #4A3313 0%, #3A2709 45%, #2A1C07 100%); box-shadow: inset 0 0 0 1.5px #D9A954, 0 0 14px rgba(217,169,84,.38), 0 0 3px rgba(240,200,120,.5); }
.tile[aria-checked="true"] .t-ico { color: #E6B967; }
.tile[aria-checked="true"] .t-txt small { color: #E0B566; }
.tile[aria-checked="true"] .t-radio { box-shadow: inset 0 0 0 1.4px #E0B566; }
.tile[aria-checked="true"] .t-radio::after { content: ""; position: absolute; left: 7.5px; top: 6.5px; width: 9px; height: 5px; border-left: 1.5px solid #E0B566; border-bottom: 1.5px solid #E0B566; transform: rotate(-45deg); }
.tile:not([aria-checked="true"]):hover { box-shadow: inset 0 0 0 1px rgba(217,169,84,.6); }

/* Now / Schedule */
.b-seg { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: #111112; box-shadow: inset 0 0 0 1px rgba(196,150,80,.33); margin-bottom: 10px; }
.b-seg label { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 16.5px; letter-spacing: .04em; color: #CFCBC4; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.b-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.b-seg label:focus-within { box-shadow: inset 0 0 0 1px rgba(217,169,84,.7); }
.b-seg label.on { background: linear-gradient(135deg, #4A3313, #2A1C07); box-shadow: inset 0 0 0 1.5px #D9A954; color: #F1D08D; }

/* Fields */
.b-field { display: block; background: #151515; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(196,150,80,.3); padding: 10px 14px 11px; margin-bottom: 10px; cursor: text; }
.b-field:focus-within { box-shadow: inset 0 0 0 1.5px #D9AD5C; }
.b-field > span { display: block; font-size: 11.5px; letter-spacing: .16em; font-weight: 500; color: #D9AD5C; }
.b-field em { font-style: normal; letter-spacing: .04em; color: #8C877D; }
.b-field input, .b-field textarea { display: block; width: 100%; border: 0; outline: 0; background: transparent; color: #F4F2EE; font-size: 17px; padding: 5px 0 0; color-scheme: dark; resize: vertical; min-height: 30px; }
.b-field input::placeholder, .b-field textarea::placeholder { color: #6F6B64; }
.b-field input[type="date"], .b-field input[type="time"] { -webkit-appearance: none; appearance: none; }
.b-field input:invalid:not(:placeholder-shown):not(:focus) { color: #F3A79F; }
.d-row { display: flex; gap: 10px; }
.d-row > .b-field { flex: 1; min-width: 0; margin-bottom: 0; }
.d-steps { display: flex; gap: 10px; margin-bottom: 10px; }
.d-step { flex: 1; background: #151515; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(196,150,80,.3); padding: 10px 12px; }
.d-step > span { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #D9AD5C; margin-bottom: 6px; }
.stp { display: flex; align-items: center; justify-content: space-between; }
.stp button { width: 44px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(196,150,80,.45); color: #E0B566; font-size: 22px; line-height: 1; }
.stp button:disabled { opacity: .3; cursor: default; }
.stp output { font-size: 19px; color: #F4F2EE; min-width: 24px; text-align: center; }
#flightField .b-note { margin: -4px 2px 10px; }

/* Vehicle card */
.card-veh { display: flex; align-items: center; min-height: 120px; padding: 5px 14px 5px 4px; }
.veh-img { flex: none; width: 168px; height: 104px; max-width: none; object-fit: contain; }
.veh-main { flex: 1; min-width: 0; padding-left: 4px; }
.veh-name { display: block; font-family: "Libre Caslon Display", serif; font-size: 21px; -webkit-text-stroke: .35px currentColor; line-height: 1.1; color: #F4F2EE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.veh-class { display: block; margin-top: 4px; font-size: 14px; color: #B9B6B0; white-space: nowrap; line-height: 1.1; }
.veh-specs { display: flex; gap: 12px; margin-top: 12px; }
.veh-spec { position: relative; display: block; height: 42px; min-width: 30px; color: #EDEAE4; }
.veh-spec svg { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; color: #DDAE5C; }
.veh-spec b { position: absolute; left: 24px; top: 0; font-weight: 400; font-size: 17px; line-height: 1.2; }
.veh-spec small { position: absolute; left: 0; top: 26px; font-size: 11.3px; color: #B9B6B0; white-space: nowrap; }
.veh-spec:first-child { min-width: 56px; }
.veh-spec:nth-child(2) { min-width: 36px; }
.veh-pricebox { flex: none; min-width: 70px; text-align: right; }
.veh-price { display: block; font-size: 25px; font-weight: 500; line-height: 1; color: #E0B566; white-space: nowrap; }
.veh-fixed { display: block; margin-top: 8px; font-size: 11.6px; color: #CFCBC4; white-space: nowrap; }

/* Confirm button + footer */
.b-confirm { position: relative; margin-top: 22px; width: 100%; height: 56px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 16px; color: #15120D; font-size: 19.5px; font-weight: 500; letter-spacing: .08em;
  background: linear-gradient(100deg, #BF8536 0%, #D19E4A 30%, #DEB05B 55%, #D6A350 78%, #C4893A 100%);
  box-shadow: inset 0 1px 0 rgba(255,232,180,.45), inset 0 -1px 0 rgba(110,70,20,.45), 0 0 16px rgba(217,169,84,.18); transition: filter .15s, transform .1s; }
.b-confirm:hover { filter: brightness(1.06); }
.b-confirm:active { transform: scale(.99); }
.b-confirm:focus-visible { outline: 2px solid #F2D08A; outline-offset: 3px; }
.cf-shield { width: 26px; height: 30px; flex: none; }
.b-confirm > span { line-height: 1; }
.cf-arrow { position: absolute; right: 22px; top: 20px; width: 22px; height: 16px; }
.b-confirm.loading { pointer-events: none; filter: saturate(.7) brightness(.9); }
.b-foot { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 16.3px; color: #A8A5A0; white-space: nowrap; }
.b-foot svg { width: 18px; height: 22px; color: #D9AD5C; }

/* ---------- Destination sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 150; zoom: var(--z); }
.sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.66); opacity: 0; transition: opacity .25s; }
.sheet-panel { position: absolute; left: 50%; bottom: 0; width: 480px; max-height: 88%; transform: translate(-50%, 100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); background: #0F0F10; border-radius: 22px 22px 0 0; box-shadow: inset 0 1px 0 rgba(217,169,84,.45), 0 -20px 60px rgba(0,0,0,.6); padding: 12px 22px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet.open .sheet-panel { transform: translate(-50%, 0); }
.sheet-grab { display: block; width: 44px; height: 4px; border-radius: 2px; background: rgba(217,169,84,.45); margin: 0 auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sheet-head h2 { font-family: "Libre Caslon Display", serif; font-size: 30px; font-weight: 400; color: #E0B566; line-height: 1.1; }
.ring-sm { width: 44px; height: 44px; flex: none; }
.ring-sm svg { width: 20px; height: 20px; }
.sheet-use { width: 100%; height: 46px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(196,150,80,.55); color: #E0B566; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.sheet-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -22px 12px; padding: 2px 22px; }
.sheet-cats::-webkit-scrollbar { display: none; }
.sheet-cats button { flex: none; height: 38px; padding: 0 15px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(196,150,80,.33); color: #D9D5CE; font-size: 14.5px; white-space: nowrap; }
.sheet-cats button[aria-selected="true"] { background: linear-gradient(135deg, #4A3313, #2A1C07); box-shadow: inset 0 0 0 1.5px #D9A954; color: #F1D08D; }
.sheet-list li + li { margin-top: 8px; }
.sheet-list button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; background: #141414; box-shadow: inset 0 0 0 1px rgba(196,150,80,.22); text-align: left; color: #F1EEE8; }
.sheet-list button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px #D9A954; background: #1E170C; }
.sheet-list img { width: 58px; height: 58px; border-radius: 9px; object-fit: cover; flex: none; }
.sl-main { flex: 1; min-width: 0; }
.sl-name { display: block; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-sub { display: block; margin-top: 3px; font-size: 13px; color: #A9A49A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-price { flex: none; text-align: right; color: #E0B566; font-size: 16px; padding-right: 6px; }
.sl-price small { display: block; font-size: 11px; color: #8C877D; }

/* Google Places suggestion list (appended to <body>, outside the zoomed column) */
.pac-container { z-index: 200; background: #151515; border: 0; border-radius: 10px; margin-top: 4px; box-shadow: 0 0 0 1px rgba(196,150,80,.45), 0 12px 30px rgba(0,0,0,.6); font-family: "DM Sans", system-ui, sans-serif; max-width: calc(100vw - 16px); }
.pac-container::after { filter: invert(1) opacity(.5); }
.pac-item { border-top: 1px solid rgba(196,150,80,.15); color: #A9A49A; padding: 6px 10px; font-size: 13px; line-height: 1.6; cursor: pointer; }
.pac-item:first-child { border-top: 0; }
.pac-item:hover, .pac-item-selected { background: #1E170C; }
.pac-item-query { color: #F1EEE8; font-size: 14px; }
.pac-matched { color: #E0B566; }
.pac-icon { filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg) brightness(.85); }

/* ---------- Desktop (>= 1024 px): two columns – form left, sticky ride summary right ----------
   Mobile/tablet are untouched: every rule below lives inside this media query. */
@media (min-width: 1024px) {
  .book { background: radial-gradient(90% 60% at 50% 0%, #0E0D0C 0%, #08090B 60%, #060708 100%); }
  .bscreen { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 64px 0 24px; background: transparent;
    display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 64px; align-items: start; }
  .bk-main { grid-column: 1; grid-row: 1; min-width: 0; }
  .bk-side { grid-column: 2; grid-row: 1; position: sticky; top: 108px; padding: 28px 28px 26px; border-radius: 18px;
    background: linear-gradient(180deg, #121211 0%, #0C0C0D 100%); box-shadow: inset 0 0 0 1px rgba(216,161,81,.32), 0 30px 60px rgba(0,0,0,.45); }

  /* title */
  .b-kicker { font-size: 18px; letter-spacing: .32em; }
  .b-title { margin-top: 10px; font-size: 68px; letter-spacing: .04em; }
  .b-orn { margin-top: 14px; width: 200px; height: 14px; }
  .b-sub { margin-top: 16px; max-width: 560px; font-size: 17px; line-height: 1.55; }
  .b-label { margin: 34px 0 13px 2px; font-size: 13.5px; letter-spacing: .2em; }

  /* address cards: inputs fill the wider card */
  .card-addr { height: 80px; transition: box-shadow .2s, background .2s; }
  .b-input { right: 72px; width: auto; }
  .card-addr .b-hint, .card-dest .b-hint { right: 72px; max-width: none; }
  .b-title-txt { right: 60px; max-width: none; }
  .card-dest { transition: box-shadow .2s, background .2s; }
  .card-dest:hover, .card-addr:hover:not(:focus-within) { background: #151413; box-shadow: inset 0 0 0 1px rgba(217,169,84,.62); }
  .edit-btn, .pin-btn { transition: color .15s, background .15s; }
  .pin-btn:hover { background: #1E170C; }
  .edit-btn:hover { color: #F2D08A; }
  .b-swap { margin: 14px 2px -4px; }

  /* quick select: 4 across, icon above text */
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .tile { height: 132px; cursor: pointer; }
  .tile:not([aria-checked="true"]):hover { background: #161513; }
  .t-ico { left: 16px; top: 18px; }
  .t-txt { left: 16px; top: 74px; right: 12px; font-size: 17px; }
  .t-radio { right: 14px; top: 16px; }

  /* when + ride details */
  .b-seg label { height: 48px; }
  .b-seg label:not(.on):hover { color: #F1D08D; background: rgba(216,161,81,.06); }
  .b-field, .d-step { transition: box-shadow .2s; }
  .b-field:hover:not(:focus-within), .d-step:hover { box-shadow: inset 0 0 0 1px rgba(217,169,84,.55); }
  .b-field { padding: 12px 16px 13px; }
  .d-steps { gap: 12px; }
  .d-step { padding: 12px 16px; }
  .stp button { transition: background .15s; }
  .stp button:not(:disabled):hover { background: rgba(216,161,81,.12); }
  .bk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

  /* summary column */
  .bk-side > .b-label:first-child { margin-top: 0; }
  .card-veh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 12px; padding: 18px 18px 20px; min-height: 0; }
  .veh-img { grid-column: 1 / -1; justify-self: center; width: 178px; height: 110px; }
  .veh-main { padding-left: 0; }
  .veh-name { font-size: 22px; }
  .veh-pricebox { padding-bottom: 14px; }
  .veh-price { font-size: 30px; }
  .bk-side .b-note { font-size: 13.5px; }
  .b-confirm { height: 60px; margin-top: 24px; }
  .b-confirm:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,232,180,.45), inset 0 -1px 0 rgba(110,70,20,.45), 0 0 26px rgba(217,169,84,.32); }
  .b-foot { margin-top: 20px; font-size: 15px; }

  /* destination picker: centered modal instead of a bottom sheet */
  .sheet { zoom: 1; }
  .sheet-panel { top: 50%; bottom: auto; width: 600px; max-height: min(760px, calc(100vh - 80px)); border-radius: 18px; padding: 26px 28px 28px;
    transform: translate(-50%, -46%); opacity: 0; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s;
    box-shadow: inset 0 0 0 1px rgba(217,169,84,.4), 0 40px 90px rgba(0,0,0,.7); }
  .sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-grab { display: none; }
  .sheet-head h2 { font-size: 34px; }
  .sheet-cats { margin: 0 -28px 14px; padding: 2px 28px; flex-wrap: wrap; overflow: visible; }
  .sheet-cats button, .sheet-use, .sheet-list button { cursor: pointer; transition: box-shadow .15s, background .15s; }
  .sheet-cats button:not([aria-selected="true"]):hover { box-shadow: inset 0 0 0 1px rgba(217,169,84,.65); }
  .sheet-use:hover { background: rgba(216,161,81,.1); }
  .sheet-list button { padding: 10px; }
  .sheet-list button:not([aria-pressed="true"]):hover { background: #1A1814; box-shadow: inset 0 0 0 1px rgba(217,169,84,.5); }
  .sheet-list img { width: 64px; height: 64px; }

  /* Google Places dropdown: no phone-width cap */
  .pac-container { max-width: none; }
}
