.wgs-shell {
  --wgs-ink: #1d2b24;
  --wgs-green: #365f4a;
  --wgs-green-dark: #274638;
  --wgs-mist: #f1f4f1;
  --wgs-line: #d5ddd7;
  --wgs-warm: #f4efe6;
  color: var(--wgs-ink);
  max-width: 880px;
  margin: 2rem auto;
  border: 1px solid var(--wgs-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(29, 43, 36, .08);
}

.wgs-shell * { box-sizing: border-box; }
.wgs-shell [hidden] { display: none !important; }
.wgs-hero { padding: 2.25rem; background: linear-gradient(135deg, var(--wgs-green-dark), var(--wgs-green)); color: #fff; }
.wgs-hero h2 { color: #fff; margin: .2rem 0 .6rem; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.wgs-hero p { margin: 0; max-width: 650px; }
.wgs-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; opacity: .82; }
.wgs-form { padding: 2.25rem; }
.wgs-form fieldset { border: 0; padding: 1.25rem 0; margin: 0; border-bottom: 1px solid var(--wgs-line); }
.wgs-form fieldset:last-child { border-bottom: 0; padding-bottom: 0; }
.wgs-form legend { display: block; width: 100%; font-size: 1.2rem; font-weight: 700; line-height: 1.25; padding: 0; margin-bottom: .35rem; }
.wgs-form fieldset + fieldset legend { padding-top: 1rem; }
.wgs-calendar { margin: 0 0 1.35rem; padding: 1.1rem; border: 1px solid var(--wgs-line); border-radius: 13px; background: #fbfcfb; }
.wgs-calendar-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.wgs-calendar-header h3 { margin: 0 0 .2rem; font-size: 1.08rem; color: var(--wgs-ink); }
.wgs-calendar-header p { margin: 0; color: #53625a; font-size: .9rem; }
.wgs-calendar-header p a { color: var(--wgs-green-dark) !important; text-decoration: underline; text-underline-offset: .12em; }
.wgs-calendar-nav { display: grid; grid-template-columns: 2.25rem minmax(8rem, auto) 2.25rem; align-items: center; gap: .35rem; text-align: center; flex: 0 0 auto; }
.wgs-calendar-nav button { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid var(--wgs-line); border-radius: 999px; background: #fff; color: var(--wgs-green-dark); cursor: pointer; font: inherit; font-weight: 800; line-height: 1; }
.wgs-calendar-nav button:hover:not(:disabled) { background: var(--wgs-mist); }
.wgs-calendar-nav button:disabled { opacity: .35; cursor: default; }
.wgs-calendar-weekdays, .wgs-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .38rem; }
.wgs-calendar-weekdays { margin-bottom: .38rem; color: #65736b; font-size: .73rem; font-weight: 750; text-align: center; text-transform: uppercase; }
.wgs-calendar-day, .wgs-calendar-blank { min-height: 4.15rem; }
.wgs-calendar-day { display: grid; align-content: center; justify-items: center; gap: .08rem; width: 100%; padding: .35rem .15rem; border: 1px solid transparent; border-radius: 9px; color: var(--wgs-ink); cursor: pointer; font: inherit; }
.wgs-calendar-day-number { font-size: 1rem; font-weight: 800; line-height: 1.1; }
.wgs-calendar-day-label { font-size: .64rem; font-weight: 700; line-height: 1.2; }
.wgs-calendar-day.is-available { background: #e8f4eb; border-color: #b8d8c0; color: #245f36; }
.wgs-calendar-day.is-unavailable { background: #fde8e7; border-color: #e4aaa6; color: #8d2f29; cursor: not-allowed; opacity: 1; }
.wgs-calendar-day.is-selected:not(.is-unavailable),
.wgs-calendar-day.is-selected:not(.is-unavailable):focus { background: var(--wgs-green) !important; border-color: var(--wgs-green-dark) !important; color: #fff !important; outline: 3px solid rgba(54, 95, 74, .28); outline-offset: 1px; }
.wgs-calendar-day:focus-visible { outline: 3px solid var(--wgs-green-dark); outline-offset: 2px; }
.wgs-calendar-day:hover:not(:disabled) { border-color: var(--wgs-green); transform: translateY(-1px); }
.wgs-calendar-status { min-height: 1.25rem; margin: .75rem 0 .45rem; color: #53625a; font-size: .82rem; }
.wgs-calendar-status:empty { display: none; }
.wgs-calendar-legend { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: #46544d; font-size: .82rem; }
.wgs-calendar-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.wgs-calendar-legend i { width: .72rem; height: .72rem; border-radius: 50%; }
.wgs-calendar-legend i.is-available { background: #79ae86; }
.wgs-calendar-legend i.is-unavailable { background: #b8443b; }
.wgs-calendar-privacy { margin: .55rem 0 0; color: #65736b; font-size: .78rem; }
.wgs-length-choice { max-width: 26rem; margin-bottom: 1.25rem; }
.wgs-booking-controls { margin-bottom: 1.35rem; }
.wgs-grid { display: grid; gap: 1rem; }
.wgs-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wgs-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wgs-grid-wide { grid-column: 1 / -1; }
.wgs-form label { display: grid; gap: .35rem; font-weight: 650; }
.wgs-form input, .wgs-form select, .wgs-form textarea { width: 100%; border: 1px solid #aebbb2; border-radius: 8px; padding: .75rem .8rem; background: #fff; color: var(--wgs-ink); font: inherit; }
.wgs-form textarea { min-height: 7.5rem; line-height: 1.45; resize: vertical; }
.wgs-form input:focus, .wgs-form select:focus, .wgs-form textarea:focus { outline: 3px solid rgba(54, 95, 74, .18); border-color: var(--wgs-green); }
.wgs-price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; padding: .85rem 1rem; border-radius: 9px; background: var(--wgs-warm); }
.wgs-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .65rem; font-size: 1.08rem; font-weight: 750; }
.wgs-recurring-note { flex: 1 1 18rem; min-width: 12rem; color: #53625a; font-size: .76rem; font-weight: 500; line-height: 1.35; }
.wgs-promo-toggle { display: inline-flex !important; align-items: center; gap: .45rem !important; color: #46544d; font-size: .88rem; font-weight: 600 !important; white-space: nowrap; cursor: pointer; }
.wgs-promo { margin: -.35rem 0 1.15rem; padding: .85rem 1rem; border: 1px solid var(--wgs-line); border-radius: 10px; background: #fbfcfb; }
.wgs-promo > label { margin-bottom: .45rem; }
.wgs-promo-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; }
.wgs-promo-entry input { text-transform: uppercase; }
.wgs-promo-entry .wgs-button { min-height: 2.9rem; }
.wgs-promo-status { min-height: 1.35rem; margin: .45rem 0 0; color: #53625a; font-size: .88rem; font-weight: 650; }
.wgs-promo-status.is-valid { color: #28733f; }
.wgs-promo-status.is-invalid { color: #9b352f; }
.wgs-button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 999px; padding: .82rem 1.25rem; background: var(--wgs-green); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.wgs-button:hover { background: var(--wgs-green-dark); color: #fff; }
.wgs-button:disabled { opacity: .55; cursor: wait; }
.wgs-button-secondary { background: #fff; color: var(--wgs-green-dark); border: 1px solid var(--wgs-green); }
.wgs-button-danger { background: #963d35; }
.wgs-checkline { display: flex !important; align-items: flex-start; gap: .7rem !important; margin: .8rem 0; font-weight: 500 !important; }
.wgs-checkline > span { display: block; min-width: 0; }
.wgs-checkline > span > span { display: inline; }
.wgs-checkline a { color: var(--wgs-green-dark) !important; text-decoration: underline; text-underline-offset: .12em; }
.wgs-checkline input[type="checkbox"], .wgs-promo-toggle input[type="checkbox"] { appearance: auto; flex: 0 0 1.15rem; width: 1.15rem !important; height: 1.15rem !important; min-width: 1.15rem; margin: .15rem 0 0 !important; padding: 0 !important; border-radius: 3px; }
.wgs-fineprint { color: #53625a; font-size: .92rem; }
.wgs-capacity-warning { display: block; margin-top: .45rem; color: #9b352f; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.wgs-availability { min-height: 1.5rem; margin: .65rem 0 0; font-weight: 650; }
.wgs-availability.is-available { color: #28733f; }
.wgs-availability.is-unavailable { color: #9b352f; }
.wgs-submit-message { max-width: 42rem; margin: .75rem 0 0; padding: .75rem .9rem; border: 1px solid #d9a7a3; border-radius: 9px; background: #fff0ef; color: #8d2f29; font-size: .92rem; font-weight: 650; line-height: 1.4; }
.wgs-submit-message:empty { display: none; }
.wgs-notice { margin: 1.25rem 2.25rem 0; padding: 1rem 1.15rem; border-radius: 9px; background: #edf2ee; border-left: 4px solid var(--wgs-green); }
.wgs-notice-error { background: #fff0ef; border-color: #a33c34; }
.wgs-notice-success { background: #edf7ef; border-color: #28733f; }
.wgs-card { margin: 2rem; padding: 1.5rem; border: 1px solid var(--wgs-line); border-radius: 12px; background: var(--wgs-mist); }
.wgs-card h3 { margin-top: 0; }
.wgs-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 680px) {
  .wgs-shell { margin: 1rem 0; border-radius: 12px; }
  .wgs-hero, .wgs-form { padding-left: 1.25rem; padding-right: 1.25rem; }
  .wgs-grid-2, .wgs-grid-3 { grid-template-columns: 1fr; }
  .wgs-notice { margin-left: 1.25rem; margin-right: 1.25rem; }
  .wgs-calendar-header { display: grid; }
  #wgs-calendar { display: block !important; width: 100%; min-width: 0; clear: both; scroll-margin-top: 9.5rem; }
  #wgs-calendar-grid { display: grid !important; width: 100%; min-width: 0; }
  .wgs-calendar-nav { width: 100%; grid-template-columns: 2.25rem 1fr 2.25rem; }
  .wgs-calendar { padding: .85rem; }
  .wgs-calendar-weekdays, .wgs-calendar-grid { gap: .22rem; }
  .wgs-calendar-day, .wgs-calendar-blank { min-height: 3.45rem; }
  .wgs-calendar-day-label { display: none; }
	.wgs-promo-entry { grid-template-columns: 1fr; }
  .wgs-price-row { align-items: flex-start; flex-direction: column; }
}

.wgs-repeat-row { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.wgs-repeat-label { color: #25352d; font-size: .9rem; font-weight: 650; line-height: 1; }
.wgs-repeat-count-entry { display: grid; grid-template-columns: minmax(4.25rem, 6.5rem) minmax(0, auto); align-items: center; gap: .5rem; }
.wgs-repeat-count-entry input { margin: 0; }
.wgs-repeat-count-entry span { color: #46544d; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.wgs-calendar-header .wgs-recurrence-finish { min-height: 0; margin-top: .18rem; color: #53625a; font-size: .9rem; font-weight: 400; }
.wgs-calendar-header .wgs-recurrence-finish:empty { display: none; }


/* Keep the repeat controls level while preserving a compact mobile layout. */
.wgs-booking-controls > label { align-content: start; }
.wgs-booking-controls input,
.wgs-booking-controls select { height: 3rem; min-height: 3rem; }
.wgs-repeat-row { padding-top: 0; }


.wgs-commitment-summary { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid var(--wgs-line); border-radius: 12px; background: var(--wgs-mist); }
.wgs-commitment-summary p { margin: 0 0 .55rem; font-weight: 650; }
.wgs-commitment-summary ul { margin: 0; padding-left: 1.2rem; }
.wgs-commitment-summary li + li { margin-top: .25rem; }

@media (max-width: 680px) {
	.wgs-form input:not([type="checkbox"]):not([type="hidden"]),
	.wgs-form select { min-height: 3rem; height: 3rem; padding-top: .65rem; padding-bottom: .65rem; font-size: 16px; }
	.wgs-form textarea { font-size: 16px; }
	.wgs-repeat-count-entry { grid-template-columns: minmax(4.25rem, 7rem) auto; }
}
