/* Gift cards (maquettes/carte-cadeau): the page /gift-cards and the account's "Gift cards & credit". Orange: a purchase. */
.gc-page { color: #f4f1ec; }
.gc-wrap { width: min(calc(100% - 56px), 1040px); margin-inline: auto; }
.gc-hd { padding-top: 40px; }
.gc-k { margin: 0 0 8px; color: rgba(244,241,236,.5); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gc-hd h1 { margin: 0; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.06; letter-spacing: -.03em; }
.gc-lead { margin: 12px 0 0; max-width: 580px; color: rgba(244,241,236,.68); font-size: 16px; line-height: 1.55; }

/* the card */
.gc-card { position: relative; display: block; width: 100%; aspect-ratio: 1.586; border-radius: 22px; overflow: hidden; isolation: isolate; background: #121318; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); color: #f4f1ec; font-family: Manrope, system-ui, sans-serif; }
.gc-card::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 45% at 78% 28%, rgba(255,106,43,.55), transparent 70%), radial-gradient(35% 40% at 18% 90%, rgba(232,100,45,.35), transparent 70%), conic-gradient(from 210deg at 70% 40%, transparent, rgba(255,154,102,.12), transparent 40%); }
.gc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.gc-lg { position: absolute; left: 7%; top: 10%; width: 30%; }
.gc-tg { position: absolute; right: 7%; top: 11%; padding: 4px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gc-am { position: absolute; left: 7%; bottom: 22%; font-size: clamp(34px, 6vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.gc-ft { position: absolute; left: 7%; right: 7%; bottom: 9%; display: flex; justify-content: space-between; gap: 10px; color: rgba(244,241,236,.66); font-size: 12px; font-weight: 700; }
.gc-ft span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-rb { position: absolute; right: 9%; bottom: 20%; width: 16%; aspect-ratio: 1; }
.gc-rb svg { width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* the page */
.gc-shop { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; margin-top: 30px; }
.gc-pts { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; color: rgba(244,241,236,.74); font-size: 14px; }
.gc-pts li { display: flex; gap: 10px; }
.gc-pts svg { flex: none; width: 17px; height: 17px; margin-top: 2px; fill: none; stroke: #ff8a55; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-have { margin: 18px 0 0; color: rgba(244,241,236,.6); font-size: 14px; }
.gc-have a { color: #ff9a66; font-weight: 700; text-decoration: none; }
.gc-pane { padding: 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: #111216; }
.gc-lbl { margin: 0 0 8px; color: rgba(244,241,236,.6); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gc-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.gc-amts button { height: 54px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #0e0f12; color: #f4f1ec; font: 800 17px Manrope, sans-serif; cursor: pointer; }
.gc-amts button.on { border-color: #ff6a2b; background: rgba(255,106,43,.1); color: #fff; }
.gc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; }
.gc-seg button { height: 40px; border: 0; border-radius: 10px; background: none; color: rgba(244,241,236,.65); font: 800 13px Manrope, sans-serif; cursor: pointer; }
.gc-seg button.on { background: rgba(255,255,255,.09); color: #fff; }
.gc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gc-f { display: grid; gap: 6px; margin-bottom: 12px; color: rgba(244,241,236,.62); font-size: 12px; font-weight: 700; }
.gc-f input, .gc-f textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: #0e0f12; color: #fff; font: 500 14px Manrope, sans-serif; color-scheme: dark; }
.gc-f textarea { min-height: 72px; resize: vertical; }
.gc-f input.is-bad { border-color: #ef4444; }
.gc-pay { display: grid; gap: 8px; margin-top: 4px; }
.gc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #ff6a2b, #e8642d); color: #fff; font: 800 14.5px Manrope, sans-serif; cursor: pointer; text-decoration: none; }
.gc-btn.gh { border: 1px solid rgba(255,255,255,.14); background: none; }
.gc-btn:disabled { opacity: .6; cursor: default; }
.gc-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(239,68,68,.1); color: #fca5a5; font-size: 13px; font-weight: 700; }
.gc-fine { margin: 14px 0 0; color: rgba(244,241,236,.45); font-size: 12px; line-height: 1.55; }
.gc-self { margin: 0 0 14px; }
.gc-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; margin-bottom: 70px; }
.gc-how div { padding: 18px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; }
.gc-how i { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: rgba(255,106,43,.14); color: #ff9a66; font: 800 13px Manrope, sans-serif; font-style: normal; }
.gc-how b { display: block; font-size: 15px; }
.gc-how p { margin: 4px 0 0; color: rgba(244,241,236,.6); font-size: 13px; }
@media (max-width: 900px) { .gc-shop { grid-template-columns: 1fr; gap: 22px; } .gc-how { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gc-wrap { width: calc(100% - 36px); } .gc-hd { padding-top: 24px; } .gc-amts { grid-template-columns: repeat(2, 1fr); } .gc-two { grid-template-columns: 1fr; } .gc-pane { padding: 16px; } .gc-ft { font-size: 10px; } .gc-tg { font-size: 9px; } }

/* the account: balance, redeem, history, cards bought */
.gca-bal { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px; border: 1px solid rgba(255,106,43,.25); border-radius: 18px; background: linear-gradient(135deg, rgba(255,106,43,.12), rgba(255,106,43,.02)); }
.gca-bal small { display: block; color: rgba(244,241,236,.6); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gca-bal strong { display: block; font-size: 40px; letter-spacing: -.03em; line-height: 1.1; }
.gca-bal p { margin: 2px 0 0; color: rgba(244,241,236,.6); font-size: 13px; }
.gca-red { display: flex; gap: 8px; margin-top: 10px; }
.gca-red input { flex: 1; min-width: 0; padding: 12px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: #0e0f12; color: #fff; font: 700 15px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.gca-msg { margin-top: 10px; padding: 11px 13px; border-radius: 11px; font-size: 13px; font-weight: 700; }
.gca-msg.ok { background: rgba(34,197,94,.1); color: #86efac; }
.gca-msg.bad { background: rgba(239,68,68,.1); color: #fca5a5; }
.gca-sec { margin-top: 28px; }
.gca-sec h2 { margin: 0 0 10px; font-size: 17px; }
.gca-tb { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gca-tb th { padding: 9px 8px; color: rgba(244,241,236,.45); font-size: 10.5px; letter-spacing: .12em; text-align: left; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.08); }
.gca-tb td { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.gca-tb .r { text-align: right; white-space: nowrap; }
.gca-plus { color: #86efac; font-weight: 800; }
.gca-minus { font-weight: 800; }
.gca-cards { display: grid; gap: 10px; }
.gca-card { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: #111216; }
.gca-card .gc-card { border-radius: 10px; box-shadow: none; }
.gca-card .gc-card .gc-am { font-size: 22px; bottom: 18%; }
.gca-card .gc-card .gc-tg, .gca-card .gc-card .gc-ft, .gca-card .gc-card .gc-rb { display: none; }
.gca-card b { display: block; font-size: 15px; }
.gca-card small { display: block; color: rgba(244,241,236,.55); font-size: 12.5px; }
.gca-code { display: inline-block; margin-top: 6px; padding: 4px 8px; border: 1px dashed rgba(255,255,255,.22); border-radius: 8px; font: 700 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; }
.gca-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.gca-acts button { height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: none; color: #f4f1ec; font: 700 12.5px Manrope, sans-serif; cursor: pointer; }
.gca-st { display: inline-block; margin-top: 6px; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.07); color: rgba(244,241,236,.75); font-size: 11px; font-weight: 800; }
.gca-st.is-on { background: rgba(255,106,43,.14); color: #ff9a66; }
@media (max-width: 640px) { .gca-red { flex-direction: column; } .gca-card { grid-template-columns: 84px minmax(0, 1fr); } .gca-acts { grid-column: 1 / -1; justify-content: flex-start; } .gca-tb { font-size: 12.5px; } }

/* printing a card (from the account) */
@media print {
  body.gc-printing > *:not(.gc-print) { display: none !important; }
  .gc-print { display: block !important; padding: 20px; color: #111; }
}
.gc-print { display: none; }
