/* kardeka.com and app.kardeka.com: the canvas's kd.css (round W1) made fluid. Colour for browsing, paper for
   documents; values from shared/design-tokens (tokens.css) and the canvas. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque-Variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F6F6F3; --ink: #0F0F0F; --ink2: #5C5C58; --ink3: #3B3B39; --line: rgba(15,15,15,.12); --fill: rgba(15,15,15,.07);
  --paper: #FFFFFF; --yellow: #FFD23F; --blue: #2B32FF; --blue-on-ink: #4A51FF; --blue-tint: #E7E9FF;
  --side: 56px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a.u, .u a { text-decoration: underline; font-weight: 600; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* type */
.brico, .d1, .d2, .d3, .d4, .wm, .nm, .wmk { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-variation-settings: "opsz" 96; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.d1, .d2, .d3, .d4 { font-weight: 800; text-wrap: balance; }
.d1 { font-size: clamp(48px, 7vw, 96px); line-height: .92; letter-spacing: -.055em; }
.d2 { font-size: clamp(40px, 5vw, 64px); line-height: .96; letter-spacing: -.05em; }
.d3 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1; letter-spacing: -.045em; }
.d4 { font-size: 28px; line-height: 1.07; letter-spacing: -.04em; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink2); text-wrap: pretty; max-width: 720px; }
.muted { color: var(--ink2); }
.small { font-size: 14px; line-height: 1.4; }
.lbl { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--ink2); }
.wmk { font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.s { width: 18px; height: 18px; }
.i.xs { width: 14px; height: 14px; stroke-width: 2.2; }

/* the mark */
/* The mark beside the name is Kardeka blue, the name in ink; on ink the lighter blue (02 §9). */
.mark { display: block; flex: none; width: 36px; height: 36px; background: var(--blue); -webkit-mask: url("mark.svg") center/contain no-repeat; mask: url("mark.svg") center/contain no-repeat; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .wm { font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.05em; }

/* page frame */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--side); }
.hdr { min-height: 84px; padding: 0 var(--side); display: flex; align-items: center; gap: 40px; max-width: 1440px; margin: 0 auto; position: relative; z-index: 3; }
.hdr .sp { flex: 1; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink2); }
.nav a.on, .nav a[aria-current] { color: var(--ink); }
.nav-m { display: none; }
.product > *, .co > *, .co-done > *, .ords > *, .order .cols > *, .hero > *, .cat > * { min-width: 0; }
.apphdr { background: #FFFFFF; box-shadow: inset 0 -1px 0 var(--line); }
.apphdr .hdr { gap: 20px; }
.apphdr .sec { font-size: 18px; font-weight: 700; }
.vr { width: 1px; height: 28px; background: var(--line); }
.who { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.av { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 700; flex: none; width: 36px; height: 36px; font-size: 14px; background: #1F5FBF; }
.ftr { background: var(--ink); color: #FFFFFF; margin-top: 96px; }
.ftr .in { max-width: 1440px; margin: 0 auto; padding: 40px var(--side); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 14px; color: rgba(255,255,255,.74); flex-wrap: wrap; }
.ftr .logo { color: #FFFFFF; }
.ftr .logo .mark { width: 28px; height: 28px; background: var(--blue-on-ink); }
.ftr .logo .wm { font-size: 24px; }
.ftr .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1440px; margin: 0 auto; padding: 64px var(--side) 0; }
.ftr .cols div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ftr .cols a { color: rgba(255,255,255,.74); }
.rg { min-height: 40px; border-radius: 20px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; }
.envbar { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #FFFFFF; font-size: 14px; font-weight: 700; padding: 6px 16px; text-align: center; }
.envbar.dev { background: #B3400B; } .envbar.tst { background: #1F6F5B; } .envbar.local { background: #5C5C58; }

/* tags and badges */
.tag { height: 24px; border-radius: 12px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tag { background: var(--blue-tint); color: #1E27C9; }
.tag.g { background: var(--fill); color: var(--ink); }
.tag.w { background: #FFF0B8; color: #574100; }
.b { height: 26px; border-radius: 13px; padding: 0 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.b.ret { background: #FFEFD6; color: #874700; } .b.war { background: #E5F2E9; color: #1E5C34; } .b.info { background: #E8EEFB; color: #1F3F8F; } .b.off { background: var(--fill); color: var(--ink2); }

/* buttons */
.btn { min-height: 52px; border-radius: 26px; border: 0; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; white-space: nowrap; background: var(--ink); color: #FFFFFF; cursor: pointer; text-align: center; }
a.btn { color: #FFFFFF; }
.btn.lg { min-height: 60px; border-radius: 30px; padding: 0 30px; font-size: 17px; }
.btn.sm { min-height: 44px; border-radius: 22px; padding: 0 18px; font-size: 15px; }
.btn.g, a.btn.g { background: var(--fill); color: var(--ink); }
.btn.w, a.btn.w { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(15,15,15,.16); }
.btn.full { width: 100%; }
.btn[disabled] { background: rgba(15,15,15,.12); color: var(--ink2); cursor: default; }
.linkbtn { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink); }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* chips, segments */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; border-radius: 20px; border: 0; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; cursor: pointer; }
.chip.on, .chip[aria-current], .chip[aria-checked="true"] { background: var(--ink); color: #FFFFFF; box-shadow: none; }
label.chip input { position: absolute; opacity: 0; pointer-events: none; }
label.chip:has(input:checked) { background: var(--ink); color: #FFFFFF; box-shadow: none; }
label.chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 3px; border-radius: 14px; background: var(--fill); gap: 2px; }
.seg > * { min-height: 44px; border: 0; border-radius: 11px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink2); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 18px; text-align: center; padding: 4px 8px; }
.seg > * small { font-size: 12px; line-height: 15px; font-weight: 500; color: var(--ink2); }
.seg > .on, .seg > [aria-current], .seg label:has(input:checked) { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg label input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }

/* bands: colour for browsing */
.band { position: relative; border-radius: 24px; min-height: 104px; padding: 0 28px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #FFFFFF; overflow: hidden; }
.band .nm { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: .95; letter-spacing: -.05em; }
.band .sub { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; opacity: .9; }
.band .mt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13.5px; line-height: 17px; font-weight: 600; text-align: right; white-space: nowrap; }
.band .mt b { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-variation-settings: "opsz" 96; font-size: 24px; line-height: 26px; font-weight: 800; letter-spacing: -.03em; }
.band .mt b small { font-size: 15px; letter-spacing: -.01em; }
.band .go { width: 48px; height: 48px; border-radius: 24px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex: none; }
.band .r { display: flex; align-items: center; gap: 22px; }
.bands { display: flex; flex-direction: column; gap: 16px; }

/* paper, cards, rows */
.paper { background: #FFFFFF; border-radius: 28px; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.08); }
.card { background: #FFFFFF; border-radius: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.pad { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.hair { height: 1px; background: var(--line); flex: none; }
.rows > * + * { box-shadow: inset 0 1px 0 var(--line); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; font-size: 16px; }
.kv .v { font-weight: 600; text-align: right; }
.card h2.h { padding: 20px 22px 14px; font-size: 20px; font-weight: 700; }
.faq details { padding: 20px 22px; }
.faq summary { font-size: 18px; font-weight: 700; }
.faq p { margin-top: 8px; font-size: 16px; color: var(--ink2); }

/* the search with the card's country */
.qs { min-height: 56px; border-radius: 28px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 6px 0 20px; gap: 12px; color: var(--ink2); position: relative; }
.qs input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--ink); height: 52px; }
.qs .sep { width: 1px; height: 28px; background: var(--line); flex: none; }
.ctryd { position: relative; }
.ctryd > summary, .ctry { min-height: 44px; border-radius: 22px; background: var(--fill); padding: 0 14px 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ctryd > summary small, .ctry small { font-size: 13px; font-weight: 600; color: var(--ink2); }
.menu { position: absolute; z-index: 5; right: 0; top: calc(100% + 10px); width: min(440px, calc(100vw - 32px)); background: #FFFFFF; border-radius: 22px; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 18px 48px rgba(0,0,0,.18); padding: 10px; display: flex; flex-direction: column; }
.menu .mh { padding: 10px 12px 8px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.menu .mh.big { font-size: 16px; color: var(--ink); padding-top: 12px; }
.menu .mi { min-height: 48px; border-radius: 14px; padding: 8px 12px; display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.menu .mi small { display: block; font-size: 13px; line-height: 17px; font-weight: 500; color: var(--ink2); }
.menu .mi .n { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.menu .mi[aria-current] { background: var(--fill); }
.menu .mi:hover { background: rgba(15,15,15,.04); }
.cc { width: 34px; height: 24px; border-radius: 6px; background: var(--fill); display: inline-flex; align-items: center; justify-content: center; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; color: var(--ink); flex: none; }

/* the catalog */
.cat-top { padding: 40px 0 0; display: flex; flex-direction: column; gap: 26px; }
.cat-top .qs { max-width: 760px; }
.cat { padding: 36px 0 0; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 30px; }
.filters h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.filters .opt { display: flex; align-items: center; gap: 12px; font-size: 16px; min-height: 32px; }
.filters .opt input { width: 20px; height: 20px; accent-color: #0F0F0F; }
.filters-m { display: none; }
.cbx { display: flex; align-items: center; gap: 12px; font-size: 16px; min-height: 32px; cursor: pointer; }
.cbx input { width: 20px; height: 20px; accent-color: #0F0F0F; margin: 0; }
.listhead { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; }
.sortd { position: relative; }
.sortd > summary { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; min-height: 44px; }
.sortd .menu { width: 280px; }
.empty { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* a card's page */
.crumbs { padding: 8px 0 20px; display: flex; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink2); flex-wrap: wrap; }
.crumbs [aria-current] { color: var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-areas: "hero buy" "info buy"; gap: 40px 40px; align-items: start; }
.p-title-m { display: none; }
.p-hero { grid-area: hero; min-height: 520px; border-radius: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 40px 20px; }
.p-hero .cap { font-size: 15px; font-weight: 600; opacity: .78; }
.p-buy { grid-area: buy; border-radius: 32px; padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 20px; }
.p-info { grid-area: info; display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.amounts .chip { justify-content: center; min-height: 48px; border-radius: 24px; font-size: 16px; position: relative; min-width: 0; padding: 0 8px; }
.fld.custom { display: none; }
.amounts:has(input[value="custom"]:checked) ~ .fld.custom { display: flex; }
.tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tot .mono { font-size: 28px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.tot { flex-wrap: wrap; }
.feat { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.feat li { display: flex; align-items: center; gap: 12px; }
.else summary { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink2); }
.else .in { padding: 10px 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.else .chip { min-height: 36px; font-size: 14px; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ways .card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ways h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ways p { font-size: 15px; color: var(--ink2); }

/* a gift card on paper */
.gc { width: min(520px, 100%); aspect-ratio: 520 / 316; transform: rotate(-3deg); border-radius: 26px; padding: 30px 32px 28px 34px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 24px 48px rgba(0,0,0,.22); background: #FFFFFF; color: var(--ink); }
.gc .r { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gc .r.b { align-items: flex-end; }
.gc .kind { font-size: 15px; line-height: 19px; font-weight: 600; color: var(--ink2); text-align: right; }
.gc .amt { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; letter-spacing: -.035em; line-height: 1; white-space: nowrap; font-size: clamp(56px, 7vw, 104px); }
.gc .amt small { font-size: .46em; margin-left: 6px; font-weight: 500; letter-spacing: 0; }
.gc .who { font-size: 17px; font-weight: 600; color: var(--ink2); padding-bottom: 4px; }
.gc .wmk { font-size: clamp(32px, 4vw, 52px); }
.gp { border-radius: 18px; background: var(--bg); padding: 22px; }
.gp .paper { border-radius: 14px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 22px rgba(0,0,0,.12); }
.gp .top { display: flex; justify-content: space-between; align-items: flex-start; }
.gp .top .k { font-size: 11.5px; line-height: 15px; font-weight: 600; color: var(--ink2); text-align: right; }
.gp .amt { font-family: "Geist Mono", ui-monospace, monospace; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.gp .amt small { font-size: 22px; margin-left: 6px; font-weight: 500; letter-spacing: 0; }
.gp .line { font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.gp .msg { font-size: 16px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.gp .sig { font-size: 13px; font-weight: 600; color: var(--ink3); }
.gp .cut { border-top: 1.5px dashed #9A9A95; padding-top: 12px; display: flex; align-items: center; gap: 12px; }
.gp .qr { width: 56px; height: 56px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; }
.gp .bars { display: flex; gap: 1px; height: 36px; flex: 1; }
.gp .bars span:nth-child(odd) { background: var(--ink); }
.gp .wmk { font-size: 30px; }

/* the checkout */
.co { padding: 40px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.steps { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--ink2); }
.steps li.on, .steps li.done { color: var(--ink); }
.steps .n { width: 28px; height: 28px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(15,15,15,.25); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.steps li.on .n { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.steps li.done .n { background: #E5F2E9; color: #1E5C34; box-shadow: none; }
.steps li { flex: none; }
.steps .ln { flex: 0 1 40px; min-width: 12px; height: 2px; background: var(--line); }
.steps-m { display: none; }
.sum { border-radius: 32px; padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 18px; margin-top: 60px; position: sticky; top: 20px; }
.sr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; }
.sr .v { text-align: right; font-weight: 600; }
.sr.tot { font-size: 18px; font-weight: 700; }
.sr.tot .mono { font-size: 28px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > span, .fld > label { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--ink2); }
.fld .cnt { display: flex; justify-content: space-between; }
.inp { min-height: 52px; border-radius: 14px; border: 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px; font-size: 17px; color: var(--ink); width: 100%; }
textarea.inp { padding: 14px 16px; line-height: 1.45; resize: vertical; min-height: 96px; }
select.inp { appearance: none; background-image: none; }
.inp[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B3400B; }
.err { font-size: 14px; font-weight: 600; color: #B3400B; }
.w420 { max-width: 420px; }
.w560 { max-width: 560px; }
.w720 { max-width: 720px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; min-height: 150px; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt .ic { width: 40px; height: 40px; border-radius: 20px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.opt .t { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.opt .d { font-size: 14px; line-height: 1.4; color: var(--ink2); }
.opt .top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.ring { width: 22px; height: 22px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px #B9B7B1; display: flex; align-items: center; justify-content: center; }
.opt:has(input:checked) .ring, .methods label:has(input:checked) .ring { box-shadow: inset 0 0 0 2px var(--ink); }
.opt:has(input:checked) .ring::after, .methods label:has(input:checked) .ring::after { content: ""; width: 11px; height: 11px; border-radius: 6px; background: var(--ink); }
.email-only { display: none; flex-direction: column; gap: 16px; }
.opts:has(input[value="email"]:checked) ~ .email-only { display: flex; }
.later-only { display: none; }
.email-only:has(input[value="later"]:checked) .later-only { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 16px; max-width: 560px; }
.methods { overflow: hidden; }
.methods label { display: flex; align-items: center; gap: 16px; padding: 16px 22px; cursor: pointer; position: relative; }
.methods label input { position: absolute; opacity: 0; pointer-events: none; }
.methods label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 16px; }
.methods label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: -4px; }
.methods .badge { width: 56px; height: 36px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: none; }
.methods .t { display: flex; flex-direction: column; }
.methods .t b { font-size: 17px; }
.methods .t span { font-size: 14px; color: var(--ink2); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.check input { width: 22px; height: 22px; accent-color: #0F0F0F; flex: none; margin-top: 1px; }
.invoice-only { display: none; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
.check:has(input[name="invoice"]:checked) + .invoice-only { display: grid; }
.code6 { position: relative; display: flex; gap: 8px; }
/* six boxes as drawn (Kasa_Konto); the script draws them over the one field, which still takes typing, pasting and
   the phone's autofill */
.code6.boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 56px)); }
.code6.boxes input { position: absolute; inset: 0; max-width: none; opacity: 0; }
.code6 .box { height: 64px; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; font-family: "Geist Mono", ui-monospace, monospace; font-size: 28px; font-weight: 600; }
.code6 .box.on { box-shadow: inset 0 0 0 2px var(--ink); }
/* Apple and Google under the phone's form (Kasa_Konto) */
.or { display: flex; align-items: center; gap: 14px; color: var(--ink2); font-size: 14px; font-weight: 600; }
.or .hair { flex: 1; }
.providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) { .providers { grid-template-columns: minmax(0, 1fr); } }
.cc-pick { position: relative; display: block; }
.cc-pick select { width: 100%; appearance: none; -webkit-appearance: none; font-weight: 600; padding-right: 40px; cursor: pointer; }
.cc-pick .i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.code6 input { width: 100%; max-width: 336px; min-height: 64px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #FFFFFF; font-family: "Geist Mono", ui-monospace, monospace; font-size: 28px; font-weight: 600; letter-spacing: .5em; padding: 0 18px; }
.phone { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink2); font-size: 14px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* notices */
.note { border-radius: 20px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.note.info { background: var(--blue-tint); color: #1C1C4A; } .note.info .i { color: #2B32FF; }
.note.warn { background: #FFF0B8; color: #3D2E00; } .note.warn .i { color: #574100; }
.note.bad { background: #FDE6DA; color: #5E2206; } .note.bad .i { color: #B3400B; }
.note.ok { background: #E5F2E9; color: #143D23; } .note.ok .i { color: #1E5C34; }
.note b { display: block; font-size: 16px; margin-bottom: 2px; }

/* status rows */
.st { padding: 8px 26px; }
.st li { display: flex; gap: 18px; padding: 16px 0; }
.st li + li { box-shadow: inset 0 1px 0 var(--line); }
.st .dot { width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
.st .dot.done { background: var(--ink); color: #FFFFFF; }
.st .dot.now { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ink); }
.st .dot.now::after { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--ink); }
.st .dot.todo { background: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(15,15,15,.16); }
.st .dot.bad { background: #B3400B; color: #FFFFFF; }
.st .dot.ask { background: #FFF0B8; color: #574100; }
.st .dot.back { background: #E5F2E9; color: #1E5C34; }
.st .tx { flex: 1; display: flex; justify-content: space-between; gap: 16px; }
.st .tx b { display: block; font-size: 17px; }
.st .todo-t b { color: var(--ink2); }
.st .when { white-space: nowrap; }

/* done pages */
.co-done { padding: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: start; }
.co-done .d1 { font-size: clamp(44px, 5.8vw, 84px); }
.meta { display: flex; gap: 24px; font-size: 15px; color: var(--ink2); flex-wrap: wrap; }
.meta b { color: var(--ink); }

/* orders */
.ords { padding: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.ord { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px 110px; align-items: center; gap: 20px; padding: 18px 22px; }
.ord .mb { min-height: 64px; border-radius: 16px; display: flex; align-items: center; padding: 0 14px; font-weight: 800; font-size: 24px; letter-spacing: -.045em; }
.ord .t b { display: block; font-size: 17px; }
.ord .amt { text-align: right; font-weight: 600; }
.order { padding: 36px 0 0; display: flex; flex-direction: column; gap: 26px; }
.order .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.order .num { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; letter-spacing: -.04em; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.order .cols { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; align-items: start; }
.order .col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink2); }
.secret { border-radius: 16px; background: var(--bg); }
.secret .sr { padding: 14px 18px; align-items: center; }
.secret .mono { font-size: 20px; letter-spacing: .03em; }

/* gift pages and the sign-in outside the checkout */
.narrow { max-width: 480px; margin: 0 auto; padding: 12px 16px 32px; display: flex; flex-direction: column; gap: 18px; }
.gifthdr { max-width: 480px; margin: 0 auto; min-height: 64px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.gifthdr .logo .mark { width: 28px; height: 28px; }
.gifthdr .logo .wm { font-size: 24px; }
.signin { padding: 64px 0 0; display: flex; justify-content: center; }
.signin > div { width: min(720px, 100%); display: flex; flex-direction: column; gap: 22px; }

/* the test payment page */
.testpay { display: flex; justify-content: center; padding: 72px 16px; }
.testpay .paper { width: min(620px, 100%); padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.testpay .opts-t { display: flex; flex-direction: column; gap: 10px; }

/* the home page */
.hero { padding: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .bul { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: var(--ink2); }
.hero .bul li { display: flex; align-items: center; gap: 8px; }
.hero-art { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.hsearch { margin-top: 32px; padding: 18px 22px; border-radius: 24px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hsearch form { flex: 0 1 600px; }
.hsearch .qs { background: var(--bg); box-shadow: none; }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.grid-bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dark { background: var(--ink); color: #FFFFFF; border-radius: 40px; padding: 52px 56px; }
.dark .muted, .dark p { color: rgba(255,255,255,.74); }
.pts li { display: flex; gap: 14px; padding: 16px 0; box-shadow: inset 0 1px 0 var(--line); }
.dark .pts li { box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.pts .dotc { width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex: none; }
.pts .dotc.y { background: var(--yellow); color: var(--ink); }
.pts b { display: block; font-size: 17px; }
.blue { border-radius: 40px; background: var(--blue); color: #FFFFFF; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.mt96 { margin-top: 96px; } .mt56 { margin-top: 56px; } .mt32 { margin-top: 32px; } .mt20 { margin-top: 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack.s8 { gap: 8px; } .stack.s12 { gap: 12px; } .stack.s22 { gap: 22px; } .stack.s28 { gap: 28px; }

/* the dialog Kraj i język */
.dlg-page { min-height: 100vh; background: rgba(15,15,15,.42); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg { width: min(540px, 100%); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }

/* a narrow window or a tablet */
@media (max-width: 1100px) {
  .product { grid-template-columns: minmax(0, 1fr) 400px; }
  .co, .co-done, .ords, .order .cols { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .ftr .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ord { grid-template-columns: 110px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 8px; }
  .ord .mb { grid-row: 1 / span 2; font-size: 20px; }
  .ord > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .ord .amt { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 1100px) {
  .hdr .nav { display: none; }
  .nav-m { display: block; position: relative; }
  .nav-m > summary { width: 44px; height: 44px; border-radius: 22px; background: var(--fill); display: flex; align-items: center; justify-content: center; }
  .nav-m .menu { right: 0; width: 280px; }
}
/* a phone */
@media (max-width: 820px) {
  :root { --side: 16px; }
  body { font-size: 16px; }
  .hdr { min-height: 72px; gap: 12px; }
  .hdr .desk { display: none; }
  .logo .wm { font-size: 26px; }
  .logo .mark { width: 30px; height: 30px; }
  .cat { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters { display: none; }
  .filters-m { display: block; }
  .filters-m > summary { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
  .filters-m .filters { display: flex; padding-top: 16px; }
  .band { min-height: 72px; padding: 0 16px 0 20px; border-radius: 22px; }
  .band .go { display: none; }
  .band .sub { display: none; }
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "hero" "buy" "info"; gap: 18px; }
  .p-title-m { display: flex; grid-area: title; flex-direction: column; gap: 14px; padding-top: 8px; }
  .p-buy .p-title { display: none; }
  .p-buy { position: static; padding: 22px 18px; border-radius: 26px; }
  .p-hero { min-height: 260px; border-radius: 28px; padding: 24px 16px; }
  .p-hero .cap { display: none; }
  .gc { width: min(300px, 100%); padding: 18px 20px 16px; border-radius: 18px; }
  .gc .kind { font-size: 11px; line-height: 14px; }
  .gc .who { font-size: 13px; }
  .ways, .opts, .three, .four, .two, .grid-bands, .alt { grid-template-columns: 1fr; }
  .opt { min-height: 0; flex-direction: row; align-items: center; }
  .opt .top { width: auto; }
  .co, .co-done, .ords, .order .cols, .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .co { padding-top: 16px; }
  .steps { display: none; }
  .steps-m { display: block; }
  .sum { margin-top: 0; position: static; order: -1; padding: 16px; border-radius: 20px; }
  .sum .gp, .sum .hide-m { display: none; }
  .co-bar { position: sticky; bottom: 0; background: #FFFFFF; box-shadow: inset 0 1px 0 var(--line); margin: 0 calc(-1 * var(--side)); padding: 14px var(--side) 22px; display: flex; align-items: center; gap: 14px; z-index: 4; }
  .ord { grid-template-columns: minmax(0, 1fr) auto; }
  .ord .mb { display: none; }
  .ord > :nth-child(3) { grid-column: 1; }
  .ord .amt { grid-column: 2; }
  .dark, .blue { padding: 32px 20px; border-radius: 28px; }
  .ftr .cols { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { min-height: 300px; }
  .invoice-only { grid-template-columns: 1fr; }
  .phone { grid-template-columns: 120px minmax(0, 1fr); }
  .kv { padding: 13px 18px; font-size: 15px; }
  .pad { padding: 18px; }
  .testpay { padding: 24px 16px; }
}
@media (min-width: 821px) { .co-bar { display: none; } }
