/* 2026-09-12 VVC R1 — new selectors only; legacy theme CSS is unchanged. */
.ehv{color:#163b58;font-size:15px;line-height:1.5;padding:18px;background:#fff;margin:15px 0}.ehv *{box-sizing:border-box}.ehv [hidden]{display:none!important}.ehv h2{font-size:23px;margin:0 0 16px;font-weight:700}.ehv h3{font-size:20px;line-height:1.3;margin:0 0 5px;color:#004574;font-weight:600}.ehv h4{font-size:16px;font-weight:600;margin:0 0 12px}.ehv p{margin:6px 0}.ehv button{font:inherit;cursor:pointer;border:1px solid #d6dce1;border-radius:7px;background:#fff;color:#164568;padding:8px 14px;line-height:1.4}.ehv button:disabled{cursor:not-allowed;opacity:.45}.ehv button:focus-visible,.ehv summary:focus-visible,.ehv input:focus-visible,.ehv textarea:focus-visible,.ehv select:focus-visible{outline:3px solid #16b5ce;outline-offset:2px}.ehv-card{border:1px solid #d8dde4;border-radius:11px;margin:14px 0;overflow:hidden}.ehv-heading{display:flex;gap:20px;padding:16px;justify-content:space-between;align-items:flex-start}.ehv-info{flex:1;min-width:0}.ehv-excerpt{color:#7a8793;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}.ehv-details summary{color:#06acc9;cursor:pointer;font-weight:600;margin-top:8px}.ehv-details p{white-space:pre-line;overflow-wrap:anywhere}.ehv-price-action{display:flex;align-items:center;gap:12px;flex-shrink:0}.ehv-price-action strong{font-size:19px;white-space:nowrap}.ehv-price-action button,.ehv .ehv-primary{background:#ff9000;color:#fff;border-color:#ff9000;font-weight:600}.ehv-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;background:#f7f9fa;padding:16px}.ehv-calendar-box{background:#fff;border:1px solid #c8cdd4;border-radius:11px;padding:12px}.ehv-month{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.ehv-month button{border:0;font-size:24px;padding:0 10px}.ehv-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ehv-weekday{text-align:center;font-size:13px;padding:8px 0}.ehv .ehv-day{border:0;background:transparent;padding:5px 0;min-height:49px;font-size:14px}.ehv-day span{display:block}.ehv-day small{display:block;font-size:11px;color:#7e8ea4}.ehv .ehv-day[aria-pressed=true]{background:#20b7cc;color:#fff}.ehv-day[aria-pressed=true] small{color:#fff}.ehv-calendar-note{display:block;color:#7b8793;font-size:11px;margin-top:7px}.ehv-choices{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.ehv-choices button{font-size:14px}.ehv-choices button[aria-pressed=true]{border-color:#13b8ce;color:#00aac4;background:#f2fcfe}.ehv-ticket{display:flex;align-items:center;gap:8px;border:1px solid #c9cfd7;background:#fff;border-radius:10px;padding:9px 11px;margin:8px 0}.ehv-ticket-label{flex:1;min-width:0}.ehv-ticket-label small{display:block;color:#7e8b98;font-size:12px}.ehv-unit{font-size:13px;color:#f18700;white-space:nowrap}.ehv-step{display:flex;align-items:center}.ehv-step button{border:0;padding:4px 7px;font-size:20px;min-width:30px;min-height:36px}.ehv-step input{width:32px;border:0;background:#fff;text-align:center;padding:0;font:inherit;appearance:textfield;-moz-appearance:textfield}.ehv-step input::-webkit-inner-spin-button{appearance:none}.ehv-status{font-size:12px;color:#657985;min-height:22px}.ehv-total{display:flex;justify-content:space-between;align-items:center;margin:12px 0;gap:12px}.ehv-total strong{color:#ff9000;font-size:24px}.ehv .ehv-primary{width:100%;padding:12px;font-size:16px}.ehv-checkout{max-width:1120px;margin:25px auto;background:#f2f7fa;padding:20px}.ehv-checkout-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}.ehv-box{padding:18px;border:1px solid #dbe2e6;border-radius:10px;background:#fff;margin-bottom:15px;box-shadow:0 1px 4px #163b5810}.ehv-field{display:block;margin:0 0 12px}.ehv-field input:not([type=checkbox]),.ehv-field textarea,.ehv-field select{display:block;width:100%;padding:12px;border:1px solid #dcdfe3;border-radius:9px;background:white;font:inherit;color:#334e61;margin-top:5px}.ehv-field textarea{min-height:85px;resize:vertical}.ehv-invoice{margin:12px 0}.ehv-checkout-head{display:flex;gap:12px;justify-content:space-between}.ehv-checkout-head img{width:90px;height:65px;object-fit:cover;border-radius:8px}.ehv-summary-line{padding:12px 0;border-bottom:1px solid #dbe0e5;display:flex;justify-content:space-between;gap:12px}.ehv-summary-line small{display:block;color:#7b8791}.ehv-alert{padding:14px;border:1px solid #eeaa6c;background:#fff5e9;margin-bottom:16px;border-radius:8px}.ehv-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
/* 2026-09-19 R1.7.1: Keep calendar + controls side-by-side on desktop/tablet landscape (>=768px). */
@media(max-width:1600px){.ehv-price-action{flex-direction:column;align-items:flex-end}.ehv-checkout-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
@media(max-width:767px){.ehv-panel{grid-template-columns:1fr;gap:20px}.ehv-calendar{width:100%;max-width:390px}}
@media(min-width:768px){.ehv-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(14px,2vw,28px)}.ehv-calendar,.ehv-controls{width:100%;min-width:0}.ehv-calendar{max-width:none}.ehv-calendar-box{width:100%;min-width:0}}
@media(max-width:480px){
	.ehv{padding:12px;font-size:14px}
	.ehv-checkout-grid {gap: 0px;}
	.ehv-heading{padding:12px;gap:8px;flex-wrap:wrap}
	.ehv h3{font-size:17px}.ehv-price-action{flex-direction:row;width:100%;justify-content:space-between}.ehv-price-action strong{font-size:17px}.ehv-panel{padding:12px;gap:18px}.ehv-ticket{padding:8px;gap:4px}.ehv-unit{font-size:12px}.ehv-step button{padding:3px;min-width:30px}.ehv-step input{width:27px}.ehv-checkout-grid{display:flex;flex-direction:column}.ehv-checkout-summary{order:-1}.ehv-checkout{margin:12px 0}.ehv-box{padding:14px}
	.ehv-total strong{font-size:22px}
	}
@media(min-width:480px){
	.ehv-checkout {margin: 80px auto;}
}
.ehv iframe{max-width:100%}

/* 2026-09-12 R1.3: Clearly distinguish packages sold for different service periods. */
.ehv .ehv-period{font-size:13px;font-weight:600;color:#246478;margin:6px 0}

/* 2026-09-14 R1.5: Scoped details dialog; original layout rules remain unchanged. */
.ehv .ehv-details-trigger{border:0;background:transparent;color:#009ab6;padding:6px 0;font-weight:600;text-align:left}
.ehv .ehv-popup{width:720px;max-width:calc(100vw - 24px);max-height:85vh;max-height:85dvh;margin:auto;padding:0;border:0;border-radius:12px;background:#fff;color:#163b58;overflow:auto;box-shadow:0 15px 60px #0004}
.ehv .ehv-popup::backdrop{background:rgba(10,30,45,.58)}
.ehv-popup-header{position:sticky;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px;background:#fff;border-bottom:1px solid #dbe2e6;z-index:1}
.ehv .ehv-popup-header h3{margin:0;overflow-wrap:anywhere;font-size:19px}
.ehv .ehv-popup-close{flex-shrink:0;min-height:44px}
.ehv-popup-body{padding:18px}.ehv-popup-section+.ehv-popup-section{border-top:1px solid #e1e6ea;margin-top:18px;padding-top:18px}
.ehv .ehv-popup-section h4{font-weight:700;margin:0 0 10px}.ehv-popup-content{overflow-wrap:anywhere;overflow-x:auto;white-space:pre-line}
.ehv-popup-content img,.ehv-popup-content video{max-width:100%;height:auto}.ehv-popup-content table{width:100%;border-collapse:collapse;white-space:normal}
.ehv-popup-content th,.ehv-popup-content td{padding:7px;border:1px solid #dbe2e6}.ehv-popup-content ul,.ehv-popup-content ol{padding-left:22px}
@media(max-width:600px){.ehv-popup-header,.ehv-popup-body{padding:14px}.ehv .ehv-popup-header h3{font-size:17px}}

/* 2026-09-14 R1.6: Compact popup layout; reduce vertical gaps and keep sections visually continuous. */
.ehv .ehv-popup-body{
  padding:0 18px 16px!important;
}
.ehv .ehv-popup-section{
  margin:0!important;
  padding:10px 0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  border-bottom:1px solid #eeeeee!important;
}
.ehv .ehv-popup-section+.ehv-popup-section{
  margin-top:0!important;
  padding-top:10px!important;
  border-top:0!important;
}
.ehv .ehv-popup-section:last-child{
  border-bottom:0!important;
  padding-bottom:0!important;
}
.ehv .ehv-popup-section h4{
  margin:0 0 5px!important;
  padding:0!important;
  font-size:15px!important;
  line-height:1.4!important;
  font-weight:700!important;
  color:#333!important;
}
.ehv .ehv-popup-content{
  margin:0!important;
  padding:0!important;
  font-size:14px;
  line-height:1.55;
  color:#555;
  overflow-wrap:anywhere;
  overflow-x:auto;
  white-space:normal;
}
.ehv .ehv-popup-content p{
  margin:0 0 5px!important;
  padding:0!important;
}
.ehv .ehv-popup-content p:last-child{
  margin-bottom:0!important;
}
.ehv .ehv-popup-content ul,
.ehv .ehv-popup-content ol{
  margin:4px 0 5px!important;
  padding-left:20px!important;
  list-style:disc;
}
.ehv .ehv-popup-content li{
  margin:0 0 3px!important;
  padding:0!important;
  line-height:1.5;
}
.ehv .ehv-popup-content li:last-child{
  margin-bottom:0!important;
}
.ehv .ehv-popup-content h1,
.ehv .ehv-popup-content h2,
.ehv .ehv-popup-content h3,
.ehv .ehv-popup-content h4,
.ehv .ehv-popup-content h5,
.ehv .ehv-popup-content h6{
  margin:8px 0 4px!important;
}
.ehv .ehv-popup-content > *:first-child{
  margin-top:0!important;
}
.ehv .ehv-popup-content > *:last-child{
  margin-bottom:0!important;
}
@media(max-width:600px){
  .ehv .ehv-popup-body{
    padding:0 14px 14px!important;
  }
  .ehv .ehv-popup-section{
    padding:8px 0!important;
  }
  .ehv .ehv-popup-section+.ehv-popup-section{
    padding-top:8px!important;
  }
  .ehv .ehv-popup-section h4{
    margin-bottom:4px!important;
    font-size:14px!important;
  }
  .ehv .ehv-popup-content{
    font-size:13.5px;
    line-height:1.5;
  }
}

/* 2026-09-15 M1: Full-screen mobile steps; safe areas, independent scroll and native dialog focus. */
html.ehv-mobile-lock,html.ehv-mobile-lock body{overflow:hidden!important;overscroll-behavior:none}
.ehv .ehv-mobile-dialog:not([open]){display:none}
.ehv .ehv-mobile-dialog[open]{position:fixed;inset:0;width:100%;max-width:100%;height:100%;height:100dvh;max-height:100%;margin:0;border:0;padding:0;background:#fff;color:#374151;display:flex;flex-direction:column;overflow:hidden;border-radius:0;font-size:14px}
.ehv-mobile-dialog::backdrop{background:#fff}
.ehv .ehv-mobile-header{flex:none;display:flex;align-items:center;justify-content:center;position:relative;min-height:46px;padding:10px 46px;padding-top:calc(10px + env(safe-area-inset-top));background:#004574;color:#fff;text-align:center}
.ehv .ehv-mobile-header strong{font-size:15px;color:#fff}
.ehv .ehv-mobile-back{position:absolute;left:0;bottom:0;width:44px;height:44px;border:0;border-radius:0;background:transparent;color:#fff;font-size:25px;padding:0}
.ehv-mobile-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ehv-mobile-summary{padding:14px;border-bottom:6px solid #f3f4f5}
.ehv .ehv-mobile-summary h3{font-size:16px;line-height:1.35}
.ehv .ehv-mobile-summary .ehv-excerpt{font-size:12px;margin:5px 0}
.ehv-mobile-date{padding:14px 14px 4px}
.ehv .ehv-mobile-dialog h4{font-size:14px;color:#444;margin:0 0 9px}
.ehv .ehv-date-field{width:100%;text-align:left;border:1px solid #d9dde2;border-radius:4px;background:#fff;color:#555;min-height:42px}
.ehv-quick-dates{display:flex;gap:6px;margin:10px 0;flex-wrap:wrap}
.ehv .ehv-quick-dates button{font-size:12px;border:1px solid transparent;border-radius:20px;background:#f5f5f5;padding:7px 9px}
.ehv .ehv-quick-dates button[aria-pressed=true]{border-color:#17b9d0;color:#0bafc7;background:#f4fdff}
.ehv .ehv-mobile-dialog .ehv-controls{padding:0 14px 14px}
.ehv .ehv-mobile-dialog .ehv-choices{flex-direction:column;gap:8px;margin-bottom:16px}
.ehv .ehv-mobile-dialog .ehv-choices button{width:100%;border-radius:4px;font-size:12px;padding:9px}
.ehv .ehv-mobile-dialog .ehv-ticket{border-radius:4px;padding:8px;gap:5px;min-height:48px}
.ehv .ehv-mobile-dialog .ehv-unit{font-size:12px}
.ehv .ehv-mobile-dialog .ehv-ticket-label{overflow-wrap:anywhere}
.ehv .ehv-mobile-dialog .ehv-step button{min-width:30px;min-height:36px}
.ehv .ehv-mobile-dialog .ehv-step input{width:26px}
.ehv .ehv-mobile-footer{flex:none;padding:10px 14px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ddd;box-shadow:0 -2px 5px #0000000d}
.ehv .ehv-mobile-footer .ehv-total{margin:0 0 8px}
.ehv .ehv-mobile-footer .ehv-total strong{font-size:20px}
.ehv .ehv-mobile-footer .ehv-primary{width:100%;border-radius:7px;background:#ff9000;color:#fff;min-height:44px;padding:10px;font-weight:600}
.ehv .ehv-date-dialog .ehv-calendar{max-width:none;padding:14px;width:100%}
.ehv .ehv-date-dialog .ehv-calendar>h4{display:none}
.ehv .ehv-date-dialog .ehv-calendar-box{border:0;border-radius:0;padding:0}
.ehv .ehv-date-dialog .ehv-day{min-height:49px;border-radius:50%}
.ehv .ehv-date-dialog .ehv-day[aria-pressed=true]{background:#20b7cc;color:#fff}

/* 2026-09-22 R1.8.6: Group booking enquiry + conditional manual Group tab + thank-you state. */
/* R1.8.6: Manual Group tab is the final option before quantity selection; JS hides it until adult quantity >10. */
.ehv .ehv-choices .ehv-group-tab{border-color:#ff9000;background:#fff8ee;color:#c96800;font-weight:700}
.ehv .ehv-choices .ehv-group-tab:hover,.ehv .ehv-choices .ehv-group-tab:focus-visible{background:#ff9000;color:#fff}
.ehv .ehv-group-dialog{width:470px;max-width:calc(100vw - 24px);margin:auto;padding:0;border:0;border-radius:12px;background:#fff;color:#163b58;box-shadow:0 15px 60px #0004;overflow:hidden}
.ehv .ehv-group-dialog::backdrop{background:rgba(10,30,45,.58)}
.ehv .ehv-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e2e7eb;background:#fff}
.ehv .ehv-group-header h3{margin:0;font-size:19px;line-height:1.35;color:#004574}
.ehv .ehv-group-close{flex:none;border:0;background:transparent;color:#667788;padding:6px 0 6px 10px;min-height:40px}
.ehv .ehv-group-body{padding:18px}
.ehv .ehv-group-field{display:block;margin:0 0 13px;font-weight:600;color:#304e63}
.ehv .ehv-group-field>span{display:block;margin-bottom:5px}
.ehv .ehv-group-field input{display:block;width:100%;min-height:42px;padding:9px 11px;border:1px solid #cfd7de;border-radius:7px;background:#fff;color:#263f52;font:inherit;font-weight:400}
.ehv .ehv-group-submit{width:100%;min-height:44px;margin-top:3px;background:#ff9000;color:#fff;border-color:#ff9000;font-weight:700}
.ehv .ehv-group-notice{padding:11px 13px;border-radius:7px;margin:0 0 14px}
.ehv .ehv-group-notice--success{background:#edf9f1;border:1px solid #9ed8ae;color:#236336}
.ehv .ehv-group-notice--error{background:#fff4ed;border:1px solid #f3b27d;color:#93470b}
@media(max-width:600px){.ehv .ehv-group-dialog{width:calc(100vw - 20px)}.ehv .ehv-group-header,.ehv .ehv-group-body{padding:14px}.ehv .ehv-group-header h3{font-size:17px}}


/* R1.8.4: Dedicated thank-you state after a successful group enquiry. */
.ehv.ehv-group-thanks{padding:28px 18px;background:#f7f9fa}
.ehv .ehv-group-thanks-card{max-width:650px;margin:20px auto;padding:30px 24px;border:1px solid #dbe2e6;border-radius:12px;background:#fff;text-align:center;box-shadow:0 4px 18px #163b5812}
.ehv .ehv-group-thanks-card h2{margin:0 0 10px;color:#004574}
.ehv .ehv-group-thanks-card p{margin:0 0 18px;color:#526a7a}
.ehv .ehv-group-thanks-link{display:inline-block;padding:11px 18px;border-radius:7px;background:#ff9000;color:#fff!important;font-weight:700;text-decoration:none}
@media(max-width:600px){.ehv.ehv-group-thanks{padding:16px 12px}.ehv .ehv-group-thanks-card{margin:8px auto;padding:22px 16px}}
