/**
 * 3devicesCCELL 3.0 Bio-Heating page — layout clone (scoped .j3).
 * Rank Ray — https://rankray.com
 */

.j3 {
  --r: calc(100vw / 19.2);
  background: #fff;
  font-family: "mon-r", "Montserrat", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.j3 .j3-desk {
  display: block;
}

.j3 .j3-mob {
  display: none;
}

.j3-hero__txt {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 0 calc(2.3 * var(--r));
  color: #fff;
}

.j3-hero__title {
  margin: 0;
  font-family: "mon-b", "Montserrat", sans-serif;
  font-size: calc(0.72 * var(--r));
  font-weight: 400;
  line-height: 1;
  text-shadow: var(--jc-hero-shadow-title);
}

.j3-hero__sub {
  margin: calc(0.35 * var(--r)) 0 0;
  font-family: "mon-b", "Montserrat", sans-serif;
  font-size: calc(0.28 * var(--r));
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-shadow: var(--jc-hero-shadow-body);
}

.j3-band {
  padding: calc(0.92 * var(--r)) 0 calc(0.97 * var(--r));
}

.j3-band__tit {
  display: flex;
  justify-content: space-between;
}

.j3-band__gl {
  width: 54.65116279%;
}

.j3-band__gr {
  width: 44.76744186%;
}

.j3-band__gl h2 {
  margin: 0;
  font-family: "mon-eb", "Montserrat", sans-serif;
  font-size: calc(0.6 * var(--r));
  font-weight: 800;
  line-height: 1;
  color: #111;
}

.j3-band__media {
  margin-top: calc(0.46 * var(--r));
  border-radius: calc(0.2 * var(--r));
  overflow: hidden;
}

.j3-band__media img {
  display: block;
  width: 100%;
  height: auto;
}

.j3-split {
  padding: 0;
}

.j3-split__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(1.18 * var(--r));
  width: 100%;
}

.j3-split--reverse .j3-split__row {
  flex-direction: row-reverse;
}

.j3-split__media {
  width: 53.48837209%;
  flex-shrink: 0;
  border-radius: calc(0.2 * var(--r));
  overflow: hidden;
}

.j3-split__media img {
  display: block;
  width: 100%;
  height: auto;
}

.j3-split__txt {
  width: 42.44186047%;
  flex-shrink: 0;
}

.j3-split__txt h3 {
  margin: 0 0 0.75rem;
  font-family: "mon-b", "Montserrat", sans-serif;
  font-size: calc(0.44 * var(--r));
  font-weight: 400;
  line-height: 1.2;
  color: var(--jc-color-text);
}

.j3-split__txt p {
  margin: 0;
  font-family: "mon-r", "Montserrat", sans-serif;
  font-size: calc(0.28 * var(--r));
  line-height: 1.65;
  color: #4a5560;
}

.j3-products {
  padding: calc(1.2 * var(--r)) 0 calc(1.5 * var(--r));
  background: transparent;
}

.j3-products__menu {
  display: flex;
  gap: 1.5rem;
  margin: 0 auto calc(0.9 * var(--r));
  max-width: 920px;
}

.j3-products__menu a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  border: 1px solid #b2b2b2;
  border-radius: 12px;
  background: #fff;
  color: #b2b2b2;
  font-family: "mon-m", "Montserrat", sans-serif;
  font-size: clamp(0.85rem, 1.4vw, 1.15rem);
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.j3-products__menu a.is-on {
  border-color: #000;
  color: #000;
}

.j3-products__menu a.is-on::after {
  content: none;
}

.j3-products__title {
  margin: 0 0 calc(0.8 * var(--r));
  text-align: center;
  font-family: "mon-b", "Montserrat", sans-serif;
  font-size: calc(0.48 * var(--r));
  font-weight: 400;
  line-height: 1.25;
  color: var(--jc-color-text);
}

.j3-products__group {
  margin: 0;
}

@media (max-width: 1100px) {
  .j3-products__menu {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .j3-products__menu a {
    flex: 1 1 calc(50% - 0.6rem);
    height: 2.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .j3-products .container {
    width: 100%;
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  /* ACF j3_products_title must outrank c-group category titles (All In Ones). */
  .j3-products__title {
    font-size: clamp(1.75rem, 7vw, 2.125rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .j3 .c-group__head :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
  }

  .j3 .j3-desk {
    display: none;
  }

  .j3 .j3-mob {
    display: block;
  }

  .j3-hero__txt {
    justify-content: flex-end;
    padding: 66px 1.5rem;
  }

  .j3-hero__title {
    font-size: 24px;
  }

  .j3-hero__sub {
    font-size: 14px;
  }

  .j3-band {
    padding: 0 0 50px;
  }

  .j3-band__tit {
    flex-direction: column;
  }

  .j3-band__gl,
  .j3-band__gr {
    width: 100%;
  }

  .j3-band__gl h2 {
    font-size: 20px;
  }

  .j3-band__media {
    margin: 0 0 20px;
  }

  .j3-band__media img {
    border-radius: 5px;
    height: 271px;
    object-fit: cover;
  }

  .j3-split__row,
  .j3-split--reverse .j3-split__row {
    flex-direction: column-reverse;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .j3-split__media,
  .j3-split__txt {
    width: 100%;
  }

  .j3-split__media {
    height: 271px;
  }

  .j3-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .j3-split__txt h3 {
    font-size: 18px;
  }

  .j3-split__txt p {
    font-size: 12px;
  }

}
