/* Contact details stay inside the compact chooser, not across the footer. */
.altagwa-footer .altagwa-footer__brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.altagwa-footer .altagwa-brand__copy { display: none; }
.altagwa-contact__options { padding: 4px 12px 12px; }
.altagwa-contact__options > a,
.altagwa-contact__options > button,
.altagwa-contact__form-toggle > summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 4px;
  color: #fff;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: start;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.altagwa-contact__options small { font-size: 11px; color: #c7d8d2; }
.altagwa-contact__options > button:hover,
.altagwa-contact__form-toggle > summary:hover { color: var(--altagwa-accent); }
.altagwa-contact__options button:focus-visible,
.altagwa-contact__form-toggle > summary:focus-visible,
.altagwa-contact__form input:focus-visible,
.altagwa-contact__form textarea:focus-visible { outline: 2px solid var(--altagwa-accent); outline-offset: 3px; }
.altagwa-contact__form-toggle { margin: 0; padding: 0; border: 0; }
.altagwa-contact__form-toggle > summary { display: list-item; list-style: disclosure-closed inside; }
.altagwa-contact__form-toggle[open] > summary { list-style-type: disclosure-open; }
.altagwa-contact__form { display: grid; gap: 8px; margin: 12px 0 0; }
.altagwa-contact__form > label { margin: 0; font-size: 12px; color: #fff; }
.altagwa-contact__form input:not([type="checkbox"]),
.altagwa-contact__form textarea {
  width: 100%; min-width: 0; min-height: 42px; margin: 0; padding: 9px;
  border: 1px solid #b8cbc4; border-radius: 7px; background: #fff; color: #173d35;
  font: inherit; font-size: 16px; line-height: 1.5; box-sizing: border-box;
}
.altagwa-contact__form textarea { min-height: 120px; resize: vertical; }
.altagwa-contact__form > p { margin: 4px 0; color: #c7d8d2; font-size: 11px; line-height: 1.7; }
.altagwa-contact__form > p a { text-decoration: underline !important; font-size: inherit; }
.altagwa-contact__consent { display: flex; align-items: start; gap: 8px; line-height: 1.6; }
.altagwa-contact__consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; accent-color: #ba9552; }
.altagwa-contact__form button[type="submit"] {
  width: 100%; min-height: 44px; padding: 10px; border: 0; border-radius: 8px;
  background: var(--altagwa-accent); color: #173d35; font: inherit; font-size: 13px; font-weight: 700;
  white-space: normal; cursor: pointer;
}
.altagwa-contact__form button:disabled { opacity: .65; cursor: wait; }
.altagwa-contact__trap { display: none !important; }
.altagwa-contact__status { margin: 12px 0 0; padding: 10px; background: #eef7f2; color: #173d35; border-radius: 8px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.altagwa-contact__status.is-error { background: #fff0e6; color: #763411; }
.altagwa-contact__status[hidden] { display: none !important; }

/* The same contact options in the white main menu, with no footer styling. */
body.altagwa-storefront-active .altagwa-header.is-menu-open .altagwa-nav {
  max-height: min(720px, var(--altagwa-nav-available-height, calc(100dvh - 120px))) !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  scroll-padding-block: 10px;
}
body.altagwa-storefront-active .altagwa-header .altagwa-nav > * { flex-shrink: 0; }
.altagwa-contact--header { min-width: 0; margin: 0; padding: 0; border: 0; }
.altagwa-contact--header > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 40px; padding: 8px 12px; border-radius: 9px;
  color: #173d35; font-size: 12px; font-weight: 700; line-height: 1.5;
  list-style: none; cursor: pointer;
}
.altagwa-contact--header > summary::-webkit-details-marker { display: none; }
.altagwa-contact--header > summary::after { content: '+'; font-size: 18px; line-height: 1; }
.altagwa-contact--header[open] > summary::after { content: '−'; }
.altagwa-contact--header[open] > summary,
.altagwa-contact--header > summary:hover { background: #eef5f2; }
.altagwa-contact--header > summary:focus-visible { outline: 2px solid var(--altagwa-accent); outline-offset: -2px; }
.altagwa-contact--header .altagwa-contact__options { padding: 3px 12px 12px; }
.altagwa-contact--header .altagwa-contact__options > a,
.altagwa-contact--header .altagwa-contact__options > button,
.altagwa-contact--header .altagwa-contact__form-toggle > summary {
  color: #173d35; border-bottom-color: #e3e9e6; font-weight: 500;
}
.altagwa-contact--header .altagwa-contact__options > a:hover,
.altagwa-contact--header .altagwa-contact__options > button:hover,
.altagwa-contact--header .altagwa-contact__form-toggle > summary:hover { color: #126953; background: #f4f8f6; }
.altagwa-contact--header .altagwa-contact__options small,
.altagwa-contact--header .altagwa-contact__form > p { color: #52675f; }
.altagwa-contact--header .altagwa-contact__form > label,
.altagwa-contact--header .altagwa-contact__form > p a { color: #173d35; }
.altagwa-contact--header .altagwa-contact__form { margin-bottom: 8px; }
@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-header__nav-wrap {
    width: calc(100% - 16px) !important;
  }
}
@media (max-width: 1040px) and (min-width: 601px) {
  .altagwa-footer .altagwa-footer__brand { max-width: 420px; width: 100%; }
}
