/* Queen Nail Spa gift cards — matches queennailspaohio.com (ivory, gold, Playfair Display + Jost). */
:root {
  --gold-deep: #9A7B3F;
  --gold: #C2A05A;
  --ink: #2B2519;
  --ivory: #FCFAF5;
  --cream: #F6F0E3;
  --line: rgba(160, 128, 66, .22);
  --soft: #6E6353;
  --white: #FFFFFF;
  --danger: #A23B2A;
  --ok: #3E7B4F;
  --r: 20px;
  --shadow: 0 18px 44px -22px rgba(90, 68, 30, .28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.6 'Jost', system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--ivory);
}
.brand { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); }
.top-links { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top-links a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand { white-space: nowrap; }
@media (max-width: 560px) { .top-links .hide-sm { display: none; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.hero { text-align: center; padding-top: 44px; padding-bottom: 26px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); margin: 10px 0 12px; }
.hero p { color: var(--soft); max-width: 560px; margin: 0 auto; font-size: 17px; }

.shop { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 4vw, 48px); align-items: start; padding-top: 10px; padding-bottom: 56px; }
@media (max-width: 860px) { .shop { grid-template-columns: 1fr; } }

.preview { position: sticky; top: 18px; }
@media (max-width: 860px) { .preview { position: static; } }
.preview-card { border-radius: 16px; overflow: hidden; box-shadow: 0 26px 50px -24px rgba(43, 37, 25, .55); background: #111; aspect-ratio: 1200 / 750; }
.preview-card img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.preview-note { text-align: center; color: var(--soft); font-size: 14px; margin-top: 14px; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 3.5vw, 32px); }
.step { margin-bottom: 26px; }
.step:last-child { margin-bottom: 0; }
.step-title { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.step-title span { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .2em; color: var(--gold-deep); }

.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s; background: var(--ivory); font-weight: 500;
}
.choice label img { border-radius: 8px; aspect-ratio: 1200 / 750; object-fit: cover; width: 100%; }
.choice input:checked + label { border-color: var(--gold-deep); background: var(--cream); box-shadow: 0 0 0 3px rgba(194, 160, 90, .2); }
.choice input:focus-visible + label { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.choices.amounts { grid-template-columns: repeat(3, 1fr); }
.amounts .choice label { font-family: 'Playfair Display', serif; font-size: 24px; padding: 14px 10px; }

.promo-note { margin-top: 12px; padding: 11px 14px; border-radius: 12px; background: linear-gradient(135deg, #4A0F1C, #7A1E2E); color: #F6EAD2; font-size: 14.5px; line-height: 1.5; }
.promo-note b { color: #F2D89B; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: var(--ivory); margin-bottom: 14px; }
.seg button { border: 0; background: transparent; font: 500 14px 'Jost', sans-serif; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--soft); }
.seg button[aria-pressed="true"] { background: var(--gold-deep); color: #fff; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--ivory); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 11px 14px; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); background: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.hint { font-size: 13px; color: var(--soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 34px;
  font: 500 15px 'Jost', sans-serif; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px;
  cursor: pointer; transition: .25s; text-decoration: none; border: none;
}
.btn-solid { background: linear-gradient(135deg, #D2AF66, #A9863F); color: #fff; box-shadow: 0 12px 26px -12px rgba(150, 118, 58, .55); }
.btn-solid:hover { filter: brightness(1.06); }
.btn-solid:disabled { opacity: .55; cursor: wait; }
.btn-line { background: transparent; border: 1.5px solid var(--gold-deep); color: var(--gold-deep); }
.btn-block { width: 100%; }
.lines { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 15px; color: var(--soft); }
.lines div { display: flex; justify-content: space-between; padding: 2px 0; }
.lines + .total { border-top: 0; margin-top: 0; padding-top: 8px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.total b { font-family: 'Playfair Display', serif; font-size: 28px; }
.secure { text-align: center; font-size: 13px; color: var(--soft); margin-top: 10px; }

.alert { padding: 12px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 14px; }
.alert-err { background: #FBEDEA; color: var(--danger); border: 1px solid #F0CFC8; }
.alert-ok { background: #EDF6EF; color: var(--ok); border: 1px solid #CFE6D5; }
.alert-info { background: var(--cream); border: 1px solid var(--line); }
[hidden] { display: none !important; }

.band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.balance { max-width: 520px; margin: 0 auto; text-align: center; }
.balance h2 { font-size: 30px; margin: 8px 0 16px; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; font: 500 17px 'Jost', sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
@media (max-width: 480px) { .inline-form { flex-direction: column; } }
.balance-result { margin-top: 16px; font-size: 18px; }
.balance-result b { font-family: 'Playfair Display', serif; font-size: 30px; display: block; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 48px; padding-bottom: 48px; text-align: center; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
.how div { padding: 8px 10px; }
.how h3 { font-size: 20px; margin: 8px 0 6px; }
.how p { color: var(--soft); margin: 0; font-size: 15px; }
.how .num { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--gold); }

footer { text-align: center; padding: 30px 16px 40px; color: var(--soft); font-size: 14px; border-top: 1px solid var(--line); }

/* Success / test checkout */
.center-page { max-width: 640px; margin: 0 auto; padding: 44px 16px 60px; text-align: center; }
.code-box { margin: 22px auto; padding: 18px; border: 1.5px dashed var(--gold); border-radius: 16px; background: #fff; }
.code-box .code { font: 600 clamp(24px, 6vw, 34px) 'Courier New', monospace; letter-spacing: .08em; }
.spinner { width: 42px; height: 42px; border: 3px solid var(--line); border-top-color: var(--gold-deep); border-radius: 50%; margin: 30px auto; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.test-banner { background: #2B2519; color: #F3CD44; text-align: center; padding: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Staff */
.staff-wrap { max-width: 760px; margin: 0 auto; padding: 28px 16px 60px; }
.card-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.card-head img { width: 180px; border-radius: 10px; }
.big-balance { font-family: 'Playfair Display', serif; font-size: 40px; line-height: 1; }
.pill { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--gold-deep); }
.pill.bad { background: #FBEDEA; color: var(--danger); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th, table.list td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
table.list th { font-weight: 500; color: var(--soft); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
table.list td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.link-btn { background: none; border: 0; color: var(--gold-deep); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
@media print {
  .top, footer, .no-print { display: none !important; }
  body { background: #fff; }
}
