/* Gift card storefront — wizard + live physical preview */
.lw-gc { --gc: #0d9488; --gc-ink: #0f172a; }
.lw-gc-hero {
  background:
    radial-gradient(900px 320px at 80% -10%, color-mix(in srgb, var(--gc) 18%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--gc) 6%, #fff) 0%, #fff 100%);
  padding: 2.25rem 1.25rem 1.25rem;
}
.lw-gc-hero__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.lw-gc-eyebrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 800; color: var(--gc); margin-bottom: .5rem;
}
.lw-gc-hero h1 {
  font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 900; color: var(--gc-ink); margin: 0 0 .55rem;
}
.lw-gc-lead { color: #64748b; margin: 0 auto; max-width: 34rem; font-size: .95rem; }

.lw-gc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  max-width: 1040px;
  margin: 0 auto 3rem;
  padding-top: 1rem;
  align-items: start;
}
@media (min-width: 900px) {
  .lw-gc-layout {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.lw-gc-preview-col { order: -1; }
@media (min-width: 900px) { .lw-gc-preview-col { order: 0; } }
.lw-gc-preview-sticky {
  position: sticky; top: 1rem;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px;
  padding: 1rem 1.1rem 1.15rem;
}
.lw-gc-preview-label {
  margin: 0 0 .65rem; font-size: .72rem; font-weight: 800; color: #64748b;
  letter-spacing: .04em; text-transform: uppercase;
}
.lw-gc-preview-hint {
  margin: .75rem 0 0; font-size: .78rem; color: #64748b; text-align: center; font-weight: 600;
}
.lw-gc-preview-scene { perspective: 1200px; width: 100%; max-width: 340px; margin: 0 auto; }

.lw-gc-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  box-shadow:
    0 2px 0 color-mix(in srgb, var(--gc) 22%, transparent),
    0 12px 36px rgba(15, 23, 42, .22),
    inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
@media (hover: hover) {
  .lw-gc-preview:hover {
    transform: perspective(1200px) rotateX(3deg) rotateY(-4deg) translateY(-3px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .28);
  }
}
.lw-gc-preview__overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.1) 0%, transparent 42%, rgba(0,0,0,.22) 100%);
}
.lw-gc-preview__shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.06) 40%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.06) 60%, transparent 80%);
  animation: lwGcPreviewShine 5s ease-in-out infinite;
}
@keyframes lwGcPreviewShine {
  0%, 45% { transform: translateX(-120%) skewX(-12deg); }
  65%, 100% { transform: translateX(200%) skewX(-12deg); }
}
.lw-gc-preview__deco { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.lw-gc-preview__deco--1 { width: 160px; height: 160px; top: -50px; left: -40px; background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 70%); }
.lw-gc-preview__deco--2 { width: 110px; height: 110px; bottom: -28px; right: 16px; background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%); }

