/* Short booking widget (v4.1.138) — the "from $69 per night" card for a Site's home page.
   Self-contained: no Desk stylesheet, so nothing of the app bleeds into a website. Quiet
   borders, one warm button, and the same type as the full booking widget (widget.css), so
   the card and the page it leads to read as one. --primary is set from the Site's Payment
   Page Color at runtime (short.js); the yellow is the default.

   Two layouts (v4.1.148): the stacked card (.sb-card) and the one-row bar (.sb-card--row) —
   labels above the fields, the button at the end — chosen by width unless ?layout= says. */
:root {
    --primary: #f5c842;
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --line: #d9d3bf;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: transparent; }
body { font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }

.sb-card {
    border: 1px solid var(--line);
    padding: 40px 36px 36px;
    background: #fff;
}
.sb-static-error { margin: 0; color: #b42318; font-size: 15px; }

/* Price block: a thin rule on the left, three lines stacked */
.sb-price {
    border-left: 2px solid var(--line);
    padding-left: 26px;
    margin-bottom: 40px;
}
.sb-price-from { font-size: 18px; line-height: 1.2; color: var(--muted); }
.sb-price-amount { font-size: 48px; line-height: 1.1; margin: 6px 0 4px; font-weight: 600; letter-spacing: -0.5px; }
.sb-price-unit { font-size: 18px; line-height: 1.2; color: var(--muted); }

/* ---- Stacked card: three boxes sharing one border, the button below ------------------- */
.sb-fields { display: flex; flex-direction: column; }
.sb-field { min-width: 0; }
.sb-field-label { display: none; }
.sb-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 28px;
    border: 1px solid var(--line);
    font-size: 19px;
    cursor: pointer;
    background: #fff;
}
.sb-field + .sb-field .sb-box { border-top: 0; }
.sb-field--action { margin-top: 40px; }
.sb-field-text { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-field-text--empty { color: var(--ink); }
.sb-field-icon { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; flex: none; }

/* The native date input covers the whole box, invisible: the box shows our own text, the
   click still opens the browser's picker, and the picked value comes back through change. */
.sb-field--date input[type="date"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 16px; /* iOS zooms into inputs below 16px on focus */
    -webkit-appearance: none;
    appearance: none;
}
.sb-field--date input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer;
}

.sb-stepper { display: flex; flex-direction: column; gap: 2px; flex: none; }
.sb-step {
    border: 0; background: none; padding: 0 4px; line-height: 1;
    font-size: 15px; color: var(--ink); cursor: pointer; font-family: inherit;
}
.sb-step:last-child { color: var(--muted); }
.sb-step:disabled { color: #c9c9c9; cursor: default; }

.sb-error { margin: 14px 0 0; font-size: 16px; color: #b42318; }

.sb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    transition: filter .15s;
}
.sb-btn:hover { filter: brightness(0.96); }
.sb-btn:active { filter: brightness(0.92); }

@media (max-width: 420px) {
    .sb-card { padding: 28px 20px 24px; }
    .sb-price-amount { font-size: 40px; }
    .sb-box { min-height: 64px; padding: 0 18px; font-size: 17px; }
    .sb-btn { font-size: 19px; padding: 18px; }
    .sb-field--action { margin-top: 28px; }
}

/* ---- One-row bar: labels above the fields, each box its own, the button at the end ---- */
.sb-card--row { border: 0; padding: 8px 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; }
.sb-card--row .sb-fields { flex: 1 1 auto; flex-direction: row; align-items: flex-end; gap: 20px; }
.sb-card--row .sb-field { flex: 1 1 0; }
.sb-card--row .sb-field--adults, .sb-card--row .sb-field--children { flex: 0 0 132px; }
.sb-field[hidden] { display: none !important; }
.sb-card--row .sb-field--action { flex: 0 0 auto; margin-top: 0; }
.sb-card--row .sb-field-label { display: block; font-size: 16px; line-height: 1.2; margin-bottom: 8px; color: var(--ink); }
.sb-card--row .sb-field + .sb-field .sb-box { border-top: 1px solid var(--line); }
.sb-card--row .sb-box { min-height: 64px; padding: 0 20px; font-size: 19px; }
.sb-card--row .sb-field-text--empty { color: var(--muted); }
.sb-card--row .sb-field-icon { width: 28px; height: 28px; }
.sb-card--row .sb-btn { min-height: 64px; padding: 0 48px; font-size: 19px; white-space: nowrap; }
/* The price, when asked for in the row (?price=1): one compact cell at the start */
.sb-card--row .sb-price { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 64px; flex: 0 0 auto; }
.sb-price[hidden] { display: none !important; }
.sb-card--row .sb-price-from, .sb-card--row .sb-price-unit { font-size: 13px; line-height: 1.2; }
.sb-card--row .sb-price-amount { font-size: 26px; margin: 2px 0; line-height: 1.1; }
.sb-card--row .sb-error { flex: 0 0 100%; margin-top: 0; }
