/* The seasonal product card only; all other homepage sections retain their styles. */
.mps-home #gift-popover.product-popover-v6 {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(360px, calc(100% - 20px));
  padding: 12px;
  border: 1px solid #d7dfd2;
  border-radius: 10px;
  background: #f7f7f0;
  color: #18362a;
  box-shadow: 0 8px 25px #18362a29;
}

.mps-home #gift-popover .product-popover-media {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  overflow: hidden;
  border: 1px solid #e1e5da;
  border-radius: 6px;
  background: #f7f7f0;
}

.mps-home #gift-popover .active-photo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.mps-home #gift-popover .product-photo-state {
  max-width: 14ch;
  padding: 12px;
  color: #617066;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.mps-home #gift-popover .product-popover-copy {
  min-width: 0;
}

.mps-home #gift-popover .product-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding-block: 4px;
  color: #0b4b34;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
}

.mps-home #gift-popover .active-name {
  display: inline;
  margin: 0;
  padding-bottom: 3px;
  font: inherit;
  background-image: linear-gradient(#00bc70, #00bc70);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 0 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 160ms ease-out;
}

.mps-home #gift-popover .product-link[href]:is(:hover, :focus-visible) .active-name {
  background-size: 100% 2px;
}

.mps-home #gift-popover .product-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid #00bc70;
  outline-offset: 4px;
}

.mps-home #gift-popover .active-sku {
  margin-top: 5px;
  color: #5b6b60;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .02em;
}

.mps-home #gift-popover .unavailable {
  display: block;
  margin-top: 6px;
  color: #617066;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .mps-home #gift-popover.product-popover-v6 {
    position: relative;
    inset: auto;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 10px;
    box-shadow: none;
  }

  .mps-home #gift-popover .product-popover-media {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 360px) {
  .mps-home #gift-popover.product-popover-v6 {
    gap: 10px;
    padding: 10px;
  }

  .mps-home #gift-popover .product-link {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mps-home #gift-popover .active-name { transition: none; }
}

@media (forced-colors: active) {
  .mps-home #gift-popover .product-link[href]:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
