/* ═══════════════════════════════════════════
   HARMICHE CHECKOUT v2.1 — Warm · Confident
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:       #ffffff;
  --surf:     #f7f3ee;
  --surf2:    #f0ebe3;
  --ink:      #1c1a17;
  --ink2:     #3a3630;
  --mid:      #6b6258;
  --muted:    #b0a89e;
  --border:   #e2dbd2;
  --border2:  #ccc4b8;
  --brand:    #c4603e;
  --brand2:   #a84e30;
  --brand-lt: #fdf0eb;
  --green:    #1e7a49;
  --green-lt: #edf8f2;
  --red:      #c0392b;
  --gold:     #9a7020;
  --gold-lt:  #fdf8ed;
  --F: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r: 12px;
  --r2: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body.hco-checkout-page {
  font-family: var(--F);
  background: var(--surf);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.55;
}

/* ── HEADER ── */
.hco-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 56px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}
.hco-logo-img { height: 30px; width: auto; display: block; }
.hco-secure-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--mid);
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--green-lt);
  border: 1px solid rgba(30,122,73,.15);
  padding: 5px 12px; border-radius: 20px;
}
.hco-secure-pill svg { color: var(--green); }

/* ── PROGRESS ── */
.hco-progress { height: 4px; background: var(--border); }
.hco-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #e07a56);
  border-radius: 0 3px 3px 0;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* ── LAYOUT ── */
.hco-body {
  max-width: 900px; margin: 0 auto; width: 100%;
  padding: 20px 20px 100px;
  display: grid; grid-template-columns: 1fr 298px;
  gap: 18px; align-items: start;
}

/* ── CARD ── */
.hco-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(28,26,23,.05), 0 0 0 0 transparent;
  transition: box-shadow .2s;
}
.hco-card:last-child { margin-bottom: 0; }
.hco-card-hd {
  padding: 14px 18px;
  background: var(--surf);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.hco-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hco-step-num.done { background: var(--green); }
.hco-card-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--mid);
}
.hco-card-body { padding: 18px; }

/* ── FORM FIELDS ── */
.hco-field { margin-bottom: 14px; }
.hco-field:last-child { margin-bottom: 0; }

.hco-lbl {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 7px;
}
.hco-lbl .opt {
  font-weight: 400; text-transform: none;
  letter-spacing: 0; color: var(--muted); font-size: 11px;
}

