/* Layout: same top bar as the shop pages, a four-step progress line, then numbered form sections on the left and a sticky order summary on the right. */
/* Theme: logo colours - navy #1E2A5E, royal blue #4A86F7, sky blue #3DB8EC, light grey #F4F4F4 */


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-sky); outline-offset: 2px; }
::selection { background: var(--brand-royal); color: #fff; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Live cart data */
.li .pic img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.pic-fallback { font-weight: 700; color: var(--accent); font-size: 18px; }
.empty-cart-message { list-style: none; padding: 24px 0; color: var(--muted); }

/* top bar */
.logo{max-width: 50px;}
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); box-shadow: 0 2px 8px var(--shade); border-bottom: 3px solid transparent; border-image: var(--gradient-brand) 1; }
.top .wrap { max-width: 1280px; display: flex; align-items: center; gap: 16px 40px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 46px; height: 46px; }
.brand b { display: block; font-family: var(--logo); font-size: 21px; line-height: 1.05; color: var(--accent); }
.brand small { display: block; font-family: var(--logo); font-size: 12px; font-weight: 700; color: var(--accent); }
.menu { display: flex; align-items: center; gap: 4px 30px; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a { display: inline-flex; align-items: center; gap: 10px; height: 62px; padding-inline: 4px; border-bottom: 3px solid transparent; font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: color .2s, border-color .2s; }
.menu a:hover { color: var(--accent); border-color: var(--brand-sky); }
.menu a[aria-current] { color: var(--accent); border-color: var(--brand-sky); }
.menu .i { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.top-search { width: 268px; height: 52px; flex: none; }
.top-search input { width: 100%; height: 100%; border: 1px solid var(--line); background: var(--surface); padding-inline: 20px; font-size: 15px; border-radius: 26px; }
.top-search input::placeholder { color: var(--muted); }
.top-search input:focus { outline: none; border-color: var(--brand-royal); box-shadow: 0 0 0 4px var(--accent-soft); }

/* page head + steps */
.head { padding-block: 44px 8px; }
.head h1 { margin: 0 0 6px; font-size: 32px; font-weight: 600; letter-spacing: -.6px; color: var(--ink); }
.head p { margin: 0; color: var(--muted); }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: flex; gap: 0; counter-reset: s; }
.steps li { flex: 1; position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 500; }
.steps li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 13px; font-weight: 600; flex: none; transition: background .3s, color .3s; }
.steps li::after { content: ""; flex: 1; height: 2px; background: var(--line); margin-right: 14px; }
.steps li:last-child { flex: 0 0 auto; }
.steps li:last-child::after { display: none; }
.steps li.done, .steps li.now { color: var(--ink); }
.steps li.done::before { content: "✓"; background: var(--good); color: #fff; }
.steps li.now::before { background: var(--gradient-brand); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.steps li.done::after { background: var(--good); }

/* layout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px 40px; padding-block: 28px 20px; align-items: start; }
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 28px; margin-bottom: 20px; box-shadow: 0 1px 0 var(--line); }
.sec h2 { margin: 0 0 20px; font-size: 19px; font-weight: 600; letter-spacing: -.2px; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.sec h2 .n { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; display: grid; place-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-royal); box-shadow: 0 0 0 4px rgba(74, 134, 247, .22); }
.field.err input, .field.err select { border-color: var(--bad); }
.field .msg { min-height: 0; margin: 0; font-size: 12.5px; color: var(--bad); }
.hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* option cards */
.opts { display: grid; gap: 12px; }
.opt { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.opt:hover { border-color: var(--brand-sky); }
.opt.sel { border-color: var(--brand-royal); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(61, 184, 236, .18); }
.opt .row { display: flex; align-items: center; gap: 14px; }
.opt input[type="radio"] { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.opt .t { flex: 1; min-width: 0; }
.opt .t b { display: block; font-size: 15px; font-weight: 500; }
.opt .t span { display: block; font-size: 13px; color: var(--muted); }
.opt .pr { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.opt .pr.free { color: var(--good); }
.pay-body { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pay-body[hidden] { display: none; }
.pay-body p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* summary */
.sum { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-royal); border-radius: 16px; padding: 24px 24px 22px; box-shadow: 0 6px 20px var(--shade); }
.sum h2 { margin: 0 0 18px; font-size: 19px; font-weight: 600; color: var(--ink); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.li .pic { position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--chip); display: grid; place-items: center; }
.li .pic svg { width: 40px; height: 40px; }
.li .q { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.li b { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; }
.li span.o { display: block; font-size: 12.5px; color: var(--muted); }
.li .p { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.coupon { padding-block: 18px; border-bottom: 1px solid var(--line); }
.coupon form { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 44px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; }
.coupon input:focus { outline: none; border-color: var(--brand-royal); box-shadow: 0 0 0 4px rgba(74, 134, 247, .22); }
.coupon button { padding-inline: 18px; height: 44px; border: 1px solid var(--accent); border-radius: 10px; background: none; color: var(--accent); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.coupon button:hover { background: var(--accent); color: var(--on-accent); }
.coupon p { margin: 8px 0 0; min-height: 20px; font-size: 13px; color: var(--muted); }
.coupon p.ok { color: var(--good); }
.coupon p.bad { color: var(--bad); }
.tot { padding-top: 14px; display: grid; gap: 10px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tot div { display: flex; justify-content: space-between; gap: 12px; }
.tot .d { color: var(--good); }
.tot .grand { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 600; align-items: baseline; color: var(--ink); }
.ship-bar { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.ship-bar .track { margin-top: 6px; height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.ship-bar .track i { display: block; height: 100%; width: 0; background: var(--gradient-brand); border-radius: 3px; transition: width .5s cubic-bezier(.3, .7, .2, 1); }
.place { width: 100%; height: 56px; margin-top: 20px; border: 0; border-radius: 12px; background: var(--gradient-brand); color: #fff; font-size: 16.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 22px -10px var(--brand-royal); transition: background .2s, transform .2s, box-shadow .2s; }
.place:hover { background: var(--accent-hover); transform: translateY(-1px); }
.place:active { transform: translateY(0); }
.place:disabled { opacity: .6; cursor: progress; transform: none; }
.place .i { width: 18px; height: 18px; }
.terms { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }
.terms a { color: var(--accent); }
.demo { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--chip); font-size: 12px; color: var(--muted); text-align: center; }
.bad-top { display: none; margin-bottom: 20px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--bad); color: var(--bad); font-size: 14px; }
.bad-top.show { display: block; }

/* confirmation */
.done-box { display: none; max-width: 640px; margin: 20px auto 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 44px 36px 36px; text-align: center; box-shadow: 0 1px 0 var(--line); }
.done-box.show { display: block; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tick { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: grid; place-items: center; }
.tick svg { width: 36px; height: 36px; stroke-width: 2.6; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-box h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.4px; color: var(--ink); }
.done-box p { margin: 0 0 6px; color: var(--muted); }
.ord { margin: 22px 0; padding: 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(61, 184, 236, .35); display: grid; gap: 4px; }
.ord b { font-size: 22px; letter-spacing: .5px; color: var(--accent); }
.ord span { font-size: 13px; color: var(--muted); }
.recap { text-align: left; margin: 0 0 24px; display: grid; gap: 8px; font-size: 14.5px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; }
.recap div span:first-child { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding-inline: 28px; border-radius: 24px; background: var(--gradient-brand); color: #fff; font-weight: 600; font-size: 15px; transition: background .2s; }
.btn:hover { background: var(--accent-hover); }

/* footer */
.site-foot { --f-bg: #1e2a5e; --f-ink: #f4f6ff; --f-mute: #b4bfe3; --f-line: rgba(255, 255, 255, .16); --f-acc: #3db8ec; --f-field: rgba(255, 255, 255, .08);
  margin-top: 70px; background: var(--f-bg); color: var(--f-ink); border-radius: 28px 28px 0 0; border-top: 4px solid var(--brand-royal); }
.site-foot a { color: inherit; }
.sf-top { display: grid;  gap: 30px 64px; align-items: center; padding-block: 54px 44px; border-bottom: 1px solid var(--f-line); }
.sf-brand .brand { margin-bottom: 14px; }
.sf-brand .brand svg { width: 48px; height: 48px; }
.sf-brand .brand b { color: #fff; font-size: 24px; }
.sf-brand .brand small { color: var(--f-mute); font-size: 12.5px; }
.sf-brand p { margin: 0; max-width: 360px; font-size: 14.5px; line-height: 1.7; color: var(--f-mute); }
.sf-news label { display: block; margin-bottom: 12px; font-size: 17px; font-weight: 500; }
.sf-row { display: flex; gap: 8px; padding: 6px; border-radius: 30px; background: var(--f-field); border: 1px solid var(--f-line); }
.sf-row:focus-within { border-color: var(--f-acc); }
.sf-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--f-ink); padding: 0 16px; font-size: 14.5px; }
.sf-row input::placeholder { color: var(--f-mute); }
.sf-row input:focus { outline: none; }
.sf-row button { height: 42px; padding-inline: 22px; border: 0; border-radius: 22px; background: var(--gradient-brand); color: #fff; font-size: 14px; font-weight: 600; transition: transform .2s, filter .2s; }
.sf-row button:hover { filter: brightness(1.1); transform: scale(1.03); }
.sf-msg { margin: 10px 0 0; min-height: 20px; font-size: 13px; color: var(--f-acc); }
.sf-mid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 36px 40px; padding-block: 44px 48px; }
.sf-mid h6 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--f-acc); }
.sf-mid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; color: var(--f-mute); }
.sf-mid ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s, color .2s; padding-bottom: 2px; }
.sf-mid ul a:hover { color: #fff; background-size: 100% 1px; }
.sf-card { border: 1px solid var(--f-line); border-radius: 18px; padding: 22px 22px 20px; background: linear-gradient(160deg, rgba(61, 184, 236, .12), rgba(255, 255, 255, 0)); }
.sf-card h6 { margin-bottom: 8px; }
.sf-card .hrs { margin: 0 0 14px; font-size: 16px; font-weight: 500; }
.sf-card ul { gap: 10px; }
.sf-card li { display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.sf-card li svg { color: var(--f-acc); }
.sf-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 26px; border-top: 1px solid var(--f-line); font-size: 12.5px; color: var(--f-mute); }
.sf-bot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.sf-bot a:hover { color: #fff; }
.sf-demo { flex: 1 0 100%; font-size: 12px; opacity: .8; }


.footer-payments {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-bottom: 12px;
      }
      .footer-payments img {
        width: 150px;
        /* height: 24px; */
        background: transparent;
      }

@media (max-width: 960px) {
  .co { grid-template-columns: minmax(0, 1fr); }
  .sum { position: static; }
  .sf-top { grid-template-columns: minmax(0, 1fr); padding-block: 40px 32px; }
  .sf-mid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-card { grid-column: 1 / -1; }
  .top .wrap { flex-wrap: wrap; }
  .top-search { width: 100%; height: 46px; order: 3; margin-bottom: 6px; }
  .menu { margin-inline: 0; flex: 1; justify-content: flex-end; }
  .menu a { height: 52px; font-size: 14px; }
  .footer-payments {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-bottom: 12px;
    }
    .footer-payments img {
          width: 50px;
          /* height: 30px; */
          background: transparent;
        }
}
@media (max-width: 560px) {
  .menu { order: 4; flex: 1 0 100%; justify-content: flex-start; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 22px 18px 22px; }
  .steps li span { display: none; }
  .steps li.now span { display: inline; }
  .head h1 { font-size: 26px; }
  .done-box { padding: 36px 20px 28px; }
}
@media (max-width: 480px) {
  .sf-mid { grid-template-columns: minmax(0, 1fr); }
  .sf-row button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* phone polish */
@media (max-width: 480px) { .top .menu { gap: 4px 11px; } .top .menu a { font-size: 12px; } }
@media (max-width: 640px) {
  .menu { gap: 4px 14px; }
  .menu a { font-size: 12.5px; }
  .sf-mid ul { gap: 0; }
  .sf-mid ul a { display: inline-block; padding-block: 8px; }
  .sf-bot a { display: inline-block; padding-block: 10px; }
  .check { padding-block: 6px; }
  .check input { width: 22px; height: 22px; }
  .opt { padding: 16px 14px; }
}