/* Checkout dialog, thanks page and gift page. Builds on gc.css. */
.eyebrow { text-align: left; }
.co { border: 1px solid var(--rule-strong); background: #0d0d0d; color: var(--ink); width: min(520px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; overflow: auto; }
.co::backdrop { background: rgba(0,0,0,0.8); }
.co form { padding: 1.6rem 1.25rem 1.4rem; position: relative; display: flex; flex-direction: column; gap: 0.9rem; }
.co .x { position: absolute; top: 0.4rem; right: 0.6rem; background: none; border: none; color: var(--muted); font-size: 2rem; line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px; }
.co h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: #fff; line-height: 1.1; }
.co h2 small { font-size: 1rem; color: var(--silver); font-family: 'DM Sans', sans-serif; }
.co-price { font-size: 0.9rem; color: var(--muted); } .co-price b { font-family: var(--serif); font-size: 1.7rem; color: #fff; font-weight: 500; } .co-price s { margin: 0 0.4rem; } .co-price span { color: var(--red-light); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; }
.co label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.78rem; color: var(--silver); letter-spacing: 0.04em; }
.co label i { color: var(--muted); font-style: normal; }
.co input:not([type=checkbox]), .co textarea { background: #080808; border: 1px solid var(--rule-strong); color: #fff; font: inherit; font-size: 1rem; padding: 0.8rem 0.8rem; min-height: 48px; border-radius: 0; width: 100%; }
.co input:focus, .co textarea:focus { outline: 1px solid var(--silver); border-color: var(--silver); }
.keyterms { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0.8rem 0; font-size: 0.82rem; color: rgba(237,234,228,0.8); }
.keyterms b { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); font-weight: 500; }
.keyterms ul { list-style: none; margin-top: 0.4rem; } .keyterms li { padding: 0.15rem 0; } .keyterms li::before { content: '—'; color: var(--red); margin-right: 0.5rem; }
.co .chk { flex-direction: row; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink); }
.co .chk input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: #CC0000; flex-shrink: 0; }
.co .chk a, .fine a { color: var(--silver); }
.err { color: #ff7b7b; font-size: 0.85rem; border-left: 2px solid var(--red); padding-left: 0.7rem; }
.err[hidden] { display: none; }
.buy:disabled { opacity: 0.6; cursor: wait; }

/* Thanks + gift pages */
.giftpage, .thanks { padding-top: 6.5rem; max-width: 980px; text-align: center; }
.giftpage h1, .thanks h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 8vw, 3.6rem); color: #fff; line-height: 1.08; margin-bottom: 0.6rem; }
.giftpage h1 em, .thanks h1 em { color: var(--silver); }
.lead { color: rgba(237,234,228,0.75); font-weight: 300; margin-bottom: 1.6rem; line-height: 1.7; }
.cardimg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); margin: 0 auto 1.2rem; }
.expiry { color: var(--ink); } .expiry b { font-weight: 500; } .past { color: var(--silver); border: 1px solid var(--rule-strong); font-size: 0.72rem; padding: 0.15rem 0.5rem; margin-left: 0.4rem; }
.verify { color: var(--muted); font-size: 0.85rem; margin: 0.3rem 0 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.4rem; }
.actions > * { flex: 1 1 200px; max-width: 280px; text-align: center; cursor: pointer; font-family: var(--mono); }
.btn-red { background: var(--red); color: #fff; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 1.2rem; min-height: 50px; text-decoration: none; border: none; display: inline-block; }
.btn-red:hover { background: var(--red-light); }
button.btn-line { background: none; }
.status { padding: 2.5rem 0; color: var(--silver); }
.steps { text-align: left; max-width: 34rem; margin: 2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--rule); color: rgba(237,234,228,0.75); font-size: 0.9rem; line-height: 1.7; }
.steps ol { padding-left: 1.2rem; } .steps b { color: #fff; font-weight: 500; }
.hint { font-size: 0.8rem; color: var(--muted); min-height: 1.2rem; margin-top: 0.4rem; }

/* Lost your gift card? */
.lost { margin: 1.4rem auto 0; max-width: 22rem; font-size: 0.82rem; color: var(--muted); text-align: center; }
.lost summary { cursor: pointer; list-style: none; display: inline-block; color: var(--silver); text-decoration: underline; text-underline-offset: 3px; padding: 0.6rem 0.4rem; min-height: 44px; }
.lost summary::-webkit-details-marker { display: none; }
.lost-menu { display: flex; flex-direction: column; gap: 0.6rem; border-top: 1px solid var(--rule); margin-top: 0.4rem; padding-top: 0.9rem; }
.lost-menu a { border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; padding: 0.8rem; min-height: 46px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.lost-menu a:hover { border-color: var(--silver); }
/* Terms page */
.termspage { max-width: 760px; padding-top: 6.5rem; }
.termspage h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 9vw, 3.8rem); color: #fff; line-height: 1.05; margin: 0.2rem 0 0.4rem; }
.termspage .ver { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 2rem; }
.termspage .keyterms { margin-bottom: 2.4rem; padding: 1.1rem 0; }
.termspage h2 { font-family: var(--mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); margin: 2.4rem 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule); }
.termspage ol { list-style: none; counter-reset: t; } .termspage ol li { counter-increment: t; display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; padding: 0.7rem 0; font-size: 0.93rem; line-height: 1.8; color: rgba(237,234,228,0.82); font-weight: 300; }
.termspage ol li::before { content: counter(t); font-family: var(--serif); font-size: 1.25rem; color: var(--silver); line-height: 1.5; }
.termspage .back { margin-top: 3rem; text-align: center; }
.termspage .contact { font-size: 0.9rem; line-height: 1.9; color: rgba(237,234,228,0.82); font-weight: 300; }
.termspage .contact a { color: var(--silver); }