.lw-gc-preview__top {
  position: absolute; z-index: 4; top: 14px; right: 16px; left: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
}
.lw-gc-preview__brand { display: flex; align-items: center; min-width: 0; }
.lw-gc-preview__logo {
  max-height: 28px; max-width: 110px; width: auto; height: auto;
  object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
  background: rgba(255,255,255,.12); border-radius: 8px; padding: 3px 6px;
}
.lw-gc-preview__brand-text {
  font-size: .72rem; font-weight: 800; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9rem;
}
.lw-gc-preview__type {
  font-size: .52rem; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.55); flex-shrink: 0;
}
.lw-gc-preview__chip {
  position: absolute; z-index: 4; top: 48px; right: 18px;
  width: 34px; height: 26px; border-radius: 5px; overflow: hidden;
  background: linear-gradient(135deg, #d4a844 0%, #f0d080 40%, #c9a060 70%, #a07030 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.3);
  display: flex; flex-direction: column; justify-content: space-evenly; padding: 4px 5px;
}
.lw-gc-preview__chip span { height: 1px; background: rgba(0,0,0,.28); width: 100%; }
.lw-gc-preview__pattern {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
}
.lw-gc-preview__amount {
  position: absolute; z-index: 4; bottom: 40px; right: 16px;
  display: flex; align-items: baseline; gap: 5px; direction: ltr;
  font-size: 1.45rem; font-weight: 900; color: #fff; line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.lw-gc-preview__amount small { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.7); }
.lw-gc-preview__bottom {
  position: absolute; z-index: 4; bottom: 12px; right: 16px; left: 16px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem;
}
.lw-gc-preview__to { font-size: .68rem; color: rgba(255,255,255,.72); font-weight: 600; min-height: 1em; }
.lw-gc-preview__tpl { font-size: .62rem; color: rgba(255,255,255,.45); font-weight: 600; }

.lw-gc-wizard { min-width: 0; }
.lw-gc-progress {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: 1rem;
}
.lw-gc-progress__item {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  border: 1px solid #e2e8f0; background: #fff; border-radius: 14px;
  padding: .55rem .35rem; cursor: pointer; font-family: inherit; color: #64748b;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.lw-gc-progress__item b {
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f1f5f9; font-size: .72rem; font-weight: 900;
}
.lw-gc-progress__item span { font-size: .68rem; font-weight: 800; }
.lw-gc-progress__item.is-active {
  border-color: var(--gc); color: var(--gc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc) 14%, transparent);
}
.lw-gc-progress__item.is-active b { background: var(--gc); color: #fff; }
.lw-gc-progress__item.is-done { border-color: color-mix(in srgb, var(--gc) 35%, #e2e8f0); color: var(--gc); }
.lw-gc-progress__item.is-done b { background: color-mix(in srgb, var(--gc) 16%, #fff); color: var(--gc); }

.lw-gc-step {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
  padding: 1.15rem 1.25rem; margin-bottom: 1rem;
}
.lw-gc-step[hidden] { display: none !important; }
.lw-gc-step h2 {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1rem; font-weight: 800; margin: 0 0 1rem;
}
.lw-gc-step h2 span {
  width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--gc) 14%, #fff);
  color: var(--gc); display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 900;
}

.lw-gc-templates {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .7rem;
}
.lw-gc-tpl { cursor: pointer; border-radius: 16px; overflow: hidden; border: 2px solid transparent; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lw-gc-tpl:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,23,42,.16); }
.lw-gc-tpl.is-active { border-color: var(--gc); transform: translateY(-3px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc) 14%, transparent); }
.lw-gc-tpl__face {
  aspect-ratio: 1.586 / 1; min-height: 0; color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden;
  align-items: flex-start; justify-content: flex-end; gap: .2rem; padding: .7rem .75rem; text-align: right;
}
.lw-gc-tpl__face::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg,transparent 18%,rgba(255,255,255,.18) 48%,transparent 76%);
  transform: translateX(-65%); transition: transform .55s ease;
}
.lw-gc-tpl:hover .lw-gc-tpl__face::after { transform: translateX(65%); }
.lw-gc-tpl__pattern { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7; }
.lw-gc-tpl__foil {
  position: absolute; inset: auto 0 0 0; height: 42%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.28));
}
.lw-gc-tpl__orb {
  position: absolute; width: 72px; height: 72px; border-radius: 50%; top: -28px; left: -16px; z-index: 0;
  background: rgba(255,255,255,.14); box-shadow: 46px 70px 0 -24px rgba(255,255,255,.08);
}
.lw-gc-tpl__face strong {
  font-size: .76rem; font-weight: 800; position: relative; z-index: 3;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* Per-design texture (picker + live preview) */
.lw-gc-tpl[data-design="classic-teal"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="classic-teal"] .lw-gc-preview__pattern {
  background:
    repeating-linear-gradient(-32deg, transparent 0 10px, rgba(255,255,255,.05) 10px 11px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.2), transparent 45%);
}
.lw-gc-tpl[data-design="ocean-blue"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="ocean-blue"] .lw-gc-preview__pattern {
  background:
    radial-gradient(120% 60% at 10% 110%, rgba(125,211,252,.35), transparent 55%),
    radial-gradient(90% 50% at 90% 0%, rgba(255,255,255,.18), transparent 50%),
    repeating-radial-gradient(circle at 50% 120%, transparent 0 14px, rgba(255,255,255,.05) 14px 15px);
}
.lw-gc-tpl[data-design="emerald"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="emerald"] .lw-gc-preview__pattern {
  background:
    radial-gradient(circle at 20% 30%, rgba(167,243,208,.35) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,.25) 0 1.5px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(167,243,208,.3) 0 2px, transparent 3px),
    linear-gradient(160deg, transparent 40%, rgba(6,78,59,.25));
  background-size: 48px 48px, 36px 36px, 56px 56px, auto;
}
.lw-gc-tpl[data-design="royal-violet"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="royal-violet"] .lw-gc-preview__pattern {
  background:
    linear-gradient(45deg, transparent 46%, rgba(255,255,255,.08) 49%, transparent 52%),
    linear-gradient(-45deg, transparent 46%, rgba(255,255,255,.06) 49%, transparent 52%);
  background-size: 22px 22px;
}
.lw-gc-tpl[data-design="warm-gold"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="warm-gold"] .lw-gc-preview__pattern {
  background:
    repeating-linear-gradient(115deg, transparent 0 8px, rgba(255,236,179,.14) 8px 9px),
    radial-gradient(circle at 85% 15%, rgba(254,243,199,.35), transparent 40%);
}
.lw-gc-tpl[data-design="velvet-rose"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="velvet-rose"] .lw-gc-preview__pattern {
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(251,113,133,.35), transparent 60%),
    radial-gradient(ellipse 60% 45% at 90% 80%, rgba(255,255,255,.12), transparent 55%);
}
.lw-gc-tpl[data-design="golden-night"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="golden-night"] .lw-gc-preview__pattern {
  background:
    radial-gradient(circle at 18% 28%, #fbbf24 0 1.2px, transparent 2px),
    radial-gradient(circle at 72% 22%, #fde68a 0 1px, transparent 2px),
    radial-gradient(circle at 55% 68%, #fbbf24 0 1.1px, transparent 2px),
    radial-gradient(circle at 30% 78%, rgba(253,230,138,.8) 0 .8px, transparent 2px),
    linear-gradient(135deg, transparent 60%, rgba(161,98,7,.35));
}
.lw-gc-tpl[data-design="golden-night"] .lw-gc-tpl__face,
.lw-gc-tpl[data-design="midnight"] .lw-gc-tpl__face { box-shadow: inset 0 0 0 1px rgba(245,202,87,.22); }
.lw-gc-tpl[data-design="aurora"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="aurora"] .lw-gc-preview__pattern {
  background:
    linear-gradient(105deg, transparent 10%, rgba(52,211,153,.22) 30%, rgba(6,182,212,.2) 48%, rgba(124,58,237,.18) 68%, transparent 88%),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.15), transparent 40%);
}
.lw-gc-tpl[data-design="coral-sunset"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="coral-sunset"] .lw-gc-preview__pattern {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(251,146,60,.45), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(244,63,94,.3), transparent 50%);
}
.lw-gc-tpl[data-design="midnight"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="midnight"] .lw-gc-preview__pattern {
  background:
    radial-gradient(circle at 22% 30%, #93c5fd 0 1px, transparent 2px),
    radial-gradient(circle at 68% 24%, #fff 0 .8px, transparent 2px),
    radial-gradient(circle at 48% 72%, #60a5fa 0 1.1px, transparent 2px),
    radial-gradient(circle at 82% 62%, rgba(255,255,255,.7) 0 .7px, transparent 2px),
    radial-gradient(ellipse at 50% 120%, rgba(37,99,235,.4), transparent 55%);
}
.lw-gc-tpl[data-design="pearl"] .lw-gc-tpl__face { color: #0f172a; }
.lw-gc-tpl[data-design="pearl"] .lw-gc-tpl__face strong { text-shadow: none; }
.lw-gc-tpl[data-design="pearl"] .lw-gc-tpl__pattern,
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__pattern {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(148,163,184,.35), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.2), transparent 50%);
}
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__amount,
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__type,
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__to,
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__tpl,
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__brand-text { color: #0f172a; text-shadow: none; }
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__amount small { color: rgba(15,23,42,.55); }
.lw-gc-preview[data-design="pearl"] .lw-gc-preview__logo { background: rgba(15,23,42,.06); }

.lw-gc-presets { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .85rem; }
.lw-gc-chip {
  border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 999px;
  padding: .4rem .85rem; font-weight: 800; font-size: .8rem; cursor: pointer; font-family: inherit;
}
.lw-gc-chip.is-active { background: color-mix(in srgb, var(--gc) 12%, #fff); border-color: var(--gc); color: var(--gc); }

.lw-gc-field { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.lw-gc-field span { font-size: .78rem; font-weight: 700; color: #475569; }
.lw-gc-field input, .lw-gc-field textarea {
  border: 1px solid #e2e8f0; border-radius: 12px; padding: .65rem .8rem; font-family: inherit;
}
.lw-gc-field input:focus, .lw-gc-field textarea:focus {
  outline: none; border-color: var(--gc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc) 14%, transparent);
}

.lw-gc-summary {
  background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px;
  padding: .85rem 1rem; margin-bottom: 1rem; font-size: .88rem; line-height: 1.8; color: #334155;
}
.lw-gc-summary strong { color: #0f172a; }

.lw-gc-pay-blocked {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #fff7ed; border: 1px solid #fdba74; border-radius: 14px;
  padding: 1rem 1.05rem; color: #9a3412; margin-bottom: .5rem;
}
.lw-gc-pay-blocked i { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.lw-gc-pay-blocked strong { display: block; margin-bottom: .3rem; }
.lw-gc-pay-blocked p { margin: 0; font-size: .85rem; line-height: 1.65; color: #c2410c; }

.lw-gc-login-hint {
  display: flex; align-items: flex-start; gap: .45rem;
  margin: .75rem 0 0; padding: .7rem .85rem;
  background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px;
  font-size: .8rem; line-height: 1.65; color: #475569;
}
.lw-gc-login-hint i { color: var(--gc); margin-top: .15rem; flex-shrink: 0; }

.lw-gc-pay { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.lw-gc-pay-opt {
  border: 1px solid #e2e8f0; border-radius: 12px; padding: .65rem .9rem;
  font-weight: 700; font-size: .85rem; cursor: pointer; background: #fff;
}
.lw-gc-pay-opt:has(input:checked) {
  border-color: var(--gc); background: color-mix(in srgb, var(--gc) 8%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc) 12%, transparent);
}

.lw-gc-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  justify-content: space-between;
}
.lw-gc-nav__back, .lw-gc-nav__next {
  border-radius: 999px; padding: .7rem 1.25rem; font-weight: 800; font-family: inherit; cursor: pointer;
}
.lw-gc-nav__back {
  border: 1px solid #e2e8f0; background: #fff; color: #475569;
}
.lw-gc-nav__next, .lw-gc-submit {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gc); color: #fff; border: 0; border-radius: 999px;
  padding: .75rem 1.35rem; font-weight: 800; font-family: inherit;
  justify-content: center; margin-right: auto;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--gc) 28%, transparent);
}
.lw-gc-submit:disabled, .lw-gc-nav__next:disabled { opacity: .5; cursor: not-allowed; }
.lw-gc-back {
  color: #64748b; font-size: .85rem; text-decoration: none; font-weight: 600;
}
.lw-gc-back:hover { color: var(--gc); }
@media (max-width: 520px) {
  .lw-gc-progress__item span { display: none; }
  .lw-gc-preview__amount { font-size: 1.25rem; }
}

/* ============ Reveal page (bianca-style) ============ */
body.lw-gift-reveal-page { background: #08060c; }
body.lw-gift-reveal-page #site-footer { display: none; }

.lw-gcr {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}
.lw-gcr__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--gcr-accent-rgb, 201,160,96), .28) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 85% 90%, rgba(var(--gcr-accent-rgb, 201,160,96), .10) 0%, transparent 70%),
    #08060c;
  animation: lwGcrBgPulse 8s ease-in-out infinite alternate;
}
@keyframes lwGcrBgPulse { from { opacity: .9; } to { opacity: 1; } }

.lw-gcr__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 44px 22px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.lw-gcr__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gcr-accent, #c9a060);
  margin-bottom: -6px;
}
.lw-gcr__brand i { font-size: 1.2rem; }
.lw-gcr__brand-logo {
  max-height: 28px; max-width: 96px; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.35));
}

