/* Bath catalogue and project offer. */
.bath-offer-heading {
  display: grid;
  gap: 10px;
  margin: 4px 0 18px;
  text-align: center;
}
.bath-offer-heading h1.page-title {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(30px, 6.8vw, 55px)/1.02 var(--font-heading);
  letter-spacing: -.04em;
  text-align: inherit;
  text-wrap: balance;
}
.bath-offer-heading p {
  max-width: 58ch;
  margin: 0 auto;
  color: #373b40;
  font: 500 14px/1.5 var(--font-body);
  text-wrap: pretty;
}
.bath-offer-heading strong { font-weight: 800; }
.bath-offer-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 322px;
  border-radius: 14px;
  color: white;
  background: #212326;
}
.bath-offer-cover .bath-offer-room {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto auto;
  width: 100%;
  height: 83%;
  object-fit: cover;
  object-position: 78% 62%;
  mask-image: linear-gradient(to bottom, black 50%, transparent);
}
.bath-offer-cover .pro-bath.bath-offer-film {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #212326;
  opacity: .18;
}
.bath-offer-cover .bath-offer-film::before,
.bath-offer-cover .bath-offer-film::after { display: none !important; }
.bath-offer-cover .bath-offer-film video { z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.bath-offer-story { position: absolute; inset: auto 20px 21px; }
.bath-offer-story > p {
  margin: 0;
  color: #f8f9fa;
  font: 700 12px/1.3 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bath-offer-story h2 {
  margin: 5px 0 14px;
  color: white;
  font: 800 clamp(35px, 10.4vw, 54px)/1.04 var(--font-heading);
  letter-spacing: -.04em;
}
.bath-offer-terms { display: flex; align-items: center; gap: 12px; }
.bath-offer-terms strong, .bath-offer-saving {
  color: #ff9345;
  font: 800 44px/.9 var(--font-heading);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.bath-offer-terms strong span, .bath-offer-saving span { font-size: .7em; }
.bath-offer-terms p {
  margin: 0;
  padding-left: 12px;
  border-left: 1px solid #ffffff65;
  color: white;
  font: 500 13px/1.35 var(--font-body);
}
.section--compact:has(.bath-offer-cover) + .section { padding-top: 18px; }
.project-card__body .bath-offer-cardline {
  margin: 2px 0 5px;
  color: #393c3e;
  font: 500 13px/1.4 var(--font-body);
}
.bath-offer-cardline b { color: #a54509; }
.bath-offer-route { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.bath-offer-route .project-route-badge { margin: 0; }
.bath-offer-jump {
  padding-block: 9px;
  color: #32373b;
  font: 600 13px/1.45 var(--font-body);
  text-decoration: underline;
  text-decoration-color: #93979b;
  text-underline-offset: 3px;
}
.project-pricing #pech { scroll-margin-top: 125px; margin-bottom: 22px; }
.bath-offer-detail {
  display: grid;
  grid-template-columns: minmax(68px, 26%) minmax(0, 1fr);
  align-items: center;
  gap: 6px 16px;
  margin: 0 0 24px;
  padding: 20px 18px;
  border-radius: 12px;
  background: linear-gradient(108deg, #363b41 0%, #25282c 44%, #1c1f22 100%);
  color: white;
  text-align: left;
}
.bath-offer-sample {
  grid-area: 1 / 1 / 3 / 2;
  display: grid;
  align-self: stretch;
  place-items: center;
  padding-right: 12px;
  border-right: 1px solid #ffffff26;
}
.bath-offer-sample img {
  width: auto;
  max-width: 100%;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(1px 5px 6px #0008);
}
.bath-offer-detail h3 {
  margin: 0 0 5px;
  color: white;
  font: 800 clamp(23px, 6vw, 32px)/1.07 var(--font-heading);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.bath-offer-detail p { margin: 0; color: #d3d7db; font: 500 13px/1.45 var(--font-body); }
.bath-offer-saving { font-size: 37px; }
@media (min-width: 768px) {
  .bath-offer-heading { grid-template-columns: minmax(0, 1fr) minmax(280px, 40%); align-items: end; gap: 25px; margin: 6px 0 24px; text-align: left; }
  .bath-offer-heading p { margin: 0; font-size: 15px; }
  .bath-offer-cover { height: clamp(310px, 29vw, 405px); border-radius: 18px; }
  .bath-offer-cover .bath-offer-film { width: 65%; mask-image: linear-gradient(to right, black 58%, transparent); }
  .bath-offer-cover .bath-offer-room { width: min(66%, clamp(550px, 50vw, 730px)); height: 100%; object-position: 65% 74%; mask-image: linear-gradient(to right, transparent, black 36%); }
  .bath-offer-story { inset: 50% auto auto 5%; transform: translateY(-50%); }
  .bath-offer-story h2 { margin: 12px 0 25px; font-size: clamp(48px, 5.8vw, 86px); }
  .bath-offer-terms { gap: 18px; }
  .bath-offer-terms strong { font-size: clamp(50px, 5.1vw, 74px); }
  .bath-offer-terms p { padding-left: 18px; font-size: 16px; }
  .section--compact:has(.bath-offer-cover) + .section { padding-top: 24px; }
  .bath-offer-detail { grid-template-columns: 16% 1fr auto; gap: clamp(18px, 3vw, 45px); padding: 18px 5% 18px 3%; }
  .bath-offer-sample { grid-row: 1; padding-right: 16px; }
  .bath-offer-sample img { height: 132px; }
  .bath-offer-detail h3 { font-size: clamp(29px, 3.1vw, 44px); margin-bottom: 8px; }
  .bath-offer-detail p { font-size: 16px; }
  .bath-offer-saving { font-size: clamp(60px, 6.8vw, 94px); }
}
