.mg-booking{position:relative;z-index:3;display:flex;align-items:center;gap:25px;margin:-36px auto 0;width:min(94%,1280px);padding:24px 28px;border:1px solid #e7e8e7;background:white;border-radius:18px;box-shadow:0 14px 40px #11111116;scroll-margin-top:20px}
.mg-book-title{display:flex;align-items:center;gap:12px;flex:0 0 145px;border-right:1px solid #ddd;padding-right:14px;font-size:24px;line-height:1;letter-spacing:-.8px}.mg-slashes{color:#78bf42;font-weight:900;font-size:30px}
.mg-form{display:grid;grid-template-columns:1.1fr 1.2fr 1fr .9fr auto;align-items:end;gap:12px;flex:1;min-width:0}
.mg-form label{display:block;font-size:12px;font-weight:700;margin:0 0 7px;color:#333}
.mg-form select,.mg-form input{min-width:0;width:100%;height:46px;border:1px solid #dedfdf;border-radius:9px;background:#fafafa;color:#111;font:inherit;font-size:14px;padding:0 10px}
.mg-submit{height:46px;white-space:nowrap}.mg-status{grid-column:1/-1;margin:0;font-size:11px;color:#666}
.mg-tabs,.mg-wheel{display:none}
@media(max-width:1000px) and (min-width:761px){.mg-booking{display:block}.mg-book-title{border:0;margin:0 0 14px}.mg-form{grid-template-columns:1fr 1fr 1fr 1fr auto}}
@media(max-width:760px){.mg-booking{display:block;width:100%;margin:0;padding:12px 20px 24px;box-shadow:none;border:0;border-radius:0}.mg-book-title,.mg-service,.mg-duration{display:none}.mg-form{grid-template-columns:1fr 1fr;gap:14px}.mg-tabs{display:flex;grid-column:1/-1;background:#eff0f1;border-radius:30px;padding:4px;gap:4px}.mg-tabs button{border:0;background:transparent;color:#111;flex:1;border-radius:28px;font-weight:800;padding:13px 7px;cursor:pointer}.mg-tabs button[aria-pressed=true]{background:#83cf2e}.mg-wheel{display:block;grid-column:1/-1;position:relative;width:min(100%,330px);margin:8px auto}.mg-wheel svg{display:block;width:100%;touch-action:pan-y}.mg-wheel-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.mg-wheel-center>strong{font-size:64px;line-height:1;letter-spacing:-4px}.mg-wheel-center>span{font-size:10px;font-weight:700;letter-spacing:3px;color:#777;margin:7px 0 15px}.mg-wheel-buttons{display:flex;gap:12px;pointer-events:auto}.mg-wheel-buttons button{background:white;border:1px solid #eee;border-radius:50%;width:42px;height:42px;box-shadow:0 3px 10px #0001;font-size:22px;cursor:pointer}.mg-submit{grid-column:1/-1;height:54px}.mg-status{text-align:center}}
.mg-quote{grid-column:1/-1;display:flex;align-items:baseline;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:8px;border-top:1px solid #eee;font-size:13px;font-weight:600;color:#333}.mg-quote strong{font-size:24px;color:#396f12;font-weight:850;letter-spacing:-.6px}.mg-quote small{font-size:12px;color:#555;font-weight:400}.mg-form button:disabled{opacity:.45;cursor:not-allowed}.mg-form select:disabled{opacity:.6}@media(max-width:760px){.mg-quote{grid-row:auto;justify-content:space-between;gap:5px}.mg-quote small{width:100%;text-align:right}.mg-status{margin-top:0}}
@media(max-width:760px){.mg-duration{display:block;grid-column:1/-1}.mg-wheel-center>strong{font-size:clamp(42px,12vw,64px)}}
.mg-availability{grid-column:1/-1;font-size:12px;color:#396f12;font-weight:650;min-height:18px}.mg-field select:disabled{opacity:.65}@media(max-width:760px){.mg-availability{text-align:center}}

.mg-single-service{display:none}
@media(min-width:761px){.mg-form{grid-template-columns:1.2fr 1fr .9fr auto}}
@media(max-width:760px){.mg-single-service{display:block;grid-column:1/-1;text-align:center;padding:12px;border-radius:28px;background:#83cf2e;color:#111;font-weight:800}}

.mg-discount{width:100%;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.mg-discount[hidden]{display:none}.mg-discount del{color:#666}.mg-discount span{color:#396f12;font-weight:750}.mg-discount strong{font-size:14px;color:#396f12}
@media(max-width:760px){.mg-discount{justify-content:space-between}}

.mg-account-page .mg-booking{width:100%;margin:0;padding:0;box-shadow:none;border:0;border-radius:0;display:block;z-index:auto}
.mg-account-page .mg-book-title{border:0;margin:0 0 20px;justify-content:space-between;padding:0}
@media(min-width:761px){.mg-account-page .mg-form{grid-template-columns:repeat(3,minmax(0,1fr))}.mg-account-page .mg-submit{grid-column:1/-1;justify-self:end}}
@media(max-width:760px){.mg-account-page .mg-booking{padding:0}.mg-account-page .mg-book-title{display:none}}

/* Mobile-only booking layout: date and earliest available start first. */
@media(max-width:760px){
 .mg-single-service,.mg-tabs{display:none!important}
 .mg-form>.mg-field{grid-row:1}
 .mg-form>.mg-wheel{grid-row:2}
 .mg-form>.mg-duration{grid-row:3}
 .mg-form>.mg-submit{grid-row:4}
 .mg-form>.mg-availability{grid-row:5}
 .mg-form>.mg-quote{grid-row:6}
 .mg-form>.mg-status{grid-row:7}
 .mg-wheel svg{touch-action:pan-y}
 .mg-wheel-center>strong{font-size:clamp(25px,7vw,36px);letter-spacing:-1px;white-space:nowrap}
 .mg-actions>a.mg-primary{display:none!important}
}

@media(max-width:760px){
 .mg-duration-control{display:flex;align-items:center;position:relative;width:100%;height:52px;border:1px solid #dedfdf;border-radius:10px;background:#fafafa;overflow:hidden}
 .mg-form .mg-duration-control input{flex:1;min-width:0;width:100%;height:100%;border:0;border-radius:0;background:transparent;text-align:center;font-size:20px;font-weight:700;padding:0 4px;appearance:textfield;-moz-appearance:textfield}
 .mg-duration-control input::-webkit-inner-spin-button,.mg-duration-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
 .mg-duration-control button{flex:0 0 54px;height:100%;border:0;background:transparent;font-size:27px;font-weight:700;color:#225e16;cursor:pointer;touch-action:manipulation}
 .mg-duration-control button:disabled{opacity:.25;cursor:not-allowed}
}
@media(min-width:761px){.mg-duration-control{display:contents}.mg-duration-control button{display:none}}

/* Equal-sized branded mobile duration controls with direction conveyed by triangle shape. */
@media(max-width:760px){
 .mg-duration-control button{flex:0 0 46px;width:46px;height:46px;margin:0 5px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#82cb29;color:#fff;box-shadow:none;appearance:none;-webkit-appearance:none}
 .mg-duration-control button:disabled{opacity:.35}
 .mg-duration-control .mg-triangle{display:block;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent}
 .mg-duration-control .mg-triangle-left{border-right:13px solid #fff}
 .mg-duration-control .mg-triangle-right{border-left:13px solid #fff}
}

@media(max-width:760px){
 .mg-duration-control{gap:0}
 .mg-form .mg-duration-control input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important}
 .mg-duration-control output{display:block;flex:1;min-width:0;text-align:center;white-space:nowrap;font-size:clamp(16px,4.6vw,21px);font-weight:700;color:#161616;font-variant-numeric:tabular-nums}
}
@media(min-width:761px){.mg-duration-control output{display:none}}

/* Only the annular duration track captures touch; side zones scroll normally. */
@media(max-width:760px){.mg-wheel .mg-touch-track{touch-action:none;pointer-events:stroke}}

/* Mobile end-of-booking preview directly beneath the duration dial. */
.mg-end-time{display:none}
@media(max-width:760px){
 .mg-form>.mg-end-time{display:flex;grid-column:1/-1;grid-row:3;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;background:#f7f8f7;border:1px solid #dedfdf;border-radius:12px}
 .mg-end-time span{font-size:14px;font-weight:700;color:#444}
 .mg-end-time strong{font-size:18px;font-weight:800;color:#111;font-variant-numeric:tabular-nums;text-align:right}
 .mg-form>.mg-duration{grid-row:4}
 .mg-form>.mg-submit{grid-row:5}
 .mg-form>.mg-availability{grid-row:6}
 .mg-form>.mg-quote{grid-row:7}
 .mg-form>.mg-status{grid-row:8}
}

/* Put the booking end-time preview between start-time fields and dial on mobile. */
@media(max-width:760px){.mg-form>.mg-end-time{grid-row:2}.mg-form>.mg-wheel{grid-row:3}}

@media(max-width:760px){.mg-end-time strong{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:5px 9px}.mg-end-time .mg-end-date{font-size:15px;font-weight:600}.mg-end-time .mg-end-clock{font-size:clamp(23px,6.5vw,28px);font-weight:900;line-height:1.1;white-space:nowrap}}

/* Reduce the mobile duration wheel by 10%, without changing its hit-testing geometry. */
@media(max-width:760px){.mg-form>.mg-wheel{width:min(90%,297px)}}

/* Mobile: capture gestures anywhere on the dial; only the side margins scroll the page. */
@media(max-width:760px){.mg-wheel svg{touch-action:none!important}}

/* Desktop-only date display and human-readable duration selector. */
.mg-desktop-date,.mg-desktop-duration{display:none}
@media(min-width:761px){
 .mg-date-field{position:relative}
 .mg-date-field #mg-date{color:transparent}
 .mg-date-field #mg-date::-webkit-datetime-edit{color:transparent}
 .mg-date-field #mg-date:focus-visible{color:#111}
 .mg-date-field #mg-date:focus-visible::-webkit-datetime-edit{color:#111}
 .mg-desktop-date{display:flex;position:absolute;bottom:0;left:11px;right:35px;height:46px;align-items:center;pointer-events:none;font-size:14px;color:#111;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}
 .mg-date-field #mg-date:focus-visible + .mg-desktop-date{visibility:hidden}
 .mg-form .mg-duration-control #mg-hours{display:none}
 .mg-form .mg-duration-control .mg-desktop-duration{display:block}
}
