/*
 * Trinity36 V48.4.8
 * Reusable one-product weekly spotlight.
 * Change WEEKLY_SPOTLIGHT_NAME in js/trinity-final-2026.js to rotate products.
 */
body.trinity-storefront .tri-home-weekly-spotlight {
  padding-block: 38px 48px;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-featured-head {
  align-items: center;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px);
  place-content: center;
  gap: 0;
  overflow: visible;
  padding: 0;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 18px 17px 16px;
  grid-template-rows: 250px minmax(42px, auto) 24px 49px 40px;
  align-items: center;
  scroll-snap-align: none;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  .exact-vial-visual {
  width: 100% !important;
  height: 240px !important;
  display: grid !important;
  place-items: center !important;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  .exact-vial-art {
  height: 235px !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  h3 {
  align-self: center;
  margin: 8px 0 0;
  line-height: 1.08;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  .tri-home-dose {
  align-self: center;
  margin: 0;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  .tri-home-price {
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding-top: 10px;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  .tri-home-price small {
  max-width: 48%;
  text-align: right;
  white-space: normal;
  line-height: 1.15;
}

body.trinity-storefront
  .tri-home-weekly-spotlight
  .tri-home-spotlight-card
  button {
  align-self: end;
}

@media (max-width: 900px) {
  body.trinity-storefront .tri-home-weekly-spotlight {
    padding: 28px 22px 36px;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-featured-head {
    width: 100%;
    margin-bottom: 20px;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-featured-grid {
    grid-template-columns: minmax(0, 330px);
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-spotlight-card {
    min-width: 0;
    grid-template-rows: 230px minmax(40px, auto) 22px 48px 40px;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-spotlight-card
    .exact-vial-visual {
    height: 220px !important;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-spotlight-card
    .exact-vial-art {
    height: 215px !important;
  }
}

@media (max-width: 430px) {
  body.trinity-storefront .tri-home-weekly-spotlight {
    padding-inline: 18px;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-featured-head {
    gap: 12px;
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-featured-head
    h2 {
    font-size: clamp(22px, 7vw, 28px);
  }

  body.trinity-storefront
    .tri-home-weekly-spotlight
    .tri-home-featured-head
    a {
    flex: 0 0 82px;
    text-align: right;
    line-height: 1.35;
  }
}
