/**
 * Maker's Nook — Contact page (contact-page.html)
 * Tokens match design system; scoped under body.mn-contact-page / .mn-ct
 * Do not target bare .container / .website-wrapper (breaks site header).
 */

body.mn-contact-page {
  --ember-50: #fdf3ef;
  --ember-100: #f7ded5;
  --ember-300: #e2a38f;
  --ember-600: #b2452d;
  --ember-700: #8e3722;
  --fynbos-50: #f2f5ec;
  --fynbos-100: #e3e9da;
  --fynbos-300: #c2cfae;
  --fynbos-500: #9cab7f;
  --fynbos-700: #6b7a5a;
  --fynbos-900: #3d4634;
  --shell-0: #ffffff;
  --shell-50: #FDFAF4;
  --shell-100: #f7f1ea;
  --shell-200: #ede4da;
  --shell-300: #ded2c4;
  --shell-400: #c4b7a7;
  --shell-500: #a79c90;
  --shell-600: #7a7168;
  --shell-700: #554f48;
  --shell-800: #38332e;
  --shell-900: #2a2521;
  --mn-ct-font: "Manrope", system-ui, -apple-system, sans-serif;
  --mn-ct-mono: "Martian Mono", ui-monospace, monospace;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  background: var(--shell-50) !important;
  font-family: var(--mn-ct-font) !important;
  color: var(--shell-700);
  -webkit-font-smoothing: antialiased;
}

body.mn-contact-page .wd-page-title,
body.mn-contact-page .page-title,
body.mn-contact-page .title-wrapper,
body.mn-contact-page .title-container,
body.mn-contact-page .wd-page-title-header,
body.mn-contact-page .main-page-wrapper > .entry-header,
body.mn-contact-page .site-content > .entry-header,
body.mn-contact-page h1.entry-title,
body.mn-contact-page .breadcrumbs,
body.mn-contact-page .woocommerce-breadcrumb,
body.mn-contact-page .sidebar-container,
body.mn-contact-page .wd-sidebar {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.mn-contact-page .wd-page-content,
body.mn-contact-page .main-page-wrapper,
body.mn-contact-page .wd-content-layout,
body.mn-contact-page .content-layout-wrapper,
body.mn-contact-page main.wd-content-layout,
body.mn-contact-page main.container,
body.mn-contact-page .main-page-wrapper > .container,
body.mn-contact-page .site-content,
body.mn-contact-page .entry-content,
body.mn-contact-page #main,
body.mn-contact-page .wd-content-area {
  display: block !important;
  background: var(--shell-50) !important;
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-shadow: none !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  text-align: left !important;
}

body.mn-contact-page .mn-ct {
  text-align: left !important;
}

.mn-ct {
  box-sizing: border-box;
  background: var(--shell-50);
  font-family: var(--mn-ct-font);
  color: var(--shell-700);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
}

.mn-ct *,
.mn-ct *::before,
.mn-ct *::after {
  box-sizing: border-box;
}

.mn-ct h1,
.mn-ct h2,
.mn-ct h3 {
  margin: 0;
  color: var(--shell-900);
  line-height: 1.1;
}

.mn-ct p {
  margin: 0;
}

.mn-ct a {
  color: inherit;
  text-decoration: none;
}

.mn-ct button,
.mn-ct input,
.mn-ct select,
.mn-ct textarea {
  font-family: inherit;
}

.mn-ct svg {
  display: block;
}

.mn-ct__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.mn-ct__meta {
  font-family: var(--mn-ct-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fynbos-700);
}

.mn-ct__head {
  padding: 80px 0 48px;
  max-width: 52ch;
}

.mn-ct__head .mn-ct__meta {
  margin-bottom: 18px;
}

.mn-ct__head h1 {
  font-size: 46px;
  font-weight: 200;
  letter-spacing: -0.046em;
  margin-bottom: 16px;
  font-family: var(--mn-title-font, Georgia, "Times New Roman", serif);
}

.mn-ct__head p {
  font-size: 18px;
  font-weight: 300;
  color: var(--shell-600);
  line-height: 1.65;
}

.mn-ct__cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding-bottom: 96px;
}

