


@font-face { font-family: DM; src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: DM; src: url("/assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600 800; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, .method, .bump, .bc-pay-btn, label.bump, a { -webkit-tap-highlight-color: transparent; }
button, .method, .bump, .pay-btn, .ds-btn, select.field { touch-action: manipulation; }
:root {
  
  --ink: #171815;
  --paper: #eeede6;
  --orange: #f46535;
  --orange-hi: #ff794c;
  --subtle: #a5a69b;
  --line: #d0d0c5;

  
  --card: #f8f7f1;
  --card-line: #bfc2b2;
  --card-muted: #626457;

  --bg: var(--ink);
  --ink-soft: rgba(23,24,21,.72);
  --muted: var(--card-muted);
  --line-strong: rgba(23,24,21,.30);
  --field-bg: #ffffff;

  
  --navy: var(--orange);
  --navy-hover: var(--orange-hi);
  --navy-ink: var(--ink);
  
  --green: var(--orange);
  --green-soft: rgba(244,101,53,.10);

  --ring: rgba(244,101,53,.28);
  --ls: -0.01em;
  --display: Manrope, Arial, sans-serif;
  --body: DM, Arial, sans-serif;
  --mono: "Courier New", monospace;
  --sans: var(--body);
  --serif: var(--display);
  --shadow-card: 0 4px 6px -2px rgba(0,0,0,.35), 0 30px 60px -12px rgba(0,0,0,.55);
  --shadow-field: 0 1px 2px rgba(0,0,0,.08);
}
html, body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  letter-spacing: var(--ls);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  background-color: var(--ink);
}

.checkout {
  width: 100%; max-width: 468px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--card-line);
  border-radius: 3px;
  padding: 38px 18px 26px;
  box-shadow: var(--shadow-card);
  animation: bc-enter .6s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes bc-enter {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .checkout { animation: none; } }


.co-timer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: -8px 0 20px; padding: 9px 14px;
  border: 1px solid var(--card-line); border-radius: 2px;
  background: rgba(244,101,53,.06);
  color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; font-family: var(--mono);
  text-align: center;
}
.co-timer svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--orange); }
.co-timer b {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 12px;
  color: var(--orange); letter-spacing: .02em; font-family: var(--mono);
}
.co-timer.expired {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}
.co-timer.expired svg { color: var(--muted); }



.co-brand { display: flex; align-items: center; gap: 9px; margin: -14px 0 22px; color: var(--ink); }
.co-brand svg { width: 30px; height: 30px; color: var(--orange); flex-shrink: 0; }
.co-brand span { font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.05; letter-spacing: .3px; }
.co-brand small { display: block; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: 1.5px; margin-top: 4px; color: var(--muted); }
.plan-tag {
  font-family: var(--mono); text-transform: uppercase; font-size: 9px; font-weight: 700;
  letter-spacing: .06em; color: var(--muted); border: 1px solid var(--card-line);
  border-radius: 2px; padding: 2px 6px;
}

.co-list { list-style: none; margin: -8px 0 6px; padding: 14px 16px; border: 1px solid var(--card-line); border-radius: 2px; background: #fff; }
.co-list li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.co-list li + li { margin-top: 8px; }
.co-list li b { color: var(--ink); font-weight: 600; }
.co-list li::before {
  content: ""; position: absolute; left: 2px; top: 4px; width: 10px; height: 6px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.bumps-head {
  margin: 26px 0 -8px; font-family: var(--mono); text-transform: uppercase;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
}

dialog.terms {
  max-width: 460px; width: calc(100% - 32px); margin: auto; padding: 28px 22px 22px;
  border: 1px solid var(--card-line); border-radius: 3px; background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-card);
}
dialog.terms::backdrop { background: rgba(10,12,8,.72); }
dialog.terms h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1; margin-bottom: 14px; }
dialog.terms p { font-size: 13px; line-height: 1.6; color: var(--muted); }
dialog.terms p + p { margin-top: 12px; }
.terms-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }
dialog.terms { position: fixed; }

.co-head { display: flex; align-items: center; gap: 16px; }
.co-head .product { width: 72px; height: 72px; border-radius: 2px; object-fit: cover; box-shadow: var(--shadow-field); border: 1px solid var(--card-line); }
.co-head-info { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.plan-name { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -0.015em; line-height: .98; text-transform: uppercase; }
.plan-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.plan-price { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; opacity: .8; }

.bonus-tag {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--orange); color: var(--ink);
  font-family: var(--mono); text-transform: uppercase;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 2px;
}
.bonus-tag .bonus-free { color: var(--ink); opacity: .6; font-weight: 700; }
.slogan { font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.6; margin: 14px 0 22px; color: var(--muted); }


