/* Contact page only — the shared storefront header and drawer remain untouched. */
body.storefront-clean .contact-page {
  --contact-navy: var(--mh-navy, #24397e);
  --contact-orange: var(--mh-orange, #ff5c00);
  --contact-text: var(--mh-text, #4c4d57);
  --contact-muted: #696c75;
  width: min(100%, 1500px);
  box-sizing: border-box;
  margin-inline: auto;
  padding: 0 clamp(18px, 3.8vw, 58px) 76px;
  color: var(--contact-text);
}

body.storefront-clean .contact-page *,
body.storefront-clean .contact-page *::before,
body.storefront-clean .contact-page *::after {
  box-sizing: border-box;
}

body.storefront-clean .contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 0 18px;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.storefront-clean .contact-breadcrumb a {
  color: var(--contact-muted);
  text-decoration: none;
}

body.storefront-clean .contact-breadcrumb a:hover {
  color: var(--contact-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.storefront-clean .contact-intro {
  padding: 2px 0 30px;
}

@media (min-width: 901px) {
  body.storefront-clean .contact-breadcrumb,
  body.storefront-clean .contact-intro {
    margin-left: clamp(40px, 5.5vw, 80px);
  }
}

body.storefront-clean .contact-intro h1 {
  max-width: 100%;
  margin: 0;
  color: var(--contact-navy);
  font-size: clamp(2.2rem, 4.8vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.052em;
  line-height: 1.11;
}

body.storefront-clean .contact-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.storefront-clean .contact-card {
  min-width: 0;
  min-height: 198px;
  padding: 17px 20px 20px;
  border: 0;
  border-top: 6px solid var(--contact-orange);
  border-radius: 0;
  background: #f2f2f3;
  overflow-wrap: anywhere;
}

body.storefront-clean .contact-card h2 {
  margin: 0 0 15px;
  color: var(--contact-navy);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

body.storefront-clean .contact-card p {
  margin: 0 0 9px;
  color: #555862;
  font-size: 13px;
  line-height: 1.55;
}

body.storefront-clean .contact-card .contact-card-label {
  margin-bottom: 3px;
  color: #565963;
  font-size: 10px;
  font-weight: 700;
}

body.storefront-clean .contact-card .contact-phone {
  color: var(--contact-orange);
  font-weight: 750;
  text-decoration: none;
}

body.storefront-clean .contact-card .contact-email-link {
  margin: 11px 0 0;
  font-weight: 700;
}

body.storefront-clean .contact-email-link a {
  color: var(--contact-navy);
  text-decoration: none;
}

body.storefront-clean .contact-email-link a span {
  display: inline-block;
  margin-left: 4px;
  font-size: 17px;
  line-height: 0.8;
  vertical-align: -1px;
}

body.storefront-clean .contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.storefront-clean .contact-form-section {
  width: min(100%, 900px);
  margin: 76px auto 0;
}

body.storefront-clean .contact-form-section > h2 {
  margin: 0;
  color: var(--contact-navy);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.3;
  text-align: center;
}

body.storefront-clean .contact-form-intro {
  max-width: 620px;
  margin: 12px auto 30px;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}

body.storefront-clean .contact-form-section .success-msg {
  display: none;
  margin: 0 0 20px;
  padding: 14px 17px;
  border: 1px solid #a5d6a7;
  border-radius: 3px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 600;
}

body.storefront-clean .contact-form-section #errorMsg {
  background: #fdecea;
  border-color: #f5c6cb;
  color: #c62828;
}

body.storefront-clean .contact-form-section form {
  min-width: 0;
}

body.storefront-clean .contact-form-section .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 15px;
}

body.storefront-clean .contact-form-section .form-group {
  min-width: 0;
  margin: 0 0 15px;
}

body.storefront-clean .contact-form-section .form-row .form-group {
  margin-bottom: 0;
}

body.storefront-clean .contact-form-section .form-group label {
  display: block;
  margin: 0 0 6px;
  color: var(--contact-navy);
  font-size: 13px;
  font-weight: 700;
}

body.storefront-clean .contact-form-section .form-group :is(input, textarea, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid #cfd1d6;
  border-radius: 2px;
  background: #fff;
  color: #333640;
  font: inherit;
  font-size: 14px;
}

body.storefront-clean .contact-form-section .form-group textarea {
  min-height: 130px;
  resize: vertical;
}

body.storefront-clean .contact-form-section .form-group :is(input, textarea, select):focus-visible {
  border-color: var(--contact-navy);
  outline: 3px solid rgba(36, 57, 126, 0.16);
  outline-offset: 1px;
}

body.storefront-clean .contact-form-section .form-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 2px;
  background: var(--contact-navy);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  transition: background-color 160ms ease, opacity 160ms ease;
}

body.storefront-clean .contact-form-section .form-submit:hover {
  background: #1d2e66;
}

body.storefront-clean .contact-form-section .form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

body.storefront-clean .contact-form-section .form-note {
  margin: 11px 0 0;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

body.storefront-clean .contact-form-section .form-note a {
  color: var(--contact-navy);
  font-weight: 700;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  body.storefront-clean .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body.storefront-clean .contact-card {
    min-height: 180px;
  }

  body.storefront-clean .contact-form-section {
    margin-top: 62px;
  }
}

@media (max-width: 560px) {
  body.storefront-clean .contact-page {
    padding: 0 16px 54px;
  }

  body.storefront-clean .contact-breadcrumb {
    padding: 13px 0 17px;
  }

  body.storefront-clean .contact-intro {
    padding-bottom: 24px;
  }

  body.storefront-clean .contact-intro h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    letter-spacing: -0.045em;
  }

  body.storefront-clean .contact-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.storefront-clean .contact-card {
    min-height: 0;
    padding: 17px 18px;
  }

  body.storefront-clean .contact-form-section {
    margin-top: 48px;
  }

  body.storefront-clean .contact-form-section > h2 {
    font-size: 1.45rem;
  }

  body.storefront-clean .contact-form-section .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 14px;
  }

  body.storefront-clean .contact-form-section .form-group :is(input, textarea, select) {
    font-size: 16px;
  }
}