/* Tide Tribe - booking (2 steps + confirmation) */
[data-booking]{--bk-line:rgba(0,0,0,.1);--bk-soft:#f6f6f4;--bk-muted:rgba(0,0,0,.55);font-family:var(--font-body);color:#000;scroll-margin-top:calc(var(--header-h) + 12px)}
[data-booking] *{box-sizing:border-box}
.bk-head{text-align:center;margin:0 auto 20px;max-width:40rem}
.bk-head h2{font-family:var(--font-heading);font-size:clamp(28px,3.4vw,40px);line-height:1.1}
.bk-head p{color:var(--bk-muted);margin-top:6px;font-size:15px}

/* steps */
.bk-steps{list-style:none;display:flex;justify-content:center;gap:clamp(12px,4vw,40px);margin:0 auto 28px;padding:0;font-size:14px;color:var(--bk-muted)}
.bk-steps li{display:flex;align-items:center;gap:8px;white-space:nowrap}
.bk-steps span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--bk-line);font-size:13px}
.bk-steps .now{color:#000}.bk-steps .now span{background:#000;color:#fff;border-color:#000}
.bk-steps .done{color:#000}.bk-steps .done span{border-color:#000}

/* layout */
.bk-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
@media(min-width:990px){.bk-grid{grid-template-columns:minmax(0,1fr) 340px;gap:32px}}
.bk-main{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.bk-sec{background:#fff;border:1px solid var(--bk-line);border-radius:16px;padding:clamp(18px,3vw,28px)}
.bk-sec h3{font-family:var(--font-heading);font-weight:400;font-size:22px;margin-bottom:16px;outline:none}
.bk-sec h3 small,.bk-field small{font-family:var(--font-body);font-size:13px;color:var(--bk-muted);font-weight:400}
.bk-locked{opacity:.6}
.bk-hint{color:var(--bk-muted);font-size:14px;margin-top:6px}
.bk-label{font-weight:600;margin-bottom:10px}
.bk-muted{color:var(--bk-muted)}

/* yacht picker */
.bk-yachts{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;margin:0 -2px;scrollbar-width:thin;overscroll-behavior-x:contain}
.bk-yacht{flex:0 0 168px;scroll-snap-align:start;text-align:left;background:#fff;border:1px solid var(--bk-line);border-radius:12px;padding:8px 8px 12px;display:grid;gap:2px;cursor:pointer;transition:border-color .15s}
.bk-yacht img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px;margin-bottom:8px;background:var(--bk-soft)}
.bk-yacht__name{font-family:var(--font-heading);font-size:17px;line-height:1.15}
.bk-yacht__meta{font-size:13px;color:var(--bk-muted)}
.bk-yacht__price{font-size:14px;font-weight:600;font-family:var(--font-price);font-variant-numeric:lining-nums tabular-nums}
.bk-yacht[aria-checked="true"]{border-color:#000;box-shadow:inset 0 0 0 1px #000}
@media(hover:hover){.bk-yacht:hover{border-color:rgba(0,0,0,.35)}}

/* date + time */
.bk-when{display:grid;gap:24px}
@media(min-width:760px){.bk-when{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
.bk-cal__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.bk-cal__head strong{font-family:var(--font-heading);font-weight:400;font-size:20px}
.bk-nav{width:44px;height:44px;border-radius:50%;border:1px solid var(--bk-line);background:#fff;font-size:22px;line-height:1;cursor:pointer}
.bk-nav:disabled{opacity:.3;cursor:default}
.bk-dow,.bk-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.bk-dow{font-size:12px;color:var(--bk-muted);padding-bottom:4px}
.bk-day{position:relative;min-height:44px;border-radius:10px;border:0;background:none;font-size:15px;cursor:pointer;font-family:var(--font-body);color:#000}
.bk-day:disabled{color:rgba(0,0,0,.25);cursor:default}
@media(hover:hover){.bk-day:not(:disabled):hover{background:var(--bk-soft)}}
.bk-day[aria-pressed="true"]{background:#000;color:#fff}
.bk-day.busy::after{content:"";position:absolute;left:50%;bottom:6px;width:4px;height:4px;border-radius:50%;background:#c58b1c;transform:translateX(-50%)}
.bk-legend{font-size:12px;color:var(--bk-muted);margin-top:8px;display:flex;align-items:center;gap:6px}
.bk-legend i{width:6px;height:6px;border-radius:50%;background:#c58b1c;display:inline-block}
.bk-slots{display:grid;gap:8px}
.bk-slot{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:0 16px;border:1px solid var(--bk-line);border-radius:10px;background:#fff;font-family:var(--font-body);font-size:15px;cursor:pointer;color:#000;text-align:left}
.bk-slot em{font-style:normal;font-size:12px;padding:2px 10px;border-radius:20px;background:var(--bk-soft);color:var(--bk-muted);white-space:nowrap}
.bk-slot[aria-checked="true"]{background:#000;color:#fff;border-color:#000}
.bk-slot[aria-checked="true"] em{background:rgba(255,255,255,.15);color:#fff}
.bk-slot:disabled{opacity:.45;cursor:default;text-decoration:line-through}
@media(hover:hover){.bk-slot:not(:disabled):hover{border-color:#000}}

/* fields */
.bk-field{display:block;margin-bottom:14px}
.bk-field>span,.bk-field>label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.bk-field input,.bk-field textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--bk-line);border-radius:10px;font:inherit;font-size:16px;background:#fff;color:#000;outline:none}
.bk-field textarea{min-height:96px;resize:vertical}
.bk-field input:focus,.bk-field textarea:focus{border-color:#000;box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.bk-field.has-err input{border-color:#b3261e}
.bk-err{color:#b3261e;font-size:13px;margin-top:6px}
.bk-alert{background:#fdf1f0;border:1px solid #f1c9c5;color:#8a1c14;border-radius:10px;padding:12px 14px;font-size:14px}
.bk-two{display:grid;gap:0 14px}
@media(min-width:640px){.bk-two{grid-template-columns:1fr 1fr}}
.bk-count{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bk-count button{width:44px;height:44px;border-radius:50%;border:1px solid var(--bk-line);background:#fff;font-size:20px;cursor:pointer;color:#000}
.bk-count button:disabled{opacity:.3;cursor:default}
.bk-count output{min-width:2ch;text-align:center;font-family:var(--font-heading);font-size:22px}
.bk-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.bk-chip{min-height:44px;padding:0 16px;border-radius:40px;border:1px solid var(--bk-line);background:#fff;font-family:var(--font-body);font-size:14px;cursor:pointer;color:#000}
.bk-chip[aria-pressed="true"]{background:#000;color:#fff;border-color:#000}
.bk-hp{position:absolute;left:-9999px}
.bk-small{font-size:13px;color:var(--bk-muted)}
.bk-small a{text-decoration:underline}
.bk-link{background:none;border:0;padding:12px 0 0;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;color:#000;min-height:44px}

/* summary + buttons */
.bk-sum{background:#fff;border:1px solid var(--bk-line);border-radius:16px;padding:20px;display:none}
@media(min-width:990px){.bk-sum{display:block;position:sticky;top:calc(var(--header-h) + 16px)}}
.bk-sum__img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:14px}
.bk-sum dl div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--bk-line);font-size:14px}
.bk-sum dt{color:var(--bk-muted)}.bk-sum dd{text-align:right}
.bk-sum__total{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0 6px}
.bk-sum__total strong{font-family:var(--font-price);font-variant-numeric:lining-nums tabular-nums;font-weight:600;font-size:22px}
.bk-sum__note{font-size:13px;color:var(--bk-muted);margin-bottom:14px}
.bk-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:0 24px;border-radius:8px;background:#000;color:#fff;border:1px solid #000;font-family:var(--font-body);font-size:15px;font-weight:600;cursor:pointer;text-decoration:none;transition:opacity .15s,transform .1s}
.bk-btn[aria-disabled="true"]{opacity:.4}
.bk-btn:active{transform:scale(.98)}
.bk-btn--wa{background:#25D366;border-color:#25D366;color:#fff;max-width:360px}

/* phone bottom bar */
.bk-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:12px;justify-content:space-between;margin:16px calc(-1 * var(--page-margin)) 0;padding:10px var(--page-margin) calc(10px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid var(--bk-line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.bk-bar div{min-width:0}
.bk-bar small{display:block;font-size:12px;color:var(--bk-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-bar strong{font-family:var(--font-price);font-variant-numeric:lining-nums tabular-nums;font-weight:600;font-size:18px}
.bk-bar .bk-btn{width:auto;flex:none;min-height:48px}
@media(min-width:990px){.bk-bar{display:none}}

/* confirmation */
.bk-done{max-width:560px;margin:0 auto;text-align:center;background:#fff;border:1px solid var(--bk-line);border-radius:16px;padding:clamp(22px,4vw,40px)}
.bk-done__kicker{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--bk-muted)}
.bk-done h3{font-family:var(--font-heading);font-weight:400;font-size:clamp(28px,4vw,36px);margin:6px 0 16px;outline:none}
.bk-token{display:inline-block;border:1px solid #000;border-radius:8px;padding:10px 18px;font-family:var(--font-heading);font-size:clamp(18px,3vw,22px);letter-spacing:.04em;margin-bottom:18px}
.bk-done__sum{text-align:left;margin:0 0 18px}
.bk-done__sum div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--bk-line);font-size:14px}
.bk-done__sum dt{color:var(--bk-muted)}
.bk-next{text-align:left;padding-left:20px;margin:0 0 22px;font-size:14px;line-height:1.6}
.bk-next li{margin-bottom:8px}
[data-booking] :focus-visible{outline:2px solid #000;outline-offset:2px}
@media(prefers-reduced-motion:reduce){[data-booking] *{transition:none!important}}

/* phone: country code + national number */
.bk-phone{display:flex;gap:8px}
.bk-cc{position:relative;flex:none;display:flex;align-items:center;justify-content:center;gap:6px;min-width:84px;min-height:48px;padding:0 12px;border:1px solid var(--bk-line);border-radius:10px;background:#fff;font-size:16px}
.bk-cc::after{content:"";width:7px;height:7px;border-right:1.5px solid #000;border-bottom:1.5px solid #000;transform:rotate(45deg) translateY(-2px)}
.bk-cc select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.bk-cc:focus-within{border-color:#000;box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.bk-phone input{flex:1;min-width:0}
.bk-field.has-err .bk-phone input{border-color:#b3261e}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* chosen yacht (compact) */
.bk-chosen{display:flex;align-items:center;gap:16px;padding:10px;border:1px solid #000;border-radius:12px;box-shadow:inset 0 0 0 1px #000}
.bk-chosen img{width:96px;height:96px;flex:none;object-fit:cover;border-radius:8px;background:var(--bk-soft)}
.bk-chosen div{flex:1;min-width:0}
.bk-chosen__label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--bk-muted)}
.bk-chosen__name{font-family:var(--font-heading);font-size:22px;line-height:1.15}
.bk-chosen__meta{font-size:14px;color:var(--bk-muted)}
.bk-change{flex:none;min-height:44px;padding:0 16px;border:1px solid var(--bk-line);border-radius:8px;background:#fff;font:inherit;font-size:14px;cursor:pointer;color:#000}
@media(hover:hover){.bk-change:hover{border-color:#000}}
@media(max-width:480px){.bk-chosen img{width:72px;height:72px}.bk-chosen__name{font-size:19px}}

/* seasonal slot note (winter mornings) */
.bk-slot{padding-top:8px;padding-bottom:8px}
.bk-slot__note{display:block;font-size:12px;color:var(--bk-muted);margin-top:2px}
.bk-slot[aria-checked="true"] .bk-slot__note{color:rgba(255,255,255,.75)}

/* final step label is a full sentence, so let the step labels wrap */
.bk-steps li{white-space:normal;line-height:1.25;text-align:left}
.bk-steps li:last-child{max-width:16em}
.bk-steps span{flex:none}
@media(max-width:480px){.bk-steps{font-size:13px;gap:12px}}

/* phones: the summary card (with "Nothing is charged now") is hidden below 990px, so repeat the line in the bottom bar */
.bk-bar{flex-wrap:wrap;row-gap:6px}
.bk-bar__note{flex:0 0 100%;font-size:12px;color:var(--bk-muted);margin:0}
.bk-steps li:not(:last-child){white-space:nowrap}
