:root {
  --bg: #05080d;
  --bg-soft: #0a1119;
  --panel: rgba(13, 20, 29, 0.86);
  --panel-solid: #0d141d;
  --panel-2: rgba(18, 29, 41, 0.92);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(205, 225, 238, 0.13);
  --line-strong: rgba(205, 225, 238, 0.28);
  --text: #f4f8fb;
  --muted: #a7b6c3;
  --weak: #687987;
  --accent: #8fe7ff;
  --accent-2: #d8e4ef;
  --platinum: #e7eef5;
  --warning: #e8b86f;
  --danger: #f07d75;
  --success: #82d7b2;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.32);
  --font: Arial, "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(143, 231, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(216, 228, 239, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(46, 85, 113, 0.25), transparent 34%),
    linear-gradient(135deg, #030508 0%, #081018 48%, #03060a 100%);
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(143, 231, 255, 0.72);
  outline-offset: 2px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(167, 182, 195, 0.62);
}

select option {
  color: #111821;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(143, 231, 255, 0.72);
  box-shadow:
    0 0 0 4px rgba(143, 231, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-row.compact {
  gap: 10px;
}

.brand-row h1,
.brand-row h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.brand-row.compact h1 {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 17px;
  color: #061017;
  font-weight: 800;
  letter-spacing: -0.05em;
  background:
    radial-gradient(circle at 26% 18%, #ffffff, transparent 32%),
    linear-gradient(135deg, #f7fbff 0%, #9bd8ed 42%, #5a7689 100%);
  box-shadow:
    0 18px 42px rgba(143, 231, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(4, 13, 19, 0.18);
  border-radius: 12px;
  pointer-events: none;
}

.primary-btn,
.ghost-btn {
  border-radius: 999px;
  cursor: pointer;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.primary-btn {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #061017;
  font-weight: 800;
  background:
    radial-gradient(circle at 28% 0%, #ffffff, transparent 32%),
    linear-gradient(135deg, #f4fbff 0%, #9be8ff 48%, #7cc7dd 100%);
  box-shadow: 0 16px 34px rgba(143, 231, 255, 0.2);
}

.ghost-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.primary-btn:active,
.ghost-btn:active {
  transform: translateY(0) scale(0.99);
}

.ghost-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.small-btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
  min-width: 240px;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(8, 14, 21, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  border-color: rgba(240, 125, 117, 0.62);
}

.redeem-shell {
  width: min(1180px, calc(100% - 36px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 26px;
  align-items: start;
}

.hero-card,
.redeem-card,
.login-card,
.content-card,
.doc-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(135%);
  overflow: hidden;
}

.hero-card::before,
.redeem-card::before,
.login-card::before,
.content-card::before,
.doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(143, 231, 255, 0.07));
  opacity: 0.75;
}

.hero-card > *,
.redeem-card > *,
.login-card > *,
.content-card > *,
.doc-card > * {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: sticky;
  top: 42px;
  padding: 34px;
  min-height: 650px;
  display: grid;
  gap: 26px;
  align-content: space-between;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -100px -150px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 231, 255, 0.24), transparent 68%);
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 34em;
  color: #d6e1ea;
  font-size: 17px;
  line-height: 1.85;
}

.hero-art {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.virtual-card {
  width: min(100%, 380px);
  aspect-ratio: 1.58;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 15%, rgba(143, 231, 255, 0.28), transparent 26%),
    linear-gradient(145deg, #101a24, #070b10 70%);
  box-shadow:
    0 26px 66px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-2deg);
  transform-origin: center;
  display: grid;
  align-content: space-between;
}

.virtual-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  color: var(--platinum);
}

.virtual-card-top span {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.virtual-card-top strong {
  font-size: 26px;
  letter-spacing: -0.05em;
}

.credential-preview {
  width: min(100%, 230px);
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #0a1119;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.credential-preview span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(10, 17, 25, 0.48);
}

.credential-preview strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.credential-preview em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: rgba(10, 17, 25, 0.7);
}

.qr-grid {
  width: 84px;
  height: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.qr-grid i {
  border-radius: 4px;
  background: #0a1119;
}

.qr-grid i:nth-child(2),
.qr-grid i:nth-child(4),
.qr-grid i:nth-child(9) {
  opacity: 0.28;
}

.scratch-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 999px;
  color: rgba(6, 16, 23, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(160, 182, 196, 0.94), rgba(255, 255, 255, 0.78));
}

.assurance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assurance-grid span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d6e1ea;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.compliance-note {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(143, 231, 255, 0.055);
  border: 1px solid rgba(143, 231, 255, 0.16);
}

.compliance-note strong {
  color: var(--text);
}

.compliance-note em {
  color: var(--accent);
  font-style: normal;
}

.redeem-card {
  padding: 26px;
}

.stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.step {
  flex: 1;
  border: 0;
  border-radius: 999px;
  color: var(--weak);
  padding: 9px 10px;
  font-size: 12px;
  text-align: center;
  transition: color 160ms ease, background 160ms ease;
}

.step.active {
  color: #061017;
  background: linear-gradient(135deg, #f4fbff, #8fe7ff);
}

.form-panel {
  display: grid;
  gap: 16px;
}

.form-panel h2,
.content-card h3,
.doc-card h1 {
  margin: 0;
  letter-spacing: -0.03em;
}

.form-panel h2 {
  font-size: 22px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 12px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-summary {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(143, 231, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(143, 231, 255, 0.055);
  color: var(--muted);
}

.card-summary strong {
  color: var(--text);
}

.product-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.product-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.product-card.active {
  border-color: rgba(143, 231, 255, 0.78);
  box-shadow:
    0 0 0 4px rgba(143, 231, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.65;
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.success-panel {
  text-align: center;
  padding: 42px 16px;
}

.success-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #061017;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, #f4fbff, #82d7b2);
  box-shadow: 0 20px 46px rgba(130, 215, 178, 0.22);
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(480px, 100%);
  padding: 30px;
}

.login-card .form-panel {
  margin-top: 24px;
}

.admin-page {
  background:
    radial-gradient(circle at 0% 0%, rgba(143, 231, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #05080d, #081018);
}

.admin-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(5, 8, 13, 0.78);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}

.admin-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-nav button {
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.admin-nav button.active,
.admin-nav button:hover {
  color: var(--text);
  border-color: rgba(143, 231, 255, 0.22);
  background: rgba(143, 231, 255, 0.07);
}

.sidebar-footer {
  display: grid;
  gap: 12px;
}

.password-form {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.password-form input {
  padding: 9px 10px;
  font-size: 12px;
}

.admin-content {
  padding: 24px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(13, 20, 29, 0.74);
  backdrop-filter: blur(20px);
}

.admin-topbar h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  gap: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.config-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.config-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.content-card {
  padding: 20px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.flow-list {
  color: var(--muted);
  line-height: 1.9;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 6, 10, 0.22);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  font-size: 13px;
}

th {
  color: #dce8f0;
  font-weight: 700;
  background: rgba(143, 231, 255, 0.065);
}

td {
  color: #dde6ed;
}

tr:hover td {
  background: rgba(143, 231, 255, 0.035);
}

tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.status-pill.pending,
.status-pill.unused {
  color: var(--warning);
}

.status-pill.shipped,
.status-pill.redeemed {
  color: var(--success);
}

.status-pill.void {
  color: var(--danger);
}

.inline-form,
.batch-form {
  display: grid;
  gap: 12px;
}

.inline-form {
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  align-items: end;
}

.inline-form.import-form {
  grid-template-columns: minmax(220px, 1fr) auto;
}

.mini-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-check input {
  width: auto;
}

.field-title {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.check-grid input {
  width: auto;
}

.doc-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.doc-card {
  width: min(780px, 100%);
  padding: 32px;
  color: #dce6ee;
  line-height: 1.8;
}

.doc-card ol {
  padding-left: 1.3em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1020px) {
  .redeem-shell,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .inline-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .redeem-shell {
    width: min(100% - 20px, 1180px);
    padding: 14px 0;
  }

  .hero-card,
  .redeem-card,
  .login-card,
  .content-card {
    border-radius: 22px;
    padding: 18px;
  }

  .hero-card {
    min-height: auto;
  }

  .grid-2,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 14px;
  }

  .admin-topbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar,
  .stepper,
  .admin-nav {
    grid-template-columns: 1fr;
  }

  .stepper {
    border-radius: 18px;
    flex-direction: column;
  }

  .virtual-card {
    transform: none;
  }
}

/* Warm premium gift-card direction for the public redemption flow.
   Kept as scoped overrides so admin operations and existing JS remain stable. */
.redeem-page {
  --gift-ink: #2d2018;
  --gift-muted: #735f4f;
  --gift-soft: #fff7ec;
  --gift-panel: rgba(255, 252, 246, 0.9);
  --gift-panel-strong: #fffaf1;
  --gift-line: rgba(122, 72, 39, 0.16);
  --gift-gold: #c8923b;
  --gift-gold-soft: #f3d28d;
  --gift-wine: #7c2433;
  --gift-coral: #c75b3d;
  --gift-green: #657a42;
  color: var(--gift-ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(243, 210, 141, 0.55), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(124, 36, 51, 0.13), transparent 24%),
    radial-gradient(circle at 48% 92%, rgba(199, 91, 61, 0.13), transparent 34%),
    linear-gradient(135deg, #fff8ed 0%, #f6e6d0 48%, #fffaf1 100%);
}

.redeem-page::before {
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(122, 72, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 72, 39, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 74%);
}

.redeem-page::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(124, 36, 51, 0.1), transparent 52%);
}

.redeem-page .redeem-shell {
  width: min(1120px, calc(100% - 40px));
  gap: 24px;
}

.redeem-page .hero-card,
.redeem-page .redeem-card {
  border: 1px solid var(--gift-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 236, 0.72)),
    var(--gift-panel);
  box-shadow:
    0 34px 90px rgba(87, 50, 25, 0.16),
    0 2px 10px rgba(87, 50, 25, 0.06);
  backdrop-filter: blur(18px) saturate(120%);
}

.redeem-page .hero-card::before,
.redeem-page .redeem-card::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(200, 146, 59, 0.18), transparent 26%);
}

.redeem-page .hero-card::after {
  inset: auto -120px -130px auto;
  width: 360px;
  height: 360px;
  background:
    radial-gradient(circle, rgba(200, 146, 59, 0.28), transparent 62%),
    radial-gradient(circle at 42% 42%, rgba(124, 36, 51, 0.1), transparent 54%);
}

.redeem-page .brand-row {
  align-items: flex-start;
}

.redeem-page .brand-mark {
  color: #51320f;
  border-color: rgba(200, 146, 59, 0.34);
  background:
    radial-gradient(circle at 25% 18%, #fffdf8, transparent 34%),
    linear-gradient(135deg, #fff2c6 0%, #e3b761 44%, #b87824 100%);
  box-shadow:
    0 18px 34px rgba(200, 146, 59, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.redeem-page .brand-mark::after {
  border-color: rgba(81, 50, 15, 0.18);
}

.redeem-page .eyebrow {
  color: var(--gift-wine);
  letter-spacing: 0.2em;
}

.redeem-page .brand-row h1 {
  color: #352317;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.redeem-page .hero-copy {
  color: var(--gift-muted);
  font-size: 16px;
  line-height: 1.85;
}

.redeem-page .virtual-card {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 86% 10%, rgba(243, 210, 141, 0.38), transparent 28%),
    radial-gradient(circle at 12% 96%, rgba(199, 91, 61, 0.3), transparent 30%),
    linear-gradient(145deg, #8c2f3f 0%, #5f1a2c 48%, #2a1714 100%);
  box-shadow:
    0 30px 68px rgba(96, 44, 27, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotate(-1.2deg);
}

.redeem-page .virtual-card-top {
  color: #fff7e8;
}

.redeem-page .virtual-card-top span {
  color: rgba(255, 247, 232, 0.72);
}

.redeem-page .credential-preview {
  width: min(100%, 250px);
  background:
    linear-gradient(180deg, #fff9ef, #f3e1c3);
  color: #352317;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 34px rgba(52, 24, 14, 0.18);
}

.redeem-page .credential-preview span {
  color: rgba(71, 45, 27, 0.54);
}

.redeem-page .credential-preview em {
  color: rgba(71, 45, 27, 0.72);
}

.redeem-page .scratch-strip {
  color: #4a2e12;
  background:
    linear-gradient(90deg, #fff5d0, #dcae58 48%, #fff4c8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.redeem-page .assurance-grid span {
  color: #5c4636;
  border-color: rgba(122, 72, 39, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.redeem-page .compliance-note {
  color: var(--gift-muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 244, 222, 0.52));
  border-color: rgba(200, 146, 59, 0.22);
}

.redeem-page .compliance-note strong {
  color: var(--gift-wine);
}

.redeem-page .compliance-note em,
.redeem-page a {
  color: var(--gift-wine);
}

.redeem-page .stepper {
  border-color: rgba(122, 72, 39, 0.13);
  background: rgba(255, 255, 255, 0.5);
}

.redeem-page .step {
  color: rgba(115, 95, 79, 0.74);
}

.redeem-page .step.active {
  color: #fffaf1;
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 244, 202, 0.48), transparent 34%),
    linear-gradient(135deg, var(--gift-wine), #a84633);
  box-shadow: 0 12px 24px rgba(124, 36, 51, 0.16);
}

.redeem-page .form-panel h2,
.redeem-page .card-summary strong,
.redeem-page .product-card strong {
  color: #352317;
}

.redeem-page .muted,
.redeem-page label {
  color: var(--gift-muted);
}

.redeem-page input,
.redeem-page textarea,
.redeem-page select {
  color: #352317;
  border-color: rgba(122, 72, 39, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 242, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 1px 0 rgba(87, 50, 25, 0.04);
}

.redeem-page input::placeholder,
.redeem-page textarea::placeholder {
  color: rgba(115, 95, 79, 0.52);
}

.redeem-page input:focus,
.redeem-page textarea:focus,
.redeem-page select:focus {
  border-color: rgba(200, 146, 59, 0.82);
  box-shadow:
    0 0 0 4px rgba(200, 146, 59, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: #fffdf8;
}

.redeem-page .primary-btn {
  color: #fffaf1;
  border-color: rgba(124, 36, 51, 0.14);
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 239, 188, 0.36), transparent 34%),
    linear-gradient(135deg, #7c2433 0%, #b84d36 58%, #c8923b 100%);
  box-shadow: 0 18px 34px rgba(124, 36, 51, 0.2);
}

.redeem-page .primary-btn:hover {
  box-shadow: 0 20px 38px rgba(124, 36, 51, 0.24);
}

.redeem-page .card-summary {
  color: var(--gift-muted);
  border-color: rgba(101, 122, 66, 0.22);
  background: rgba(101, 122, 66, 0.08);
}

.redeem-page .product-card {
  border-color: rgba(122, 72, 39, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 233, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(87, 50, 25, 0.06);
}

.redeem-page .product-card:hover {
  border-color: rgba(200, 146, 59, 0.36);
}

.redeem-page .product-card.active {
  border-color: rgba(124, 36, 51, 0.62);
  box-shadow:
    0 0 0 4px rgba(124, 36, 51, 0.1),
    0 16px 30px rgba(87, 50, 25, 0.08);
}

.redeem-page .success-icon {
  color: #fffaf1;
  background: linear-gradient(135deg, var(--gift-green), #9e8a3d);
  box-shadow: 0 20px 42px rgba(101, 122, 66, 0.22);
}

.redeem-page .toast {
  color: #352317;
  border-color: rgba(122, 72, 39, 0.18);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 18px 48px rgba(87, 50, 25, 0.18);
}

.redeem-page .toast.error {
  border-color: rgba(124, 36, 51, 0.42);
}

.redeem-page button:focus-visible,
.redeem-page a:focus-visible,
.redeem-page input:focus-visible,
.redeem-page textarea:focus-visible,
.redeem-page select:focus-visible {
  outline-color: rgba(124, 36, 51, 0.72);
}

@media (max-width: 680px) {
  .redeem-page .redeem-shell {
    width: min(100% - 18px, 1120px);
  }

  .redeem-page .hero-card,
  .redeem-page .redeem-card {
    padding: 20px;
  }
}

/* Warm operations console and document pages. */
.admin-page,
.doc-page {
  --text: #2d2018;
  --muted: #735f4f;
  --weak: #9a826e;
  --line: rgba(122, 72, 39, 0.15);
  --line-strong: rgba(122, 72, 39, 0.28);
  --accent: #7c2433;
  --accent-2: #c8923b;
  --warning: #b87924;
  --danger: #9d2d38;
  --success: #657a42;
  color: #2d2018;
  background:
    radial-gradient(circle at 8% 0%, rgba(243, 210, 141, 0.42), transparent 30%),
    radial-gradient(circle at 94% 4%, rgba(124, 36, 51, 0.1), transparent 26%),
    linear-gradient(135deg, #fff8ed, #f5e4cb 52%, #fffaf1);
}

.admin-page::before,
.doc-page::before {
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(122, 72, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 72, 39, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
}

.admin-page::after,
.doc-page::after {
  background: radial-gradient(circle at 50% 100%, rgba(124, 36, 51, 0.08), transparent 54%);
}

.admin-page .login-card,
.admin-page .content-card,
.doc-page .doc-card,
.admin-page .admin-topbar {
  border-color: rgba(122, 72, 39, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 236, 0.7)),
    rgba(255, 252, 246, 0.9);
  box-shadow:
    0 28px 80px rgba(87, 50, 25, 0.14),
    0 2px 10px rgba(87, 50, 25, 0.05);
}

.admin-page .login-card::before,
.admin-page .content-card::before,
.doc-page .doc-card::before,
.admin-page .admin-topbar::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), transparent 34%),
    radial-gradient(circle at 96% 0%, rgba(200, 146, 59, 0.16), transparent 28%);
}

.admin-page .admin-sidebar {
  border-right-color: rgba(122, 72, 39, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 242, 221, 0.68)),
    rgba(255, 250, 242, 0.92);
  box-shadow: 16px 0 52px rgba(87, 50, 25, 0.08);
}

.admin-page .brand-mark,
.doc-page .brand-mark {
  color: #51320f;
  border-color: rgba(200, 146, 59, 0.34);
  background:
    radial-gradient(circle at 25% 18%, #fffdf8, transparent 34%),
    linear-gradient(135deg, #fff2c6 0%, #e3b761 44%, #b87824 100%);
  box-shadow:
    0 18px 34px rgba(200, 146, 59, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-page .eyebrow,
.doc-page .eyebrow {
  color: #7c2433;
}

.admin-page .brand-row h1,
.admin-page .admin-topbar h2,
.admin-page .content-card h3,
.doc-page .doc-card h1,
.admin-page .metric-card strong {
  color: #352317;
}

.admin-page .admin-nav button {
  color: #735f4f;
}

.admin-page .admin-nav button.active,
.admin-page .admin-nav button:hover {
  color: #7c2433;
  border-color: rgba(124, 36, 51, 0.18);
  background: rgba(124, 36, 51, 0.07);
}

.admin-page .password-form,
.admin-page .metric-card,
.admin-page .config-item,
.admin-page .check-grid label {
  border-color: rgba(122, 72, 39, 0.14);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 26px rgba(87, 50, 25, 0.05);
}

.admin-page input,
.admin-page textarea,
.admin-page select,
.doc-page input,
.doc-page textarea,
.doc-page select {
  color: #352317;
  border-color: rgba(122, 72, 39, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 242, 0.72));
}

.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus {
  border-color: rgba(200, 146, 59, 0.82);
  box-shadow:
    0 0 0 4px rgba(200, 146, 59, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-page .primary-btn {
  color: #fffaf1;
  border-color: rgba(124, 36, 51, 0.14);
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 239, 188, 0.36), transparent 34%),
    linear-gradient(135deg, #7c2433 0%, #b84d36 58%, #c8923b 100%);
  box-shadow: 0 16px 30px rgba(124, 36, 51, 0.18);
}

.admin-page .ghost-btn {
  color: #5c4636;
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(122, 72, 39, 0.16);
}

.admin-page .ghost-btn:hover {
  color: #7c2433;
  border-color: rgba(124, 36, 51, 0.24);
  background: rgba(255, 247, 233, 0.88);
}

.admin-page .table-wrap {
  border-color: rgba(122, 72, 39, 0.14);
  background: rgba(255, 255, 255, 0.48);
}

.admin-page th,
.admin-page td {
  border-bottom-color: rgba(122, 72, 39, 0.1);
}

.admin-page th {
  color: #5c3f2c;
  background: rgba(200, 146, 59, 0.12);
}

.admin-page td {
  color: #3c2a20;
}

.admin-page tr:hover td {
  background: rgba(255, 244, 222, 0.72);
}

.admin-page .status-pill {
  border-color: rgba(122, 72, 39, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.doc-page .doc-card {
  color: #4c382b;
}

.doc-page .doc-card a {
  color: #7c2433;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .admin-page .admin-sidebar {
    border-right: 0;
    border-bottom-color: rgba(122, 72, 39, 0.14);
  }
}

/* Option 3 selected build: lifestyle hero + right-side redemption panel.
   Scoped to the public redemption page; existing API wiring and admin UI remain intact. */
.redeem-page {
  --brand-blue: #0d3767;
  --brand-blue-soft: #446891;
  --warm-ivory: #fffaf3;
  --warm-paper: #fff3e2;
  --warm-sand: #e7c9a0;
  --warm-apricot: #ffe7cc;
  --warm-orange: #ff6d18;
  --warm-orange-deep: #f27c2b;
  --cool-mist: #dce6f2;
  --line-warm: rgba(13, 55, 103, 0.14);
  --shadow-warm: 0 28px 80px rgba(91, 64, 36, 0.16);
  min-height: 100dvh;
  color: var(--brand-blue);
  background:
    linear-gradient(90deg, rgba(255, 247, 237, 0.72), rgba(255, 255, 255, 0.5)),
    url("/assets/redeem/botanical-paper-texture.png") center / cover fixed,
    linear-gradient(135deg, #fff6ea 0%, #f7dfc3 100%);
}

.redeem-page::before {
  display: none;
}

.redeem-page::after {
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 109, 24, 0.12), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(167, 207, 242, 0.24), transparent 28%);
}

.redeem-experience {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 20px clamp(22px, 3.5vw, 54px) 22px;
}

.redeem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  margin-bottom: 14px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-blue);
  text-decoration: none;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #7c4713;
  font-weight: 900;
  letter-spacing: -0.06em;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(135deg, #fff4ce, #f0b957 48%, #d57c21);
  border: 1px solid rgba(139, 88, 25, 0.24);
  box-shadow:
    0 12px 28px rgba(211, 122, 31, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand-lockup strong {
  display: block;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-lockup em {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(13, 55, 103, 0.58);
  font-style: normal;
  text-transform: uppercase;
}

.redeem-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.redeem-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(13, 55, 103, 0.08);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.redeem-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(13, 55, 103, 0.16);
  text-decoration: none;
}

.redeem-hero {
  position: relative;
  min-height: clamp(545px, 60vh, 635px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border-radius: 42px;
  overflow: hidden;
  padding: clamp(28px, 4.6vw, 58px);
  box-shadow: var(--shadow-warm);
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: #fff3e5;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.18) 0%, rgba(255, 248, 237, 0.28) 48%, rgba(255, 245, 233, 0.78) 100%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.16), rgba(255, 233, 208, 0.18));
}

.hero-copy-panel,
.trust-ribbon,
.redeem-page .redeem-card {
  position: relative;
  z-index: 1;
}

.hero-copy-panel {
  align-self: start;
  max-width: 560px;
  padding-top: clamp(24px, 4.2vw, 48px);
  padding-left: clamp(22px, 5.2vw, 76px);
}

.redeem-page .hero-copy-panel .eyebrow {
  color: var(--warm-orange);
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.hero-copy-panel h1 {
  margin: 0;
  font-size: clamp(42px, 4.15vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.08em;
  color: var(--brand-blue);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.36);
}

.hero-copy-panel p:not(.eyebrow) {
  width: min(455px, 100%);
  margin: 20px 0 0;
  color: rgba(13, 55, 103, 0.74);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

.redeem-page .redeem-card {
  justify-self: end;
  width: min(520px, 100%);
  min-height: 455px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 30px;
  color: var(--brand-blue);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 251, 246, 0.68)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    0 28px 70px rgba(82, 51, 25, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(118%);
}

.redeem-page .redeem-card::before {
  border-radius: inherit;
  background:
    radial-gradient(circle at 86% 0%, rgba(167, 207, 242, 0.22), transparent 30%),
    radial-gradient(circle at 8% 8%, rgba(255, 109, 24, 0.09), transparent 24%);
}

.redeem-page .stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 34px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.redeem-page .step {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: rgba(13, 55, 103, 0.48);
  padding: 8px 6px 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
}

.redeem-page .step::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.redeem-page .step b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(13, 55, 103, 0.22);
  font-size: 13px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.46);
}

.redeem-page .step.active {
  color: var(--warm-orange);
  background: transparent;
  box-shadow: none;
}

.redeem-page .step.active::after {
  background: var(--warm-orange);
}

.redeem-page .step.active b {
  color: #fff;
  border-color: var(--warm-orange);
  background: var(--warm-orange);
  box-shadow: 0 10px 20px rgba(255, 109, 24, 0.22);
}

.redeem-page .form-panel {
  gap: 18px;
}

.redeem-page .form-panel h2,
.redeem-page .success-panel h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.redeem-page .form-panel .muted,
.redeem-page .success-panel .muted {
  margin: -4px 0 8px;
  color: rgba(13, 55, 103, 0.68);
  line-height: 1.7;
}

.redeem-page label {
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
}

.redeem-page input,
.redeem-page textarea,
.redeem-page select {
  min-height: 48px;
  color: #193f69;
  border-color: rgba(13, 55, 103, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 1px 0 rgba(13, 55, 103, 0.03);
}

.redeem-page input::placeholder,
.redeem-page textarea::placeholder {
  color: rgba(13, 55, 103, 0.34);
}

.redeem-page input:focus,
.redeem-page textarea:focus,
.redeem-page select:focus {
  border-color: rgba(255, 109, 24, 0.72);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 4px rgba(255, 109, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.redeem-page .primary-btn {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  background:
    linear-gradient(135deg, #ff7b1c 0%, #ff5315 52%, #f27c2b 100%);
  box-shadow:
    0 18px 36px rgba(255, 97, 20, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.redeem-page .primary-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 42px rgba(255, 97, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.redeem-page .primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.privacy-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 0;
  color: rgba(13, 55, 103, 0.5);
  font-size: 13px;
}

.trust-ribbon {
  position: absolute;
  left: clamp(30px, 4vw, 56px);
  bottom: 30px;
  width: min(640px, calc(100% - 620px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 17px 22px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 20px 55px rgba(91, 64, 36, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(116%);
}

.trust-ribbon div {
  padding: 0 18px;
  border-right: 1px solid rgba(13, 55, 103, 0.13);
}

.trust-ribbon div:last-child {
  border-right: 0;
}

.trust-ribbon strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 15px;
}

.trust-ribbon span {
  display: block;
  color: rgba(13, 55, 103, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.process-board {
  margin-top: 18px;
  padding: clamp(20px, 2.8vw, 28px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 244, 0.7));
  box-shadow: 0 20px 58px rgba(91, 64, 36, 0.1);
}

.process-title {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--brand-blue);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
}

.process-title span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 55, 103, 0.28), transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 56px);
}

.process-steps article {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.process-steps img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(91, 64, 36, 0.12);
}

.process-steps strong {
  display: block;
  color: var(--brand-blue);
  font-size: 18px;
  line-height: 1.25;
}

.process-steps p {
  margin: 8px 0 0;
  color: rgba(13, 55, 103, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.redeem-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 8px 0;
  color: rgba(13, 55, 103, 0.52);
  font-size: 13px;
  text-align: center;
}

.redeem-footer em {
  color: var(--warm-orange);
  font-style: normal;
  font-weight: 800;
}

.redeem-page .card-summary {
  color: rgba(13, 55, 103, 0.68);
  border-color: rgba(13, 55, 103, 0.13);
  background: rgba(255, 255, 255, 0.52);
}

.redeem-page .card-summary strong,
.redeem-page .product-card strong {
  color: var(--brand-blue);
}

.redeem-page .product-card {
  border-color: rgba(13, 55, 103, 0.13);
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(91, 64, 36, 0.06);
}

.redeem-page .product-card:hover {
  border-color: rgba(255, 109, 24, 0.34);
}

.redeem-page .product-card.active {
  border-color: rgba(255, 109, 24, 0.72);
  box-shadow:
    0 0 0 4px rgba(255, 109, 24, 0.1),
    0 16px 30px rgba(91, 64, 36, 0.08);
}

.redeem-page .product-grid {
  grid-template-columns: 1fr;
}

.redeem-page .product-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.redeem-page .product-image {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(91, 64, 36, 0.12);
}

.redeem-page .product-body {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-content: start;
}

.redeem-page .product-kicker {
  color: var(--warm-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.redeem-page .product-desc {
  display: -webkit-box;
  margin: 2px 0 0;
  overflow: hidden;
  color: rgba(13, 55, 103, 0.62);
  font-size: 12px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.redeem-page .product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  color: rgba(13, 55, 103, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.redeem-page .product-detail-btn {
  border: 1px solid rgba(255, 109, 24, 0.24);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--warm-orange);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.redeem-page .product-detail-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 246, 235, 0.92);
  border-color: rgba(255, 109, 24, 0.44);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(20, 28, 38, 0.34);
  backdrop-filter: blur(12px);
}

.product-modal-card {
  position: relative;
  width: min(840px, 100%);
  max-height: min(760px, calc(100dvh - 44px));
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 244, 0.82));
  box-shadow: 0 38px 100px rgba(36, 28, 22, 0.28);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(13, 55, 103, 0.12);
  border-radius: 50%;
  color: var(--brand-blue);
  font-size: 24px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(91, 64, 36, 0.1);
}

.product-modal-image {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.product-modal-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  color: var(--brand-blue);
}

.product-modal-content .eyebrow {
  margin: 0;
  color: var(--warm-orange);
}

.product-modal-content h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.product-modal-spec {
  margin: 0;
  color: rgba(13, 55, 103, 0.64);
  font-weight: 800;
}

.product-modal-desc {
  margin: 0;
  color: rgba(13, 55, 103, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.product-modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.product-modal-highlights li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 109, 24, 0.18);
  border-radius: 999px;
  color: var(--warm-orange);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.58);
}

.product-modal-note {
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 55, 103, 0.12);
  color: rgba(13, 55, 103, 0.48);
  font-size: 12px;
  line-height: 1.65;
}

.redeem-page .check-row {
  color: rgba(13, 55, 103, 0.68);
  font-weight: 600;
}

.redeem-page .check-row input {
  min-height: auto;
  margin-top: 5px;
  accent-color: var(--warm-orange);
}

.redeem-page a {
  color: var(--warm-orange);
  font-weight: 800;
}

.redeem-page .brand-lockup,
.redeem-page .brand-lockup:hover,
.redeem-page .brand-lockup strong,
.redeem-page .redeem-nav a {
  color: var(--brand-blue);
}

.redeem-page .success-icon {
  color: #fff;
  background: linear-gradient(135deg, #48a173, #ff7b1c);
}

.redeem-page .toast {
  top: 14px;
  color: var(--brand-blue);
  border-color: rgba(13, 55, 103, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(91, 64, 36, 0.16);
}

.redeem-page .toast.error {
  color: #8d2b21;
  border-color: rgba(255, 109, 24, 0.32);
}

.redeem-page button:focus-visible,
.redeem-page a:focus-visible,
.redeem-page input:focus-visible,
.redeem-page textarea:focus-visible,
.redeem-page select:focus-visible {
  outline-color: rgba(255, 109, 24, 0.72);
}

@media (max-width: 1180px) {
  .redeem-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1fr);
    padding: 34px;
    gap: 26px;
  }

  .trust-ribbon {
    width: min(560px, calc(100% - 500px));
    left: 34px;
    bottom: 30px;
    padding: 16px 18px;
  }

  .trust-ribbon div {
    padding: 0 12px;
  }
}

@media (max-width: 980px) {
  .redeem-experience {
    padding: 18px;
  }

  .redeem-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px;
  }

  .hero-media-scrim {
    background:
      linear-gradient(180deg, rgba(255, 248, 237, 0.28), rgba(255, 245, 233, 0.86)),
      linear-gradient(90deg, rgba(255, 250, 244, 0.1), rgba(255, 250, 244, 0.62));
  }

  .hero-copy-panel {
    max-width: 680px;
    padding-top: 8px;
  }

  .redeem-page .redeem-card {
    justify-self: stretch;
    width: 100%;
  }

  .trust-ribbon {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    order: 3;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .redeem-header {
    align-items: flex-start;
  }

  .redeem-nav {
    gap: 8px;
  }

  .redeem-nav a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .brand-seal {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .brand-lockup strong {
    font-size: 18px;
  }

  .brand-lockup em {
    display: none;
  }

  .redeem-hero {
    border-radius: 28px;
    padding: 22px;
  }

  .hero-copy-panel h1 {
    font-size: 40px;
  }

  .hero-copy-panel p:not(.eyebrow) {
    font-size: 15px;
  }

  .redeem-page .redeem-card {
    padding: 22px;
    border-radius: 24px;
  }

  .redeem-page .stepper {
    gap: 2px;
  }

  .redeem-page .step {
    display: grid;
    gap: 6px;
    font-size: 11px;
    padding-bottom: 10px;
  }

  .trust-ribbon {
    grid-template-columns: 1fr;
    gap: 12px;
    border-radius: 22px;
  }

  .trust-ribbon div {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 55, 103, 0.1);
    padding: 0 0 12px;
  }

  .trust-ribbon div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .process-board {
    border-radius: 24px;
  }

  .process-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-title span {
    display: none;
  }

  .process-steps article {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .process-steps img {
    width: 72px;
    height: 72px;
  }

  .redeem-page .product-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .redeem-page .product-image {
    width: 88px;
    height: 88px;
    border-radius: 15px;
  }

  .redeem-page .product-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    border-radius: 24px;
  }

  .product-modal-image {
    min-height: 230px;
    max-height: 280px;
  }

  .product-modal-content {
    padding: 24px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
