/* The gift cards page (gift-cards.html). The card itself is css/gift-cards.css. */
.gc-page { --gc-ink: #14183d; --gc-muted: #5a5f7a; --gc-line: #e6e1d4; --gc-gold: #b8862f; --gc-gold-soft: #fbf3e2; --gc-navy: #10166a; --gc-bg: #f7f5f0; background: var(--gc-bg); }
.gc-main { max-width: 1120px; margin: 0 auto; padding: 28px 16px 56px; color: var(--gc-ink); font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; }

.gc-hero { text-align: center; padding: 18px 0 8px; }
.gc-eyebrow { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gc-gold); font-weight: 600; }
.gc-hero h1 { margin: 10px auto 10px; max-width: 760px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; color: var(--gc-ink); }
.gc-lede { margin: 0 auto; max-width: 620px; color: var(--gc-muted); font-size: 16px; line-height: 1.6; }
.gc-tabs { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; background: #fff; border: 1px solid var(--gc-line); border-radius: 999px; }
.gc-tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 14px/1 'Inter', system-ui, sans-serif; color: var(--gc-muted); cursor: pointer; }
.gc-tabs button[aria-selected="true"] { background: var(--gc-navy); color: #f6d999; }
.gc-tabs button:focus-visible, .gc-designs button:focus-visible, .gc-amounts button:focus-visible, .gc-seg button:focus-visible { outline: 3px solid rgba(184, 134, 47, .45); outline-offset: 2px; }

.gc-buy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; margin-top: 30px; align-items: start; }
.gc-preview { position: sticky; top: 18px; }
.gc-preview-card .hgc { max-width: 460px; margin: 0 auto; }
.gc-preview-note { text-align: center; color: var(--gc-muted); font-size: 13px; margin: 12px 0 18px; }
.gc-promises { list-style: none; margin: 0 auto; padding: 16px 18px; max-width: 460px; background: #fff; border: 1px solid var(--gc-line); border-radius: 14px; display: grid; gap: 9px; font-size: 14px; color: var(--gc-muted); }
.gc-promises li { padding-left: 24px; position: relative; line-height: 1.45; }
.gc-promises li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3cf, #e2b260 60%, #9c6d28); }
.gc-promises b { color: var(--gc-ink); font-weight: 600; }

.gc-form { background: #fff; border: 1px solid var(--gc-line); border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -30px rgba(20, 24, 61, .35); }
.gc-store { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--gc-gold-soft); border: 1px solid #ecd9ad; font-size: 14px; line-height: 1.5; }
.gc-step { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.gc-step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 15px; }
.gc-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gc-navy); color: #f6d999; font-size: 12px; }

.gc-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.gc-designs button { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.gc-designs .hgc { border-radius: 9px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .55); outline: 2px solid transparent; outline-offset: 2px; transition: transform .15s ease, outline-color .15s ease; }
.gc-designs button:hover .hgc { transform: translateY(-2px); }
.gc-designs button[aria-checked="true"] .hgc { outline-color: var(--gc-gold); }
.gc-designs span { display: block; margin-top: 6px; font-size: 12px; color: var(--gc-muted); }
.gc-designs button[aria-checked="true"] span { color: var(--gc-ink); font-weight: 600; }

.gc-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #f1efe9; margin-bottom: 12px; }
.gc-seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 8px; font: 600 13px/1 'Inter', system-ui, sans-serif; color: var(--gc-muted); cursor: pointer; }
.gc-seg button[aria-checked="true"] { background: #fff; color: var(--gc-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.gc-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-amounts button { min-width: 84px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--gc-line); background: #fff; font: 600 15px/1 'Inter', system-ui, sans-serif; color: var(--gc-ink); cursor: pointer; }
.gc-amounts button[aria-checked="true"] { border-color: var(--gc-gold); background: var(--gc-gold-soft); }

.gc-form label { display: block; font-size: 13px; font-weight: 600; color: var(--gc-ink); margin-bottom: 12px; position: relative; }
.gc-opt { font-weight: 400; color: var(--gc-muted); }
.gc-form input:not([type="radio"]), .gc-form textarea, .gc-check input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; border: 1px solid #d9d4c6; border-radius: 9px; font: 15px/1.4 'Inter', system-ui, sans-serif; color: var(--gc-ink); background: #fff; }
.gc-form input:focus, .gc-form textarea:focus, .gc-check input:focus { outline: none; border-color: var(--gc-gold); box-shadow: 0 0 0 3px rgba(184, 134, 47, .18); }
.gc-form textarea { resize: vertical; }
.gc-count { position: absolute; right: 8px; bottom: 6px; font-size: 11px; font-weight: 400; color: var(--gc-muted); }
.gc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gc-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.gc-pay label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 11px 12px; border: 1.5px solid var(--gc-line); border-radius: 10px; font-weight: 600; cursor: pointer; }
.gc-pay label:has(input:checked) { border-color: var(--gc-gold); background: var(--gc-gold-soft); }
.gc-pay label:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.gc-off { font-weight: 400; font-size: 12px; color: var(--gc-muted); }
.gc-hold { margin: 0 0 8px; font-size: 13px; color: #7a5314; background: var(--gc-gold-soft); padding: 9px 12px; border-radius: 9px; }

.gc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; border-top: 1px solid var(--gc-line); }
.gc-total span { color: var(--gc-muted); }
.gc-total strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; }
.gc-error { min-height: 1em; margin: 6px 0; color: #b42318; font-size: 14px; }
.gc-submit { width: 100%; padding: 14px; border: 0; border-radius: 12px; cursor: pointer; font: 700 16px/1 'Inter', system-ui, sans-serif; color: #10166a;
    background: linear-gradient(180deg, #f6d999 0%, #e2b260 60%, #c99a45 100%); box-shadow: 0 10px 22px -12px rgba(156, 109, 40, .9); }
.gc-submit:disabled { opacity: .6; cursor: progress; }
.gc-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--gc-muted); }

.gc-balance { max-width: 560px; margin: 30px auto 0; }
.gc-check { background: #fff; border: 1px solid var(--gc-line); border-radius: 16px; padding: 20px; }
.gc-check label { font-weight: 600; font-size: 14px; }
.gc-check-row { display: flex; gap: 8px; }
.gc-check-row input { text-transform: uppercase; letter-spacing: .08em; font-family: 'JetBrains Mono', Consolas, monospace; }
.gc-check-row button { margin-top: 6px; padding: 0 20px; border: 0; border-radius: 9px; background: var(--gc-navy); color: #f6d999; font-weight: 700; cursor: pointer; }
.gc-result { margin-top: 20px; display: grid; gap: 14px; justify-items: center; }
.gc-result .hgc { max-width: 460px; }
.gc-facts { width: 100%; max-width: 460px; margin: 0; background: #fff; border: 1px solid var(--gc-line); border-radius: 12px; overflow: hidden; }
.gc-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px; }
.gc-facts div + div { border-top: 1px solid var(--gc-line); }
.gc-facts dt { color: var(--gc-muted); }
.gc-facts dd { margin: 0; font-weight: 600; text-align: right; }
.gc-result a.gc-shop { padding: 11px 18px; border-radius: 10px; background: var(--gc-navy); color: #f6d999; text-decoration: none; font-weight: 700; }

@media (max-width: 860px) {
    .gc-buy { grid-template-columns: 1fr; gap: 22px; }
    .gc-preview { position: static; }
    .gc-promises { display: none; }
}
@media (max-width: 520px) {
    .gc-form { padding: 18px 14px; }
    .gc-row, .gc-pay { grid-template-columns: 1fr; }
    .gc-designs { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gc-designs .hgc { transition: none; } }
