/* chrome.css sets .button { display: inline-flex }, which would show this control before a quote exists. */
body.site-page [hidden] { display: none !important; }
.gift-layout {
  display: grid;
  gap: 28px;
}
.gift-hero {
  display: grid;
  gap: 18px;
}
body.site-page [data-gift-page] h1 {
  margin: 8px 0 10px;
  font: 800 clamp(28px, 4.6vw, 40px)/1.2 system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
body.site-page [data-gift-page] h1::after {
  width: 72px;
  margin-top: 10px;
}
.gift-window {
  margin: 0 0 4px;
  color: #b65a28;
  font: 800 1.35rem/1.2 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.gift-deadline { margin-top: 0; }
.gift-hero-frame {
  position: relative;
  width: min(100%, 420px);
}
.gift-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #bf9c6b;
  background: #fff9ee;
}
/* Card rectangle inside scout-gift-card.webp, measured against the image. */
.gift-card-shimmer {
  position: absolute;
  left: 34%;
  top: 48.5%;
  width: 49.5%;
  height: 22.5%;
  border-radius: 5% / 14%;
  overflow: hidden;
  pointer-events: none;
}
.gift-card-shimmer::before {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: 0;
  width: 55%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.05) 35%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.05) 65%, transparent 100%);
  mix-blend-mode: screen;
  transform: translateX(-160%);
  animation: gift-card-shimmer 3.6s ease-in-out infinite;
}
@keyframes gift-card-shimmer {
  0% { transform: translateX(-160%); }
  40% { transform: translateX(80%); }
  46% { transform: translateX(230%); }
  54% { transform: translateX(230%); }
  94% { transform: translateX(-160%); }
  100% { transform: translateX(-160%); }
}
.fine { font-size: .95rem; }
.tier-list {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  color: #211d18;
  background: #fff9ee;
  border: 1px solid #bf9c6b;
  border-radius: 16px;
  cursor: pointer;
}
.tier[aria-pressed="true"] {
  border-color: #b65a28;
  box-shadow: inset 0 0 0 2px #b65a28;
}
.tier strong { font-size: 1.15rem; }
.tier .bonus { color: #b65a28; font-weight: 800; }
.gift-form, .gift-quote {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.gift-form label, .qty-row { display: grid; gap: 4px; font-weight: 700; color: #211d18; }
.gift-form input, .gift-form select { width: 100%; }
.gift-form .row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gift-status { min-height: 1.4em; color: #5c4633; }
.gift-quote { margin: 0; padding: 0; }
.gift-quote div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid #e4d0b0; }
.gift-quote .due { font-weight: 800; }
@media (max-width: 640px) {
  .gift-form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gift-card-shimmer { display: none; }
}