/* THE INPUT — warm, grounded, distinctive */
.hco-inp {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border2);
  border-radius: var(--r2);
  background: var(--surf);           /* warm tinted bg — NOT pure white */
  font-family: var(--F);
  font-size: 15px;                   /* never below 16px on mobile */
  color: #000000;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.hco-inp::placeholder {
  color: var(--muted);               /* clearly lighter than typed text */
  opacity: 1;
  font-weight: 400;
  font-size: 14px;
}
.hco-inp:focus {
  border-color: var(--brand);        /* brand colour on focus — warm not cold */
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(196,96,62,.1);
}
.hco-inp.err { border-color: var(--red); background: #fff8f7; }
.hco-inp:disabled {
  background: var(--surf2); color: var(--mid); cursor: not-allowed;
  border-color: var(--border);
}

/* Phone group */
.hco-phone-wrap { display: flex; }
.hco-phone-pre {
  padding: 12px 13px;
  border: 1.5px solid var(--border2); border-right: none;
  border-radius: var(--r2) 0 0 var(--r2);
  background: var(--surf2);
  font-size: 14px; font-weight: 600; color: var(--mid);
  white-space: nowrap; display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.hco-phone-wrap .hco-inp {
  border-radius: 0 var(--r2) var(--r2) 0;
  border-left: none; flex: 1;
}

/* Two-column row */
.hco-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Error */
.hco-err {
  font-size: 12px; color: var(--red);
  margin-top: 5px; display: none; align-items: center; gap: 4px;
}
.hco-err.show { display: flex; }

/* ── OTP BOX ── */
.hco-otp-box {
  background: var(--surf);
  border: 1.5px solid var(--border2);
  border-radius: var(--r2);
  padding: 16px; margin-top: 12px;
  display: none;
}
.hco-otp-box.show { display: block; }
.hco-otp-notice {
  font-size: 13px; color: var(--mid); margin-bottom: 12px;
  line-height: 1.5; display: flex; align-items: flex-start; gap: 8px;
}
.hco-otp-notice svg { flex-shrink: 0; margin-top: 1px; }
.hco-otp-inp {
  letter-spacing: .55em; font-size: 28px; font-weight: 700;
  text-align: center; padding: 14px;
  background: var(--bg);
}
.hco-otp-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 10px;
}
.hco-timer { font-size: 12px; color: var(--muted); }
.hco-resend {
  background: none; border: none; cursor: pointer;
  font-family: var(--F); font-size: 12px; font-weight: 600;
  color: var(--brand); text-decoration: underline; padding: 0;
}
.hco-resend:disabled { color: var(--muted); text-decoration: none; cursor: not-allowed; }

/* ── VERIFIED PHONE ── */
.hco-verified-blk {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--green-lt);
  border: 1.5px solid rgba(30,122,73,.2);
  border-radius: var(--r2); margin-bottom: 14px;
}
.hco-verified-left { display: flex; align-items: center; gap: 9px; }
.hco-verified-left svg { color: var(--green); flex-shrink: 0; }
.hco-verified-num { font-size: 14px; font-weight: 700; color: var(--ink); }
.hco-verified-sub { font-size: 11px; color: var(--mid); margin-top: 1px; }
.hco-edit-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 5px 11px; cursor: pointer;
  font-family: var(--F); font-size: 11px; font-weight: 600;
  color: var(--mid); transition: all .15s;
}
.hco-edit-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--surf); }
.hco-phone-edit-row { display: none; margin-bottom: 13px; }
.hco-phone-edit-row.show { display: block; }
.hco-phone-edit-actions { display: flex; gap: 8px; margin-top: 8px; }

/* ── PIN OK ── */
.hco-pin-ok {
  font-size: 12px; color: var(--green); font-weight: 500;
  display: none; align-items: center; gap: 5px; margin-top: 6px;
}
.hco-pin-ok.show { display: flex; }

/* ── GSTIN TOGGLE ── */
.hco-gstin-toggle {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  padding: 13px 14px;
  background: var(--surf);
  border: 1.5px solid var(--border);
  border-radius: var(--r2); transition: border-color .15s;
  user-select: none;
}
.hco-gstin-toggle:hover { border-color: var(--brand); }
.hco-gstin-toggle input[type=checkbox] {
  width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; flex-shrink: 0;
}
.hco-gstin-info .title { font-size: 13px; color: var(--ink2); font-weight: 500; }
.hco-gstin-info .sub   { font-size: 11px; color: var(--muted); margin-top: 2px; }
.hco-gstin-field { display: none; margin-top: 10px; }
.hco-gstin-field.show { display: block; }

/* ── INFO BOX ── */
.hco-info-box {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; margin-bottom: 14px;
  background: var(--green-lt);
  border: 1px solid rgba(30,122,73,.15);
  border-radius: var(--r2);
  font-size: 13px; color: var(--green); font-weight: 500;
}

