/* Mighty BioLabs — authoritative Featured Products component styles.
   Loaded after styles.css so this file is the only active layout layer for
   homepage Featured Product cards. */

.featured-home-sections .mbl-home-product-grid {
  align-items: stretch !important;
}

.featured-home-sections .featured-product-card-home {
  container-type: inline-size;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid rgba(15, 39, 69, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(15, 39, 69, 0.08) !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

@media (hover: hover) {
  .featured-home-sections .featured-product-card-home:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 36px rgba(15, 39, 69, 0.12) !important;
  }
}

.featured-home-sections .featured-product-card-home .featured-vial-frame {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  margin: 0 !important;
  padding: 18px 24px 10px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.featured-home-sections .featured-product-card-home .featured-vial-frame img {
  display: block !important;
  width: auto !important;
  max-width: 82% !important;
  height: auto !important;
  max-height: 170px !important;
  object-fit: contain !important;
}

.featured-home-sections .featured-product-card-home .stock-status-badge {
  position: absolute !important;
  z-index: 3 !important;
  top: 14px !important;
  right: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: calc(100% - 28px) !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(15, 39, 69, 0.08) !important;
}

.featured-home-sections .featured-product-card-home .stock-dot {
  flex: 0 0 8px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: currentColor !important;
}

.featured-home-sections .featured-product-card-home .stock-instock {
  color: #17663a !important;
  background: #edf8f1 !important;
  border: 1px solid rgba(23, 102, 58, 0.22) !important;
}
.featured-home-sections .featured-product-card-home .stock-lowstock {
  color: #8a5a00 !important;
  background: #fff6df !important;
  border: 1px solid rgba(185, 143, 55, 0.34) !important;
}
.featured-home-sections .featured-product-card-home .stock-outofstock {
  color: #9b1c1c !important;
  background: #fff0f0 !important;
  border: 1px solid rgba(155, 28, 28, 0.24) !important;
}

.featured-home-sections .featured-product-card-home .featured-card-copy {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px 20px 4px !important;
}

.featured-home-sections .featured-product-card-home .featured-card-copy h3 {
  margin: 0 !important;
  color: #061a44 !important;
  font-size: clamp(21px, 7cqi, 27px) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  overflow-wrap: anywhere !important;
}

.featured-home-sections .featured-product-card-home .featured-card-copy p {
  display: none !important;
}

.featured-home-sections .featured-product-card-home .home-product-controls {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px 20px 0 !important;
}

.featured-home-sections .featured-product-card-home .home-option-group {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.featured-home-sections .featured-product-card-home .home-option-label {
  display: block !important;
  margin: 0 !important;
  color: #5f6f89 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.featured-home-sections .featured-product-card-home .home-concentration-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.featured-home-sections .featured-product-card-home .home-concentration-pill {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 62px !important;
  max-width: 100% !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 7px 14px !important;
  border: 1px solid #9eb7dc !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #0b397b !important;
  font: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.045em !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease !important;
}

.featured-home-sections .featured-product-card-home .home-concentration-pill:hover:not(:disabled) {
  border-color: #0b4ba3 !important;
  background: #f5f9ff !important;
}

.featured-home-sections .featured-product-card-home .home-concentration-pill.is-selected:not(:disabled) {
  border-color: #0b4ba3 !important;
  background: #0b4ba3 !important;
  color: #fff !important;
}

.featured-home-sections .featured-product-card-home .home-concentration-pill.is-unavailable,
.featured-home-sections .featured-product-card-home .home-concentration-pill:disabled {
  border-color: #d0d5dd !important;
  background: #f2f4f7 !important;
  color: #7b8492 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.featured-home-sections .featured-product-card-home .home-package-group {
  gap: 6px !important;
}

.featured-home-sections .featured-product-card-home .home-package-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
  min-width: 0 !important;
  color: #526071 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

.featured-home-sections .featured-product-card-home .home-package-item,
.featured-home-sections .featured-product-card-home .home-package-separator {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

.featured-home-sections .featured-product-card-home .home-package-item.is-unavailable {
  color: #7b8492 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.25px !important;
}

.featured-home-sections .featured-product-card-home .home-package-separator {
  color: #98a2b3 !important;
}

.featured-home-sections .featured-product-card-home .home-price-trust-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin-top: 2px !important;
  padding: 14px 0 !important;
  border-top: 1px solid #e4e7ec !important;
}

.featured-home-sections .featured-product-card-home .featured-price.product-price {
  min-width: 0 !important;
  margin: 0 !important;
  color: #071d42 !important;
  font-size: clamp(18px, 6cqi, 23px) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  font-variant-numeric: tabular-nums !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

.featured-home-sections .featured-product-card-home .home-coa-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: max-content !important;
  max-width: 100% !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.featured-home-sections .featured-product-card-home .home-coa-status.is-available {
  border-color: #a9dfbf !important;
  background: #ecf9f1 !important;
  color: #167647 !important;
}

.featured-home-sections .featured-product-card-home .home-coa-status.is-unavailable {
  border-color: #d0d5dd !important;
  background: #f2f4f7 !important;
  color: #667085 !important;
}

.featured-home-sections .featured-product-card-home .home-coa-dot {
  display: block !important;
  flex: 0 0 8px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: currentColor !important;
}

.featured-home-sections .featured-product-card-home .home-card-actions {
  display: grid !important;
  grid-template-columns: minmax(112px, 0.78fr) minmax(150px, 1.22fr) !important;
  gap: 10px !important;
  width: calc(100% + 40px) !important;
  min-width: 0 !important;
  margin: auto -20px 0 !important;
  padding: 14px 20px 18px !important;
  border-top: 1px solid #e4e7ec !important;
  background: #fff !important;
}

.featured-home-sections .featured-product-card-home .home-detail-link,
.featured-home-sections .featured-product-card-home .home-add-to-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.featured-home-sections .featured-product-card-home .home-detail-link {
  border: 2px solid #0b397b !important;
  background: #fff !important;
  color: #0b397b !important;
}

.featured-home-sections .featured-product-card-home .home-detail-link:hover {
  background: #f5f9ff !important;
}

.featured-home-sections .featured-product-card-home .home-add-to-cart {
  border: 2px solid #102f63 !important;
  background: linear-gradient(135deg, #173f7b, #0b2b5f) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(11, 43, 95, 0.16) !important;
}

.featured-home-sections .featured-product-card-home .home-add-to-cart:hover:not(:disabled) {
  transform: none !important;
  filter: brightness(1.04) !important;
}

.featured-home-sections .featured-product-card-home .home-add-to-cart.is-out-of-stock,
.featured-home-sections .featured-product-card-home .home-add-to-cart:disabled {
  border-color: #d0d5dd !important;
  background: #d5d9df !important;
  color: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  cursor: not-allowed !important;
}


/* Compact strength selector: authoritative sizing after all shared button styles. */
.featured-home-sections .featured-product-card-home .home-concentration-pills {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.featured-home-sections .featured-product-card-home .home-concentration-pills > .home-concentration-pill {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 64px !important;
  max-width: none !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 14px !important;
}

/* Card-width responsiveness avoids brittle viewport-only fixes. */
@container (max-width: 390px) {
  .featured-home-sections .featured-product-card-home .featured-vial-frame {
    height: 210px !important;
    min-height: 210px !important;
    padding: 18px 18px 8px !important;
  }

  .featured-home-sections .featured-product-card-home .featured-vial-frame img {
    max-width: 75% !important;
    max-height: 190px !important;
  }

  .featured-home-sections .featured-product-card-home .featured-card-copy {
    padding: 15px 14px 4px !important;
  }

  .featured-home-sections .featured-product-card-home .home-product-controls {
    gap: 13px !important;
    padding: 10px 14px 0 !important;
  }

  .featured-home-sections .featured-product-card-home .home-concentration-pills {
    gap: 7px !important;
  }

  .featured-home-sections .featured-product-card-home .home-concentration-pill {
    min-width: 64px !important;
    min-height: 36px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  .featured-home-sections .featured-product-card-home .home-price-trust-row {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 9px !important;
  }

  .featured-home-sections .featured-product-card-home .home-coa-status {
    justify-content: center !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .featured-home-sections .featured-product-card-home .home-card-actions {
    grid-template-columns: minmax(108px, 0.78fr) minmax(155px, 1.22fr) !important;
    width: calc(100% + 28px) !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
    padding: 14px 14px 18px !important;
  }

  .featured-home-sections .featured-product-card-home .home-detail-link,
  .featured-home-sections .featured-product-card-home .home-add-to-cart {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 12px !important;
  }
}

@container (max-width: 315px) {
  .featured-home-sections .featured-product-card-home .home-card-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Fallback for browsers without container queries. */
@media (max-width: 420px) {
  .featured-home-sections .featured-product-card-home .home-price-trust-row {
    grid-template-columns: 1fr !important;
  }
  .featured-home-sections .featured-product-card-home .home-coa-status {
    justify-content: center !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}
