/* Product-page adapter for the shared Home collection component. */
html body.single-product .sunday-product-featured {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: calc(clamp(78px, 8vw, 118px) + clamp(24px, 2.25vw, 34px)) clamp(22px, 3.2vw, 58px) clamp(84px, 9vw, 132px) !important;
  font-size: 16px;
  line-height: 1.55;
}

html body.single-product .sunday-product-featured .sunday-home-featured__inner {
  width: min(100%, 1660px) !important;
  margin: 0 auto;
}

html body.single-product .sunday-product-featured .sunday-home-featured__header,
html body.single-product .sunday-product-featured .sunday-home-featured__grid {
  display: grid;
}

html body.single-product .sunday-product-featured .sunday-home-featured__header {
  grid-template-columns: minmax(430px, 1.1fr) minmax(360px, .72fr) auto !important;
  gap: clamp(42px, 6vw, 108px) !important;
  margin-bottom: clamp(58px, 5vw, 78px) !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__header h2 {
  margin: 0;
  color: #fff;
  font-family: "Besley", Georgia, serif !important;
  letter-spacing: 0;
  text-wrap: balance;
}

html body.single-product .sunday-product-featured .sunday-home-featured__header p {
  margin: 0;
}

html body.single-product .sunday-product-featured .sunday-home-featured__header > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  line-height: 1.55;
}

html body.single-product .sunday-product-featured .sunday-home-featured__card {
  display: flex;
  min-height: 500px !important;
  padding: 40px !important;
  border-radius: 16px !important;
  flex-direction: column;
}

html body.single-product .sunday-product-featured .sunday-home-featured__meta {
  top: 8px !important;
  left: 8px !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__meta span {
  min-height: 24px !important;
  padding: 4px 9px !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__identity {
  min-height: 62px !important;
  padding: 0 !important;
  flex: 0 0 62px !important;
  gap: 8px !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__identity > span {
  min-height: 24px !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__card h3 {
  font-family: "Besley", Georgia, serif !important;
  font-size: clamp(20px, 1.45vw, 25px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__image {
  min-height: 264px !important;
  height: 264px !important;
  margin: 0 !important;
  flex: 1 1 264px !important;
  text-decoration: none !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__image img {
  height: 232px !important;
  max-width: 92% !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__cta,
html body.single-product .sunday-product-featured .sunday-home-featured__card:last-child .sunday-home-featured__cta {
  min-height: 51px !important;
  padding: 11px 20px !important;
  background: #173f20 !important;
  color: #fcfcf7 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__footer {
  min-height: 75px !important;
  flex: 0 0 75px !important;
  gap: 9px !important;
}

html body.single-product .sunday-product-featured .sunday-home-featured__footer small {
  font-size: 10px !important;
  font-weight: 500 !important;
}

@media (max-width: 1050px) {
  html body.single-product .sunday-product-featured .sunday-home-featured__header {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr) !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__header > a {
    grid-column: 2 !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 681px) {
  html body.single-product .sunday-product-featured .sunday-home-featured__header {
    align-items: end !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__header p,
  html body.single-product .sunday-product-featured .sunday-home-featured__header > a {
    margin-bottom: 5px !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  html body.single-product .sunday-product-featured .sunday-home-featured__card:last-child:hover .sunday-home-featured__cta,
  html body.single-product .sunday-product-featured .sunday-home-featured__card:last-child:focus-within .sunday-home-featured__cta {
    background: #fcfcf7 !important;
    color: #1c3a13 !important;
  }
}

@media (max-width: 680px) {
  html body.single-product .sunday-product-featured {
    padding: 56px 0 64px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__inner {
    display: flex !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 auto !important;
    flex-direction: column !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__header {
    display: contents !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__header h2 {
    order: 1;
    margin: 0 12px 16px !important;
    font-size: clamp(38px, 10.5vw, 46px) !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__header p {
    order: 2;
    margin: 0 12px 32px !important;
    font-size: 13px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__grid {
    order: 3;
    display: grid !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__header > a {
    order: 4;
    margin: 26px 12px 0 !important;
    align-self: flex-end;
    grid-column: auto !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__card,
  html body.single-product .sunday-product-featured .sunday-home-featured__card--2,
  html body.single-product .sunday-product-featured .sunday-home-featured__card--3,
  html body.single-product .sunday-product-featured .sunday-home-featured__card--4 {
    display: flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 360px !important;
    padding: 11px 8px 14px !important;
    border-radius: 20px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__meta {
    top: 10px !important;
    left: 8px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__meta span {
    min-height: 20px !important;
    padding: 3px 7px !important;
    font-size: 8px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__identity {
    min-height: 76px !important;
    padding: 28px 2px 0 !important;
    flex: 0 0 76px !important;
    gap: 6px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__identity > span {
    min-height: 20px !important;
    padding: 3px 7px !important;
    font-size: 9px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__card h3 {
    font-size: clamp(16px, 4.5vw, 18px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__image {
    width: 100% !important;
    height: 174px !important;
    min-height: 174px !important;
    margin: 0 0 4px !important;
    flex: 0 0 174px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__image img {
    position: relative !important;
    top: 8px !important;
    left: 0 !important;
    width: auto !important;
    height: 166px !important;
    max-width: 96% !important;
    max-height: 166px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    object-position: center center !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__footer {
    min-height: 78px !important;
    flex: 0 0 78px !important;
    gap: 8px !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__cta,
  html body.single-product .sunday-product-featured .sunday-home-featured__card:last-child .sunday-home-featured__cta {
    min-width: 132px !important;
    min-height: 46px !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  html body.single-product .sunday-product-featured .sunday-home-featured__footer small {
    font-size: 9px !important;
    white-space: nowrap !important;
  }
}