/* ── PAYMENT OPTIONS ── */
.hco-pay-opts { display: flex; flex-direction: column; gap: 8px; }
.hco-pay-opt {
  border: 1.5px solid var(--border2);
  border-radius: var(--r2);
  padding: 14px 15px; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  background: var(--surf);
}
.hco-pay-opt:hover { border-color: var(--brand-lt); background: var(--bg); }
.hco-pay-opt.sel {
  border-color: var(--ink);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(28,26,23,.07);
}
.hco-pay-opt input[type=radio] { width: 17px; height: 17px; accent-color: var(--ink); flex-shrink: 0; }
.hco-pay-logo {
  width: 40px; height: 26px;
  border: 1px solid var(--border); border-radius: 5px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--mid); flex-shrink: 0;
}
.hco-pay-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.hco-pay-sub   { font-size: 12px; color: var(--mid); margin-top: 2px; }
.hco-cod-pill {
  margin-left: auto;
  background: var(--gold-lt); border: 1px solid rgba(154,112,32,.3);
  border-radius: 20px; padding: 3px 10px;
  font-size: 10px; font-weight: 700; color: var(--gold);
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.hco-cod-blocked {
  border: 1.5px solid var(--border); border-radius: var(--r2);
  padding: 13px 14px; font-size: 13px; color: var(--mid);
  display: flex; align-items: center; gap: 9px; background: var(--surf);
}

/* ── COUPONS ── */
.hco-coupon-section {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hco-coupon-hd {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding-bottom: 12px;
}
.hco-coupon-hd-l {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.hco-coupon-hd-l svg { color: var(--brand); }
.hco-coupon-saved { font-size: 12px; font-weight: 600; color: var(--green); }
.hco-coupon-arr { color: var(--muted); transition: transform .25s; }
.hco-coupon-hd.open .hco-coupon-arr { transform: rotate(180deg); }
.hco-coupon-panel { display: none; }
.hco-coupon-panel.open { display: block; }

.hco-cpn-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

/* COUPON CARD — the deal */
.hco-cpn-card {
  border: 1.5px dashed var(--border2);
  border-radius: var(--r2); padding: 13px 13px;
  display: flex; align-items: center; gap: 11px;
  cursor: pointer; background: var(--bg);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.hco-cpn-card:not(.unavail):hover {
  border-color: var(--brand);
  background: var(--brand-lt);
  border-style: solid;
  box-shadow: 0 2px 8px rgba(196,96,62,.1);
}
/* On hover, button goes white text on brand bg — NOT black on black */
.hco-cpn-card:not(.unavail):hover .hco-cpn-action {
  background: var(--brand2);
  color: #fff;
}
.hco-cpn-card.applied {
  border-color: var(--green); background: var(--green-lt); border-style: solid;
}
.hco-cpn-card.applied .hco-cpn-action { background: var(--green); color: #fff; }
.hco-cpn-card.unavail { opacity: .55; cursor: not-allowed; }
.hco-cpn-icon {
  width: 40px; height: 40px; border-radius: var(--r2);
  background: var(--brand-lt); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  transition: background .15s;
}
.hco-cpn-card.applied .hco-cpn-icon { background: var(--green-lt); color: var(--green); }
.hco-cpn-code {
  font-size: 13px; font-weight: 700; color: var(--ink);
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  letter-spacing: .06em;
}
.hco-cpn-desc { font-size: 12px; color: var(--mid); margin-top: 2px; line-height: 1.4; }
.hco-cpn-save { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 2px; }
.hco-cpn-need { font-size: 11px; color: var(--muted); margin-top: 2px; }
.hco-cpn-action {
  margin-left: auto; flex-shrink: 0;
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--r2);
  padding: 7px 14px; font-family: var(--F);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s;
}

/* Manual coupon input */
.hco-cpn-manual-lbl { font-size: 11px; color: var(--mid); margin-bottom: 7px; }
.hco-cpn-row { display: flex; }
.hco-cpn-row .hco-inp {
  flex: 1; text-transform: uppercase; letter-spacing: .06em; font-size: 14px;
  border-radius: var(--r2) 0 0 var(--r2); border-right: none;
}
.hco-cpn-submit {
  padding: 0 18px;
  background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 0 var(--r2) var(--r2) 0;
  font-family: var(--F); font-size: 11px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: opacity .15s;
}
.hco-cpn-submit:hover { opacity: .85; }
.hco-cpn-fb { font-size: 12px; margin-top: 7px; display: none; align-items: center; gap: 5px; font-weight: 500; }
.hco-cpn-fb.ok  { display: flex; color: var(--green); }
.hco-cpn-fb.bad { display: flex; color: var(--red); }

/* ── BUTTONS ── */

/* THE MAIN CTA — warm gradient, glows, confident */
.hco-cta {
  width: 100%; padding: 17px 20px;
  background: linear-gradient(135deg, #c4603e 0%, #d9724f 50%, #c4603e 100%);
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--F); font-size: 16px; font-weight: 700;
  letter-spacing: .01em;
  border: none; cursor: pointer; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 16px;
  transition: background-position .3s, opacity .15s, transform .1s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(196,96,62,.45);
  position: relative; overflow: hidden;
}
.hco-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
  pointer-events: none;
}
.hco-cta:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(196,96,62,.5);
}
.hco-cta:active { transform: scale(.99); box-shadow: 0 2px 10px rgba(196,96,62,.35); }
.hco-cta:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* SECONDARY BUTTON — dark, strong */
.hco-btn2 {
  width: 100%; padding: 15px 20px;
  background: var(--ink); color: #fff;
  font-family: var(--F); font-size: 15px; font-weight: 700;
  letter-spacing: .01em; border: none; cursor: pointer;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
  transition: opacity .15s, transform .1s;
  box-shadow: 0 2px 10px rgba(28,26,23,.18);
}
.hco-btn2:hover  { opacity: .88; transform: translateY(-1px); }
.hco-btn2:active { transform: scale(.99); }
.hco-btn2:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* GHOST — subtle, always readable */
.hco-ghost {
  width: 100%; padding: 12px 20px;
  background: transparent; color: var(--mid);
  font-family: var(--F); font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--border); cursor: pointer;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 8px;
  transition: border-color .15s, color .15s;
}
.hco-ghost:hover { border-color: var(--border2); color: var(--ink2); }

/* SMALL BUTTON */
.hco-btn-sm {
  padding: 10px 16px; background: var(--ink); color: #fff;
  font-family: var(--F); font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex-shrink: 0; transition: opacity .15s;
}
.hco-btn-sm:hover { opacity: .88; }
.hco-btn-sm.ghost {
  background: transparent; color: var(--mid);
  border: 1.5px solid var(--border);
}
.hco-btn-sm.ghost:hover { border-color: var(--border2); color: var(--ink2); }

/* Trust row */
.hco-trust-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px 16px; margin-top: 14px;
}
.hco-trust-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--mid);
}
.hco-trust-item svg { color: var(--green); }

