/* QW First Order Promo — за зразком .qw-atc (вуаль, картка, хрестик) і кнопки #place_order */
.qw-fop-lock { overflow: hidden; }
.qw-fop { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: Montserrat, Helvetica, Arial, sans-serif; }
.qw-fop[hidden] { display: none; }
.qw-fop-veil { position: absolute; inset: 0; background: rgba(17, 17, 17, .55); opacity: 0; transition: opacity .26s ease; }
.qw-fop.is-open .qw-fop-veil { opacity: 1; }
.qw-fop-box { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 4px; padding: 34px 30px 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1); color: #111; }
.qw-fop.is-open .qw-fop-box { opacity: 1; transform: none; }
.qw-fop-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: #777; cursor: pointer; border-radius: 50%; transition: color .2s, background .2s; }
.qw-fop-x:hover, .qw-fop-x:focus-visible { color: #111; background: #f2f2f2; outline: none; }
.qw-fop-kicker { font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #999; margin: 0 0 10px; }
.qw-fop-title { margin: 0 0 10px; display: flex; flex-direction: column; align-items: stretch; color: #111; text-transform: uppercase; font-weight: 800; }
.qw-fop-pct { display: block; white-space: nowrap; line-height: .9; letter-spacing: -.03em; font-size: 72px; }
.qw-fop-rest { display: block; white-space: nowrap; line-height: 1.15; letter-spacing: .06em; font-weight: 700; font-size: 22px; margin-top: 6px; }
.qw-fop-sub { margin: 0 0 20px; font-size: 14px; line-height: 1.5; color: #555; }
.qw-fop-form { display: flex; flex-direction: column; gap: 12px; }
.qw-fop-field { display: block; }
.qw-fop-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qw-fop-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cfcfcf; border-radius: 2px; background: #fff; color: #111; font: inherit; font-size: 15px; outline: none; transition: border-color .2s; -webkit-appearance: none; appearance: none; box-shadow: none; }
.qw-fop-input, .qw-fop-input::placeholder { font-weight: 400; letter-spacing: 0; }
.qw-fop-input::placeholder { color: #9a9a9a; opacity: 1; }
.qw-fop-sub, .qw-fop-consent, .qw-fop-consent span, .qw-fop-msg, .qw-fop-hint, .qw-fop-later { font-weight: 400; }
.qw-fop-input:focus { border-color: #111; box-shadow: none; }
.qw-fop-input:disabled { opacity: .6; }
.qw-fop-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.qw-fop-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: #555; cursor: pointer; }
.qw-fop-consent input { margin: 2px 0 0; width: 17px; height: 17px; flex: none; -webkit-appearance: none; appearance: none; border: 1px solid #bdbdbd; border-radius: 2px; background: #fff; cursor: pointer; position: relative; }
.qw-fop-consent input:checked { background: #111; border-color: #111; }
.qw-fop-consent input:checked::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qw-fop-consent input:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.qw-fop-consent a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.qw-fop-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; background: #111; color: #fff; border: 1px solid #111; border-radius: 2px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; margin-top: 4px; transition: background .35s cubic-bezier(.16, 1, .3, 1); }
.qw-fop-btn:hover { background: #2b2b2b; border-color: #2b2b2b; }
.qw-fop-btn:disabled { opacity: .6; cursor: default; }
.qw-fop-msg { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: #555; }
.qw-fop-msg.is-error { color: #a02b22; }
.qw-fop-msg--ok { margin-bottom: 14px; color: #111; font-weight: 600; }
.qw-fop-result { display: flex; flex-direction: column; }
.qw-fop-code { display: flex; align-items: stretch; border: 2px dashed #111; border-radius: 4px; overflow: hidden; }
.qw-fop-code-val { flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px 12px; font-size: 20px; font-weight: 800; letter-spacing: .12em; user-select: all; }
.qw-fop-copy { border: 0; border-left: 2px dashed #111; background: #111; color: #fff; padding: 0 16px; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.qw-fop-copy:hover { background: #2b2b2b; }
.qw-fop-hint { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #555; }
.qw-fop-later { align-self: center; margin: 16px auto 0; display: block; background: none; border: 0; padding: 6px 4px; color: #888; font: inherit; font-size: 12px; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qw-fop-later:hover { color: #111; }
@media (max-width: 560px) {
  .qw-fop { align-items: flex-end; padding: 0; }
  .qw-fop-box { max-width: none; border-radius: 12px 12px 0 0; padding: 30px 22px calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .qw-fop-pct { font-size: 64px; }
  .qw-fop-rest { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .qw-fop-veil, .qw-fop-box { transition: none; }
}