/* ---------- FORM ---------- */
.mn-ct__card {
  background: var(--shell-0);
  border-radius: var(--r-xl);
  padding: 44px 46px;
}

.mn-ct__fg {
  margin-bottom: 22px;
}

.mn-ct__fg:last-of-type {
  margin-bottom: 0;
}

.mn-ct__fg--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mn-ct__flab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mn-ct__flab label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell-900);
  letter-spacing: -0.008em;
}

.mn-ct__flab span {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--shell-500);
}

.mn-ct__field {
  width: 100% !important;
  height: 54px !important;
  padding: 0 16px !important;
  border: 1px solid var(--shell-300) !important;
  border-radius: var(--r-md) !important;
  background: var(--shell-0) !important;
  font-family: var(--mn-ct-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--shell-900) !important;
  box-shadow: none !important;
  transition: border-color 0.16s, box-shadow 0.16s;
  letter-spacing: -0.006em !important;
  text-transform: none !important;
}

.mn-ct__field::placeholder {
  color: var(--shell-400);
}

.mn-ct__field:focus {
  outline: none !important;
  border-color: var(--ember-600) !important;
  box-shadow: 0 0 0 3px rgba(178, 69, 45, 0.14) !important;
}

textarea.mn-ct__field {
  height: auto !important;
  min-height: 150px !important;
  padding: 14px 16px !important;
  line-height: 1.7 !important;
  resize: vertical;
}

select.mn-ct__field {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7168' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 17px !important;
  padding-right: 44px !important;
  cursor: pointer;
}

.mn-ct__fhelp {
  font-size: 12.5px;
  color: var(--shell-500);
  margin-top: 8px;
  line-height: 1.55;
}

.mn-ct__fg--conditional {
  display: none;
}

.mn-ct__fg--conditional.is-on {
  display: block;
}

.mn-ct__btn,
body.mn-contact-page .mn-ct button.mn-ct__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 30px !important;
  margin-top: 28px;
  border-radius: var(--r-md) !important;
  border: 1px solid var(--ember-600) !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.008em !important;
  text-transform: none !important;
  background: var(--ember-600) !important;
  color: #fff !important;
  box-shadow: none !important;
  transition: background-color 0.18s, border-color 0.18s;
  cursor: pointer;
}

.mn-ct__btn:hover,
body.mn-contact-page .mn-ct button.mn-ct__btn:hover {
  background: var(--ember-700) !important;
  border-color: var(--ember-700) !important;
  color: #fff !important;
}

.mn-ct__after {
  margin-top: 14px;
  font-size: 13px;
  color: var(--shell-500);
  text-align: center;
  line-height: 1.6;
}

.mn-ct__notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  line-height: 1.55;
}

.mn-ct__notice--ok {
  background: var(--fynbos-50);
  border: 1px solid var(--fynbos-300);
  color: var(--fynbos-900);
}

.mn-ct__notice--err {
  background: #fcebeb;
  border: 1px solid #e2a3a8;
  color: #8c2f39;
}

/* ---------- SIDEBAR ---------- */
.mn-ct__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mn-ct__sbox {
  background: var(--shell-0);
  border-radius: var(--r-lg);
  padding: 26px;
}

.mn-ct__sbox--sage {
  background: var(--fynbos-50);
  border: 1px solid var(--fynbos-300);
}

.mn-ct__sbox-i {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--fynbos-100);
  color: var(--fynbos-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mn-ct__sbox--sage .mn-ct__sbox-i {
  background: var(--shell-0);
}

.mn-ct__sbox-i svg {
  width: 17px;
  height: 17px;
}

.mn-ct__sbox h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mn-ct__sbox h3.mn-ct__sbox-h {
  margin-bottom: 16px;
}

.mn-ct__sbox p {
  font-size: 14px;
  color: var(--shell-600);
  line-height: 1.65;
}

.mn-ct__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ember-600);
  border-bottom: 1px solid var(--ember-300);
  padding-bottom: 1px;
}

.mn-ct__link:hover {
  border-color: var(--ember-600);
}

.mn-ct__detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--shell-200);
}

.mn-ct__detail:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mn-ct__detail:first-of-type {
  padding-top: 0;
}

.mn-ct__detail svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--fynbos-700);
}

