/* ===== Gift page (Prezent, epic #1582) — generated pages: tools/website/build-gift.mjs =====
   Tokens and chrome come from /site.css. Design: docs/design/prezent-2026-11 (Christmas in
   Amamable colours: brand terracotta, cream, Santa-hat red as the only accent). */

.gift { padding-top: 92px; --santa: #C83A35; --card-1: #CF8A5C; --card-2: #C67C4E; --card-3: #9A5230; --ribbon: #FBEFE4; --script: 'Caveat', 'Segoe Script', cursive; padding-bottom: 2rem; }
.gift h1, .gift h2, .gift h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; color: var(--ink); }

/* ---------- hero ---------- */
.ghero { position: relative; margin: 0 clamp(.75rem, 3vw, 2.5rem); border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(120deg, #FBEFE4 0%, #F6E6DA 48%, #EBD7C6 100%); display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; }
.gsnow { position: absolute; inset: 0; pointer-events: none; opacity: .9; background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.95) 0 2px, transparent 3px), radial-gradient(circle at 70% 10%, rgba(255,255,255,.85) 0 1.5px, transparent 2.5px), radial-gradient(circle at 40% 60%, rgba(255,255,255,.8) 0 2px, transparent 3px), radial-gradient(circle at 85% 75%, rgba(255,255,255,.85) 0 1.5px, transparent 2.5px), radial-gradient(circle at 25% 85%, rgba(255,255,255,.75) 0 1.5px, transparent 2.5px); background-size: 220px 180px; }
.ghero__copy { position: relative; z-index: 2; padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem clamp(1.5rem, 5vw, 4rem); }
.gbadge { display: inline-flex; align-items: center; gap: .4rem; background: #FCE6E1; color: #A3322E; border-radius: 999px; padding: .4rem .85rem; font-weight: 700; font-size: .82rem; }
.ghero__title { font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.03; margin: 1.1rem 0 1rem; }
.ghero__title em { font-style: italic; color: var(--brand-dark); }
.ghero__lead { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
.ghero__ctas { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.ghero__hand { font: 700 1.55rem var(--script); color: var(--brand-dark); transform: rotate(-4deg); }
.gproof { list-style: none; display: flex; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); }
.gproof strong { display: block; font-size: 1.3rem; color: var(--ink); }
.ghero__stage { position: relative; min-height: 420px; }
.gphoto { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--sh-2); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gphoto--a { right: 6%; top: 8%; width: 46%; aspect-ratio: 4 / 3; }
.gphoto--b { right: 40%; bottom: 6%; width: 30%; aspect-ratio: 4 / 3; }
.ghero__stage .gcard { position: absolute; left: 6%; top: 28%; width: min(420px, 72%); transform: rotate(-5deg); box-shadow: 0 30px 70px rgba(122, 62, 31, .45); }
.ghero__stage .gcard .gcard__santa { display: none; }
.ghero__santa { position: absolute; left: -1%; bottom: 4%; width: clamp(110px, 13vw, 180px); height: auto; transform: rotate(-10deg); filter: drop-shadow(0 18px 30px rgba(90, 46, 20, .35)); z-index: 3; }
.gtagline { position: absolute; right: 6%; bottom: 8%; background: #fff; border-radius: 18px; padding: .8rem 1rem; box-shadow: var(--sh-2); font-size: .85rem; color: var(--ink-2); transform: rotate(3deg); z-index: 3; }
.gtagline strong { display: block; color: var(--ink); font-size: .95rem; }

.gsoon { max-width: 60rem; margin: 1.5rem auto 0; padding: .9rem 1.2rem; border-radius: var(--r); background: var(--brand-tint); border: 1px dashed var(--brand); color: var(--brand-dark); text-align: center; font-size: .95rem; }

/* ---------- sections ---------- */
.gsec { max-width: 72rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) 0; }
.gh2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.75rem); text-align: center; line-height: 1.1; }
.gh2--left { text-align: left; }
.glead { text-align: center; color: var(--ink-2); font-size: 1.05rem; margin: .6rem auto 2.2rem; max-width: 40rem; }

