/* RönYen Wellness Garden — booking form. Ported from the provided design.
   Wellness lane (#3A9478). Loaded by [ry_wellness_booking] shortcode. */
/* ──────────────────────────────────────────────────────────────────
   WELLNESS GARDEN — BOOKING  ·  RönYen
   Paid booking (or pay-on-arrival). Green Wellness lane (#3A9478).
   Flow: plan → date/time → guests → details → gate+SMS → pay choice → confirm.
   Live booking summary on the right with running total.
   Built on the same checkout chrome + tokens as the consultation form.
   ────────────────────────────────────────────────────────────────── */
:root{
  --bg:#F8F7F4; --surface:#F0EEE9; --section-alt:#E8E5DF;
  --border:#D8D4CE; --hairline:#E8E5DF;
  --heading:#1A1F24; --body:#3D4550; --muted:#6B7480; --placeholder:#9AA0A8;
  --nav:#252D35; --nav-hover:#1A2028; --util:#333B44; --nav-muted:#9AA0A8;
  --cta:#F06020; --cta-hover:#D04810; --cta-tint:#FFF0E8;
  --sauna:#E88050; --sauna-light:#FDEEE6; --sauna-text:#8A3820;
  --ice:#3D87C4;  --ice-light:#E8F3FB;   --ice-text:#1A4878;
  --wellness:#3A9478; --wellness-hover:#2F7A62; --wellness-deep:#1A5040;
  --wellness-light:#E4F5EF; --wellness-text:#1A5040;
  --slate:#252D35; --slate-light:#ECEDEF; --slate-tint:#EEF0F2;
  --f:'Prompt',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --f-th:'Sarabun',var(--f);
  --r-sm:4px; --r-md:5px; --r-lg:6px; --r-xl:10px;
  --shadow-card:0 1px 4px rgba(0,0,0,.06);
  --maxw:1320px;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{font-family:var(--f); font-weight:300; color:var(--body); background:var(--bg); line-height:1.6; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 40px}
h1,h2,h3,h4{color:var(--heading); font-family:var(--f); letter-spacing:-.015em}
.t-h1{font-weight:600; font-size:clamp(1.875rem,3.2vw,2.5rem); line-height:1.1}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:.55rem; font-family:var(--f); font-weight:600; font-size:.875rem; line-height:1; letter-spacing:.02em; padding:.875rem 1.5rem; border-radius:var(--r-lg); border:1px solid transparent; cursor:pointer; min-height:48px; transition:background .15s, transform .1s, border-color .15s, color .15s}
.btn:active{transform:scale(.98)}
.btn:focus-visible{outline:none; box-shadow:0 0 0 3px rgba(58,148,120,.3)}
.btn-wellness{background:var(--wellness); color:#fff}
.btn-wellness:hover{background:var(--wellness-hover)}
.btn-wellness[disabled]{background:var(--border); color:var(--muted); cursor:not-allowed}
.btn-ghost{background:transparent; color:var(--heading); border:1px solid var(--border)}
.btn-ghost:hover{background:var(--surface)}

/* header (minimal checkout chrome) */
.logo{height:auto;display:block;--c-body:#252D35;--c-orange:#E88050;--c-blue:#3D87C4}
.demo-hdr{background:var(--nav);position:sticky;top:0;z-index:60}
.hdr-main{display:flex;align-items:center;gap:20px;padding:0 40px;height:66px;max-width:var(--maxw);margin:0 auto}
.hdr-logo .logo{height:28px;width:auto}
.hdr-main .crumbs{margin-left:14px;display:flex;align-items:center;gap:9px;color:var(--nav-muted);font-size:.82rem;font-weight:300}
.hdr-main .crumbs a{color:var(--nav-muted);transition:color .12s}
.hdr-main .crumbs a:hover{color:#fff}
.hdr-main .crumbs .here{color:#fff;font-weight:400}
.hdr-main .free{margin-left:auto;display:inline-flex;align-items:center;gap:8px;color:#cfd3d8;font-size:.8rem;font-weight:300}
.hdr-main .free svg{width:15px;height:15px;color:var(--wellness);stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

.bk-head{padding:34px 0 8px}
.bk-head h1{margin:0}
.bk-head .sub{margin-top:8px; font-size:1rem; color:var(--muted); font-weight:300; max-width:62ch}
.bk-head-cta{margin-top:18px}
/* Light outlined secondary CTA with a leading leaf + trailing arrow. */
.bk-head-cta .btn{min-height:44px; padding:.7rem 1.25rem; gap:8px;
  background:transparent; color:var(--heading); border:1px solid var(--border)}
.bk-head-cta .btn:hover{background:var(--surface); border-color:var(--muted)}
.bk-head-cta .btn svg{width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.bk-head-cta .btn .arr{width:15px; height:15px; transition:transform .2s}
.bk-head-cta .btn:hover .arr{transform:translate(2px,-2px)}
.open-pill{display:inline-flex; align-items:center; gap:7px; background:var(--wellness-light); color:var(--wellness-text); font-weight:600; font-size:.74rem; letter-spacing:.04em; text-transform:uppercase; padding:6px 12px; border-radius:20px; margin-bottom:14px}
.open-pill svg{width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}

.bk-grid{display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:32px; align-items:start; padding:20px 0 64px}

.co-section{background:#fff; border:1px solid var(--hairline); border-radius:var(--r-xl); padding:28px 32px; margin-bottom:18px}
.co-section-head{display:flex; align-items:baseline; gap:14px; padding-bottom:20px; margin-bottom:22px; border-bottom:1px solid var(--hairline)}
.co-section-head h2{font-family:var(--f); font-weight:600; font-size:1.125rem; color:var(--heading); letter-spacing:-.01em; display:flex; align-items:center; gap:12px}
.co-section-head h2 .sec-n{display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--wellness-light); color:var(--wellness-text); font-size:.78rem; font-weight:600; flex:none}
.co-section-head .sub{margin-left:auto; font-size:.78rem; color:var(--muted); font-weight:300}

/* plan picker */
.plan-grid{display:flex; flex-direction:column; gap:10px}
.plan-card{position:relative; display:flex; align-items:center; gap:16px; cursor:pointer; border:1.5px solid var(--border); border-radius:var(--r-lg); background:#fff; padding:16px 18px; transition:border-color .12s, background .12s, box-shadow .12s}
.plan-card:hover{border-color:var(--muted)}
.plan-card input{position:absolute; opacity:0; pointer-events:none}
.plan-card .pn{flex:1}
.plan-card .pn .nm{display:block; font-weight:600; font-size:.98rem; color:var(--heading)}
.plan-card .pn .meta{display:block; font-size:.82rem; color:var(--muted); margin-top:2px; line-height:1.45}
.plan-card .pp{text-align:right; flex:none}
.plan-card .pp .amt{font-weight:600; font-size:1.15rem; color:var(--heading); font-variant-numeric:tabular-nums; letter-spacing:-.01em}
.plan-card .pp .per{display:block; font-size:.72rem; color:var(--muted); margin-top:1px}
.plan-card .pp .was{font-size:.8rem; color:var(--placeholder); text-decoration:line-through; margin-right:5px}
.plan-card.is-checked{border-color:var(--wellness); background:var(--wellness-light); box-shadow:inset 0 0 0 1px var(--wellness)}
.plan-card .tagbest{position:absolute; top:-9px; right:14px; background:var(--wellness); color:#fff; font-size:.62rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:3px 9px; border-radius:20px}

.field-label{display:block; font-size:.78rem; font-weight:600; color:var(--body); margin-bottom:10px}
.field-label .req{color:var(--cta); margin-left:3px}

.date-row{display:flex; gap:10px; overflow-x:auto; padding:2px 2px 12px; scrollbar-width:thin}
.date-chip{flex:none; width:74px; border:1.5px solid var(--border); border-radius:var(--r-lg); background:#fff; padding:12px 0; text-align:center; cursor:pointer; transition:border-color .12s, background .12s}
.date-chip:hover{border-color:var(--muted)}
.date-chip .dow{display:block; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); font-weight:600}
.date-chip .dnum{display:block; font-size:1.25rem; font-weight:600; color:var(--heading); margin-top:2px; font-variant-numeric:tabular-nums; line-height:1.1}
.date-chip .mon{display:block; font-size:.66rem; color:var(--muted); margin-top:1px}
.date-chip.is-sel{border-color:var(--wellness); background:var(--wellness)}
.date-chip.is-sel .dow,.date-chip.is-sel .dnum,.date-chip.is-sel .mon{color:#fff}
.date-chip[disabled]{opacity:.4; cursor:not-allowed; background:var(--surface)}

.slot-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(104px,1fr)); gap:10px}
.slot{border:1.5px solid var(--border); border-radius:var(--r-lg); background:#fff; padding:12px 10px; text-align:center; cursor:pointer; font-weight:500; font-size:.92rem; color:var(--heading); font-variant-numeric:tabular-nums; transition:border-color .12s, background .12s}
.slot:hover:not(.is-full){border-color:var(--muted)}
.slot .left{display:block; font-size:.66rem; font-weight:400; color:var(--muted); margin-top:2px}
.slot.is-sel{border-color:var(--wellness); background:var(--wellness); color:#fff}
.slot.is-sel .left{color:rgba(255,255,255,.85)}
.slot.is-full{opacity:.5; cursor:not-allowed; background:var(--surface)}

/* stepper (guests) */
.stepper{display:inline-flex; align-items:center; gap:0; border:1.5px solid var(--border); border-radius:var(--r-lg); overflow:hidden; background:#fff}
.stepper button{width:46px; height:46px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; font-weight:500; color:var(--heading); background:#fff; transition:background .12s}
.stepper button:hover{background:var(--surface)}
.stepper button[disabled]{color:var(--placeholder); cursor:not-allowed}
.stepper .count{min-width:54px; text-align:center; font-size:1.05rem; font-weight:600; color:var(--heading); font-variant-numeric:tabular-nums}
.guest-note{margin-top:10px; font-size:.78rem; color:var(--muted); font-weight:300}

.field{margin-bottom:16px}
.field:last-child{margin-bottom:0}
.field label{display:block; font-size:.78rem; font-weight:600; color:var(--body); margin-bottom:6px}
.field label .req{color:var(--cta); margin-left:3px}
.field label .opt{font-size:.7rem; font-weight:400; color:var(--muted); margin-left:6px}
.field input,.field select,.field textarea{width:100%; padding:11px 14px; font-family:var(--f); font-weight:400; font-size:.95rem; color:var(--heading); background:var(--bg); border:1px solid var(--border); border-radius:var(--r-md); transition:border-color .12s, box-shadow .12s, background .12s; -webkit-appearance:none; appearance:none}
.field textarea{min-height:80px; resize:vertical; line-height:1.6; font-weight:300}
.field input::placeholder,.field textarea::placeholder{color:var(--placeholder); font-weight:300}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#B8B3AB}
.field input:focus,.field select:focus,.field textarea:focus{outline:none; border-color:var(--wellness); background:#fff; box-shadow:0 0 0 3px rgba(58,148,120,.12)}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.field-help{margin-top:6px; font-size:.74rem; color:var(--muted); font-weight:300; display:flex; align-items:center; gap:6px}
.field-help svg{width:12px; height:12px; flex:none; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* pay choice */
.pay-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.pay-card{position:relative; cursor:pointer; border:1.5px solid var(--border); border-radius:var(--r-lg); background:#fff; padding:18px; transition:border-color .12s, background .12s, box-shadow .12s}
.pay-card:hover{border-color:var(--muted)}
.pay-card input{position:absolute; opacity:0; pointer-events:none}
.pay-card .ic{width:38px; height:38px; border-radius:50%; background:var(--wellness-light); color:var(--wellness-text); display:flex; align-items:center; justify-content:center; margin-bottom:12px}
.pay-card .ic svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.pay-card .nm{display:block; font-weight:600; font-size:.96rem; color:var(--heading)}
.pay-card .meta{display:block; font-size:.8rem; color:var(--muted); margin-top:3px; line-height:1.45}
.pay-card.is-checked{border-color:var(--wellness); background:var(--wellness-light); box-shadow:inset 0 0 0 1px var(--wellness)}
.pay-card.is-checked .ic{background:var(--wellness); color:#fff}

/* gated-community note */
.gate-note{display:flex; gap:13px; align-items:flex-start; background:var(--wellness-light); border:1px solid color-mix(in oklab, var(--wellness) 30%, transparent); border-radius:var(--r-lg); padding:16px 18px; margin-bottom:18px}
.gate-note .ic{flex:none; width:34px; height:34px; border-radius:50%; background:var(--wellness); color:#fff; display:flex; align-items:center; justify-content:center}
.gate-note .ic svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
.gate-note .gt-body{font-size:.88rem; color:var(--wellness-deep); line-height:1.5}
.gate-note .gt-body b{font-weight:600}

.check{display:flex; align-items:flex-start; gap:12px; padding:14px 16px; cursor:pointer; font-size:.92rem; color:var(--body); line-height:1.5; background:var(--bg); border:1px solid var(--hairline); border-radius:var(--r-md); margin-bottom:10px}
.check:last-child{margin-bottom:0}
.check input{-webkit-appearance:none; appearance:none; width:18px; height:18px; flex:none; margin-top:1px; border:1.5px solid var(--border); border-radius:3px; background:#fff; cursor:pointer; position:relative; transition:background .12s, border-color .12s}
.check input:hover{border-color:var(--muted)}
.check input:checked{background:var(--wellness); border-color:var(--wellness)}
.check input:checked::after{content:""; position:absolute; inset:0; background:no-repeat center/12px url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
.check span{flex:1}
.check .sub{display:block; font-size:.76rem; color:var(--muted); font-weight:300; margin-top:2px}
.check a{color:var(--wellness-text); text-decoration:underline; text-underline-offset:3px}

/* add-on rows */
.addon-row{display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--hairline)}
.addon-row:last-child{border-bottom:0}
.addon-row .ax-info{flex:1}
.addon-row .ax-info .nm{font-weight:500; font-size:.94rem; color:var(--heading)}
.addon-row .ax-info .meta{font-size:.78rem; color:var(--muted); margin-top:1px}
.addon-row .ax-amt{font-weight:600; font-size:.94rem; color:var(--heading); font-variant-numeric:tabular-nums}
.addon-row .stepper{transform:scale(.85); transform-origin:right center}

.co-foot{display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:14px; flex-wrap:wrap}
.co-foot .back{display:inline-flex; align-items:center; gap:8px; font-size:.86rem; color:var(--heading); font-weight:500}
.co-foot .back:hover{color:var(--wellness-hover)}
.co-foot .back svg{width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.co-foot .btn{min-width:280px}

/* summary */
.summary{position:sticky; top:90px; display:flex; flex-direction:column; gap:14px}
.summary-card{background:#fff; border:1px solid var(--hairline); border-radius:var(--r-xl); padding:24px; box-shadow:var(--shadow-card)}
.summary-card h2{font-family:var(--f); font-weight:600; font-size:1.0625rem; color:var(--heading); letter-spacing:-.01em; padding-bottom:14px; border-bottom:1px solid var(--hairline); margin-bottom:16px}
.sum-plan{display:flex; gap:13px; align-items:flex-start; margin-bottom:16px}
.sum-plan .ic{width:46px; height:46px; flex:none; border-radius:var(--r-md); background:var(--wellness-light); color:var(--wellness-text); display:flex; align-items:center; justify-content:center}
.sum-plan .ic svg{width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.sum-plan .info .nm{font-weight:600; font-size:.98rem; color:var(--heading)}
.sum-plan .info .meta{font-size:.8rem; color:var(--muted); margin-top:2px}
.sum-when{background:var(--bg); border:1px solid var(--hairline); border-radius:var(--r-md); padding:12px 14px; font-size:.85rem; display:flex; flex-direction:column; gap:8px; margin-bottom:14px}
.sum-when .w-row{display:flex; align-items:center; gap:9px; color:var(--body)}
.sum-when .w-row svg{width:15px; height:15px; flex:none; color:var(--wellness); stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.sum-when .w-row b{color:var(--heading); font-weight:500}
.sum-when .w-row.empty{color:var(--placeholder)}
.sum-when .w-row.empty svg{color:var(--placeholder)}
.sum-lines{font-size:.86rem; display:flex; flex-direction:column; gap:8px; margin-bottom:4px}
.sum-line{display:flex; justify-content:space-between; align-items:baseline; color:var(--body)}
.sum-line .ll{font-weight:300}
.sum-line .lv{font-weight:500; color:var(--heading); font-variant-numeric:tabular-nums}
.sum-line.muted .ll,.sum-line.muted .lv{color:var(--muted); font-weight:300}
.sum-cost{margin-top:16px; padding-top:16px; border-top:1.5px solid var(--heading); display:flex; justify-content:space-between; align-items:baseline}
.sum-cost .lbl{font-weight:600; font-size:1rem; color:var(--heading)}
.sum-cost .v{font-weight:600; font-size:1.35rem; color:var(--wellness-text); font-variant-numeric:tabular-nums}
.sum-paynote{margin-top:8px; font-size:.74rem; color:var(--muted); font-weight:300; text-align:right}
/* Scoped under .bk-grid so the booking form's stacked trust strip beats the
   global product-page .trust-strip (a 4-up grid) in brand.css. */
.bk-grid .trust-strip{background:#fff; border:1px solid var(--hairline); border-radius:var(--r-xl); padding:16px 22px; display:flex; flex-direction:column; gap:10px; grid-template-columns:none}
.bk-grid .trust-row{display:flex; flex-direction:row; align-items:flex-start; gap:12px; font-size:.8rem; color:var(--body); font-weight:300; text-align:left}
.bk-grid .trust-row svg{width:18px; height:18px; color:var(--wellness-text); flex:none; margin-top:1px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.bk-grid .trust-row b{color:var(--heading); font-weight:500}

.hide{display:none !important}

@media (max-width:1080px){.bk-grid{grid-template-columns:1fr; gap:24px}.summary{position:static}}
@media (max-width:760px){
  .wrap{padding:0 20px}
  .hdr-main{padding:0 20px}.hdr-main .crumbs{display:none}
  .co-section{padding:24px 20px}
  .pay-grid{grid-template-columns:1fr}
  .field-row{grid-template-columns:1fr}
  .co-foot{flex-direction:column-reverse; align-items:stretch}.co-foot .btn{width:100%; min-width:0}.co-foot .back{justify-content:center}
}