.mn-ct__detail b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--shell-900);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.mn-ct__detail span {
  font-size: 14px;
  color: var(--shell-600);
  line-height: 1.5;
}

.mn-ct__detail a {
  color: var(--shell-900);
  border-bottom: 1px solid var(--shell-300);
}

.mn-ct__detail a:hover {
  border-color: var(--shell-900);
}

/* ---------- FAQ ---------- */
body.mn-contact-page .mn-ct__faqband,
.mn-ct__faqband {
  background: var(--shell-100) !important;
  padding: 96px 0 !important;
  text-align: left !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
}

body.mn-contact-page .mn-ct__faqband .mn-ct__wrap,
.mn-ct__faqband .mn-ct__wrap {
  text-align: left !important;
  display: block !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.mn-contact-page .mn-ct__faqhead,
.mn-ct__faqhead {
  margin-bottom: 40px !important;
  max-width: 50ch !important;
  text-align: left !important;
  display: block !important;
}

body.mn-contact-page .mn-ct__faqhead h2,
.mn-ct__faqhead h2 {
  font-size: 36px !important;
  font-weight: 200 !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 14px !important;
  font-family: var(--mn-title-font, Georgia, "Times New Roman", serif) !important;
  text-align: left !important;
  color: var(--shell-900) !important;
}

body.mn-contact-page .mn-ct__faqhead p,
.mn-ct__faqhead p {
  font-size: 17px !important;
  font-weight: 300 !important;
  color: var(--shell-600) !important;
  text-align: left !important;
  margin: 0 !important;
}

body.mn-contact-page .mn-ct__faq,
.mn-ct__faq {
  border-top: 1px solid var(--shell-200) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: block !important;
}

body.mn-contact-page .mn-ct__faq-i,
.mn-ct__faq-i {
  border-bottom: 1px solid var(--shell-200) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: block !important;
  float: none !important;
}

/* Div toggle — escapes Additional CSS “every button” geometry */
body.mn-contact-page .mn-ct .mn-ct__faq-q,
.mn-ct__faq-q {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 26px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  font-family: var(--mn-ct-font) !important;
  font-size: 17.5px !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--shell-900) !important;
  cursor: pointer;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.35 !important;
  float: none !important;
}

body.mn-contact-page .mn-ct .mn-ct__faq-q-label,
.mn-ct__faq-q-label {
  display: block !important;
  flex: 1 1 auto !important;
  text-align: left !important;
  color: var(--shell-900) !important;
  font: inherit !important;
}

body.mn-contact-page .mn-ct .mn-ct__faq-q svg,
.mn-ct__faq-q svg {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 auto !important;
  color: var(--shell-500) !important;
  transition: transform 0.22s;
  margin: 0 !important;
}

body.mn-contact-page .mn-ct .mn-ct__faq-i.is-on .mn-ct__faq-q svg,
.mn-ct__faq-i.is-on .mn-ct__faq-q svg {
  transform: rotate(45deg);
}

body.mn-contact-page .mn-ct .mn-ct__faq-a,
.mn-ct__faq-a {
  display: none !important;
  padding: 0 60px 28px 0 !important;
  margin: 0 !important;
  font-size: 15.5px !important;
  color: var(--shell-600) !important;
  line-height: 1.75 !important;
  text-align: left !important;
  width: 100% !important;
  max-width: none !important;
}

body.mn-contact-page .mn-ct .mn-ct__faq-i.is-on .mn-ct__faq-a,
.mn-ct__faq-i.is-on .mn-ct__faq-a {
  display: block !important;
}

body.mn-contact-page .mn-ct .mn-ct__faq-a a,
.mn-ct__faq-a a {
  color: var(--ember-600) !important;
  font-weight: 600 !important;
}

@media (max-width: 940px) {
  .mn-ct__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mn-ct__head {
    padding: 52px 0 32px;
  }

  .mn-ct__head h1 {
    font-size: 32px;
  }

  .mn-ct__card {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .mn-ct__faqband {
    padding: 60px 0;
  }

  .mn-ct__faqhead h2 {
    font-size: 27px;
  }

  .mn-ct__fg--pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mn-ct__fg--pair > div:first-child {
    margin-bottom: 22px;
  }

  .mn-ct__wrap {
    padding: 0 20px;
  }
}