/* plans */
.gplans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.gplan { position: relative; display: flex; flex-direction: column; gap: .35rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.gplan input { position: absolute; opacity: 0; pointer-events: none; }
.gplan.is-on { border: 2px solid var(--brand); box-shadow: 0 18px 50px rgba(198, 124, 78, .22); transform: translateY(-4px); }
.gplan:focus-within { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.gplan__tag { position: absolute; top: -.75rem; left: 1.4rem; background: var(--brand); color: #fff; font-weight: 800; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 8px; }
.gplan__name { font-family: var(--serif); font-size: 1.7rem; }
.gplan__desc { color: var(--ink-2); font-size: .95rem; }
.gplan__price { margin-top: .6rem; font-size: .82rem; color: var(--ink-3); }
.gplan__price.is-live { margin-top: auto; padding-top: .7rem; font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }

/* builder */
.gbuilder { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.2rem, 3vw, 2.5rem); box-shadow: var(--sh-1); align-items: start; }
.gform fieldset { border: 0; margin: 0 0 1.4rem; }
.gform legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; }
.gthemes { display: flex; gap: .7rem; flex-wrap: wrap; }
.gtheme { width: 5.4rem; text-align: center; font-size: .78rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.gtheme input { position: absolute; opacity: 0; pointer-events: none; }
.gtheme__sw { display: flex; align-items: center; justify-content: center; height: 4rem; border-radius: 14px; margin-bottom: .35rem; font-size: 1.5rem; }
.gtheme.is-on { color: var(--ink); }
.gtheme.is-on .gtheme__sw { outline: 3px solid var(--brand); outline-offset: 2px; }
.gtheme:focus-within .gtheme__sw { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.grow { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.grow--zip { grid-template-columns: 9rem 1fr; }
.gfield { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--ink-3); position: relative; min-width: 0; }
.gfield input, .gfield textarea { font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .75rem .9rem; width: 100%; }
.gfield textarea { resize: vertical; min-height: 5.5rem; line-height: 1.45; }
/* iOS Safari gives date pickers an intrinsic width and centred text, so they ran out of the card */
.gfield input[type="date"], .gfield input[type="datetime-local"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 3.1rem; text-align: left; }
.gfield input::-webkit-date-and-time-value { text-align: left; }
.gfield input:focus, .gfield textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.gcount { position: absolute; right: .7rem; bottom: .55rem; font-size: .72rem; color: var(--ink-3); }
.gopts { display: flex; flex-direction: column; gap: .55rem; margin-bottom: .9rem; }
.gopt { display: flex; gap: .8rem; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem .95rem; cursor: pointer; }
.gopt input { position: absolute; opacity: 0; pointer-events: none; }
.gopt strong { display: block; font-size: .98rem; }
.gopt small { display: block; color: var(--ink-2); font-size: .85rem; margin-top: .1rem; }
.gopt__dot { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2px solid #D5CCC4; flex-shrink: 0; }
.gopt.is-on { border: 2px solid var(--brand); background: var(--brand-tint); }
.gopt.is-on .gopt__dot { border: 6px solid var(--brand); }
.gopt:focus-within { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.ghandmade { background: var(--brand-tint); border: 1px dashed var(--brand-dark); color: var(--brand-dark); border-radius: 12px; padding: .75rem .9rem; font-size: .9rem; line-height: 1.5; margin-bottom: .8rem; }
.gnote { font-size: .85rem; color: var(--ink-2); line-height: 1.5; }
.gpay[disabled] { opacity: .55; cursor: not-allowed; }
.gpaynote { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: .6rem; }

/* preview */
.gpreview { background: #FDF9F4; border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.6rem); position: sticky; top: 6rem; }
.gpreview__label { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.gpreview__live { color: var(--brand-dark); }
.gpreview__meta { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.gpreview__meta p { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; font-size: .85rem; color: var(--ink-2); }
.gpreview__meta strong { display: block; color: var(--ink); font-size: .9rem; }

/* ---------- the gift card ---------- */
.gcard { position: relative; overflow: hidden; border-radius: 22px; color: #fff; padding: 1.4rem 1.5rem 1.5rem; min-height: 15rem; background: linear-gradient(150deg, var(--card-1) 0%, var(--card-2) 40%, var(--card-3) 100%); transition: background .3s; }
.gcard::before { content: ''; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 12px 12px, #fff 2px, transparent 2.5px); background-size: 28px 28px; }
.gcard--big { min-height: 19rem; padding: 1.7rem 1.8rem; }
.gcard__ribbon-v { position: absolute; top: 0; bottom: 0; right: 18%; width: 18px; background: var(--ribbon); }
.gcard__ribbon-h { position: absolute; left: 0; right: 0; top: 4.6rem; height: 18px; background: var(--ribbon); }
.gcard__bow { position: absolute; right: calc(18% - 39px); top: 2.6rem; width: 96px; height: 84px; }
.gcard__santa { position: absolute; right: 4%; bottom: 5%; width: 27%; max-width: 132px; height: auto; transform: rotate(8deg); filter: drop-shadow(0 8px 14px rgba(70, 30, 10, .35)); z-index: 1; }
.gcard--urodziny .gcard__santa, .gcard--zwykla .gcard__santa { display: none; }
.gcard__kicker { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .92; max-width: 64%; }
.gcard__to { position: relative; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1; margin-top: 4.2rem; }
.gcard__msg { position: relative; font: 700 clamp(1.35rem, 2.2vw, 1.7rem)/1.12 var(--script); color: #FBEFE4; margin-top: .55rem; max-width: 64%; overflow-wrap: anywhere; }
.gcard__from { position: relative; margin-top: .6rem; font-weight: 600; font-size: .92rem; opacity: .92; }
.gcard--swieta { background: linear-gradient(150deg, #CF8A5C 0%, #C67C4E 40%, #9A5230 100%); }
.gcard--mikolajki { background: linear-gradient(150deg, #C94646 0%, #8F2E3A 100%); }
.gcard--urodziny { background: linear-gradient(150deg, #D89166 0%, #B84A62 100%); }
.gcard--zwykla { background: linear-gradient(150deg, #C67C4E 0%, #A85D35 100%); }

/* ---------- handmade, steps, faq, finale ---------- */
.ghandmade-box { display: flex; gap: 1.6rem; align-items: center; background: var(--brand-tint); border: 1px solid var(--brand-soft); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.4rem); }
.ghandmade-box img { width: 7.5rem; height: auto; flex-shrink: 0; transform: rotate(-6deg); filter: drop-shadow(0 10px 18px rgba(90, 46, 20, .3)); }
.ghandmade-box p { color: var(--ink-2); line-height: 1.6; margin-top: .6rem; }
/* link from the consumer page to the business gift page */
.gbizlink { max-width: 60rem; margin: 2rem auto 0; padding: 0 1.2rem; text-align: center; color: var(--ink-2); }
.gbizlink a { font-weight: 700; color: var(--brand-dark); }
.gsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gstep { background: #FDF9F4; border-radius: var(--r-lg); padding: 1.6rem; }
.gstep__n { display: inline-flex; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; }
.gstep h3 { font-size: 1.3rem; margin: .9rem 0 .4rem; }
.gstep p { color: var(--ink-2); line-height: 1.55; }
.gsec--faq { max-width: 52rem; }
.gsec--faq .gh2 { margin-bottom: 1.6rem; }
.gift .faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: .7rem; }
.gift .faq-q { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.gift .faq-q::-webkit-details-marker { display: none; }
.gift .faq-q::after { content: '+'; color: var(--brand-dark); font-weight: 800; }
.gift .faq-item[open] .faq-q::after { content: '−'; }
.gift .faq-a { color: var(--ink-2); line-height: 1.6; margin-top: .6rem; }
.gfinale { max-width: 72rem; margin: clamp(3rem, 7vw, 5rem) auto 0; border-radius: var(--r-xl); background: #8E4A26; color: #fff; padding: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.gfinale h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw + .8rem, 2.3rem); }
.gfinale p { opacity: .82; margin-top: .4rem; }
.gfinale__btn { background: #FBEFE4; color: #7A3E1F; }
.gfinale__btn:hover { background: #fff; }

/* ---------- at a glance (facts an answer engine can quote) ---------- */
.gfacts { max-width: 60rem; }
.gfacts__lead { font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); text-align: center; margin: .8rem auto 1.8rem; max-width: 46rem; }
.gfacts__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.gfacts__list div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .95rem 1.1rem; }
.gfacts__list dt { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.gfacts__list dd { margin: .3rem 0 0; color: var(--ink); line-height: 1.5; }

/* ---------- who to give it to + gift guides ---------- */
.gwho__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gwho__item { background: #FDF9F4; border-radius: var(--r-lg); padding: 1.4rem 1.3rem; }
.gwho__emoji { font-size: 1.9rem; }
.gwho__item h3 { font-size: 1.18rem; margin: .6rem 0 .35rem; }
.gwho__item p { color: var(--ink-2); line-height: 1.5; font-size: .95rem; }
.gguides { margin-top: 1.4rem; border: 1px dashed var(--brand-soft); border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.gguides__title { font-weight: 700; margin-bottom: .45rem; }
.gguides ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.gguides a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.gguides a:hover { text-decoration: underline; }

/* ---------- phones ---------- */
@media (max-width: 1100px) {
    .gplans, .gwho__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .gift { padding-top: 80px; }
    .ghero { grid-template-columns: 1fr; min-height: 0; }
    .ghero__copy { padding: 1.6rem 1.2rem 0; }
    .gproof { gap: .8rem; margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); font-size: .74rem; }
    .gproof strong { font-size: 1rem; }
    .ghero__ctas { margin-top: 1.2rem; }
    .ghero__stage { min-height: 340px; margin-top: 1rem; }
    .ghero__stage .gcard { left: 8%; top: 18%; width: 78%; }
    .gphoto--a { width: 48%; top: 0; }
    .gphoto--b { display: none; }
    .ghero__santa { left: 2%; bottom: 2%; }
    .gsteps { grid-template-columns: 1fr; }
    .gplan.is-on { transform: none; }
    .gbuilder { grid-template-columns: 1fr; }
    .gpreview { position: static; order: -1; }
    .gfinale { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .grow, .grow--zip, .gpreview__meta, .gfacts__list, .gwho__grid { grid-template-columns: 1fr; }
    .gplans { grid-template-columns: 1fr 1fr; gap: .8rem; }
    .gplan { padding: 1.4rem 1rem 1.2rem; }
    .gplan__tag { left: .7rem; right: .7rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .58rem; letter-spacing: .04em; }
    .gplan__name { font-size: 1.4rem; }
    .ghandmade-box { flex-direction: column; align-items: flex-start; }
    .gcard__msg { max-width: 72%; }
}

/* ---------- checkout (G4/G13): designs, shipping, buyer, total, result ---------- */
.gsub { font-weight: 700; font-size: .92rem; margin: 1rem 0 .55rem; }
.gdesigns { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .7rem; }
.gdesign { position: relative; display: flex; flex-direction: column; gap: .35rem; border: 1.5px solid var(--line); border-radius: 14px; padding: .45rem .45rem .6rem; background: var(--surface); cursor: pointer; font-size: .82rem; font-weight: 600; }
.gdesign input { position: absolute; opacity: 0; pointer-events: none; }
.gdesign img, .gdesign .gdesign__ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 9px; background: #F7F1E6; display: flex; align-items: center; justify-content: center; }
.gdesign .gdesign__ph img { width: 46%; height: auto; aspect-ratio: 1; background: none; }
.gdesign.is-on { border: 2px solid var(--brand); background: var(--brand-tint); }
.gdesign.is-out { opacity: .5; cursor: not-allowed; }
.gdesign small { color: var(--danger); font-weight: 700; }
.gopts--row { flex-direction: row; flex-wrap: wrap; }
.gopts--row .gopt { flex: 1 1 12rem; }
.gcheck { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.45; margin: .7rem 0 .4rem; cursor: pointer; }
.gcheck input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; accent-color: var(--brand); flex-shrink: 0; }
.gcheck a { color: var(--brand-dark); }
.gtotal { display: flex; flex-wrap: wrap; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin: .4rem 0 .8rem; }
.gtotal__lines { flex-basis: 100%; font-weight: 400; font-size: .82rem; color: var(--ink-3); margin-top: .2rem; }
.gcardprice { font-weight: 600; color: var(--ink-2); }
.gcur { display: flex; justify-content: center; margin: 1.2rem 0 0; font-size: .9rem; color: var(--ink-2); }
.gcur[hidden], .gcurnote[hidden] { display: none; }
.gcur select { margin-left: .45rem; font: inherit; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .35rem .7rem; cursor: pointer; }
.gcur select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.gcurnote { font-size: .82rem; color: var(--ink-3); line-height: 1.45; margin: -.4rem 0 .8rem; }
.gnotice { max-width: 46rem; margin: -1rem auto 1.6rem; text-align: center; background: var(--brand-tint); border: 1px solid var(--brand-soft); color: var(--brand-dark); border-radius: 14px; padding: .8rem 1.1rem; font-weight: 600; font-size: .95rem; }
.gerror { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; margin-bottom: .8rem; }


/* ===== Thank-you page (/prezent/dziekujemy/): the card, the order and what happens next ===== */
.gty-hero { position: relative; margin: 0 clamp(.75rem, 3vw, 2.5rem); border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(120% 90% at 85% 40%, #F3DCC9 0%, rgba(243, 220, 201, 0) 60%), linear-gradient(120deg, #FBEFE4 0%, #F6E6DA 50%, #EBD7C6 100%); display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 600px; }
.gty-copy { position: relative; z-index: 2; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem); }
.gty-badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--brand-dark); border-radius: 999px; padding: .4rem .95rem .4rem .45rem; font-weight: 700; font-size: .85rem; box-shadow: var(--sh-1); }
.gty-badge__tick { display: inline-flex; align-items: center; justify-content: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; }
.gty-title { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.02; margin: 1.1rem 0 1rem; }
.gty-title em { display: block; font-style: italic; color: var(--brand-dark); font-size: .62em; margin-top: .35rem; }
.gty-lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 32rem; min-height: 1.6em; }
.gty-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.gty-try { background: rgba(255, 255, 255, .7); }
.gty-help { margin-top: 1.4rem; font-size: .88rem; color: var(--ink-3); }
.gty-help a { color: var(--brand-dark); }

.gty-stage { position: relative; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem clamp(1rem, 4vw, 3rem) 3rem; }
.gty-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%); filter: blur(4px); }
.gty-float { position: relative; width: min(470px, 100%); transform: rotate(-3deg); animation: gty-in .9s var(--ease) both, gty-float 6s ease-in-out 1s infinite; }
.gty-float .gcard { box-shadow: 0 34px 80px rgba(122, 62, 31, .42); }
.gty-cardlabel { position: relative; margin-top: 1.6rem; text-align: center; font-size: .9rem; color: var(--ink-2); display: flex; flex-direction: column; gap: .2rem; }
.gty-cardlabel strong { color: var(--ink); font-size: .98rem; }

@keyframes gty-in { from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(.92); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes gty-float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }

/* confetti burst */
.gty-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 4; }
.gty-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: gty-fall linear forwards; }
.gty-confetti i.is-round { width: 10px; height: 10px; border-radius: 50%; }
@keyframes gty-fall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--drift), 640px) rotate(var(--spin)); } }

/* states: loading shimmer, pending, unknown */
.gty[data-state="loading"] .gcard [data-to], .gty[data-state="loading"] .gcard [data-msg], .gty[data-state="loading"] .gcard [data-from],
.gty[data-state="pending"] .gcard [data-to], .gty[data-state="pending"] .gcard [data-msg], .gty[data-state="pending"] .gcard [data-from] { color: transparent; background: rgba(255, 255, 255, .28); border-radius: 8px; animation: gty-pulse 1.4s ease-in-out infinite; }
.gty[data-state="loading"] .gty-badge, .gty[data-state="pending"] .gty-badge, .gty[data-state="unknown"] .gty-badge,
.gty[data-state="loading"] .gty-try, .gty[data-state="pending"] .gty-try, .gty[data-state="unknown"] .gty-try,
.gty[data-state="loading"] .gty-cardlabel, .gty[data-state="pending"] .gty-cardlabel { visibility: hidden; }
.gty[data-state="unknown"] .gty-stage { display: none; }
.gty[data-state="unknown"] .gty-hero { grid-template-columns: 1fr; min-height: 0; }
@keyframes gty-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* order summary (a receipt) + what happens next */
.gty-details[hidden], .gty-gains-sec[hidden] { display: none; }
.gty-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.gty-summary { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--sh-1); }
.gty-summary::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 10px; background: radial-gradient(circle at 6px 10px, var(--bg) 5px, transparent 5.5px) 0 0 / 18px 10px repeat-x; }
.gty-summary .gh2, .gty-next .gh2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); margin-bottom: 1.1rem; }
.gty-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px dashed var(--line); }
.gty-summary dl div:first-child { border-top: 0; }
.gty-summary dt { color: var(--ink-3); font-size: .9rem; }
.gty-summary dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.gty-steps { list-style: none; position: relative; padding: 0; margin: 0; }
.gty-steps::before { content: ''; position: absolute; left: 1.15rem; top: 1.2rem; bottom: 1.2rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--brand-soft) 0 6px, transparent 6px 12px); }
.gty-step { position: relative; padding: 0 0 1.4rem 3.4rem; animation: gty-rise .6s var(--ease) both; }
.gty-step__n { position: absolute; left: 0; top: 0; display: inline-flex; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg); }
.gty-step h3 { font-size: 1.22rem; margin: .15rem 0 .3rem; }
.gty-step p { color: var(--ink-2); line-height: 1.55; }
@keyframes gty-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.gty-gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.gty-gain { background: #FDF9F4; border-radius: var(--r-lg); padding: 1.5rem; }
.gty-gain span { font-size: 1.8rem; }
.gty-gain h3 { font-size: 1.2rem; margin: .6rem 0 .3rem; }
.gty-gain p { color: var(--ink-2); line-height: 1.5; }

@media (max-width: 900px) {
    .gty-hero { grid-template-columns: 1fr; min-height: 0; }
    .gty-copy { padding: 1.8rem 1.2rem 0; }
    .gty-stage { min-height: 0; padding: 1.8rem 1.4rem .4rem; order: -1; }
    .gty-copy { padding-bottom: 2rem; }
    .gty-cardlabel { margin-top: 1.1rem; }
        .gty-details, .gty-gains { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .gty-ctas .btn { width: 100%; justify-content: center; }
    .gty-summary dl div { flex-direction: column; gap: .15rem; }
    .gty-summary dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .gty-float, .gty-step { animation: none; }
}

/* ---------- business gift page (Prezent dla firm) ---------- */
.gbiz-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 2.5rem clamp(1rem, 4vw, 3rem); }
.gbiz-stage .gcard { width: min(440px, 100%); transform: rotate(-3deg); box-shadow: 0 30px 70px rgba(122, 62, 31, .4); }
.gcard--biz .gcard__santa { display: none; }
.gcard__logo { position: absolute; right: 5%; bottom: 7%; width: 30%; max-width: 128px; aspect-ratio: 1; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 10px 24px rgba(70, 30, 10, .3); z-index: 1; transform: rotate(6deg); }
.gcard__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gcard__logo span { color: var(--brand-dark); font-size: .72rem; font-weight: 800; text-align: center; line-height: 1.2; border: 1.5px dashed var(--brand); border-radius: 50%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: .3rem; }
.gcard--biz .gcard__msg, .gcard--biz .gcard__to { max-width: 68%; }
.gcard__logo [hidden] { display: none !important; }
.gpreview__sticky { position: sticky; top: 6rem; }
.glogo { display: grid; gap: .45rem; justify-items: start; margin-top: .8rem; }
.glogo__label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.glogo__pick { cursor: pointer; }
.glogo__remove, .glink { background: none; border: 0; padding: 0; color: var(--brand-dark); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.gslider { display: flex; align-items: center; gap: 1rem; }
.gslider input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--brand-soft) var(--fill, 50%)); outline: none; }
.gslider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 10px rgba(122, 62, 31, .3); cursor: grab; }
.gslider input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: grab; }
.gslider input[type="range"]:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 4px; }
.gslider input[type="range"]:disabled { opacity: .4; }
.gslider__out { min-width: 7.5rem; text-align: right; font-family: var(--serif); font-size: 1.35rem; color: var(--brand-dark); }
.gslider__out--num { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: .35rem; }
.gslider__out--num input { width: 5.4rem; font: inherit; color: inherit; text-align: right; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: .15rem .45rem; -moz-appearance: textfield; appearance: textfield; }
.gslider__out--num input::-webkit-outer-spin-button, .gslider__out--num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gslider__out--num input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.gslider__ticks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); margin: .35rem 8.5rem 0 0; }
.gchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.gchip { position: relative; border: 1.5px solid var(--line); border-radius: 99px; padding: .5rem 1rem; cursor: pointer; font-weight: 600; background: var(--surface); }
.gchip input { position: absolute; opacity: 0; pointer-events: none; }
.gchip.is-on { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }
.gchip:focus-within { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.gsummary { background: var(--brand-tint); border: 1px dashed var(--brand); border-radius: 16px; padding: .9rem 1.1rem; margin: 1.2rem 0 1rem; }
.gsummary__title { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.gsummary__text { margin-top: .3rem; font-weight: 600; line-height: 1.5; }
.gsteps--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .gsteps--four { grid-template-columns: repeat(2, 1fr); }
    .gpreview__sticky { position: static; }
    .gbiz-stage { padding: 1rem 1rem 2.5rem; }
}
@media (max-width: 560px) {
    .gsteps--four { grid-template-columns: 1fr; }
    .gslider__out { min-width: 5.5rem; font-size: 1.1rem; }
    .gslider__ticks { margin-right: 6.5rem; }
}