/* ── ORDER SUMMARY ── */
.hco-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: sticky; top: 70px;
  box-shadow: 0 2px 12px rgba(28,26,23,.06);
  overflow: hidden;
}
.hco-sum-hd {
  padding: 13px 16px;
  background: var(--surf);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.hco-sum-hd-l {
  font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--mid);
}
.hco-sum-total-preview { font-size: 16px; font-weight: 700; color: var(--ink); }
.hco-sum-arr { color: var(--muted); transition: transform .2s; }
.hco-sum-hd.collapsed .hco-sum-arr { transform: rotate(180deg); }

.hco-items { padding: 0 14px; max-height: 280px; overflow-y: auto; }
.hco-item { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.hco-item:last-child { border-bottom: none; }
.hco-item-img-wrap { position: relative; flex-shrink: 0; width: 52px; height: 64px; }
.hco-item-img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; background: var(--surf); display: block; }
.hco-item-ph  { width: 100%; height: 100%; background: var(--surf); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--border); }
.hco-item-qty {
  position: absolute; top: -5px; right: -5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.hco-item-name  { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.hco-item-attrs { font-size: 11px; color: var(--mid); }
.hco-item-price { font-size: 14px; font-weight: 700; color: var(--ink); margin-left: auto; white-space: nowrap; align-self: flex-start; }

.hco-totals { padding: 12px 16px; border-top: 1px solid var(--border); }
.hco-total-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--mid); margin-bottom: 6px; }
.hco-total-row.green { color: var(--green); font-weight: 600; }
.hco-divider  { height: 1px; background: var(--border); margin: 9px 0; }
.hco-total-final { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: var(--ink); }
.hco-total-final .amt { font-size: 20px; }
.hco-tax { font-size: 10px; color: var(--muted); text-align: right; margin-top: 3px; }

