/*
 * MEISTER Jaén v2.3.6
 * Final, scoped parity layer. The funnel is owned by the universal plugin;
 * this file only adapts its desktop geometry to the Jaén theme.
 */

/* Exact desktop H1 scale used by the final Granada theme. */
@media (min-width: 1181px) {
  .home .hero--lead .hero-content h1 {
    max-width: 780px !important;
    margin: 14px 0 18px !important;
    font-size: clamp(52px, 5.8vw, 88px) !important;
    line-height: .98 !important;
    text-align: left !important;
  }
}

/* Keep one collection hero: the universal funnel replaces each legacy hero. */
body.ml-jaen-collection-funnel-v235 .mclf--mounted + .lam-hero,
body.ml-jaen-collection-funnel-v235 .mclf--mounted + .lind-hero,
body.ml-jaen-collection-funnel-v235 .mclf--mounted + .vc-hero,
body.ml-jaen-collection-funnel-v235 .mclf--mounted + .panels-hero,
body.ml-jaen-collection-funnel-v235 .mclf--mounted + .accessories-hero {
  display: none !important;
}

@media (min-width: 821px) {
  body.ml-jaen-collection-funnel-v235 .mclf--mounted {
    min-height: clamp(620px, 72vh, 720px) !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__origin {
    top: 102px !important;
    left: 24px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__panel {
    min-height: clamp(620px, 72vh, 720px) !important;
    padding: 96px clamp(28px, 3.5vw, 48px) 30px !important;
    justify-content: center !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__logo {
    width: clamp(168px, 15vw, 210px) !important;
    margin-bottom: 22px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf h2 {
    max-width: 620px !important;
    font-size: clamp(44px, 4.2vw, 64px) !important;
    line-height: .94 !important;
    letter-spacing: -.042em !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__support {
    margin-top: 12px !important;
    font-size: 14px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__decision {
    margin-top: 22px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__button {
    min-height: 50px !important;
  }

  body.ml-jaen-collection-funnel-v235 .ml-caller-fallback__trigger {
    right: calc(46% + 24px) !important;
    left: auto !important;
    bottom: 24px !important;
  }
}

@media (min-width: 821px) and (max-height: 760px) {
  body.ml-jaen-collection-funnel-v235 .mclf--mounted,
  body.ml-jaen-collection-funnel-v235 .mclf__panel {
    min-height: 620px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__panel {
    padding-top: 88px !important;
    padding-bottom: 24px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__logo {
    width: 180px !important;
    margin-bottom: 16px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf h2 {
    font-size: clamp(40px, 4vw, 58px) !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__decision {
    margin-top: 16px !important;
  }

  body.ml-jaen-collection-funnel-v235 .mclf__button {
    min-height: 48px !important;
  }
}
