/* Dedicated homepage modules; shared product and checkout styles stay separate. */
body.common-home #content .slideshow-hero__title {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
}

body.common-home .home-offerings,
body.common-home .home-framing {
  width: calc(100% - 48px);
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  color: #2c292a;
}

body.common-home .home-offerings *,
body.common-home .home-framing * {
  box-sizing: border-box;
}

body.common-home .home-offerings {
  margin-top: 64px;
  margin-bottom: 76px;
}

body.common-home .home-offerings__groups {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: 32px;
}

body.common-home .home-offerings__group {
  min-width: 0;
}

body.common-home .home-offerings__intro {
  min-height: 124px;
  padding-bottom: 24px;
}

body.common-home .home-offerings h2 {
  margin: 0;
  color: #2c292a;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

body.common-home .home-offerings__description {
  max-width: 48ch;
  margin: 14px 0 0;
  color: #59544f;
  font-size: 15px;
  line-height: 1.55;
}

body.common-home .home-offerings__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.common-home .home-offerings__group--products .home-offerings__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.common-home .home-offerings__item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.common-home .home-offerings__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  min-height: 186px;
  padding: 23px 12px 20px;
  border: 1px solid #eeeae2;
  border-radius: 12px;
  background: #f8f7f2;
  color: #2c292a;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.common-home .home-offerings__card:visited {
  color: #2c292a;
}

body.common-home .home-offerings__card:hover {
  border-color: #c9c3b8;
  background: #f0eee6;
  color: #2c292a;
  text-decoration: none;
}

body.common-home .home-offerings__icon {
  display: block;
  flex: 0 0 auto;
  width: 88px;
  max-width: 100%;
  height: 88px;
  margin: 0 auto;
  object-fit: contain;
}

body.common-home .home-offerings__label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: break-word;
  text-align: center;
}

body.common-home .home-framing {
  margin-top: 0;
  margin-bottom: 80px;
}

body.common-home .home-framing__panel {
  padding: 44px 52px 36px;
  border: 1px solid #eeeae2;
  border-radius: 12px;
  background: #f8f7f2;
}

body.common-home .home-framing__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  min-height: 264px;
}

body.common-home .home-framing__copy {
  min-width: 0;
  max-width: 540px;
}

body.common-home .home-framing h2 {
  margin: 0;
  color: #2c292a;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.8px;
}

body.common-home .home-framing__description {
  max-width: 50ch;
  margin: 18px 0 0;
  color: #59544f;
  font-size: 16px;
  line-height: 1.6;
}

body.common-home .home-framing__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  min-height: 48px;
  margin-top: 25px;
  padding: 13px 21px;
  border: 1px solid #2c292a;
  border-radius: 10px;
  background: #2c292a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.common-home .home-framing__button:visited {
  color: #fff;
}

body.common-home .home-framing__button:hover {
  border-color: #49423e;
  background: #49423e;
  color: #fff;
  text-decoration: none;
}

body.common-home .home-framing__button svg {
  flex: 0 0 auto;
}

body.common-home .home-offerings__card:focus,
body.common-home .home-framing__button:focus {
  outline: 3px solid #795d37 !important;
  outline-offset: 4px;
}

body.common-home .home-framing__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

body.common-home .home-framing__illustration img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  max-height: 264px;
  object-fit: contain;
}

body.common-home .home-framing__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid #ded9ce;
  list-style: none;
}

body.common-home .home-framing__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.common-home .home-framing__number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d4cec1;
  border-radius: 50%;
  background: #fff;
  color: #2c292a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

body.common-home .home-framing__step-text {
  color: #49443f;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

@media (max-width: 1100px) {
  body.common-home .home-offerings__groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  body.common-home .home-offerings__intro {
    min-height: 0;
    padding-bottom: 22px;
  }

  body.common-home .home-offerings__description {
    max-width: 66ch;
  }

  body.common-home .home-offerings__group--products .home-offerings__cards {
    width: calc(60% - 5px);
  }

  body.common-home .home-framing__panel {
    padding: 36px;
  }

  body.common-home .home-framing__overview {
    gap: 32px;
  }

  body.common-home .home-framing h2 {
    font-size: 32px;
  }

  body.common-home .home-framing__steps {
    gap: 18px;
  }
}

@media (max-width: 800px) {
  body.common-home .home-offerings__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.common-home .home-offerings__group--products .home-offerings__cards {
    width: 100%;
  }

  body.common-home .home-framing__overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  body.common-home .home-framing__copy {
    max-width: 100%;
  }

  body.common-home .home-framing__illustration img {
    max-width: 360px;
  }

  body.common-home .home-framing__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 26px;
    padding-top: 26px;
  }

  body.common-home .home-framing__step {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  body.common-home .home-framing__step-text {
    padding-top: 4px;
  }
}

@media (max-width: 767px) {
  body.common-home .home-offerings,
  body.common-home .home-framing {
    width: calc(100% - 40px);
  }

  body.common-home .home-offerings {
    margin-top: 40px;
    margin-bottom: 44px;
  }

  body.common-home .home-framing {
    margin-bottom: 48px;
  }

  body.common-home .home-offerings h2,
  body.common-home .home-offerings__description,
  body.common-home .home-framing__copy,
  body.common-home .home-framing h2,
  body.common-home .home-framing__description,
  body.common-home .home-framing__step-text {
    text-align: left !important;
  }

  body.common-home .home-offerings__label,
  body.common-home .home-framing__number {
    text-align: center !important;
  }

  body.common-home .home-offerings h2 {
    font-size: 25px;
  }

  body.common-home .home-offerings__description {
    margin-top: 12px;
  }

  body.common-home .home-framing__panel {
    padding: 28px 24px;
  }

  body.common-home .home-framing h2 {
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -0.5px;
  }

  body.common-home .home-framing__description {
    margin-top: 15px;
    font-size: 15px;
  }

  body.common-home .home-framing__button {
    margin-top: 22px;
  }

  body.common-home .home-framing__illustration img {
    max-width: 310px;
  }
}

@media (max-width: 768px) {
  body.common-home #content .slideshow-hero__title {
    margin-bottom: 12px;
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  body.common-home .home-offerings__cards,
  body.common-home .home-offerings__group--products .home-offerings__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.common-home .home-offerings__card {
    min-height: 158px;
    padding: 18px 12px 16px;
    gap: 13px;
  }

  body.common-home .home-offerings__icon {
    width: 72px;
    height: 72px;
  }

  body.common-home .home-offerings__groups {
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.common-home .home-offerings__card,
  body.common-home .home-framing__button {
    transition: none;
  }
}
