/* Inner pages — match homepage brand chrome + content treatment */
html {
  scroll-behavior: smooth;
}

body.mh-shell {
  margin: 0;
  min-height: 100vh;
  background: var(--cream, #F6F1E6);
  color: var(--midnight, #0B1626);
  font-family: "Geist", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.mh-shell .mh-top {
  display: none; /* homepage has no promo top bar */
}

/* Page frame like homepage */
.mh-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(176, 133, 74, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(20, 38, 63, 0.08), transparent 50%),
    var(--cream, #F6F1E6);
}

.mh-main {
  flex: 1 1 auto;
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.mh-main > .section_tag,
.mh-kicker-row {
  margin-bottom: 1rem;
}

.mh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass, #B0854A);
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.mh-main h1 {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy, #14263F);
  margin: 0 0 1.1rem;
  max-width: 18ch;
}

.mh-lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(11, 22, 38, 0.78);
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

.mh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.15rem;
}

.mh-card {
  background: rgba(253, 251, 246, 0.92);
  border: 1px solid var(--stone, #DBD3C4);
  border-radius: 1.35rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 30px rgba(11, 22, 38, 0.04);
}

.mh-card h2,
.mh-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  color: var(--navy, #14263F);
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-weight: 650;
}

.mh-card p {
  margin: 0;
  color: rgba(11, 22, 38, 0.78);
  line-height: 1.5;
}

.mh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  background: var(--navy, #14263F) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mh-cta:hover {
  background: var(--brass, #B0854A) !important;
  transform: translateY(-1px);
}

/* Long-form legal / FAQ */
.mh-prose,
.mh-main .mh-prose {
  max-width: 48rem;
}

.mh-prose h2 {
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 650;
  margin: 2.25rem 0 0.7rem;
  color: var(--navy, #14263F);
}

.mh-prose h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy, #14263F);
}

.mh-prose p,
.mh-prose li {
  line-height: 1.65;
  color: rgba(11, 22, 38, 0.82);
}

.mh-prose a {
  color: var(--navy, #14263F);
  text-decoration-color: var(--brass, #B0854A);
}

.mh-prose a:hover {
  color: var(--brass, #B0854A);
}

.mh-banner {
  background: var(--navy, #14263F);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.5rem;
  margin: 0 0 1.75rem;
}

/* FAQ pages */
.mh-main h2 {
  color: var(--navy, #14263F);
}

.mh-main > h2 {
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}

.mh-main > p {
  line-height: 1.6;
  color: rgba(11, 22, 38, 0.8);
}

/* Footer identity: ensure homepage footer renders cleanly on inner pages */
body.mh-shell .footer_new_wrap {
  margin-top: auto;
  background: var(--midnight, #0B1626);
  color: #fff;
}

body.mh-shell .footer_new_wrap a,
body.mh-shell .footer-link,
body.mh-shell .footer_bottom_text {
  color: #fff;
}

body.mh-shell .meli-nav {
  font-family: "Geist", Inter, system-ui, sans-serif;
}

@media (max-width: 767px) {
  .mh-main {
    width: min(100% - 1.5rem, 72rem);
    padding: 2.25rem 0 3.5rem;
  }
  .mh-main h1 {
    max-width: none;
  }
}

/* Product detail pages — Eden-matched layout */
body.mh-shell:has(.mh-pdp) .mh-page {
  background: #fff;
}

.mh-main.mh-pdp {
  width: min(70rem, calc(100% - 2.5rem));
  padding: 2rem 0 4rem;
}

.mh-pdp__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 2.25rem;
  align-items: start;
}

.mh-pdp__visual {
  position: sticky;
  top: 5.75rem;
  aspect-ratio: 1 / 1;
  border-radius: 1.35rem;
  background: #c9d9ea;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.mh-pdp__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mh-pdp__badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22a06b;
}

.mh-pdp__media {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 2.5rem;
}

.mh-pdp__img {
  width: min(72%, 18rem);
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.16));
}

.mh-pdp__details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.mh-pdp__title {
  margin: 0 0 0.15rem !important;
  max-width: none !important;
  font-family: "Geist", Inter, system-ui, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: clamp(2.4rem, 5vw, 3.4rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 1 !important;
  color: #111 !important;
}

.mh-pdp__cta-card,
.mh-pdp__panel {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 1.15rem;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.mh-pdp__price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.mh-pdp__price-label {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  color: #444;
}

.mh-pdp__price {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1.15;
}

.mh-pdp__qualify {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 1.05rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.mh-pdp__qualify:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.mh-pdp__tabs {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: #efefef;
  margin-bottom: 1.05rem;
}

.mh-pdp__tab {
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
}

.mh-pdp__tab.is-active {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mh-pdp__tabpanel p {
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: #333;
  font-size: 0.95rem;
}

.mh-pdp__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.mh-pdp__benefits li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.8rem;
  align-items: start;
  color: #222;
  line-height: 1.4;
  font-size: 0.98rem;
}

.mh-pdp__benefit-icon {
  color: #111;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  display: inline-flex;
}

.mh-pdp__benefit-icon svg {
  width: 100%;
  height: 100%;
}

.mh-pdp__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #ececec;
}

.mh-pdp__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
}

.mh-pdp__trust-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: #111;
  display: inline-flex;
}

.mh-pdp__trust-icon svg {
  width: 100%;
  height: 100%;
}

.mh-pdp__faq-block {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mh-pdp__faqs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mh-pdp__faq {
  border: 1px solid #e7e7e7;
  border-radius: 1rem;
  padding: 0 1rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.mh-pdp__faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: #111;
  padding: 1rem 0;
  font-size: 0.98rem;
}

.mh-pdp__faq summary::-webkit-details-marker {
  display: none;
}

.mh-pdp__faq summary::after {
  content: "+";
  float: right;
  color: #111;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
}

.mh-pdp__faq[open] summary::after {
  content: "–";
}

.mh-pdp__faq p {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
  line-height: 1.55;
  color: #444;
  font-size: 0.92rem;
}

.mh-pdp__legal {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #777;
}

@media (max-width: 900px) {
  .mh-main.mh-pdp {
    width: min(100% - 1.5rem, 70rem);
    padding-top: 1.25rem;
  }

  .mh-pdp__layout {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .mh-pdp__visual {
    position: relative;
    top: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .mh-pdp__media {
    padding: 1.75rem;
  }

  .mh-pdp__img {
    width: min(68%, 14rem);
  }

  .mh-pdp__title {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
  }
}

/* Treatments catalog — More-tab sections + 4×5 med cards */
.mh-catalog-page {
  max-width: 72rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mh-catalog-hero {
  width: 100%;
  margin: 0 0 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mh-catalog-hero .title-hero-second {
  margin: 0.15rem 0 0.85rem;
  font-family: Geist, "Segoe UI", Inter, system-ui, sans-serif;
  font-style: normal;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 16ch;
}

.mh-catalog-hero .hero-small-text {
  margin: 0;
  max-width: 34rem;
  color: rgba(11, 22, 38, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

.mh-catalog-section {
  width: 100%;
  margin: 0 0 3.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mh-catalog-section__head {
  width: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mh-catalog-section__head .title-hero {
  margin: 0;
  padding-top: 0.2rem;
  padding-bottom: 0.65rem;
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #b0854a;
}

.mh-catalog-section__head .title-hero.change {
  color: #d4a94a;
}

.mh-catalog-section__blurb {
  margin: 0;
  max-width: 32rem;
  color: rgba(11, 22, 38, 0.72);
  line-height: 1.5;
  font-size: 1rem;
}

.mh-catalog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.mh-catalog-card {
  flex: 0 1 16.5rem;
  width: min(100%, 16.5rem);
  min-width: 0;
  text-align: center;
}

.mh-catalog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--mh-catalog-bg, #e8e4dc);
}

.mh-catalog-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.mh-catalog-card__photo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 35%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(11, 22, 38, 0.45), transparent);
  pointer-events: none;
}

.mh-catalog-card__name {
  position: absolute;
  top: 0.95rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.mh-catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.75rem 1.5rem 3.75rem;
  display: block;
}

.mh-catalog-card__actions {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.mh-catalog-card__btn {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.4rem;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none !important;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.mh-catalog-card__btn--ghost {
  background: #14263f;
  color: #fff !important;
  border: 1px solid #14263f;
}

.mh-catalog-card__tag {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(11, 22, 38, 0.7);
}

.mh-catalog-card__price {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #14263f;
}

.mh-catalog-card__price strong {
  font-weight: 750;
}

.mh-catalog-card__price .mh-pdp-hero__price-note {
  font-size: 0.78rem;
}

.mh-catalog-legal {
  margin: 0.5rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #888;
}

@media (max-width: 640px) {
  .mh-catalog-hero .title-hero-second,
  .mh-catalog-section__head .title-hero {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .mh-catalog-hero .hero-small-text br {
    display: none;
  }

  .mh-catalog-card {
    flex-basis: min(100%, 20rem);
    width: min(100%, 20rem);
  }

  .mh-catalog-section {
    margin-bottom: 2.75rem;
  }
}