.lbl { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 16px 0 7px; }
.field {
  width: 100%; background: var(--field-bg); color: var(--ink);
  border: 1px solid var(--card-line); border-radius: 2px;
  padding: 13px 14px; font-family: inherit; letter-spacing: inherit; font-size: 14.5px;
  box-shadow: none; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--subtle); }
.field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); }
select.field {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23f46535' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
select.field option { background: #fff; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }


.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 6px; }
.method {
  display: flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  background: var(--field-bg); border: 1.5px solid var(--card-line); border-radius: 2px;
  padding: 16px; font-size: 16px; font-weight: 600; color: var(--ink);
  font-family: inherit; letter-spacing: inherit;
  box-shadow: var(--shadow-field); transition: .15s; cursor: pointer;
}
.method svg { width: 22px; height: 22px; }
.method:hover { border-color: var(--muted); }
.method.active { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.method:active { transform: scale(.985); }


#bc-card {
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(-4px);
  transition: max-height .38s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .3s ease;
}
#bc-card.show { max-height: 680px; opacity: 1; transform: translateY(0); }


.bump {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--field-bg); border: 1.5px dashed var(--card-line); border-radius: 2px;
  padding: 16px; margin-top: 22px; cursor: pointer;
  box-shadow: var(--shadow-field);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.bump:hover { border-color: var(--muted); }
.bump.active { border-color: var(--orange); border-style: solid; background: var(--green-soft); }
.bump input { display: none; }
.bump-check {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--card-line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  background: var(--field-bg); transition: all .2s;
}
.bump-check svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 3; opacity: 0; transition: opacity .15s; }
.bump.active .bump-check { background: var(--orange); border-color: var(--orange); }
.bump.active .bump-check svg { opacity: 1; }
.bump-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bump-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bump-title { font-size: 15px; font-weight: 600; font-family: var(--body); letter-spacing: -.2px; }
.bump-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.bump-prices { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.bump-price {
  flex-shrink: 0; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 2px;
}
.bump.active .bump-price { background: var(--orange); color: var(--ink); }
.bump-price-old {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-decoration: line-through; white-space: nowrap;
}
#bc-bumps .bump + .bump { margin-top: 10px; }


.ds-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(23,24,21,.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: ds-fade .3s ease both;
}
@keyframes ds-fade { from { background-color: rgba(23,24,21,0); } }
.ds-overlay.hidden { display: none; }
.ds-box {
  background: var(--card); color: var(--ink); border: 1px solid var(--card-line);
  border-radius: 3px; padding: 26px 20px 22px;
  width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-card);
}
.ds-box.ds-open { animation: ds-open .34s cubic-bezier(.16,1,.3,1); }
.ds-box.ds-out { animation: ds-out .19s cubic-bezier(.4,0,1,1) forwards; }
.ds-box.ds-in { animation: ds-in .34s cubic-bezier(.16,1,.3,1); }
@keyframes ds-open { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.ds-box.ds-close { animation: ds-close .32s cubic-bezier(.32,0,.3,1) forwards; }
@keyframes ds-close { to { opacity: 0; transform: translateY(18px) scale(.97); } }
.ds-overlay.ds-closing { animation: ds-unfade .32s ease-in-out forwards; }
@keyframes ds-unfade { to { background-color: rgba(23,24,21,0); } }
@keyframes ds-out { to { opacity: 0; transform: translateY(-12px) scale(.97); } }
@keyframes ds-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

@keyframes ds-out-sheet { to { opacity: 0; transform: translateY(26px); } }
@keyframes ds-in-sheet { from { opacity: 0; transform: translateY(30px); } }
@keyframes ds-open-sheet { from { transform: translateY(100%); } }
@keyframes ds-close-sheet { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .ds-box.ds-in, .ds-box.ds-open { animation: none; }
  .ds-overlay { animation: none; }
  .ds-box.ds-out { animation: ds-out .01s linear forwards; }
}
.ds-badge {
  display: inline-block; background: transparent; color: var(--orange);
  border: 1.5px dashed var(--orange); border-radius: 2px; padding: 3px 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ds-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin: -8px 0 10px -6px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-size: 24px; line-height: 1; cursor: pointer;
}
.ds-back:hover { background: rgba(23,24,21,.06); color: var(--ink); }
.ds-back.hidden { display: none; }
.ds-title { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.015em; text-transform: uppercase; line-height: 1; margin: 12px 0 6px; }
.ds-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
#bc-ds-list .bump { margin-top: 14px; }
#bc-ds-list .bump { border-width: 2.5px; }
#bc-ds-list .bump-check { border-width: 2.5px; }
.ds-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 20px; }
.ds-btn {
  border-radius: 2px; padding: 14px 10px; font-family: inherit;
  font-size: 14.5px; font-weight: 700; letter-spacing: var(--ls);
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.ds-btn.ghost { background: transparent; border: 1.5px solid var(--card-line); color: var(--ink); }
.ds-btn.ghost:hover { border-color: var(--muted); }
.ds-btn.solid { background: var(--orange); border: 1.5px solid var(--orange); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(244,101,53,.55); }
.ds-btn.solid:hover { background: var(--orange-hi); border-color: var(--orange-hi); transform: translateY(-1px); }
.ds-btn:active { transform: scale(.985); }
.ds-btn:disabled { opacity: .7; cursor: default; transform: none; }
.ds-btn.loading { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.ds-spin {
  display: inline-block; width: 16px; height: 16px; flex-shrink: 0;
  border: 2.5px solid rgba(23,24,21,.25); border-top-color: var(--ink);
  border-radius: 50%; animation: bcSpin .6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ds-spin { animation-duration: 2s; } }


.coupon-row { display: flex; gap: 8px; align-items: stretch; }
.coupon-row .field { flex: 1; text-transform: uppercase; letter-spacing: .05em; min-width: 0; }
.coupon-btn {
  background: var(--orange); color: var(--ink); border: 0; border-radius: 2px;
  padding: 0 20px; min-width: 96px; font-family: inherit; font-weight: 700; font-size: 14px;
  letter-spacing: var(--ls); cursor: pointer; transition: background .15s, opacity .15s;
}
.coupon-btn:hover { background: var(--orange-hi); }
.coupon-btn:disabled { opacity: .6; cursor: default; }
.coupon-row.valid .field { border-color: var(--orange); background: var(--green-soft); box-shadow: 0 0 0 4px var(--ring); }
.bc-coupon-msg { font-size: 12.5px; margin-top: 7px; display: none; font-weight: 600; }
.bc-coupon-msg.ok { display: block; color: #5f7a3d; }
.bc-coupon-msg.err { display: block; color: #b3372a; }
.bc-coupon-spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(23,24,21,.25); border-top-color: var(--ink); border-radius: 50%;
  animation: bcSpin .6s linear infinite; vertical-align: middle;
}
@keyframes bcSpin { to { transform: rotate(360deg); } }


.summary { margin-top: 26px; border: 1px solid var(--line); border-radius: 2px; padding: 18px 18px 8px; background: rgba(23,24,21,.02); }
.summary h3 { font-family: var(--mono); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.srow, .bc-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.bc-item { font-size: 13.5px; color: var(--muted); }
.bc-item span:last-child { color: var(--ink); font-weight: 600; }
.disc { color: #5f7a3d; font-weight: 600; }
.srow.total { font-weight: 700; font-size: 16px; border-bottom: none; }
.srow.total span:last-child { font-family: var(--display); font-size: 24px; letter-spacing: -.01em; }
.coupon-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 1.5px dashed var(--orange);
  border-radius: 2px; padding: 2px 7px 2px 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--orange);
  letter-spacing: 0.05em; text-transform: uppercase;
}


.pay-btn {
  width: 100%; margin-top: 24px; background: var(--orange); color: var(--ink);
  border: none; border-radius: 2px; padding: 17px; font-family: inherit;
  font-size: 15.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 10px 24px -8px rgba(244,101,53,.5);
}
.pay-btn:hover { background: var(--orange-hi); transform: translateY(-1px); }
.pay-btn:disabled { opacity: .6; cursor: default; transform: none; }
.bc-sl { align-items: center; justify-content: center; gap: 9px; }
.bc-spin {
  display: inline-block; width: 18px; height: 18px; flex-shrink: 0;
  border: 2.5px solid rgba(23,24,21,.25); border-top-color: var(--ink);
  border-radius: 50%; animation: bcSpin .6s linear infinite;
}
.bc-sl-txt:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .bc-spin { animation-duration: 2s; } }
.co-msg { font-size: 14px; text-align: center; margin-top: 10px; min-height: 0; color: #b3372a; display: none; }


.pay-note {
  margin-top: 12px; padding: 0 4px;
  font-size: 11.5px; line-height: 1.55; text-align: center;
  color: var(--muted); letter-spacing: 0;
}
.pay-note b { color: var(--ink); font-weight: 600; }


.bc-alert {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px 10px;
  align-items: start; text-align: left;
  margin-top: 12px; padding: 13px 14px;
  border: 1px solid #d9a441; border-radius: 2px;
  background: #fbf1de; color: #6b4c14;
}
.bc-alert.one { align-items: center; }
.bc-alert-ico { width: 18px; height: 18px; color: #b8780f; margin-top: 1px; }
.bc-alert.one .bc-alert-ico { margin-top: 0; }
.bc-alert-ico svg { width: 100%; height: 100%; display: block; }
.bc-alert-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bc-alert-txt b { font-size: 14px; font-weight: 700; line-height: 1.35; color: #4d3610; }
.bc-alert-txt em { font-style: normal; font-size: 13px; line-height: 1.45; color: #6b4c14; }
.bc-alert-act {
  grid-column: 1 / -1;
  margin-top: 4px; width: 100%; padding: 11px 14px;
  border: 0; border-radius: 2px; cursor: pointer;
  background: var(--orange); color: var(--ink);
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: var(--ls);
}
.bc-alert-act:hover { background: var(--orange-hi); }
.bc-alert-act:active { transform: translateY(1px); }


.co-foot {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px; margin-top: 30px; color: var(--muted); font-size: 9px;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em;
}
.co-foot a { color: var(--muted); text-decoration: none; }
.co-foot a:hover { color: var(--ink); }
.co-foot .powered { display: inline-flex; align-items: center; gap: 5px; }
.co-foot .sep { opacity: .5; }
.co-copy { text-align: center; font-size: 11px; color: var(--muted); margin-top: 10px; }


@media (hover: none) and (pointer: coarse) {
  .field, select.field, .coupon-row .field { font-size: 16px; }
}

@media (max-width: 520px) {
  body {
    padding: 14px 3px calc(14px + env(safe-area-inset-bottom));
    padding-left: max(3px, env(safe-area-inset-left));
    padding-right: max(3px, env(safe-area-inset-right));
  }
  .checkout { padding: 22px 13px 22px; }
  .co-timer { font-size: 9px; margin: -4px 0 16px; padding: 8px 12px; }
  .co-head { gap: 12px; }
  .co-head .product { width: 56px; height: 56px; flex-shrink: 0; }
  .plan-name { font-size: 22px; }
  .plan-price-row { gap: 6px; margin-top: 6px; }
  .plan-price { font-size: 14px; }
  .bonus-tag { font-size: 9px; padding: 3px 7px; gap: 5px; }
  .slogan { margin: 12px 0 18px; }
  .co-brand { margin: -6px 0 18px; }
  .co-list { padding: 12px 14px; }

  
  .field { padding: 14px 14px; }
  .lbl { margin: 14px 0 6px; }
  .grid-2 { gap: 10px; }
  .methods { gap: 10px; margin: 18px 0 4px; }
  .method { padding: 15px 12px; font-size: 15px; }
  .bump { padding: 14px; margin-top: 18px; gap: 10px; }
  #bc-card.show { max-height: 800px; }
  .summary { margin-top: 20px; padding: 15px 15px 6px; }
  .pay-btn { padding: 17px 16px; margin-top: 20px; font-size: 14.5px; }
  .co-foot { margin-top: 22px; gap: 6px 8px; }

  .ds-overlay { align-items: flex-end; padding: 0; }
  .ds-box {
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 3px 3px 0 0;
    padding: 22px 14px calc(36px + env(safe-area-inset-bottom));
  }
  .ds-box.ds-out { animation-name: ds-out-sheet; }
  .ds-box.ds-in { animation-name: ds-in-sheet; }
  .ds-box.ds-open { animation: ds-open-sheet .44s cubic-bezier(.32,.72,0,1); }
  .ds-box.ds-close { animation: ds-close-sheet .4s cubic-bezier(.32,0,.3,1) forwards; }
  .ds-overlay { animation-duration: .38s; }
  .ds-overlay.ds-closing { animation-duration: .4s; }
  .ds-title { font-size: 21px; }
  .ds-btn { padding: 15px 10px; font-size: 14px; }
}


@media (max-width: 360px) {
  .checkout { padding: 20px 11px; }
  .co-head .product { width: 50px; height: 50px; }
  .plan-name { font-size: 19px; }
  .bonus-tag .bonus-name { font-size: 9px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .method { gap: 7px; font-size: 14px; padding: 14px 8px; }
  .method svg { width: 20px; height: 20px; }
  .bump-title { font-size: 14px; }
  .ds-actions { grid-template-columns: 1fr; }
  .ds-btn.solid { order: -1; }
}


.tds-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(23,24,21,.78); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tds-overlay.hidden { display: none; }
.tds-box {
  background: var(--card); color: var(--ink); border: 1px solid var(--card-line);
  border-radius: 3px; padding: 22px 18px 18px;
  width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-card); text-align: center;
}
.tds-title { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls); margin: 0 0 6px; }
.tds-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.tds-frame {
  width: 100%; min-height: 400px; display: flex; justify-content: center;
  overflow: auto; -webkit-overflow-scrolling: touch;
  background: #fff; border-radius: 2px;
}
.tds-frame iframe { max-width: 100%; border: 0; }

#bc-tds-method {
  position: absolute; width: 1px; height: 1px;
  left: -9999px; top: -9999px; overflow: hidden; opacity: 0; pointer-events: none;
}

@media (max-width: 560px) {
  .tds-overlay { padding: 0; align-items: flex-end; }
  .tds-box { max-width: 100%; border-radius: 3px 3px 0 0; max-height: 96vh; }
}
