/* FTS Checkout V205 — summary clipping and visible payment action fix, backend-ready */
body[data-section="checkout"] main{min-height:calc(100vh - 86px);}
body[data-section="checkout"] .checkout-launch{width:min(1360px,calc(100vw - 42px))!important;margin:0 auto;padding:18px 0 24px;}
body[data-section="checkout"] .checkout-launch-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,520px);gap:18px;align-items:end;padding:clamp(18px,2vw,26px)!important;margin-bottom:14px;}
body[data-section="checkout"] .checkout-launch-hero h1{font-size:clamp(52px,6vw,96px)!important;letter-spacing:-.045em;line-height:.86;margin:0;}
body[data-section="checkout"] .checkout-launch-hero .lead{max-width:720px;margin-top:10px;}
.checkout-flow-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.checkout-flow-mini span{border:1px solid var(--line);background:var(--soft);padding:10px 11px;display:grid;gap:4px;font-family:var(--mono);font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);min-height:54px;}
.checkout-flow-mini b{color:var(--ink);font-size:11px;}
body[data-section="checkout"] .checkout-launch-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);gap:14px;align-items:start;}
body[data-section="checkout"] .checkout-panel{padding:clamp(16px,1.65vw,22px)!important;}
body[data-section="checkout"] .checkout-review-panel{position:sticky;top:112px;max-height:calc(100vh - 128px);display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;}
body[data-section="checkout"] .compact-title{align-items:end;margin-bottom:12px!important;padding-bottom:10px!important;}
body[data-section="checkout"] .compact-title h2{font-size:clamp(28px,2.7vw,44px)!important;line-height:.95;}
.launch-form-block{display:grid;gap:9px;margin-bottom:14px;}
.launch-form-block:last-child{margin-bottom:0;}
.launch-form-block h3{font-size:clamp(19px,1.65vw,28px)!important;margin:0 0 2px;line-height:1;}
body[data-section="checkout"] label span{display:block;font-family:var(--mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:5px;}
body[data-section="checkout"] .field,body[data-section="checkout"] select.field{width:100%;min-height:42px!important;padding:10px 11px!important;}
body[data-section="checkout"] textarea.field{min-height:74px!important;resize:vertical;}
body[data-section="checkout"] .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
body[data-section="checkout"] .form-row.three{grid-template-columns:1fr .72fr 130px!important;}
body[data-section="checkout"] .launch-radio-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
body[data-section="checkout"] .launch-radio-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body[data-section="checkout"] .radio-card{padding:10px!important;min-height:86px;}
body[data-section="checkout"] .radio-card small{display:block;font-size:11px;line-height:1.35;color:var(--muted);}
.checkout-order-scroll{min-height:64px;max-height:150px;overflow:auto;padding-right:4px;margin-bottom:8px;flex:0 1 auto;}
body[data-section="checkout"] .checkout-order-scroll .cart-item-v101{padding:9px 0!important;margin:0!important;border-left:0!important;border-right:0!important;border-top:0!important;background:transparent!important;}
body[data-section="checkout"] .checkout-order-scroll .cart-copy b{font-size:clamp(18px,1.5vw,24px)!important;}
body[data-section="checkout"] .checkout-order-scroll .cart-actions{gap:8px;}
body[data-section="checkout"] .checkout-order-scroll .cart-qty{min-height:32px;}
body[data-section="checkout"] .checkout-order-scroll .cart-qty-btn{min-height:30px;width:30px;}
body[data-section="checkout"] .checkout-order-scroll .cart-remove{min-height:32px;}
.launch-totals{border-top:1px solid var(--line2);margin-top:2px;padding-top:2px;}
body[data-section="checkout"] .launch-totals .summary-row{padding:7px 0!important;}
body[data-section="checkout"] .launch-totals .summary-row.total{font-size:18px!important;}
.launch-credit-panel,.budbucks-checkout-panel{padding:11px!important;margin:9px 0!important;border:1px solid var(--line);background:var(--soft);display:grid;gap:8px;}
.credit-panel-top{display:flex;justify-content:space-between;gap:14px;align-items:start;}
.credit-panel-top h3{font-size:clamp(18px,1.5vw,24px);line-height:1;margin-top:3px;}
.credit-panel-top strong{font-family:var(--display);font-size:clamp(22px,2.2vw,34px);color:var(--ink);white-space:nowrap;}
.gift-redeem-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;}
.tiny-rule{font-size:11px;line-height:1.35;color:var(--muted);margin:0;}
.payment-block{margin:0 0 8px;}
.checkout-payment-action-card{border:1px solid var(--line);background:rgba(255,255,255,.035);padding:12px;margin:10px 0;border-radius:0;box-shadow:0 10px 24px rgba(0,0,0,.14);flex:0 0 auto;}
.launch-check{margin:7px 0!important;align-items:flex-start;}
.launch-check span{font-size:11px!important;text-transform:none!important;letter-spacing:0!important;font-family:inherit!important;line-height:1.4!important;margin:0!important;}
.launch-pay-button{min-height:58px!important;width:100%;margin-top:10px!important;font-size:clamp(17px,1.45vw,22px)!important;letter-spacing:.08em!important;border-width:2px!important;}
body[data-section="checkout"] .form-msg{min-height:18px;color:var(--muted);font-size:12px;line-height:1.4;margin-top:8px;}
body[data-section="checkout"] .form-msg.is-error{color:#f2b7a0;}
body[data-section="checkout"] .form-msg.is-success{color:var(--ink);}
.checkout-submit-note{font-size:10.5px!important;line-height:1.35!important;margin:7px 0 0!important;}
html[data-theme="light"] .checkout-flow-mini span,
html[data-theme="light"] .launch-credit-panel,
html[data-theme="light"] .budbucks-checkout-panel{background:rgba(255,255,255,.44);border-color:rgba(10,10,10,.13);}
@media(max-width:1120px){
  body[data-section="checkout"] .checkout-launch-hero,
  body[data-section="checkout"] .checkout-launch-grid{grid-template-columns:1fr!important;}
  body[data-section="checkout"] .checkout-review-panel{position:static;top:auto;max-height:none;overflow:visible;}
  .checkout-order-scroll{max-height:260px;}
}
@media(max-width:760px){
  body[data-section="checkout"] .checkout-launch{width:min(100vw - 22px,1360px)!important;padding-top:12px;}
  .checkout-flow-mini{grid-template-columns:repeat(2,minmax(0,1fr));}
  body[data-section="checkout"] .form-row,
  body[data-section="checkout"] .form-row.three,
  body[data-section="checkout"] .launch-radio-grid,
  body[data-section="checkout"] .launch-radio-grid.two{grid-template-columns:1fr!important;}
  .gift-redeem-inline{grid-template-columns:1fr;}
  body[data-section="checkout"] .checkout-launch-hero h1{font-size:52px!important;}
}

/* V204: light theme CTA action card */
html[data-theme="light"] .checkout-payment-action-card{background:rgba(255,255,255,.62);border-color:rgba(10,10,10,.14);}
@media(min-width:1121px){body[data-section="checkout"] .checkout-review-panel::-webkit-scrollbar{width:8px;}body[data-section="checkout"] .checkout-review-panel::-webkit-scrollbar-thumb{background:var(--line2);}}


/* V205: checkout summary clipping + obvious payment action */
@media(min-width:1121px){
  body[data-section="checkout"] .checkout-launch-grid{
    align-items:stretch!important;
  }
  body[data-section="checkout"] .checkout-details-panel,
  body[data-section="checkout"] .checkout-review-panel{
    min-height:calc(100vh - 160px)!important;
  }
  body[data-section="checkout"] .checkout-review-panel{
    top:104px!important;
    max-height:calc(100vh - 118px)!important;
    overflow:auto!important;
    padding-bottom:12px!important;
  }
  body[data-section="checkout"] .checkout-review-panel::after{
    content:"Scroll summary";
    position:sticky;
    bottom:0;
    display:block;
    height:0;
    text-align:right;
    font-family:var(--mono);
    font-size:8px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--muted);
    opacity:.55;
    pointer-events:none;
    transform:translateY(-2px);
  }
}
body[data-section="checkout"] .checkout-order-scroll{
  max-height:230px!important;
  min-height:126px!important;
  overflow:auto!important;
  padding-right:7px!important;
  margin-bottom:8px!important;
  border-bottom:1px solid var(--line2);
  scrollbar-width:thin;
  scrollbar-color:var(--line2) transparent;
}
body[data-section="checkout"] .checkout-order-scroll::-webkit-scrollbar,
body[data-section="checkout"] .checkout-review-panel::-webkit-scrollbar{
  width:8px;
}
body[data-section="checkout"] .checkout-order-scroll::-webkit-scrollbar-thumb,
body[data-section="checkout"] .checkout-review-panel::-webkit-scrollbar-thumb{
  background:var(--line2);
}
body[data-section="checkout"] .checkout-order-scroll .cart-item-v101{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:9px 0!important;
  min-height:0!important;
  overflow:visible!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-copy{
  gap:2px!important;
  overflow:visible!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-copy b{
  font-size:clamp(18px,1.25vw,22px)!important;
  line-height:1.08!important;
  white-space:normal!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-copy small{
  font-size:11px!important;
  line-height:1.22!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-unit{
  display:block!important;
  font-size:9px!important;
  line-height:1.15!important;
  letter-spacing:.16em!important;
  margin-top:2px!important;
  white-space:nowrap!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-actions{
  display:grid!important;
  grid-template-columns:92px minmax(58px,72px) auto!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:end!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-actions strong{
  min-width:58px!important;
  font-size:clamp(19px,1.5vw,26px)!important;
  line-height:1!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-qty{
  min-height:34px!important;
  height:34px!important;
}
body[data-section="checkout"] .checkout-order-scroll .cart-remove{
  min-height:34px!important;
  height:34px!important;
  padding:0 10px!important;
}
body[data-section="checkout"] .launch-credit-panel{
  margin:7px 0!important;
  gap:7px!important;
}
body[data-section="checkout"] .launch-credit-panel .field{
  min-height:38px!important;
}
body[data-section="checkout"] .launch-totals{
  margin-top:4px!important;
  padding-top:0!important;
}
body[data-section="checkout"] .launch-totals .summary-row{
  padding:8px 0!important;
}
body[data-section="checkout"] .checkout-payment-action-card{
  position:sticky!important;
  bottom:8px!important;
  z-index:6!important;
  margin:8px 0 6px!important;
  box-shadow:0 -12px 24px rgba(0,0,0,.36),0 12px 24px rgba(0,0,0,.22)!important;
}
body[data-section="checkout"] .checkout-payment-action-card::before{
  content:"Final step";
  display:block;
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:7px;
}
body[data-section="checkout"] .launch-pay-button{
  min-height:60px!important;
  font-size:clamp(18px,1.55vw,24px)!important;
}
body[data-section="checkout"] .budbucks-checkout-panel{
  margin-top:8px!important;
  padding:9px!important;
}
body[data-section="checkout"] .budbucks-checkout-panel p{
  margin:0!important;
}
@media(max-width:1120px){
  body[data-section="checkout"] .checkout-order-scroll{max-height:none!important;min-height:0!important;}
  body[data-section="checkout"] .checkout-payment-action-card{position:static!important;}
}
@media(max-width:720px){
  body[data-section="checkout"] .checkout-order-scroll .cart-item-v101{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body[data-section="checkout"] .checkout-order-scroll .cart-actions{
    grid-template-columns:1fr!important;
    justify-content:stretch!important;
  }
  body[data-section="checkout"] .checkout-order-scroll .cart-actions strong{text-align:left!important;}
}

/* V206: checkout payment overlap repair — no sticky CTA overlay */
@media(min-width:1121px){
  body[data-section="checkout"] .checkout-launch-grid{
    align-items:stretch!important;
  }
  body[data-section="checkout"] .checkout-details-panel,
  body[data-section="checkout"] .checkout-review-panel{
    min-height:calc(100vh - 158px)!important;
  }
  body[data-section="checkout"] .checkout-review-panel{
    position:static!important;
    top:auto!important;
    max-height:none!important;
    overflow:visible!important;
    display:flex!important;
    flex-direction:column!important;
    padding-bottom:clamp(16px,1.65vw,22px)!important;
  }
  body[data-section="checkout"] .checkout-review-panel::after{
    content:none!important;
    display:none!important;
  }
}
body[data-section="checkout"] .checkout-payment-action-card{
  position:static!important;
  bottom:auto!important;
  z-index:auto!important;
  margin:10px 0 8px!important;
  padding:12px!important;
  box-shadow:none!important;
  border:1px solid var(--line)!important;
  background:rgba(255,255,255,.035)!important;
  transform:none!important;
}
body[data-section="checkout"] .checkout-payment-action-card::before{
  content:"Final step"!important;
  display:block!important;
  height:auto!important;
  margin:0 0 8px!important;
  transform:none!important;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--accent);
}
body[data-section="checkout"] .launch-pay-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:56px!important;
  margin:10px 0 0!important;
  position:relative!important;
  z-index:1!important;
}
body[data-section="checkout"] .checkout-submit-note{
  margin:8px 0 0!important;
  padding:0!important;
}
body[data-section="checkout"] .launch-check{
  position:relative!important;
  z-index:1!important;
  padding:2px 0!important;
}
body[data-section="checkout"] .payment-block{
  margin:0 0 8px!important;
}
body[data-section="checkout"] .budbucks-checkout-panel{
  margin:8px 0 0!important;
  padding:8px 10px!important;
}
body[data-section="checkout"] .budbucks-checkout-panel h3{
  font-size:18px!important;
}
body[data-section="checkout"] .budbucks-checkout-panel .credit-panel-top{
  align-items:center!important;
}
body[data-section="checkout"] .budbucks-checkout-panel .small{
  font-size:10.5px!important;
  line-height:1.3!important;
}
body[data-section="checkout"] .checkout-order-scroll{
  max-height:210px!important;
  min-height:0!important;
  overflow:auto!important;
  margin-bottom:10px!important;
}
body[data-section="checkout"] .launch-credit-panel{
  position:relative!important;
  z-index:1!important;
}
body[data-section="checkout"] .launch-totals{
  position:relative!important;
  z-index:1!important;
  background:transparent!important;
}
html[data-theme="light"] body[data-section="checkout"] .checkout-payment-action-card{
  background:rgba(255,255,255,.62)!important;
}
@media(max-width:1120px){
  body[data-section="checkout"] .checkout-review-panel{overflow:visible!important;}
  body[data-section="checkout"] .checkout-payment-action-card{position:static!important;}
}

/* V207: checkout confidence panel + country/select fit repair */
body[data-section="checkout"] .checkout-details-panel{
  display:flex!important;
  flex-direction:column!important;
}
body[data-section="checkout"] .checkout-details-panel .launch-form-block:last-child{
  flex:1 1 auto!important;
}
body[data-section="checkout"] .checkout-confidence-panel{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:14px!important;
  align-items:stretch!important;
}
body[data-section="checkout"] .confidence-card{
  border:1px solid var(--line)!important;
  background:rgba(255,255,255,.032)!important;
  padding:12px!important;
  min-height:116px!important;
  display:grid!important;
  align-content:start!important;
  gap:6px!important;
}
body[data-section="checkout"] .confidence-card span{
  display:block!important;
  font-family:var(--mono)!important;
  font-size:8px!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  color:var(--accent)!important;
  margin:0!important;
}
body[data-section="checkout"] .confidence-card strong{
  display:block!important;
  font-family:var(--display)!important;
  font-size:clamp(16px,1.2vw,20px)!important;
  line-height:1!important;
  color:var(--ink)!important;
}
body[data-section="checkout"] .confidence-card p{
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  color:var(--muted)!important;
}
body[data-section="checkout"] .confidence-card a{
  color:var(--ink)!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
body[data-section="checkout"] select.field{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  padding-right:30px!important;
  font-size:clamp(14px,1.05vw,18px)!important;
  background-position:right 10px center!important;
}
body[data-section="checkout"] .form-row.three{
  grid-template-columns:minmax(0,1fr) minmax(140px,.78fr) minmax(176px,.44fr)!important;
  align-items:end!important;
}
body[data-section="checkout"] .form-row.three label{
  min-width:0!important;
}
@media(min-width:1121px){
  body[data-section="checkout"] .checkout-launch-grid{
    align-items:stretch!important;
  }
  body[data-section="checkout"] .checkout-details-panel{
    min-height:calc(100vh - 158px)!important;
  }
  body[data-section="checkout"] textarea.field{
    min-height:92px!important;
  }
}
@media(max-width:1120px){
  body[data-section="checkout"] .checkout-confidence-panel{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  body[data-section="checkout"] select.field{
    font-size:16px!important;
  }
  body[data-section="checkout"] .confidence-card{
    min-height:0!important;
  }
}
html[data-theme="light"] body[data-section="checkout"] .confidence-card{
  background:rgba(255,255,255,.54)!important;
  border-color:rgba(10,10,10,.14)!important;
}


/* V238 Checkout launch-copy polish */
body[data-section="checkout"] .checkout-launch-hero h1{
  letter-spacing:-.045em;
}
body[data-section="checkout"] .checkout-submit-note{
  opacity:.82;
}
body[data-section="checkout"] .checkout-payment-action-card{
  box-shadow:0 18px 60px rgba(0,0,0,.18);
}
