/* /gift-cards/ : buy, open and redeem a KovaBuy gift card */
.gc-page { padding-bottom: 80px; }
.gc-page .sh-crumbs { display: flex; align-items: center; gap: 8px; padding: 18px 0 10px; font: 600 13px var(--kx-font-b, Lato, sans-serif); color: #8a867e; }
.gc-page .sh-crumbs a { color: #8a867e; text-decoration: none; } .gc-page .sh-crumbs a:hover { color: #111; }
.gc-page .sh-crumbs i { width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.gc-page .sh-crumbs span { color: #111; font-weight: 800; }
.gc-page [hidden] { display: none !important; }

.gc-banner { margin: 6px 0 14px; padding: 14px 18px; border-radius: 14px; background: #eef2f7; color: #1f2d3d; font: 700 14px/1.45 var(--font-body, Lato, sans-serif); }
.gc-banner.is-ok { background: #e8f5ee; color: #0d6b38; } .gc-banner.is-info { background: #fff6d6; color: #5a4a10; } .gc-banner.is-err { background: #fdecea; color: #b42318; }

.gc-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 99px; background: rgba(240,195,60,.18); color: #6b4e00; font: 800 11px var(--font-body, Lato, sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.gc-page h1.mk { font: 400 clamp(38px, 6vw, 62px)/1.05 'LXGW Marker Gothic', var(--font-display), sans-serif; -webkit-text-stroke: .02em currentColor; margin: 12px 0 10px; }
.gc-page h2.mk { font: 400 clamp(26px, 4vw, 34px)/1.1 'LXGW Marker Gothic', var(--font-display), sans-serif; -webkit-text-stroke: .02em currentColor; margin: 0 0 6px; }
.gc-lede { margin: 0 0 22px; max-width: 560px; font: 500 17px/1.55 var(--font-body, Lato, sans-serif); color: #4a4742; }
.gc-help { margin: 4px 0 12px; font: 500 13.5px/1.5 var(--font-body, Lato, sans-serif); color: #6b6862; }
.gc-fine { margin: 12px 0 0; font: 500 12px/1.55 var(--font-body, Lato, sans-serif); color: #7a766f; }
.gc-err { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #b42318; font: 700 13.5px/1.45 var(--font-body, Lato, sans-serif); }
.gc-msg { min-height: 20px; margin: 10px 0 0; font: 700 13.5px/1.45 var(--font-body, Lato, sans-serif); color: #4a4742; }
.gc-msg.is-ok { color: #0d6b38; } .gc-msg.is-err { color: #b42318; }

/* buy */
.gc-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; padding-top: 6px; }
.gc-step { margin: 0 0 16px; padding: 22px 24px; border: 1px solid #ebe6dc; border-radius: 22px; background: #fff; min-width: 0; }
.gc-step legend { display: flex; align-items: center; gap: 10px; padding: 0 8px; margin-left: -8px; font: 800 16px var(--font-body, Lato, sans-serif); color: #111; }
.gc-step legend .n { width: 26px; height: 26px; border-radius: 50%; background: #111; color: #f0c33c; display: grid; place-items: center; font: 800 13px var(--font-body, Lato, sans-serif); }
.gc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.gc-chips button { min-width: 78px; height: 48px; padding: 0 16px; border: 1.5px solid #ddd6c8; border-radius: 14px; background: #fff; font: 800 16px var(--font-body, Lato, sans-serif); color: #111; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.gc-chips button:hover { border-color: #111; } .gc-chips button:active { transform: scale(.97); }
.gc-chips button[aria-checked="true"] { background: #111; border-color: #111; color: #f0c33c; }
.gc-custom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font: 700 13.5px var(--font-body, Lato, sans-serif); color: #4a4742; }
.gc-money { display: inline-flex; align-items: center; height: 48px; padding: 0 14px; border: 1.5px solid #ddd6c8; border-radius: 14px; background: #fff; }
.gc-money:focus-within { border-color: #111; }
.gc-money b { font: 800 16px var(--font-body, Lato, sans-serif); margin-right: 6px; }
.gc-money input { width: 90px; border: 0; outline: 0; background: transparent; font: 800 17px var(--font-body, Lato, sans-serif); color: #111; }

.gc-seg { display: inline-flex; padding: 4px; border-radius: 14px; background: #f1ede4; gap: 4px; margin: 8px 0 6px; flex-wrap: wrap; }
.gc-seg label { position: relative; }
.gc-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gc-seg span { display: block; height: 42px; line-height: 42px; padding: 0 18px; border-radius: 11px; font: 800 14px var(--font-body, Lato, sans-serif); color: #4a4742; }
.gc-seg input:checked + span { background: #111; color: #f0c33c; }
.gc-seg input:focus-visible + span { outline: 2px solid #f0c33c; outline-offset: 2px; }
.gc-gift { display: grid; gap: 12px; margin-top: 10px; }
.gc-gift label, .gc-otp label { display: grid; gap: 6px; font: 800 13px var(--font-body, Lato, sans-serif); color: #4a4742; }
.gc-gift input, .gc-gift textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #ddd6c8; border-radius: 12px; background: #fff; font: 500 15px var(--font-body, Lato, sans-serif); color: #111; resize: vertical; }
.gc-gift input:focus, .gc-gift textarea:focus, .gc-redeem-form input:focus, .gc-otp input:focus { outline: 0; border-color: #111; }
.gc-gift small { font: 500 11.5px var(--font-body, Lato, sans-serif); color: #8a867e; justify-self: end; }

.gc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 10px; border: 1.5px solid #ddd6c8; border-radius: 16px; cursor: pointer; background: #fff; }
.gc-opt input { margin-top: 3px; accent-color: #111; width: 18px; height: 18px; flex: none; }
.gc-opt b { display: block; font: 800 15px var(--font-body, Lato, sans-serif); color: #111; }
.gc-opt b em { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 99px; background: #e8f5ee; color: #0d6b38; margin-left: 6px; letter-spacing: .06em; text-transform: uppercase; }
.gc-opt small { display: block; margin-top: 4px; font: 500 13px/1.5 var(--font-body, Lato, sans-serif); color: #6b6862; }
.gc-opt:has(input:checked) { border-color: #111; background: #fffaf0; }

/* the side: the card and the summary */
.gc-side { position: sticky; top: 96px; padding: 22px; border: 1px solid #ebe6dc; border-radius: 22px; background: #fff; }
.gc-cardwrap { display: grid; place-items: center; margin: 4px 0 18px; }
.gc-card { width: min(400px, 100%); aspect-ratio: 1.586; border-radius: 22px; padding: 22px 26px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  background: radial-gradient(420px 220px at 100% 0%, rgba(240,195,60,.32), transparent 62%), #111; box-shadow: 0 18px 40px rgba(17,17,17,.22); border-top: 5px solid #f0c33c; }
.gc-card-top { display: flex; align-items: center; justify-content: space-between; }
.gc-card-top img { display: block; height: 22px; width: auto; }
.gc-card-top span { font: 800 11px var(--font-body, Lato, sans-serif); letter-spacing: .2em; text-transform: uppercase; color: #f0c33c; }
.gc-card-amt { font: 400 clamp(46px, 9vw, 62px)/1 'LXGW Marker Gothic', var(--font-display), sans-serif; -webkit-text-stroke: .02em currentColor; color: #fff; }
.gc-card-sub { display: block; margin-top: 4px; font: 800 11px var(--font-body, Lato, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: #a9a59b; }
.gc-card-code { font: 700 clamp(15px, 3.6vw, 19px)/1.3 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .12em; color: #fff; white-space: nowrap; }
.gc-card-code i { font-style: normal; filter: blur(5px); user-select: none; color: #cfc9b8; }
.gc-sum { margin: 0; display: grid; gap: 0; }
.gc-sum div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #f0ece3; font: 600 14px var(--font-body, Lato, sans-serif); }
.gc-sum dt { color: #6b6862; } .gc-sum dd { margin: 0; text-align: right; font-weight: 800; color: #111; min-width: 0; overflow-wrap: anywhere; }
.gc-sum .tot { border-bottom: 0; padding-top: 14px; } .gc-sum .tot dd { font: 400 26px/1 'LXGW Marker Gothic', var(--font-display), sans-serif; -webkit-text-stroke: .02em currentColor; }

.gc-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border: 0; border-radius: 16px; background: #f0c33c; color: #111; font: 800 16px var(--font-body, Lato, sans-serif); cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.gc-btn:hover { background: #f5cf5a; transform: translateY(-1px); } .gc-btn:active { transform: scale(.98); } .gc-btn:disabled { opacity: .55; cursor: default; transform: none; }
.gc-btn-ghost { background: #fff; border: 1.5px solid #111; height: 50px; }
.gc-btn-ghost:hover { background: #f6f3ee; }
.gc-pay { width: 100%; margin-top: 16px; }
.gc-link { background: none; border: 0; padding: 6px 0; font: 800 13.5px var(--font-body, Lato, sans-serif); color: #6b6862; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* the other states: after paying, and opening from the email */
.gc-panel { max-width: 640px; margin: 10px auto 30px; padding: 34px 36px; border: 1px solid #ebe6dc; border-radius: 28px; background: #fff; text-align: center; }
.gc-panel .gc-lede { margin-left: auto; margin-right: auto; }
.gc-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 14px 0 4px; }
.gc-otp { margin: 18px auto 0; max-width: 360px; text-align: left; }
.gc-otp-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gc-otp input { flex: 1 1 140px; min-width: 0; height: 54px; padding: 0 14px; border: 1.5px solid #ddd6c8; border-radius: 14px; font: 800 24px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3em; text-align: center; color: #111; }
.gc-reveal { margin-top: 10px; padding: 22px; border-radius: 20px; background: #fffaf0; border: 1.5px dashed #e0c25a; }
.gc-reveal small { display: block; font: 800 11px var(--font-body, Lato, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: #6b4e00; }
.gc-code { display: block; margin: 8px 0 4px; font: 800 clamp(22px, 5.4vw, 32px)/1.2 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .1em; color: #111; overflow-wrap: anywhere; user-select: all; }

/* redeem */
.gc-redeem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px 28px; align-items: center; margin-top: 34px; padding: 26px 30px; border-radius: 24px; background: #111; color: #fff; }
.gc-redeem h2.mk { color: #fff; } .gc-redeem .gc-help { color: rgba(255,255,255,.7); margin-bottom: 0; }
.gc-redeem-form { display: flex; gap: 10px; flex-wrap: wrap; }
.gc-redeem-form input { flex: 1 1 200px; min-width: 0; height: 54px; padding: 0 16px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font: 800 17px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.gc-redeem-form input::placeholder { color: rgba(255,255,255,.4); }
.gc-redeem .gc-msg { grid-column: 1 / -1; color: rgba(255,255,255,.85); margin: 0; } .gc-redeem .gc-msg.is-ok { color: #7be0a1; } .gc-redeem .gc-msg.is-err { color: #ff9b91; }

.gc-faq { margin-top: 34px; max-width: 760px; }
.gc-faq details { border-bottom: 1px solid #ebe6dc; padding: 14px 0; }
.gc-faq summary { cursor: pointer; font: 800 15.5px var(--font-body, Lato, sans-serif); color: #111; }
.gc-faq p { margin: 10px 0 0; font: 500 14.5px/1.6 var(--font-body, Lato, sans-serif); color: #4a4742; }

@media (max-width: 900px) {
  .gc-hero { grid-template-columns: 1fr; }
  .gc-side { position: static; }
  .gc-redeem { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 560px) {
  .gc-step { padding: 18px 16px; border-radius: 18px; }
  .gc-panel { padding: 24px 18px; border-radius: 22px; }
  .gc-chips button { min-width: 70px; }
  .gc-card { padding: 18px 20px; }
}