/* --- The card --- */
.lw-gcr__scene { perspective: 1200px; width: 100%; max-width: 360px; }
.lw-gcr__card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: default;
  animation: lwGcrCardReveal .8s cubic-bezier(.16, 1, .3, 1) both;
  transition: transform .4s ease, box-shadow .4s ease;
  box-shadow:
    0 2px 0 rgba(var(--gcr-accent-rgb, 201,160,96), .18),
    0 8px 32px rgba(0,0,0,.55),
    0 32px 80px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.07);
}
@keyframes lwGcrCardReveal {
  from { opacity: 0; transform: perspective(1200px) rotateY(-20deg) translateY(30px) scale(.96); }
  to   { opacity: 1; transform: perspective(1200px) rotateY(0) translateY(0) scale(1); }
}
.lw-gcr__card-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.08) 0%, transparent 40%, rgba(0,0,0,.25) 100%);
}
.lw-gcr__card-shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.05) 40%, rgba(255,255,255,.13) 50%, rgba(255,255,255,.05) 60%, transparent 80%);
  animation: lwGcrShine 4s ease-in-out infinite;
}
@keyframes lwGcrShine {
  0%, 40% { transform: translateX(-120%) skewX(-12deg); }
  60%, 100% { transform: translateX(200%) skewX(-12deg); }
}
.lw-gcr__deco { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.lw-gcr__deco--1 { width: 180px; height: 180px; top: -60px; right: -60px; background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%); }
.lw-gcr__deco--2 { width: 120px; height: 120px; bottom: -30px; left: 20px; background: radial-gradient(circle, rgba(255,255,255,.09) 0%, transparent 70%); }

