/* recordhood touches on top of Cartzilla: soft color glow at the top of pages */
:root {
  --rh-drop: #1f7a4d;
}


/* the faded lavender → blue → pink glow from the original design, homepage only */
.rh-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 46rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(203, 201, 233, 0.6) 0%, rgba(227, 232, 251, 0.6) 50%, rgba(255, 224, 244, 0.6) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
[data-bs-theme="dark"] .rh-glow {
  background: linear-gradient(90deg, rgba(51, 51, 59, 0.6) 0%, rgba(44, 48, 62, 0.6) 50%, rgba(57, 43, 52, 0.6) 100%);
}


.rh-offer-cheapest { background: color-mix(in srgb, var(--rh-drop) 7%, transparent); }
.rh-cheapest-tag { color: var(--rh-drop); font-weight: 600; }

.rh-search {
  max-width: 44rem;
}
.rh-search .form-control {
  font-size: 1.15rem;
  padding: 1rem 1.25rem;
}

.rh-shop-logos img {
  height: 1.6rem;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  /* logo files have white backgrounds: multiply makes white disappear on the gradient */
  mix-blend-mode: multiply;
}
[data-bs-theme="dark"] .rh-shop-logos img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }

/* wishlist hearts: state lives in aria-pressed, set by wishlist.js */
[data-wishlist] .rh-on { display: none; }
[data-wishlist][aria-pressed="true"] .rh-on { display: inline-flex; }
[data-wishlist] .rh-off, [data-wishlist] .rh-on { align-items: center; }
[data-wishlist]:not([aria-pressed="true"]) .rh-off { display: inline-flex; }
[data-wishlist][aria-pressed="true"] .rh-off { display: none; }
.rh-heart-card {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
}
.rh-heart-card[aria-pressed="true"] { color: #d6336c; }


/* offer row: logo + text + price, button below on phones */
.rh-offer-text { flex: 1 1 12rem; min-width: 0; }
@media (max-width: 575.98px) { .rh-offer-buy { width: 100%; } }