.hco-trust-blk { padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surf); }
.hco-trust-blk-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--mid); margin-bottom: 6px; }
.hco-trust-blk-item:last-child { margin-bottom: 0; }
.hco-trust-blk-item svg { color: var(--brand); flex-shrink: 0; }
.hco-trust-blk-item strong { color: var(--ink); }

/* ── STEP 2 SUMMARY BAR ── */
.hco-step1-summary {
  padding: 12px 18px; background: var(--surf);
  font-size: 13px; color: var(--mid); line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.hco-step1-summary strong { color: var(--ink); }

/* ── SUCCESS ── */
.hco-success-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.hco-success-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.hco-success-card { max-width: 400px; width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 24px; text-align: center; box-shadow: 0 2px 20px rgba(28,26,23,.08); }
.hco-success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-lt); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; animation: popIn .4s cubic-bezier(.175,.885,.32,1.275); }
.hco-success-icon svg { color: var(--green); }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hco-success-h   { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.hco-success-msg { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: 5px; }
.hco-success-num { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.hco-success-cod { font-size: 13px; color: var(--brand); font-weight: 600; margin-bottom: 18px; }
.hco-success-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; max-width: 220px; margin: 0 auto; padding: 14px;
  background: var(--ink); color: #fff; border-radius: var(--r);
  font-family: var(--F); font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-decoration: none; transition: opacity .15s;
}
.hco-success-link:hover { opacity: .88; }

/* ── SPINNER ── */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MOBILE BOTTOM BAR ── */
.hco-mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 16px; background: var(--bg);
  border-top: 1px solid var(--border); z-index: 99;
  box-shadow: 0 -4px 24px rgba(28,26,23,.1);
}
.hco-mobile-bar .hco-cta,
.hco-mobile-bar .hco-btn2 { margin-top: 0; flex: 1; }

/* ═══════════════════════════════
   MOBILE (90% of users)
   ═══════════════════════════════ */
@media (max-width: 680px) {
  .hco-body {
    grid-template-columns: 1fr;
    padding: 12px 12px 100px;
    gap: 10px;
  }
  .hco-summary { position: static; order: -1; }
  .hco-mobile-bar { display: flex; }
  .hco-card-body { padding: 14px; }
  .hco-card-hd   { padding: 12px 14px; }
  /* 16px minimum on mobile — prevents iOS zoom */
  .hco-inp { font-size: 16px; padding: 13px 14px; }
  .hco-otp-inp { font-size: 24px; }
  .hco-row { grid-template-columns: 1fr; gap: 10px; }
  .hco-cta  { padding: 18px; font-size: 16px; }
  .hco-btn2 { padding: 16px; }
  .hco-success-card { padding: 28px 18px; }
}

@media (min-width: 681px) { .hco-mobile-bar { display: none !important; } }

.hco-inp:-webkit-autofill,
.hco-inp:-webkit-autofill:hover,
.hco-inp:-webkit-autofill:focus {
  -webkit-text-fill-color: #000000;
  -webkit-box-shadow: 0 0 0px 1000px #f7f3ee inset;
  transition: background-color 5000s ease-in-out 0s;
}

.hco-inp:not(:placeholder-shown) {
  color: #000000;
}

@media (max-width: 680px) {
  /* Hide in-card CTAs on mobile — bottom bar handles them */
  .hco-card-body .hco-cta,
  .hco-card-body .hco-btn2 {
    display: none;
  }
}
