/* Order form: the window on the site and its preview in the admin panel */
.kf-modal {
  position: fixed; inset: 0; z-index: 9000; display: grid; place-items: start center; padding: 24px 16px; overflow-y: auto;
  background: rgba(30, 24, 12, .62); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.kf-modal.is-open { opacity: 1; visibility: visible; }
.kf-card {
  position: relative; width: 100%; max-width: 500px; margin: auto; background: #f6ecdc; color: #35300f; border-radius: 18px; overflow: clip;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  transform: translateY(30px) scale(.96); transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.kf-modal.is-open .kf-card { transform: none; }
/* the close button sits on the red band; its centre matches the first line of the title */
.kf-close {
  position: absolute; right: 16px; top: 15px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; transition: background-color .25s, transform .4s cubic-bezier(.22, 1, .36, 1);
}
.kf-close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.kf-close:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }
.kf-close:focus-visible { outline: 3px solid #f2c46d; outline-offset: 2px; }

.kf, .kf__thanks { font-family: "Roboto", system-ui, sans-serif; font-size: 16px; line-height: 1.4; color: #35300f; }
.kf *, .kf__thanks * { box-sizing: border-box; }

/* header band */
.kf__head {
  position: relative; overflow: hidden; padding: 18px 66px 16px 26px; color: #fff;
  background:
    radial-gradient(circle at 92% -30%, rgba(255, 255, 255, .22) 0 90px, transparent 91px),
    radial-gradient(circle at 78% 130%, rgba(0, 0, 0, .16) 0 80px, transparent 81px),
    linear-gradient(135deg, #c85a45, #b54c39 55%, #8f3a2b);
}
.kf__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #f2c46d, rgba(242, 196, 109, 0)); }
.kf__title { margin: 0; font: 800 21px/26px "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.kf__sub { margin: 3px 0 0; color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.kf__body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; padding: 18px 26px 2px; }
.kf__body > * { grid-column: 1 / -1; }
.kf__body > .kf__f-name, .kf__body > .kf__f-phone { grid-column: auto; }

/* fields */
.kf__field { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.kf__label { display: block; margin: 0 0 4px; padding: 0; font-weight: 500; font-size: 13px; letter-spacing: .01em; color: #4d4824; }
.kf__req { color: #b54c39; }
.kf__ctl { position: relative; }
.kf__ico { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: #a39d80; pointer-events: none; transition: color .25s; }
.kf__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kf__ctl--area .kf__ico { top: 13px; margin-top: 0; }
.kf__ctl:focus-within .kf__ico { color: #b54c39; }
.kf__input {
  display: block; width: 100%; height: 44px; padding: 0 12px 0 40px; border: 2px solid #e0d2ba; border-radius: 11px; background: #fff; color: #35300f;
  font: 400 15px/1.3 "Roboto", sans-serif; outline: none; transition: border-color .25s, box-shadow .3s, background-color .25s;
}
.kf__input::placeholder { color: #b0aa90; }
.kf__input:hover:not(:focus):not(:disabled) { border-color: #c3b393; }
.kf__input:focus { border-color: #b54c39; box-shadow: 0 0 0 4px rgba(181, 76, 57, .15); }
.kf__textarea { height: auto; min-height: 64px; padding: 10px 12px 10px 40px; resize: vertical; }
.is-bad .kf__input { border-color: #b54c39; background: #fff8f5; animation: kf-shake .4s; }
@keyframes kf-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.kf__err { margin: 5px 2px 0; color: #8f3a2b; font-size: 13px; font-weight: 500; }
.kf__err:empty { display: none; }

/* delivery point: logos only */
.kf__opts { display: grid; gap: 10px; }
.kf__opts--1 { grid-template-columns: minmax(0, 120px); }
.kf__opts--2 { grid-template-columns: repeat(2, 1fr); }
.kf__opts--3 { grid-template-columns: repeat(3, 1fr); }
.kf__opts--4 { grid-template-columns: repeat(4, 1fr); }
.kf__opt { position: relative; display: block; cursor: pointer; }
.kf__radio { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.kf__tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px solid #e0d2ba; border-radius: 13px; background: #fff;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), border-color .25s, box-shadow .35s, opacity .3s, filter .3s, background-color .25s;
}
.kf__tile img { width: auto; height: 62%; max-width: 70%; aspect-ratio: 1; object-fit: contain; border-radius: 9px; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.kf__fallback { font: 700 14px/1.2 "Roboto", sans-serif; text-align: center; padding: 0 6px; }
.kf__tick {
  position: absolute; right: -7px; top: -7px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #b54c39; color: #fff;
  border: 2px solid #f6ecdc; opacity: 0; transform: scale(.3) rotate(-40deg); transition: opacity .2s, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.kf__tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.kf__opt:hover .kf__tile { transform: translateY(-2px); border-color: #b54c39; box-shadow: 0 8px 16px rgba(53, 48, 15, .16); }
.kf__radio:checked + .kf__tile { border-color: #b54c39; background: #fff7f1; transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 4px rgba(181, 76, 57, .18), 0 10px 18px rgba(181, 76, 57, .26); }
.kf__radio:checked + .kf__tile img { transform: scale(1.1); }
.kf__radio:checked + .kf__tile .kf__tick { opacity: 1; transform: none; }
/* once something is chosen, the other logos step back */
.has-point .kf__radio:not(:checked) + .kf__tile { opacity: .5; filter: grayscale(.7); }
.has-point .kf__opt:hover .kf__radio:not(:checked) + .kf__tile { opacity: .9; filter: none; }
.kf__radio:focus-visible + .kf__tile { outline: 3px solid #2f3f2f; outline-offset: 3px; }
.is-bad .kf__tile { border-color: #b54c39; animation: kf-shake .4s; }
.kf__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* address: opens with a smooth height animation */
.kf__reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s cubic-bezier(.22, 1, .36, 1), opacity .4s; }
.kf__reveal.is-open { grid-template-rows: 1fr; opacity: 1; }
.kf__reveal-in { overflow: hidden; min-height: 0; }
.kf__reveal-in .kf__field { padding-top: 2px; }

/* consent */
.kf__consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; position: relative; }
.kf__check { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.kf__box { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #c3b393; border-radius: 8px; background: #fff; color: transparent; transition: background-color .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.kf__box svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.kf__check:checked + .kf__box { background: #b54c39; border-color: #b54c39; color: #fff; transform: scale(1.08); }
.kf__check:focus-visible + .kf__box { outline: 3px solid #2f3f2f; outline-offset: 2px; }
.kf__ctext { padding-top: 1px; color: #4d4824; }
.is-bad .kf__box { border-color: #b54c39; }
.kf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kf__formerr { margin: 0 0 12px; color: #8f3a2b; font-weight: 500; }
.kf__formerr:empty { display: none; }

/* bottom bar: price + button */
.kf__foot {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 12px 26px 16px; margin-top: 0;
  background: linear-gradient(to top, #f6ecdc 78%, rgba(246, 236, 220, 0)); 
}
.kf__total { flex: none; }
.kf__total span { display: block; font-size: 12px; color: #6b6340; text-transform: uppercase; letter-spacing: .08em; }

.kf__total b { display: block; font: 800 22px/1.1 "Montserrat", sans-serif; color: #b54c39; white-space: nowrap; }
.kf__submit {
  position: relative; overflow: hidden; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 16px;
  border: 0; border-radius: 13px; background: linear-gradient(135deg, #c85a45, #b54c39 55%, #8f3a2b); color: #fff; cursor: pointer;
  font: 700 15px/1.1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 8px 18px rgba(143, 58, 43, .36); transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, opacity .2s;
}
.kf__submit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.kf__submit:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 18px 30px rgba(143, 58, 43, .45); }
.kf__submit:hover:not(:disabled)::after { transform: translateX(120%); }
.kf__submit:focus-visible { outline: 3px solid #2f3f2f; outline-offset: 3px; }
.kf__submit:disabled { cursor: progress; opacity: .85; }
.kf__submit.is-locked:disabled { cursor: not-allowed; opacity: 1; background: #cfc6b4; color: #8a8271; box-shadow: none; transform: none; }
.kf__submit.is-locked::after { display: none; }
.kf__spin { display: none; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: kf-rot .7s linear infinite; }
.is-busy .kf__spin { display: inline-block; }
@keyframes kf-rot { to { transform: rotate(360deg); } }
.kf__submit--ghost { flex: none; width: 100%; margin-top: 26px; background: transparent; color: #8f3a2b; border: 2px solid #b54c39; box-shadow: none; }
.kf__submit--ghost::after { display: none; }
.kf__submit--ghost:hover:not(:disabled) { background: #b54c39; color: #fff; box-shadow: none; }

/* quantity stepper */
.kf__qty { flex: none; display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 4px; border: 2px solid #e0d2ba; border-radius: 13px; background: #fff; }
.kf__qbtn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #b54c39; cursor: pointer; transition: background-color .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }
.kf__qbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.kf__qbtn:hover:not(:disabled) { background: rgba(181, 76, 57, .12); transform: scale(1.1); }
.kf__qbtn:active:not(:disabled) { transform: scale(.92); }
.kf__qbtn:disabled { opacity: .3; cursor: default; }
.kf__qbtn:focus-visible { outline: 3px solid #2f3f2f; outline-offset: 1px; }
.kf__qval { min-width: 28px; text-align: center; font: 700 17px/1 "Montserrat", sans-serif; color: #35300f; }

/* "Thank you" screen: poster style (sun, rays, the girl, a stamp, confetti) */
.kf__thanks { position: relative; padding: 0 0 30px; text-align: center; outline: none; overflow: hidden; animation: kf-pop .55s cubic-bezier(.22, 1, .36, 1); }
.kf-card.is-thanks .kf-close { background: #b54c39; color: #fff; box-shadow: 0 6px 14px rgba(143, 58, 43, .38), 0 0 0 3px #f6ecdc; }
.kf-card.is-thanks .kf-close:hover { background: #8f3a2b; }
.kf-card.is-pay .kf-close { display: none; }
.kf-card.is-pay { max-width: 640px; }
.kf__tscene { position: relative; height: 236px; }
.kf__tbg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(110% 90% at 50% 75%, rgba(255, 248, 234, .95), rgba(246, 236, 220, 0) 72%); }
.kf__trays {
  position: absolute; left: 50%; top: 68%; width: 920px; height: 920px; margin: -460px 0 0 -460px;
  background: repeating-conic-gradient(rgba(135, 132, 102, .2) 0 6deg, transparent 6deg 12deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 8%, transparent 70%); mask-image: radial-gradient(closest-side, #000 8%, transparent 70%);
  animation: kf-spin 90s linear infinite;
}
.kf__tsun {
  position: absolute; left: 50%; bottom: -80px; width: 236px; height: 236px; border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #cf6249 0, #b54c39 54%, #8f3a2b 100%);
  box-shadow: 0 0 0 9px rgba(181, 76, 57, .13), 0 0 0 21px rgba(181, 76, 57, .07);
  transform: translateX(-50%); animation: kf-sun .9s cubic-bezier(.2, 1.1, .3, 1) .1s both;
}
.kf__tsun::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(rgba(60, 14, 6, .22) 1.2px, transparent 1.7px) 0 0 / 9px 9px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 62%); mask-image: linear-gradient(to top, #000, transparent 62%);
}
.kf__tgirl {
  position: absolute; left: 50%; bottom: 0; height: 216px; width: auto; max-width: none; transform: translateX(-50%);
  filter: drop-shadow(0 8px 12px rgba(53, 48, 15, .3)); animation: kf-rise .9s cubic-bezier(.2, .9, .25, 1) .3s both;
}
.kf__tstar { position: absolute; width: 24px; opacity: 0; animation: kf-twinkle 2.6s ease-in-out infinite; }
.kf__tstar svg { display: block; width: 100%; height: auto; fill: currentColor; }
.kf__tstar--1 { left: 15%; top: 34px; color: #b54c39; animation-delay: 1.1s; }
.kf__tstar--2 { right: 13%; top: 118px; width: 18px; color: #878466; animation-delay: 1.8s; }
.kf__tstar--3 { left: 10%; top: 138px; width: 15px; color: #e0a93e; animation-delay: 2.4s; }
.kf__tbadge {
  position: absolute; left: calc(50% + 74px); top: 22px; z-index: 3; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  background: #2f3f2f; box-shadow: 0 0 0 4px #f6ecdc, 0 10px 18px rgba(0, 0, 0, .32); animation: kf-badge .7s cubic-bezier(.2, 1.5, .35, 1) .7s both;
}
.kf__okmark { width: 36px; height: 36px; fill: none; stroke: #f6ecdc; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.kf__okmark circle { display: none; }
.kf__okmark path { stroke-dasharray: 40; stroke-dashoffset: 40; stroke-width: 5; animation: kf-draw .45s ease-out 1.05s forwards; }
.kf__tconf { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.kf__tconf i { position: absolute; left: 0; top: 0; width: var(--w, 7px); height: calc(var(--w, 7px) * 1.7); background: var(--c, #b54c39); opacity: 0; animation: kf-conf 1.6s cubic-bezier(.2, .7, .3, 1) forwards; }
.kf__tconf i.is-round { height: var(--w, 7px); border-radius: 50%; }

.kf__tbody { position: relative; z-index: 2; padding: 0 30px; }
.kf__tstamp {
  display: inline-block; margin-top: -14px; padding: 6px 16px 5px; border: 3px solid #b54c39; color: #b54c39; background: #f6ecdc;
  box-shadow: inset 0 0 0 2px #f6ecdc, inset 0 0 0 3.5px #b54c39; font: 700 15px/1 "Roboto Condensed", "Arial Narrow", sans-serif;
  letter-spacing: .18em; text-transform: uppercase; transform: rotate(-5deg); animation: kf-stamp .6s cubic-bezier(.2, 1.3, .35, 1) .95s both;
}
.kf__thanks .kf__title { margin: 18px 0 0; font: 800 28px/1.1 "Montserrat", sans-serif; color: #b34938; text-shadow: 2px 2px 0 rgba(135, 132, 102, .45); animation: kf-up .6s cubic-bezier(.2, .8, .2, 1) .55s both; }
.kf__thx { margin: 14px auto 0; max-width: 420px; text-align: left; color: #4d4824; font-size: 17px; line-height: 1.5; animation: kf-up .6s cubic-bezier(.2, .8, .2, 1) .7s both; }
.kf__thx p { margin: 0 0 .6em; }
.kf__thx p:empty::before { content: "\00a0"; }
.kf__thx > :last-child { margin-bottom: 0; }
.kf__thx strong { color: #35300f; }
.kf__thx a { color: #b54c39; text-decoration: underline; text-underline-offset: 2px; }
.kf__thx h2 { margin: .4em 0; font: 800 1.2em/1.2 "Montserrat", sans-serif; text-transform: uppercase; color: #35300f; }
.kf__thx h3 { margin: .4em 0; font: 700 1.05em/1.25 "Montserrat", sans-serif; color: #b54c39; }
.kf__thx ul, .kf__thx ol { margin: .2em 0 .6em; padding-left: 1.4em; }
.kf__thx blockquote { margin: .5em 0; padding: 6px 14px; border-left: 4px solid #b54c39; border-radius: 0 10px 10px 0; background: rgba(181, 76, 57, .08); }
.kf__thx .ql-align-center { text-align: center; }
.kf__thx .ql-align-right { text-align: right; }
.kf__thx .ql-align-justify { text-align: justify; }
.kf__thx .ql-indent-1 { padding-left: 3em; } .kf__thx .ql-indent-2 { padding-left: 6em; } .kf__thx .ql-indent-3 { padding-left: 9em; } .kf__thx .ql-indent-4 { padding-left: 12em; }
.kf__thx .ql-indent-5 { padding-left: 15em; } .kf__thx .ql-indent-6 { padding-left: 18em; } .kf__thx .ql-indent-7 { padding-left: 21em; } .kf__thx .ql-indent-8 { padding-left: 24em; }
.kf__tticket { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 8px 16px; border: 2px dashed #c3b393; border-radius: 12px; background: #fff; font-size: 13px; color: #6b6340; animation: kf-up .6s cubic-bezier(.2, .8, .2, 1) .8s both; }
.kf__tticket[hidden] { display: none; }
.kf__tticket b { font: 800 15px/1 "Montserrat", sans-serif; color: #b54c39; letter-spacing: .02em; }
.kf__tbtn { width: 100%; max-width: 340px; margin: 24px auto 0; flex: none; animation: kf-up .6s cubic-bezier(.2, .8, .2, 1) .9s both; }

.kf__thanks--still, .kf__thanks--still * { animation: none !important; }
.kf__thanks--still .kf__okmark path { stroke-dashoffset: 0; }
.kf__thanks--still .kf__tstar { opacity: .9; }
.kf__thanks--still .kf__tconf { display: none; }
/* badge of a message that is not good news */
.kf__tbadge.is-warn { background: #b54c39; }
.kf__tbadge.is-warn .kf__okmark path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; stroke-width: 4.6; }

/* green button "Оплатить" */
.kf__paybtn, .kf__paygo { background: linear-gradient(135deg, #4a9a63, #2f7a4b 55%, #235f3a); box-shadow: 0 8px 18px rgba(35, 95, 58, .38); }
.kf__paybtn:hover:not(:disabled), .kf__paygo:hover:not(:disabled) { box-shadow: 0 18px 30px rgba(35, 95, 58, .46); }
.kf__paybtn:focus-visible, .kf__paygo:focus-visible { outline-color: #b54c39; }
.kf__paybtn svg, .kf__paygo svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* payment window */
.kf__pay { font-family: "Roboto", system-ui, sans-serif; font-size: 16px; line-height: 1.4; color: #35300f; animation: kf-pop .5s cubic-bezier(.22, 1, .36, 1); }
.kf__pay *, .kf__pay *::before, .kf__pay *::after { box-sizing: border-box; }
.kf__payhead { display: flex; align-items: center; gap: 14px; padding: 20px 28px 18px; }
.kf__payico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.kf__payico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kf__paybody { padding: 20px 28px 26px; }
.kf__payticket { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: end; padding: 14px 18px; border: 2px dashed #c3b393; border-radius: 14px; background: #fff; animation: kf-up .5s cubic-bezier(.2, .8, .2, 1) .1s both; }
.kf__payticket span, .kf__payto .kf__paylab, .kf__payrow span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #878466; }
.kf__payorder b { display: block; margin-top: 2px; font: 800 17px/1.2 "Montserrat", sans-serif; color: #b54c39; letter-spacing: .02em; }
.kf__payorder i { display: block; margin-top: 2px; font-style: normal; font-size: 14px; color: #6b6340; }
.kf__paysum { text-align: right; }
.kf__paysum b { display: block; margin-top: 2px; font: 800 26px/1.1 "Montserrat", sans-serif; color: #2f7a4b; white-space: nowrap; }
.kf__payto { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: #fff7ea; border: 2px solid #e8d6b4; animation: kf-up .5s cubic-bezier(.2, .8, .2, 1) .2s both; }
.kf__payphone { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 4px; }
.kf__payphone b { font: 800 clamp(22px, 5.4vw, 30px) / 1.1 "Montserrat", sans-serif; letter-spacing: .01em; color: #35300f; white-space: nowrap; }
.kf__copy { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 2px solid #b54c39; border-radius: 11px; background: transparent; color: #8f3a2b; cursor: pointer; font: 700 13px/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.kf__copy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kf__copy:hover, .kf__copy:focus-visible { background: #b54c39; color: #fff; outline: none; }
.kf__copy.is-ok { background: #2f7a4b; border-color: #2f7a4b; color: #fff; }
.kf__payrow { display: flex; justify-content: space-between; gap: 14px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #e8d6b4; }
.kf__payrow b { text-align: right; font-size: 15px; }
.kf__paystit { margin: 20px 0 0; font: 800 15px/1.2 "Montserrat", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #b54c39; }
.kf__paysteps { max-width: none; margin: 10px 0 0; font-size: 16px; animation-delay: .3s; }
.kf__paysteps ol { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.kf__paysteps ol li { position: relative; margin: 0 0 10px; padding-left: 40px; min-height: 30px; counter-increment: st; }
.kf__paysteps ol li::before { content: counter(st); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #b54c39; color: #fff; font: 800 14px/1 "Montserrat", sans-serif; box-shadow: 0 0 0 3px rgba(181, 76, 57, .15); }
.kf__paynote { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; background: rgba(242, 196, 109, .28); color: #5a4a14; font-size: 14.5px; }
.kf__paynote svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: #b07d12; stroke-width: 2.2; stroke-linecap: round; }
.kf__pay .kf__formerr { margin-top: 12px; }
.kf__paygo { width: 100%; margin-top: 18px; height: 54px; font-size: 16px; }
.kf__paygo.is-busy svg { display: none; }
.kf__paygo.is-busy .kf__spin { display: inline-block; }
.kf__later { display: block; margin: 14px auto 0; padding: 6px 4px; border: 0; border-bottom: 2px solid rgba(53, 48, 15, .22); background: none; color: #6b6340; font: 500 15px/1.2 "Roboto", sans-serif; cursor: pointer; transition: color .2s, border-color .2s; }
.kf__later:hover, .kf__later:focus-visible { color: #b54c39; border-color: #b54c39; outline: none; }
.kf__pay--still, .kf__pay--still * { animation: none !important; }
@keyframes kf-draw { to { stroke-dashoffset: 0; } }
@keyframes kf-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes kf-spin { to { transform: rotate(360deg); } }
@keyframes kf-sun { from { opacity: 0; transform: translateX(-50%) scale(.55); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes kf-rise { from { opacity: 0; transform: translate(-50%, 14%); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes kf-badge { from { opacity: 0; transform: scale(0) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes kf-stamp { from { opacity: 0; transform: rotate(-16deg) scale(1.9); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
@keyframes kf-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kf-twinkle { 0%, 100% { opacity: 0; transform: scale(.35) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(28deg); } }
@keyframes kf-conf {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.3); }
  12% { opacity: 1; }
  68% { opacity: 1; transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px)) rotate(var(--r)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px + 80px)) rotate(calc(var(--r) * 1.3)) scale(.9); }
}

@media (max-width: 520px) {
  .kf-modal { padding: 0; }
  .kf-card { border-radius: 0; min-height: 100%; }
  .kf-close { right: 12px; top: 13px; }
  .kf__head { padding: 16px 60px 14px 18px; }
  .kf__body { grid-template-columns: 1fr; padding: 16px 18px 2px; }
  .kf__body > .kf__f-name, .kf__body > .kf__f-phone { grid-column: 1 / -1; }
  .kf__opts--4 { grid-template-columns: repeat(2, 1fr); }
  .kf__foot { gap: 10px; padding: 12px 18px 16px; }
  .kf__foot { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .kf__total { display: block; }
  .kf__submit { grid-column: 1 / -1; }
  .kf-card.is-thanks { display: flex; flex-direction: column; justify-content: center; }
  .kf__tbody { padding: 0 20px; }
  .kf__thanks .kf__title { font-size: 24px; }
  .kf-card.is-pay { display: flex; flex-direction: column; }
  .kf__payhead { padding: 16px 18px 14px; }
  .kf__paybody { padding: 16px 18px 22px; }
  .kf__payticket { grid-template-columns: 1fr; }
  .kf__paysum { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .kf-modal, .kf-card, .kf__tile, .kf__tile img, .kf__tick, .kf__submit, .kf-close, .kf__reveal { transition: none; }
  .kf__thanks, .kf__okmark path, .is-bad .kf__input, .is-bad .kf__tile, .kf__trays, .kf__tsun, .kf__tgirl, .kf__tbadge, .kf__tstamp, .kf__thanks .kf__title, .kf__thx, .kf__tticket, .kf__tbtn, .kf__pay, .kf__payticket, .kf__payto { animation: none; stroke-dashoffset: 0; }
  .kf__tsun, .kf__tgirl { transform: translateX(-50%); }
  .kf__tstar { display: none; }
}
