/* December to Remember — dedicated /gift experience. */
.gift-page,
.gift-page *,
.gift-page *::before,
.gift-page *::after {
  box-sizing: border-box;
}
.gift-page {
  background:
    radial-gradient(1200px 700px at 85% -10%, #1b2f3f 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 30%, #221a3d 0%, transparent 55%),
    #060b14;
  color: #f4f6fb;
  min-height: 100vh;
}
.gift-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid #ffffff14;
  background: #060b14e6;
  backdrop-filter: blur(10px);
}
.gift-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f4f6fb;
  font-weight: 800;
}
.gift-brand img { width: 38px; height: 38px; object-fit: contain; }
.gift-brand small {
  display: block;
  color: #e7c46a;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
}
.gift-back { color: #9aa6bd; font-size: 13px; font-weight: 700; }
.gift-back:hover { color: #53ffb0; }
.gift-main { width: min(1080px, 100%); margin: 0 auto; padding: 26px 18px 60px; }
.gift-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  border: 1px solid #6b5a2f;
  border-radius: 22px;
  background:
    radial-gradient(120% 170% at 92% 0%, #1d3b34 0%, transparent 55%),
    linear-gradient(120deg, #0a1322, #0e1a2b 60%, #121027);
  box-shadow: 0 30px 80px #00000059, inset 0 0 0 1px #f6d4771a;
}
.gift-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -1.4px;
}
.gift-hero-sub { margin: 10px 0 0; font-size: clamp(16px, 2vw, 21px); font-weight: 800; color: #53ffb0; }
.gift-hero-tag { margin: 6px 0 0; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: #cbb6ea; }
.gift-deadline { margin: 10px 0 0; font-size: 12.5px; color: #b9c3d6; }
.gift-status {
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #2d3a52;
  background: #0a1420;
  font-size: 13px;
  color: #c9d2e3;
}
.gift-status.ok { border-color: #53ffb059; background: #53ffb00f; color: #b9f8db; }
.gift-status.err { border-color: #ff8f8f59; background: #ff8f8f0f; color: #ffc9c9; }
.gift-closed {
  margin: 22px 0 0;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #6b5a2f;
  background: linear-gradient(125deg, #0b1422, #121026);
}
.gift-closed h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); }
.gift-closed p { margin: 0 0 16px; color: #a9b4c8; }
.gift-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}
.gift-progress li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #1e2a3e;
  background: #0a1220;
  min-width: 0;
}
.gift-progress li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #35455f;
  background: #0d1727;
  font-size: 12px;
  font-weight: 800;
  color: #8f9bb2;
}
.gift-progress b { display: block; font-size: 12.5px; color: #dfe5ef; line-height: 1.2; }
.gift-progress small { display: block; margin-top: 2px; font-size: 10.5px; color: #7f8ba2; }
.gift-progress li.current { border-color: #e7c46a80; background: linear-gradient(120deg, #1a1a24, #131c2c); }
.gift-progress li.current > span { border-color: #f6d477; background: #f6d477; color: #1b1405; }
.gift-progress li.complete > span { border-color: #53ffb080; background: #53ffb01a; color: #53ffb0; }
.gift-panel {
  margin: 20px 0 0;
  padding: 28px 30px;
  border-radius: 20px;
  border: 1px solid #1e2a3e;
  background: linear-gradient(160deg, #0a1322, #0a1020 70%, #0d1120);
  box-shadow: 0 24px 60px #00000040;
}
.gift-step-kicker {
  margin: 0 0 6px;
  color: #f0d58a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.gift-panel h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.8px; }
.gift-panel h3 { margin: 22px 0 8px; font-size: 18px; color: #ffffff; }
.gift-panel p { color: #a9b4c8; line-height: 1.6; margin: 0 0 12px; }
.gift-lead { font-size: 15.5px; color: #c9d2e3 !important; max-width: 76ch; }
.gift-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid #cfa7eb;
  background: #ffffff0c;
  max-width: 560px;
}
.gift-search span { color: #cfa7eb; font-size: 20px; }
.gift-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #f4f6fb;
  font-size: 16px;
}
.gift-search:focus-within { box-shadow: 0 0 0 3px #88ffc340; }
.gift-results { margin: 14px 0 0; display: grid; gap: 8px; max-width: 640px; }
.gift-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #26344b;
  background: #0b1524;
  text-align: left;
  color: #f4f6fb;
  font: inherit;
  cursor: pointer;
}
.gift-result:hover { border-color: #53ffb080; background: #10203280; }
.gift-result.selected { border-color: #f6d477; box-shadow: inset 0 0 0 1px #f6d477; }
.gift-result img, .gift-selected img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.gift-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: #1d2a40;
  color: #cbb6ea;
  font-size: 14px;
  font-weight: 800;
}
.gift-result .copy { min-width: 0; flex: 1; }
.gift-result strong { display: block; font-size: 14.5px; }
.gift-result small { display: block; color: #8f9bb2; font-size: 12px; }
.gift-result .pick { color: #53ffb0; font-size: 12px; font-weight: 800; }
.gift-result[disabled] { opacity: .6; cursor: not-allowed; }
.gift-empty { color: #8f9bb2; font-size: 13.5px; }
.gift-selected {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid #6b5a2f;
  background: linear-gradient(120deg, #12202b, #131728);
  max-width: 640px;
}
.gift-selected .copy { flex: 1; min-width: 0; }
.gift-selected span { display: block; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #f0d58a; }
.gift-selected strong { display: block; font-size: 16px; }
.gift-selected small { display: block; color: #8f9bb2; font-size: 12px; }
.gift-change {
  border: 1px solid #41506a;
  border-radius: 9px;
  background: transparent;
  color: #c9d2e3;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  cursor: pointer;
}
.gift-change:hover { border-color: #53ffb0; color: #53ffb0; }
.gift-notice {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid #2d3a52;
  background: #0a1420;
  color: #c9d2e3;
  font-size: 13px;
  max-width: 700px;
}
.gift-notice.warn { border-color: #f6d47766; background: #f6d4770f; color: #e6d3a1; }
.gift-notice.ok { border-color: #53ffb059; background: #53ffb00f; color: #b9f8db; }
.gift-notice p { margin: 6px 0 0; font-size: 12px; }
.gift-accept { margin: 20px 0 0; padding-top: 4px; }
.gift-accept h3 { margin-top: 8px; }
.gift-benefits {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
}
.gift-benefits li {
  position: relative;
  padding-left: 20px;
  color: #c9d2e3;
  font-size: 13.5px;
  line-height: 1.45;
}
.gift-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #53ffb0;
  font-weight: 900;
}
.gift-disclosure {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 13px;
  border: 1px solid #2d3a52;
  background: #081120;
}
.gift-disclosure strong { color: #f0d58a; font-size: 13px; }
.gift-disclosure p { margin: 6px 0 0; font-size: 12.5px; }
.gift-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 18px 0 0;
}
.gift-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 11px;
  border: 2px solid #f6d477;
  background: linear-gradient(135deg, #f7dc94, #e0b455);
  color: #14200f;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 26px #e0b45533;
}
.gift-primary:hover { filter: brightness(1.05); }
.gift-primary[disabled], .gift-primary[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}
.gift-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #41506a;
  background: #0d1727;
  color: #dfe5ef;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.gift-secondary:hover { border-color: #53ffb0; color: #53ffb0; }
.gift-primary:focus-visible, .gift-secondary:focus-visible, .gift-result:focus-visible, .gift-change:focus-visible {
  outline: 3px solid #ffe7a6;
  outline-offset: 3px;
}
.gift-label {
  margin: 18px 0 6px;
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #f0d58a;
}
.gift-link-code {
  display: block;
  max-width: 720px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px dashed #41506a;
  background: #050b14;
  color: #9fffd5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.gift-keep { margin: 10px 0 0; font-size: 12.5px; color: #b9c3d6 !important; max-width: 72ch; }
.gift-info, .gift-referral-repeat, .gift-return {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #2d3a52;
  background: #081120;
}
.gift-info h3, .gift-return h3 { margin: 0 0 8px; font-size: 16.5px; }
.gift-info p, .gift-return p { font-size: 13px; }
.gift-referral-repeat .gift-label { margin-top: 0; }
.gift-return { border-color: #6b5a2f; background: linear-gradient(120deg, #121729, #141a24); }
.gift-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.gift-compare article {
  padding: 16px 18px;
  border-radius: 13px;
  border: 1px solid #2d3a52;
  background: #0a1421;
}
.gift-compare h3 { margin: 0 0 6px; font-size: 15px; color: #f0d58a; }
.gift-compare p { margin: 0; font-size: 12.5px; }
.gift-foot {
  margin: 26px auto 0;
  max-width: 80ch;
  text-align: center;
  font-size: 11.5px;
  color: #6f7c93;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .gift-hero { grid-template-columns: 1fr; padding: 22px 20px; }
  .gift-hero .holiday-box { min-height: 200px; order: -1; }
  .gift-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-panel { padding: 22px 18px; }
  .gift-benefits, .gift-compare { grid-template-columns: 1fr; }
  .gift-actions { flex-direction: column; align-items: stretch; }
  .gift-primary, .gift-secondary { width: 100%; }
}
@media (max-width: 380px) {
  .gift-main { padding: 18px 12px 48px; }
  .gift-progress li { padding: 9px; gap: 7px; }
  .gift-progress b { font-size: 11px; }
  .gift-progress small { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .gift-primary { transition: none; }
}

/* Release configuration: /gift is a non-transactional preview while blocked. */
.gift-preview-banner {
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid #f6d47766;
  border-radius: 12px;
  background: #f6d4770f;
  color: #e6d3a1;
  font-size: 12.5px;
  line-height: 1.55;
}
.gift-progress li.is-locked { opacity: .55; }
.gift-progress li.is-locked > span { border-color: #4a5468; background: #141b28; color: #8b97ad; }
