/* Gift Card page (marketing layout + form) */
.promo-mini{
  max-width: 680px;
  margin: 0.75rem auto 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--primary-200);
  background: linear-gradient(135deg, rgba(255,87,51,0.10), rgba(46,134,171,0.10));
  color: var(--text-200);
  font-size: 0.95rem;
}

.gift-grid{
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#confirmSection{
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

.gift-card{
  text-align: left;
  width: 100%;
  background: var(--bg-200);
  border: 1px solid var(--bg-300);
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.gift-card:hover{
  transform: translateY(-1px);
  border-color: var(--primary-200);
  box-shadow: 0 10px 22px rgba(0,0,0,0.30);
}

.gift-card.is-selected{
  border-color: var(--accent-200);
  box-shadow: 0 0 0 3px rgba(111,184,223,0.18);
}

.gift-card__top{
  display:flex;
  justify-content:flex-end;
  margin-bottom: 10px;
}

.gift-badge{
  display:inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
  border: 1px solid var(--bg-300);
  color: var(--text-200);
  background: rgba(255,255,255,0.03);
}

.gift-badge--accent{
  border-color: rgba(46,134,171,0.55);
  color: var(--accent-200);
}

.gift-badge--primary{
  border-color: rgba(255,87,51,0.55);
  color: var(--primary-200);
}

.gift-card__amount{
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}
.gift-card--custom{
  cursor: default;
}
.gift-card__amount--custom input{
  width: 100%;
  border: 1px solid var(--bg-300);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
.gift-card__amount--custom input:focus{
  border-color: var(--accent-200);
  outline: none;
  box-shadow: 0 0 0 3px rgba(111,184,223,0.15);
}

.gift-card__copy{
  color: var(--text-200);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.gift-card__cta{
  display:inline-block;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--bg-300);
  color: var(--text);
  font-weight: 650;
  background: rgba(0,0,0,0.10);
}

.micro-note{
  margin-top: 1rem;
  color: var(--text-200);
  font-size: 0.9rem;
}

.pill{
  display:inline-block;
  padding:.25rem .65rem;
  border-radius:999px;
  font-size:.85rem;
  border: 1px solid rgba(var(--bg-300-rgb), 0.25);
  color: var(--text-200);
  background: rgba(255,255,255,0.03);
}

.gift-wrap{
  max-width: 900px;
}

.gift-panel{
  border: 1px solid var(--primary-200);
  background: linear-gradient(135deg, rgba(255,87,51,0.08), rgba(46,134,171,0.08));
  border-radius: 20px;
}

.gift-panel__header{
  margin-bottom: 14px;
}

.field { display:flex; flex-direction:column; gap:.35rem; }
.field input{
  background: var(--bg);
  border: 1px solid var(--bg-300);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  outline: none;
}
.field input:focus{
  border-color: var(--accent-200);
  box-shadow: 0 0 0 3px rgba(111,184,223,0.15);
}

.helper{
  font-size: 0.9rem;
  color: var(--text-200);
  margin-top: .25rem;
}

.gift-form__row{
  display:grid;
  gap: 1rem;
}
@media (min-width: 700px){
  .gift-form__row{
    grid-template-columns: 1fr 1fr;
  }
}

.action-row{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
}

.btn-secondary{
  display:inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--bg-300);
  cursor: pointer;
  text-align: center;
  width: max-content;
}
.btn-secondary:hover{
  border-color: var(--accent-200);
  transform: translateY(-1px);
}

.code-chip{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .06em;
  padding: .55rem .7rem;
  border-radius: 12px;
  border: 1px dashed var(--bg-300);
  background: rgba(0,0,0,0.15);
  display:block;
  margin-top: .5rem;
  white-space: normal;
}
