/* FeroHush custom checkout */
body.co { background: var(--cream); padding-bottom: 0 !important; }
.co-testbar { background: #FFF4D6; color: #6B5300; text-align: center; font-size: 12.5px; font-weight: 600; padding: 8px 16px; border-bottom: 1px solid #F0DFA6; }
.co-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--line); background: var(--cream); }
.co-head .brand { font-size: 28px; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.co-grid { max-width: 1120px; margin: 0 auto; padding: 28px 24px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.co-card h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.co-card h2 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--sans); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.co-h-small { font-family: var(--sans) !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px !important; }
.co-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.co-fine { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.co-fine a, .co-hint a { text-decoration: underline; }
.co-fine.center { text-align: center; }

/* tiers */
.tier-list { display: flex; flex-direction: column; gap: 10px; }
.trow { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.trow:hover { border-color: #d9cbb4; }
.trow.on { border-color: var(--coral); background: var(--coral-soft); }
.trow input { position: absolute; opacity: 0; pointer-events: none; }
.trow .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9bda9; display: inline-flex; align-items: center; justify-content: center; }
.trow.on .dot { border-color: var(--coral); }
.trow.on .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.trow .t-main { min-width: 0; }
.trow .t-title { font-weight: 700; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trow .t-flag { background: var(--coral); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.trow .t-flag.alt { background: var(--ink); }
.trow .t-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.trow .t-sub .free { color: #3d7a4c; font-weight: 700; }
.trow .t-price { text-align: right; white-space: nowrap; }
.trow .t-price strong { display: block; font-size: 16px; }
.trow .t-price s { font-size: 12px; color: var(--muted); }
.trow:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }

/* bump */
.co-bump { border: 2px dashed var(--coral); background: #FFFBF8; padding: 16px 18px; }
.bump { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.bump input { position: absolute; opacity: 0; }
.bump-box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--coral); background: #fff; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.bump input:checked + .bump-box { background: var(--coral); }
.bump input:checked + .bump-box::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 800; }
.bump input:focus-visible + .bump-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.bump-txt strong { color: var(--ink); }

/* express */
.express { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wallet-slot { min-height: 0; }
.wallet-slot:empty { display: none; }
.wallet-slot iframe, .wallet-slot > * { width: 100% !important; }
.paypal-btn { height: 46px; border-radius: 8px; border: none; background: #FFC439; cursor: pointer; font: italic 900 19px Arial, Helvetica, sans-serif; display: flex; align-items: center; justify-content: center; }
.paypal-btn:hover { filter: brightness(.96); }
.pp1 { color: #003087; } .pp2 { color: #009CDE; }
.co-or { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.co-or::before, .co-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* fields */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.fld .opt { font-weight: 500; color: var(--muted); }
.fld input, .fld select { height: 46px; border: 1.5px solid #ddd3c3; border-radius: 10px; padding: 0 13px; font: 500 15px var(--sans); color: var(--ink); background: #fff; width: 100%; -webkit-appearance: none; appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, #6B7585 50%), linear-gradient(135deg, #6B7585 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,30,61,.08); }
.fld.bad input, .fld.bad select, .fld.bad .cj-field { border-color: #C2412D; }
.fld .msg { font-size: 12px; color: #C2412D; }
.cj-field { height: 46px; border: 1.5px solid #ddd3c3; border-radius: 10px; background: #fff; overflow: hidden; }
.cj-field iframe { width: 100% !important; height: 43px !important; border: 0; }
.cj-field.focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,30,61,.08); }
.cj-field.ok { border-color: #5E9C6D; }
.cj-fallback { margin-top: 10px; font-size: 13px; color: #8a2a1c; background: #fdecea; padding: 10px 12px; border-radius: 8px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; cursor: pointer; line-height: 1.45; }
.chk input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--coral); flex-shrink: 0; }
.chk a { text-decoration: underline; }
.chk.req.bad span { color: #C2412D; }

/* payment methods */
.pm-list { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.pm { display: flex; align-items: center; gap: 12px; padding: 14px 14px; cursor: pointer; border-bottom: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.pm.on { background: #FBF8F3; }
.pm input { accent-color: var(--coral); width: 18px; height: 18px; }
.pm-name { font-weight: 700; font-size: 14.5px; flex: 1; }
.pm-logos .pay-logos.sm { margin: 0; gap: 4px; justify-content: flex-end; }
.pm-logos .pay-logos.sm svg { height: 20px; border: 1px solid #e7e2d8; }
.pm-logos .pay-logos.sm svg:nth-child(n+5) { display: none; }
.pp-mini { font: italic 900 15px Arial, Helvetica, sans-serif; }
.pm-body { padding: 4px 14px 16px; background: #FBF8F3; border-bottom: 1px solid var(--line); }
.pm-body:last-child { border-bottom: 0; }

/* final */
.co-final { text-align: left; }
.co-err { margin-top: 14px; background: #fdecea; color: #8a2a1c; border: 1px solid #f5c6bd; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.pay-btn { margin-top: 16px; width: 100%; height: 58px; border: none; border-radius: 12px; background: var(--coral); color: #fff; font: 800 16px var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px -10px rgba(232,123,92,.6); transition: background .15s; }
.pay-btn:hover { background: var(--coral-dark); }
.pay-btn[disabled] { opacity: .65; cursor: progress; }
.pay-btn .amt::before { content: '·'; margin-right: 10px; opacity: .7; }
.pay-btn .amt:empty::before { content: none; }

/* summary */
.co-side { position: sticky; top: 20px; }
.sum-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.sum-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sum-thumb { position: relative; width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--line); }
.sum-thumb img { width: 100%; height: 100%; border-radius: 11px; object-fit: cover; }
.sum-thumb .badge { position: absolute; top: -8px; right: -8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.sum-name { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); line-height: 1.4; min-width: 0; }
.sum-name strong { color: var(--ink); font-size: 14.5px; }
.sum-unit { color: var(--ink-soft); font-weight: 600; }
.sum-price { text-align: right; font-size: 14.5px; }
.sum-price s { display: block; font-size: 12px; color: var(--muted); }
.sum-lines { margin: 14px 0 0; }
.sum-lines > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-soft); }
.sum-lines dd { margin: 0; font-weight: 600; color: var(--ink); }
.sum-lines .tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; color: var(--ink); font-weight: 700; }
.sum-lines .tot small { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.sum-lines .tot dd { font-size: 20px; }
.sum-save { margin-top: 6px; font-size: 13px; font-weight: 700; color: #3d7a4c; text-align: right; }
.sum-guar { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; margin-top: 18px; padding: 14px; background: var(--cream); border-radius: 12px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }
.sum-guar strong { color: var(--ink); }
.sum-guar .seal { width: 54px; height: 54px; border-radius: 50%; background: var(--sage); color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.sum-guar .seal small { font: 800 7.5px var(--sans); letter-spacing: .15em; margin-top: 2px; }
.sum-trust { list-style: none; margin-top: 14px; font-size: 13px; color: var(--ink-soft); display: grid; gap: 6px; }
.sum-trust a { text-decoration: underline; }

.co-summary-toggle { display: none; }

.co-foot { border-top: 1px solid var(--line); padding: 26px 24px 36px; text-align: center; font-size: 13px; color: var(--muted); }
.co-foot p { margin-top: 8px; }
.co-foot a { text-decoration: underline; }
.co-foot .pay-logos svg { border: 1px solid #e7e2d8; }
.co-addr { font-size: 12px; line-height: 1.7; }

.co-overlay { position: fixed; inset: 0; background: rgba(250,247,242,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 200; font-weight: 600; color: var(--ink); }
.co-overlay[hidden] { display: none; }
.spin { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--coral); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .co-grid { grid-template-columns: 1fr; padding: 14px 14px 30px; gap: 14px; }
  .co-side { position: static; order: -1; display: none; }
  .co-side.open { display: block; }
  .co-summary-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 18px; background: #F3EEE5; border: 0; border-bottom: 1px solid var(--line); font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }
  .co-summary-toggle .chev { display: inline-block; transition: transform .2s; }
  .co-summary-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .co-head { padding: 14px 16px; }
  .co-head .brand { font-size: 24px; }
}
@media (max-width: 560px) {
  .co-card { padding: 18px 16px; border-radius: 14px; }
  .row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .express { grid-template-columns: 1fr; }
  .pm-logos { width: 100%; padding-left: 30px; }
  .pm-logos .pay-logos.sm { justify-content: flex-start; }
  .trow { padding: 12px; gap: 10px; }
  .trow .t-title { font-size: 14px; }
}
.row[hidden], .pm-body[hidden], .cj-fallback[hidden], .co-err[hidden] { display: none !important; }

.buy-facts { display: grid; gap: 8px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 4px; }
.buy-facts div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.buy-facts span { color: var(--muted); font-weight: 600; }
.buy-facts strong { color: var(--ink); }
.reqmark { font-style: normal; color: var(--muted); font-size: 12px; }
#termsExpressWrap { margin-top: 12px; font-size: 12.5px; }
.express-locked .wallet-slot, .express-locked .paypal-btn { opacity: .45; pointer-events: none; }
