:root {
  --footer-margin-top: 0;
  --bm-front-ink: #121212;
  --bm-front-muted: #62645f;
  --bm-front-line: #dfded7;
  --bm-front-paper: #fbfaf6;
  --bm-front-soft: #f2efe7;
  --bm-front-blue: #1957ff;
  --bm-front-green: #0f6b52;
  --bm-front-coral: #ef6a4d;
}

body.node-type--cklb-landing-page {
  background: var(--bm-front-paper);
}

body.node-type--cklb-landing-page header[role="banner"] {
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.bootiga-modern-front {
  background:
    linear-gradient(180deg, #fbfaf6 0%, #fbfaf6 58%, #ffffff 100%);
  color: var(--bm-front-ink);
  overflow: hidden;
}

.bm-eyebrow {
  color: var(--bm-front-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.bm-link {
  align-items: center;
  color: var(--bm-front-ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
}

.bm-link::after {
  background: currentColor;
  content: "";
  display: block;
  height: 1px;
  margin-left: 0.85rem;
  width: 2.4rem;
}

.bm-storefront-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: min(780px, calc(100vh - 120px));
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 5vw, 5rem);
}

.bm-storefront-hero__copy {
  align-self: center;
  max-width: 660px;
  order: 1;
}

.bm-storefront-hero h1 {
  font-size: clamp(3rem, 7vw, 7.8rem);
  font-weight: 800;
  line-height: 0.9;
  margin: 0 0 1.35rem;
  max-width: 760px;
}

.bm-storefront-hero__copy > p:not(.bm-eyebrow) {
  color: var(--bm-front-muted);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.65;
  max-width: 540px;
}

.bm-storefront-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}

.bm-storefront-hero__media {
  align-self: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.8fr 1fr;
  min-height: 620px;
  order: 2;
  position: relative;
}

.bm-storefront-hero__media::before {
  background: var(--bm-front-blue);
  content: "";
  height: 46%;
  left: 18%;
  position: absolute;
  top: 20%;
  transform: rotate(-7deg);
  width: 68%;
  z-index: 0;
}

.bm-storefront-hero__tile {
  background-color: var(--bm-front-soft);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: 0 24px 70px rgba(18, 18, 18, 0.16);
  display: block;
  min-height: 180px;
  position: relative;
  z-index: 1;
}

.bm-storefront-hero__tile--one {
  background-image: url('/sites/default/files/styles/product_teaser/public/2026-05/hanna-balan-YasQvzPbGOQ-unsplash.jpg');
  grid-row: 1 / span 2;
  margin-top: 5rem;
}

.bm-storefront-hero__tile--two {
  background-image: url('/sites/default/files/styles/product_teaser/public/2026-05/%28Modern%20Furnishings%29%20White%20%26%20Wood%20Chair%20-%201.jpg');
}

.bm-storefront-hero__tile--three {
  background-image: url('/sites/default/files/styles/product_teaser/public/2026-05/mediamodifier-7cERndkOyDw-unsplash.jpg');
}

.bm-proof-strip {
  border-bottom: 1px solid var(--bm-front-line);
  border-top: 1px solid var(--bm-front-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1440px;
}

.bm-proof-strip > div {
  border-right: 1px solid var(--bm-front-line);
  padding: clamp(1.3rem, 3vw, 2.4rem);
}

.bm-proof-strip > div:last-child {
  border-right: 0;
}

.bm-proof-strip strong,
.bm-proof-strip span {
  display: block;
}

.bm-proof-strip strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.bm-proof-strip span {
  color: var(--bm-front-muted);
  line-height: 1.5;
}

.bm-editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  margin: 0 auto;
  max-width: 1440px;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}

.bm-editorial-band__image {
  background:
    linear-gradient(135deg, rgba(15, 107, 82, 0.26), rgba(25, 87, 255, 0.08)),
    url('/sites/default/files/2026-05/slide-2_1.jpg') center / cover;
  min-height: 460px;
}

.bm-editorial-band__copy {
  align-self: end;
  background: #fff;
  border: 1px solid var(--bm-front-line);
  margin-left: -6rem;
  padding: clamp(2rem, 4vw, 4rem);
}

.bm-editorial-band h2,
.bm-closing-cta h2 {
  font-size: clamp(2.1rem, 4.8vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1.3rem;
}

.bm-editorial-band p:not(.bm-eyebrow) {
  color: var(--bm-front-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.bm-layout-builder-stage {
  background: #fff;
  border-top: 1px solid var(--bm-front-line);
  padding-bottom: clamp(2.5rem, 6vw, 6rem);
}

.bm-layout-builder-stage > .region-content {
  flex: 0 0 100%;
  max-width: none;
  padding: 0;
  width: 100%;
}

.bm-layout-builder-stage article,
.bm-layout-builder-stage .layout-builder__layout,
.bm-layout-builder-stage .main-region {
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
}

.bm-layout-builder-stage .main-region.cklb-slideshow {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(1.25rem, 4vw, 4rem);
}

.bm-layout-builder-stage .main-region.cklb-slideshow .cklb-hero {
  background-color: var(--bm-front-ink) !important;
  border: 0;
  color: #fff !important;
  min-height: 420px;
  overflow: hidden;
  padding: 2rem !important;
  position: relative;
}

.bm-layout-builder-stage .main-region.cklb-slideshow .cklb-hero::before {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.bm-layout-builder-stage .main-region.cklb-slideshow .cklb-hero .content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  margin: 0;
  position: relative;
  text-align: left;
  z-index: 1;
}

.bm-layout-builder-stage .cklb-hero .cklb-title {
  font-size: clamp(1.55rem, 2.5vw, 2.8rem) !important;
  line-height: 0.98;
  margin-bottom: 0.75rem !important;
}

.bm-layout-builder-stage .cklb-hero .cklb-subtitle {
  font-size: 1rem !important;
  line-height: 1.45;
  margin-bottom: 1.2rem !important;
  opacity: 0.82;
}

.bm-layout-builder-stage .block-inline-blockcklb-products,
.bootiga-frontpage-editable-product-grid {
  margin: 0 auto;
  max-width: 1440px;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 5vw, 4rem) !important;
}

.bm-layout-builder-stage .block-inline-blockcklb-products:nth-of-type(even) {
  background: var(--bm-front-soft) !important;
  color: var(--bm-front-ink) !important;
}

.bm-layout-builder-stage .block-inline-blockcklb-products.bg-primary,
.bm-layout-builder-stage .block-inline-blockcklb-products.bg-color {
  background: var(--bm-front-ink) !important;
  color: #fff !important;
}

.bm-layout-builder-stage .cklb-title.h1 {
  font-size: clamp(2.2rem, 5vw, 5.8rem) !important;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: clamp(1.6rem, 4vw, 3.8rem) !important;
  max-width: 820px;
  text-align: left !important;
}

.bootiga-product-grid-block__title {
  font-family: var(--bootiq-font-main) !important;
  font-size: clamp(2rem, 2.55vw, 3rem) !important;
  letter-spacing: 0 !important;
  line-height: .98 !important;
  margin-bottom: clamp(1rem, 1.7vw, 1.8rem) !important;
  max-width: 820px;
  text-align: left !important;
}

.bm-layout-builder-stage .cklb-title.underline::after,
.bootiga-product-grid-block__title::after {
  display: none !important;
}

.bm-layout-builder-stage .cklb-products,
.bootiga-product-grid {
  --bs-gutter-x: clamp(1rem, 2vw, 2rem);
  --bs-gutter-y: clamp(1.5rem, 3vw, 3rem);
}

.bm-layout-builder-stage .field--name-images,
.bootiga-product-grid__media,
.product-images {
  overflow: hidden;
}

.bm-layout-builder-stage .field--name-images img,
.bootiga-product-grid__media img {
  aspect-ratio: 3 / 4;
  filter: saturate(0.95) contrast(1.04);
}

.bm-layout-builder-stage .field--name-title a,
.bp-layout-stage .bootiga-frontpage-editable-product-grid .field--name-title a,
.bootiga-frontpage-editable-product-grid .product-title,
.bootiga-frontpage-editable-product-grid .product-title a,
.bootiga-product-grid__title a {
  color: inherit;
  font-family: var(--bootiq-font-main) !important;
  font-size: clamp(1rem, 1.15vw, 1.18rem) !important;
  font-weight: var(--bootiq-title-weight, 400) !important;
  letter-spacing: 0 !important;
  line-height: 1.12 !important;
  text-decoration: none;
}

.bm-layout-builder-stage .field--name-price,
.bp-layout-stage .bootiga-frontpage-editable-product-grid .field--name-price,
.bootiga-product-grid__price {
  color: var(--bootiq-clay, var(--bm-front-coral));
  font-family: var(--bootiq-font-main) !important;
  font-size: clamp(.98rem, 1.05vw, 1.12rem) !important;
  font-weight: var(--bootiq-strong-weight, 600) !important;
  margin-top: 0;
}

.bm-layout-builder-stage .bg-primary .field--name-price,
.bm-layout-builder-stage .bg-color .field--name-price {
  color: #9bc7ff;
}

.bm-layout-builder-stage .views-element-container,
.bm-layout-builder-stage .block-inline-blockcklb-image {
  padding-left: clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
}

.bm-closing-cta {
  align-items: end;
  background: var(--bm-front-blue);
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto clamp(3rem, 6vw, 6rem);
  max-width: 1440px;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.bm-closing-cta .bm-eyebrow {
  color: #dbe8ff;
}

.bm-closing-cta .btn-primary {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--bm-front-blue) !important;
}

@media (max-width: 991.98px) {
  .bm-storefront-hero,
  .bm-editorial-band,
  .bm-closing-cta {
    grid-template-columns: 1fr;
  }

  .bm-storefront-hero__copy,
  .bm-storefront-hero__media {
    order: initial;
  }

  .bm-storefront-hero__media {
    min-height: 420px;
  }

  .bm-proof-strip,
  .bm-layout-builder-stage .main-region.cklb-slideshow {
    grid-template-columns: 1fr;
  }

  .bm-proof-strip > div {
    border-bottom: 1px solid var(--bm-front-line);
    border-right: 0;
  }

  .bm-editorial-band__copy {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .bm-storefront-hero {
    min-height: auto;
    padding-top: 2.4rem;
  }

  .bm-storefront-hero h1 {
    font-size: clamp(2.6rem, 18vw, 4.5rem);
  }

  .bm-storefront-hero__media {
    min-height: 320px;
  }

  .bm-storefront-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bm-storefront-hero__actions .btn,
  .bm-storefront-hero__actions .bm-link {
    justify-content: center;
    width: 100%;
  }
}

/* Bootiq mobile frontpage product grid: match catalog breathing. */
@media (max-width: 767.98px) {
  body.node-type--cklb-landing-page .bootiga-frontpage-editable-product-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.node-type--cklb-landing-page .bootiga-frontpage-editable-product-grid .bootiga-product-grid-block,
  body.node-type--cklb-landing-page .bootiga-product-grid-block {
    box-sizing: border-box !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  body.node-type--cklb-landing-page .bootiga-frontpage-editable-product-grid .bootiga-product-grid-block__grid,
  body.node-type--cklb-landing-page .bootiga-product-grid-block__grid {
    box-sizing: border-box !important;
    column-gap: clamp(.85rem, 3.6vw, 1rem) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: calc(100vw - 2rem) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    row-gap: clamp(1.25rem, 5vw, 1.65rem) !important;
    width: calc(100vw - 2rem) !important;
  }

  body.node-type--cklb-landing-page .bootiga-product-grid-block__item {
    min-width: 0 !important;
    width: auto !important;
  }
}
