/* Hedgie's Huddle — booking and family area. Inherits the theme's fonts; only layout and states here. */
.hh-app {
  --hh-accent: #09b1ab; /* the site's teal */
  --hh-accent-ink: #fff;
  --hh-ok: #2e7d4f;
  --hh-err: #b3261e;
  --hh-line: rgba(0, 0, 0, .12);
  --hh-soft: rgba(9, 177, 171, .09);
  --hh-muted: rgba(0, 0, 0, .6);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.45;
}
.hh-app h2 { margin: .4em 0 .3em; }
.hh-app h3 { margin: 1.4em 0 .5em; font-size: 1.1em; }
.hh-app label:not(.hh-row):not(.hh-choice) { display: block; margin: .5em 0; }
.hh-app input[type=text], .hh-app input[type=tel], .hh-app input[type=email], .hh-app input[type=date] {
  display: block; width: 100%; box-sizing: border-box; padding: .65em .75em; margin-top: .25em;
  border: 1px solid var(--hh-line); border-radius: 10px; font: inherit; background: #fff; color: #222;
}
.hh-app input[inputmode=numeric] { letter-spacing: .3em; font-size: 1.3em; max-width: 12em; }
.hh-btn {
  display: inline-block; padding: .7em 1.2em; border: 0; border-radius: 999px; background: var(--hh-accent); color: var(--hh-accent-ink) !important;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; margin: .4em .4em .4em 0; min-height: 44px; box-sizing: border-box;
}
.hh-btn:disabled { opacity: .5; cursor: wait; }
.hh-btn.ghost { background: transparent; color: var(--hh-accent) !important; box-shadow: inset 0 0 0 2px var(--hh-accent); }
.hh-btn.small { padding: .45em .9em; min-height: 36px; font-size: .92em; }
.hh-app .hh-link, .hh-app .hh-link:hover, .hh-app .hh-link:focus {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: .3em 0 !important; min-height: 0 !important;
  color: var(--hh-accent) !important; font: inherit !important; font-size: .95em !important; text-decoration: underline; cursor: pointer; border-radius: 0 !important; width: auto !important;
}
.hh-muted { color: var(--hh-muted); font-size: .92em; }
.hh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
/* The theme paints every <button> with white text on its own ::before layer (hidden below): cards need their own colours. */
.hh-app .hh-card {
  display: flex; flex-direction: column; gap: .3em; text-align: left; padding: 1em; border: 1px solid var(--hh-line) !important; border-radius: 14px !important;
  background: #fff !important; color: #222 !important; font: inherit !important; cursor: pointer; text-transform: none !important; letter-spacing: normal !important; height: auto !important;
}
.hh-app .hh-card strong, .hh-app .hh-card span { color: inherit; }
.hh-app .hh-card:hover, .hh-app .hh-card:focus-visible { border-color: var(--hh-accent) !important; background: #eef9f8 !important; }
.hh-app .hh-row {
  display: flex; align-items: center; gap: 12px; padding: .7em .2em; border-bottom: 1px solid var(--hh-line); margin: 0 !important; cursor: default;
}
label.hh-row[for] { cursor: pointer; }
.hh-row > :first-child { flex: 0 0 auto; }
.hh-row .hh-what { flex: 1; display: flex; flex-direction: column; }
.hh-row input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--hh-accent); }
.hh-row.full { opacity: .75; }
.hh-row.offer, .hh-box.offer { background: var(--hh-soft); }
.hh-when { min-width: 8.5em; }
.hh-tag { font-size: .85em; padding: .2em .6em; border-radius: 999px; background: var(--hh-soft); }
.hh-tag.ok { color: var(--hh-ok); }
.hh-box { border: 1px solid var(--hh-line); border-radius: 14px; padding: 1em; margin: 1em 0; }
.hh-cycle { padding: .6em 0; border-top: 1px solid var(--hh-line); }
.hh-cycle:first-of-type { border-top: 0; }
.hh-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-choice { display: flex !important; align-items: center; gap: .5em; padding: .5em .8em; border: 1px solid var(--hh-line); border-radius: 10px; cursor: pointer; }
.hh-choice input { accent-color: var(--hh-accent); width: 20px; height: 20px; }
.hh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.hh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hh-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hh-bar {
  /* fixed, not sticky: the theme sets overflow:hidden on <body>, which disables sticky */
  position: fixed; z-index: 10000; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); box-sizing: border-box;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: .5em .6em .5em 1.1em;
  background: #fff; border: 1px solid var(--hh-line); border-radius: 999px; box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
}
.hh-bar .hh-btn { margin: 0; }
.hh-bar:empty { display: none; }
.hh-msg { padding: .7em 1em; border-radius: 10px; background: var(--hh-soft); }
.hh-msg.ok { color: var(--hh-ok); }
.hh-msg.err { color: var(--hh-err); background: rgba(179, 38, 30, .08); }
.hh-add { margin: .8em 0; }
.hh-add summary { cursor: pointer; color: var(--hh-accent); }
.hh-loading { color: var(--hh-muted); }
@media (max-width: 560px) {
  .hh-app .hh-row { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; }
  .hh-app .hh-row > * { grid-column: 1; }
  .hh-app .hh-row > :last-child:not(:first-child) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .hh-when { min-width: 0; }
  .hh-bar { border-radius: 16px; bottom: 84px; } /* above the site's floating WhatsApp button */
}
.hh-week { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 1.2em 0 .2em; font-weight: 600; }
/* The theme decorates every <button> with coloured ::before/::after layers: not on ours that aren't solid buttons. */
.hh-app .hh-link::before, .hh-app .hh-link::after,
.hh-app .hh-card::before, .hh-app .hh-card::after,
.hh-app .hh-btn.ghost::before, .hh-app .hh-btn.ghost::after { display: none !important; }