.lw-gcr__card-top {
  position: absolute; z-index: 4; top: 18px; right: 22px; left: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
}
.lw-gcr__card-brand { display: flex; align-items: center; min-width: 0; }
.lw-gcr__card-logo {
  max-height: 30px; max-width: 120px; width: auto; height: auto; object-fit: contain;
  background: rgba(255,255,255,.12); border-radius: 8px; padding: 3px 7px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
}
.lw-gcr__card-brand-text {
  font-size: .72rem; font-weight: 800; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 10rem;
}
.lw-gcr__card-type {
  font-size: .55rem; font-weight: 700; letter-spacing: .18em; color: rgba(255,255,255,.5); flex-shrink: 0;
}
.lw-gcr__chip {
  position: absolute; z-index: 4; top: 50px; right: 24px;
  width: 36px; height: 28px; border-radius: 5px; overflow: hidden;
  background: linear-gradient(135deg, #d4a844 0%, #f0d080 40%, #c9a060 70%, #a07030 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3);
  display: flex; flex-direction: column; justify-content: space-evenly; padding: 5px 6px;
}
.lw-gcr__chip span { height: 1px; background: rgba(0,0,0,.28); width: 100%; }
.lw-gcr__card-amount {
  position: absolute; z-index: 4; bottom: 42px; right: 22px;
  display: flex; align-items: baseline; gap: 6px; direction: ltr;
  font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.lw-gcr__card-amount small { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.65); }
.lw-gcr__card-bottom {
  position: absolute; z-index: 4; bottom: 16px; right: 22px; left: 22px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.lw-gcr__card-to { font-size: .68rem; color: rgba(255,255,255,.6); font-weight: 500; }
.lw-gcr__card-code { font-size: .55rem; letter-spacing: .15em; color: rgba(255,255,255,.35); font-family: ui-monospace, 'Courier New', monospace; }

/* --- Message --- */
.lw-gcr__message {
  width: 100%; display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 17px; border-radius: 12px;
  background: rgba(var(--gcr-accent-rgb, 201,160,96), .07);
  border: 1px solid rgba(var(--gcr-accent-rgb, 201,160,96), .18);
  color: rgba(255,255,255,.75); font-size: .85rem; font-style: italic; line-height: 1.7;
}
.lw-gcr__message i { flex-shrink: 0; color: var(--gcr-accent, #c9a060); }

/* --- Code --- */
.lw-gcr__code-section { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lw-gcr__code-hint { margin: 0; font-size: .75rem; color: rgba(255,255,255,.42); text-align: center; }
.lw-gcr__code-box {
  display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box;
  padding: 13px 18px; border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(var(--gcr-accent-rgb, 201,160,96), .32);
}
.lw-gcr__code {
  flex: 1; text-align: center; direction: ltr; user-select: all;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 1.1rem; font-weight: 700; letter-spacing: .14em;
  color: var(--gcr-accent, #c9a060);
}
.lw-gcr__copy {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 8px 14px; border-radius: 9px; cursor: pointer; white-space: nowrap;
  border: 1px solid rgba(var(--gcr-accent-rgb, 201,160,96), .38);
  background: rgba(var(--gcr-accent-rgb, 201,160,96), .09);
  color: var(--gcr-accent, #c9a060);
  font-size: .75rem; font-weight: 700; font-family: inherit;
  transition: background .15s, transform .1s;
}
.lw-gcr__copy:hover { background: rgba(var(--gcr-accent-rgb, 201,160,96), .2); transform: scale(1.04); }
.lw-gcr__copy.is-copied { background: rgba(46,125,50,.22); border-color: rgba(46,125,50,.5); color: #81c784; }
.lw-gcr__expiry { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: rgba(255,255,255,.38); }

/* --- CTA / status --- */
.lw-gcr__cta-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lw-gcr__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 15px 26px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(135deg, var(--gcr-accent, #c9a060) 0%, rgba(var(--gcr-accent-rgb, 201,160,96), .75) 100%);
  color: #14100a; font-size: .95rem; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 32px rgba(var(--gcr-accent-rgb, 201,160,96), .3), 0 2px 8px rgba(0,0,0,.4);
  transition: transform .15s, box-shadow .15s;
}
.lw-gcr__cta:hover {
  transform: translateY(-2px); color: #14100a;
  box-shadow: 0 12px 40px rgba(var(--gcr-accent-rgb, 201,160,96), .4), 0 4px 12px rgba(0,0,0,.5);
}
.lw-gcr__login-hint { margin: 0; font-size: .75rem; color: rgba(255,255,255,.38); text-align: center; }
.lw-gcr__status {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 12px 20px; border-radius: 12px; font-size: .88rem; font-weight: 600;
}
.lw-gcr__status--used { background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.1); }
.lw-gcr__status--bad { background: rgba(220,38,38,.1); color: rgba(248,113,113,.9); border: 1px solid rgba(220,38,38,.2); }

.lw-gcr__foot { font-size: .75rem; color: rgba(255,255,255,.22); margin-top: 6px; display: flex; gap: 8px; }
.lw-gcr__foot a { color: rgba(var(--gcr-accent-rgb, 201,160,96), .55); text-decoration: none; }
.lw-gcr__foot a:hover { color: var(--gcr-accent, #c9a060); }

@media (min-width: 992px) {
  .lw-gcr__card:hover {
    transform: perspective(1200px) rotateX(4deg) rotateY(-4deg) translateY(-4px);
  }
}
@media (max-width: 420px) {
  .lw-gcr__inner { padding: 32px 16px 40px; gap: 18px; }
  .lw-gcr__card-amount { font-size: 1.45rem; }
  .lw-gcr__code { font-size: .95rem; letter-spacing: .1em; }
  .lw-gcr__copy { padding: 7px 11px; }
}

/* Account redeem block */
.lw-gc-redeem {
  border: 1px solid #f0abfc; background: #fdf4ff; border-radius: 16px;
  padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.lw-gc-redeem h3 {
  font-size: .95rem; font-weight: 800; margin: 0 0 .65rem; color: #86198e;
  display: flex; align-items: center; gap: .4rem;
}
.lw-gc-redeem__row { display: flex; gap: .5rem; }
.lw-gc-redeem__row input {
  flex: 1; border: 1px solid #e9d5ff; border-radius: 10px; padding: .55rem .7rem;
  font-family: ui-monospace, monospace; direction: ltr; text-align: left;
}
.lw-gc-redeem__row button {
  border: 0; background: #c026d3; color: #fff; border-radius: 10px;
  padding: .55rem .95rem; font-weight: 800; font-family: inherit; white-space: nowrap;
}
.lw-gc-redeem__msg { font-size: .78rem; margin-top: .5rem; min-height: 1.1em; }
.lw-gc-redeem__msg.ok { color: #047857; }
.lw-gc-redeem__msg.err { color: #b91c1c; }
.lw-gc-owned { margin-top: .85rem; }
.lw-gc-owned-item {
  display: flex; justify-content: space-between; gap: .5rem; align-items: center;
  padding: .45rem 0; border-top: 1px dashed #e9d5ff; font-size: .78rem;
}
.lw-gc-owned-item code { direction: ltr; font-weight: 700; }
