/* ==========================================================================
   BIOHACK HEALTH — commerce layer (cart · account · checkout)
   Crisp system: solid panels, tight shadows, zero blur.
   ========================================================================== */
.nav-icon-btn{
  position:relative; width:42px; height:42px; display:grid; place-items:center;
  background:rgba(12,14,30,.85); border:1px solid var(--line); border-radius:50%;
  color:var(--txt); cursor:pointer; transition:border-color .25s ease, transform .25s ease;
}
.nav-icon-btn:hover{ border-color:var(--teal-hi); transform:translateY(-1px); }
.nav-icon-btn svg{ width:20px; height:20px; }
.cart-count{
  position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 4px;
  display:none; align-items:center; justify-content:center;
  font-family:var(--f-display); font-size:10px; font-weight:700; color:#fff;
  background:var(--grad); border-radius:999px; border:2px solid var(--bg);
}
.cart-count.on{ display:inline-flex; }
.acct-dot{
  position:absolute; top:1px; right:3px; width:9px; height:9px; border-radius:50%;
  background:var(--teal-hi); border:2px solid var(--bg); display:none;
}
.acct-dot.on{ display:block; }

/* ---- cart drawer ---- */
#drawerVeil{
  position:fixed; inset:0; background:rgba(2,3,8,.72); z-index:940;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
#drawerVeil.open{ opacity:1; pointer-events:auto; }
#cartDrawer{
  position:fixed; top:0; right:0; bottom:0; width:min(420px,94vw); z-index:950;
  background:linear-gradient(175deg,#0c0f22,#07091a);
  border-left:1px solid var(--line-hi);
  display:flex; flex-direction:column;
  transform:translateX(102%); transition:transform .45s var(--ease-out);
}
#cartDrawer.open{ transform:translateX(0); }
.cd-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 24px; border-bottom:1px solid var(--line);
}
.cd-title{ font-family:var(--f-display); font-weight:700; font-size:15px; letter-spacing:3px; }
#cdClose{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  background:transparent; color:var(--txt); cursor:pointer; transition:border-color .25s, transform .25s;
}
#cdClose:hover{ border-color:var(--teal-hi); transform:rotate(90deg); }
.cd-items{ flex:1; overflow-y:auto; padding:14px 24px; }
.cd-empty{ padding:40px 0; text-align:center; color:var(--dim); font-size:14.5px; line-height:2; }
.cd-empty a{ color:var(--teal-hi); }
.cd-item{
  display:flex; align-items:center; gap:14px; padding:14px 0;
  border-bottom:1px solid rgba(94,106,201,.12);
}
.cd-swatch{ width:16px; height:34px; border-radius:4px 4px 7px 7px; flex:0 0 auto; border:1px solid rgba(255,255,255,.25); }
.cd-info{ flex:1; min-width:0; }
.cd-info strong{ display:block; font-family:var(--f-display); font-size:13.5px; letter-spacing:.4px; }
.cd-info span{ font-size:12.5px; color:var(--dim); }
.cd-qty{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line); border-radius:999px; padding:4px 8px;
}
.cd-qty button{
  width:22px; height:22px; border:0; border-radius:50%; cursor:pointer;
  background:rgba(94,106,201,.18); color:var(--txt); font-size:13px; line-height:1;
}
.cd-qty button:hover{ background:var(--indigo); }
.cd-qty span{ font-family:var(--f-display); font-size:12.5px; min-width:14px; text-align:center; }
.cd-x{ border:0; background:none; color:#5a6488; cursor:pointer; font-size:12px; padding:6px; }
.cd-x:hover{ color:#fff; }
.cd-foot{ padding:18px 24px 24px; border-top:1px solid var(--line); }
.cd-row{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:14px;
  font-size:14px; color:var(--dim);
}
.cd-row strong{ font-family:var(--f-display); font-size:20px; color:var(--txt); }
.cd-checkout{ width:100%; }
.cd-checkout.disabled{ opacity:.45; pointer-events:none; }
.cd-pay-hint{
  margin-top:12px; text-align:center; font-family:var(--f-display);
  font-size:9px; letter-spacing:1.8px; color:var(--dim);
}
.cd-rup{
  margin-top:10px; text-align:center; font-size:9.5px; letter-spacing:1.2px;
  text-transform:uppercase; color:#5a6488;
}

/* ---- account modal ---- */
#acctModal{ position:fixed; inset:0; z-index:960; display:grid; place-items:center; padding:22px; visibility:hidden; }
#acctModal.open{ visibility:visible; }
.am-veil{ position:absolute; inset:0; background:rgba(2,3,8,.78); opacity:0; transition:opacity .3s ease; }
#acctModal.open .am-veil{ opacity:1; }
.am-panel{
  position:relative; width:min(420px,100%); border-radius:20px;
  border:1px solid var(--line-hi); background:linear-gradient(170deg,#0d1126,#07091a);
  padding:34px 30px; transform:translateY(20px); opacity:0;
  transition:transform .35s var(--ease-out), opacity .3s ease;
}
#acctModal.open .am-panel{ transform:none; opacity:1; }
.am-close{
  position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line); background:transparent; color:var(--txt); cursor:pointer;
  transition:border-color .25s, transform .25s;
}
.am-close:hover{ border-color:var(--teal-hi); transform:rotate(90deg); }
.am-badge{
  font-family:var(--f-display); font-size:9.5px; letter-spacing:2.5px; color:var(--teal-hi);
  margin-bottom:10px;
}
.am-badge em{ font-style:normal; color:var(--purple-hi); }
.am-panel h3{ font-family:var(--f-display); font-weight:700; font-size:24px; margin-bottom:20px; }
.am-field{ display:block; margin-bottom:14px; }
.am-field span{
  display:block; font-family:var(--f-display); font-size:9.5px; letter-spacing:2px;
  color:var(--dim); text-transform:uppercase; margin-bottom:6px;
}
.am-field input,
.am-field textarea{
  width:100%; padding:13px 16px; border-radius:12px;
  background:#0a0d1f; border:1px solid var(--line); color:var(--txt);
  font-family:var(--f-body); font-size:14.5px; outline:none; transition:border-color .25s ease;
}
.am-field input:focus,
.am-field textarea:focus{ border-color:var(--teal-hi); }
.am-field input::placeholder,
.am-field textarea::placeholder{ color:#4d5578; }
.am-field input:disabled{ opacity:.4; cursor:not-allowed; }
.am-submit{ width:100%; margin-top:6px; }
.am-toggle{
  display:block; width:100%; margin-top:14px; background:none; border:0;
  color:var(--teal-hi); font-size:13px; cursor:pointer; text-align:center;
}
.am-toggle:hover{ text-decoration:underline; }
.am-hello{ color:var(--dim); margin-bottom:16px; }
.am-hello strong{ color:var(--txt); }
.am-links{ display:grid; gap:8px; margin-bottom:18px; }
.am-links a{ color:var(--teal-hi); font-size:14px; }
.am-links a:hover{ text-decoration:underline; }
.am-note{
  margin-top:16px; font-size:11.5px; line-height:1.6; color:#7c85a8;
  border:1px dashed rgba(94,106,201,.35); border-radius:10px; padding:10px 14px;
}

/* ---- toast ---- */
#bhToast{
  position:fixed; bottom:28px; left:50%; transform:translate(-50%,80px);
  background:linear-gradient(120deg,#101430,#0a0d20); color:var(--txt);
  border:1px solid var(--line-hi); border-radius:999px;
  padding:13px 24px; font-family:var(--f-display); font-size:11.5px; letter-spacing:1px;
  z-index:990; opacity:0; transition:transform .4s var(--ease-out), opacity .35s ease;
  max-width:min(92vw,560px); text-align:center;
}
#bhToast.show{ transform:translate(-50%,0); opacity:1; }

/* ---- checkout page ---- */
.checkout-page{ background:var(--bg); }
/* The shared header is fixed; when no banner sits between it and the page
   (card mode, order confirmation), clear it here instead. */
#siteHeader + main.co-main{ margin-top:var(--nav-h); }
.co-back{
  font-family:var(--f-display); font-size:11px; letter-spacing:2px; color:var(--dim);
  text-transform:uppercase; transition:color .25s;
}
.co-back:hover{ color:var(--txt); }
.co-banner{
  margin-top:var(--nav-h); padding:12px 20px; text-align:center;
  display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
  font-family:var(--f-display); font-size:10.5px; letter-spacing:2px; color:var(--teal-hi);
  background:rgba(42,165,201,.08); border-block:1px solid rgba(42,165,201,.25);
}
.co-main{ padding-block:50px 90px; }
.co-cols{ display:grid; grid-template-columns:1.5fr 1fr; gap:40px; align-items:start; }
.co-flow{ min-width:0; }
.co-step{
  border:1px solid var(--line); border-radius:var(--r); padding:28px;
  background:linear-gradient(165deg,#0e1228,#090b18); margin-bottom:22px;
}
.co-step-head{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.co-num{
  font-family:var(--f-display); font-weight:700; font-size:12px; color:var(--teal-hi);
  border:1px solid rgba(42,165,201,.4); border-radius:50%; width:34px; height:34px;
  display:grid; place-items:center;
}
.co-step-head h2{ font-family:var(--f-display); font-weight:700; font-size:19px; letter-spacing:1px; text-transform:uppercase; }
.co-account{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.co-account p{ color:var(--dim); font-size:14.5px; }
.co-account strong{ color:var(--txt); }
.xp-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.xp-btn{
  display:flex; align-items:center; justify-content:center; gap:7px;
  height:52px; border-radius:12px; border:1px solid transparent; cursor:pointer;
  font-family:var(--f-display); font-weight:700; font-size:14.5px;
  transition:transform .25s ease, box-shadow .25s ease; position:relative;
}
.xp-btn:hover{ transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.45); }
.xp-btn svg{ width:20px; height:20px; }
.xp-apple{ background:#000; color:#fff; border-color:#2a2a2a; }
.xp-google{ background:#fff; color:#1a1a1a; }
.gp-g{
  font-weight:800;
  background:linear-gradient(90deg,#4285F4 25%,#EA4335 25% 50%,#FBBC05 50% 75%,#34A853 75%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.xp-paypal{ background:#ffc439; }
.pp-p{ color:#003087; font-style:italic; }
.pp-p2{ color:#0070ba; font-style:italic; margin-left:-4px; }
.xp-crypto{ background:linear-gradient(120deg,#2b2450,#3c2a5e); color:#fff; border-color:var(--line-hi); flex-direction:column; gap:1px; }
.xp-crypto svg{ width:16px; height:16px; }
.xp-crypto em{ font-style:normal; font-size:7.5px; letter-spacing:1.5px; color:#b9a8e6; }
.co-divider{
  display:flex; align-items:center; gap:14px; margin:22px 0;
  color:var(--dim); font-family:var(--f-display); font-size:10px; letter-spacing:2px; text-transform:uppercase;
}
.co-divider::before,.co-divider::after{ content:""; flex:1; height:1px; background:var(--line); }
.card-lock{
  display:flex; gap:10px; align-items:flex-start; margin-bottom:16px;
  font-size:12.5px; line-height:1.6; color:#9aa6cc;
  border:1px dashed rgba(94,106,201,.4); border-radius:10px; padding:12px 14px;
  background:rgba(94,106,201,.06);
}
.card-lock svg{ width:18px; height:18px; flex:0 0 auto; margin-top:2px; color:var(--teal-hi); }
.card-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.card-row.two{ grid-template-columns:1fr 1fr; }
.ship-note{
  margin-top:6px; font-size:12.5px; color:#9aa6cc;
  border-left:2px solid var(--teal); padding-left:12px;
}
.co-place{ width:100%; margin-top:4px; }
.co-legal{ margin-top:14px; font-size:11px; line-height:1.7; color:#5a6488; text-align:center; }
.co-summary{
  position:sticky; top:calc(var(--nav-h) + 20px);
  border:1px solid var(--line-hi); border-radius:var(--r); padding:26px;
  background:linear-gradient(170deg,#0d1126,#07091a);
}
.co-summary h3{
  font-family:var(--f-display); font-weight:700; font-size:15px; letter-spacing:2.5px;
  text-transform:uppercase; margin-bottom:16px;
}
.co-item{
  display:flex; gap:10px; align-items:baseline; padding:9px 0;
  border-bottom:1px solid rgba(94,106,201,.12); font-size:14px;
}
.co-qty{ font-family:var(--f-display); font-size:11.5px; color:var(--teal-hi); }
.co-name{ flex:1; }
.co-price{ font-family:var(--f-display); font-size:13px; }
.co-line{
  display:flex; justify-content:space-between; padding-top:14px;
  color:var(--dim); font-size:14px;
}
.co-line strong{ color:var(--txt); font-family:var(--f-display); }
.co-free-note{ font-style:normal; font-size:10.5px; color:#5a6488; margin-left:6px; }
.co-grand{ border-top:1px solid var(--line); margin-top:14px; padding-top:16px; }
.co-grand strong{ font-size:22px; }
.co-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.co-badges span{
  font-size:10.5px; letter-spacing:1px; color:var(--dim);
  border:1px solid var(--line); border-radius:999px; padding:6px 12px;
}
.co-footer{ border-top:1px solid var(--line); }

/* Delivery method options */
.dm-options{ display:grid; gap:12px; margin-bottom:14px; }
.dm-opt{
  display:flex; gap:14px; align-items:flex-start; cursor:pointer;
  border:1px solid var(--line); border-radius:14px; padding:16px 18px;
  background:rgba(94,106,201,.04); transition:border-color .2s ease, background .2s ease;
}
.dm-opt:hover{ border-color:var(--line-hi); }
.dm-opt:has(input:checked){ border-color:var(--teal); background:rgba(42,165,201,.08); }
.dm-opt:has(input:disabled){ cursor:not-allowed; opacity:.62; }
.dm-opt input{ margin-top:4px; accent-color:var(--teal); width:17px; height:17px; flex:0 0 auto; }
.dm-body{ display:grid; gap:3px; flex:1; min-width:0; }
.dm-top{ display:flex; justify-content:space-between; gap:12px; align-items:baseline; flex-wrap:wrap; }
.dm-top strong{ font-size:15px; color:var(--txt); }
.dm-top em{ font-style:normal; font-family:var(--f-display); font-size:14px; color:var(--txt); }
.dm-date{ font-size:14px; color:var(--teal-hi); font-weight:600; }
.dm-sub{ font-size:12.5px; color:#9aa6cc; }
.dm-tag{
  font-family:var(--f-display); font-size:9.5px; letter-spacing:1.5px; margin-left:6px;
  padding:2px 7px; border-radius:999px; border:1px solid rgba(42,165,201,.45); color:var(--teal-hi);
  vertical-align:middle;
}
.co-free-progress{
  margin-top:8px; font-size:12px; color:var(--teal-hi);
  border:1px dashed rgba(42,165,201,.35); border-radius:10px; padding:8px 12px;
  background:rgba(42,165,201,.06);
}

@media (max-width:980px){
  .co-cols{ grid-template-columns:1fr; }
  .co-summary{ position:static; order:-1; }
  .xp-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .co-step{ padding:20px 16px; }
  .card-row{ grid-template-columns:1fr; }
  .card-row.two{ grid-template-columns:1fr; }
  .nav-icon-btn{ width:38px; height:38px; }
}

/* ==========================================================================
   CHECKOUT — payment selection, cart thumbnails, validation states
   ========================================================================== */

/* ---- product thumbnails in the drawer & summary ---- */
.cd-thumb{
  width:38px; height:52px; flex:0 0 auto; object-fit:contain;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.5));
}
.co-item .cd-thumb{ width:28px; height:40px; }
.co-item .cd-swatch{ width:10px; height:24px; }
.cd-info span{ display:block; }

/* ---- summary line-up with thumbnails ---- */
.co-item{ align-items:center; }
.co-name em{
  display:block; font-style:normal; font-size:11px; color:#5a6488; line-height:1.4;
}
.co-pay-selected{
  margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
  font-size:12.5px; color:var(--dim);
}
.co-pay-selected strong{ color:var(--teal-hi); font-family:var(--f-display); letter-spacing:.5px; }

/* ---- demo-mode banner ---- */
.co-banner.demo{
  color:#f0c674; background:rgba(240,198,116,.08);
  border-block-color:rgba(240,198,116,.28);
}
.co-banner.demo .pulse-dot{ background:#f0c674; }

/* ---- confirmation email field ---- */
.co-email-field{ margin-top:18px; display:block; }

/* ---- payment method selection ---- */
.xp-btn{ opacity:.62; }
.xp-btn.selected,
.xp-btn:hover{ opacity:1; }
.xp-btn.selected{
  border-color:var(--teal-hi);
  box-shadow:0 0 0 2px rgba(42,165,201,.35), 0 6px 16px rgba(0,0,0,.45);
}
.xp-check{
  position:absolute; top:-7px; right:-7px; width:19px; height:19px; border-radius:50%;
  background:var(--teal-hi); color:#04222e; font-size:11px; font-weight:800;
  display:grid; place-items:center; opacity:0; transform:scale(.5);
  transition:opacity .2s ease, transform .2s ease;
}
.xp-btn.selected .xp-check{ opacity:1; transform:scale(1); }

.card-form{
  border:1px solid transparent; border-radius:var(--r); padding:16px;
  margin:-16px; transition:border-color .25s ease, opacity .25s ease;
  cursor:pointer;
}
.card-form.selected{ border-color:rgba(42,165,201,.4); background:rgba(42,165,201,.04); }
.card-form.dimmed{ opacity:.5; }
.card-form.dimmed .card-lock{ opacity:.8; }

.cc-fill{
  margin-top:12px; background:none; cursor:pointer;
  border:1px dashed rgba(42,165,201,.45); border-radius:999px;
  color:var(--teal-hi); font-family:var(--f-display); font-size:10px;
  letter-spacing:1.6px; text-transform:uppercase; padding:8px 16px;
  transition:background .25s ease, color .25s ease;
}
.cc-fill:hover{ background:rgba(42,165,201,.14); }

/* ---- validation ---- */
.am-field input.invalid,
.am-field textarea.invalid{
  border-color:#e0574f !important;
  box-shadow:0 0 0 2px rgba(224,87,79,.22);
}
.ship-form input.invalid{
  border-color:#e0574f !important;
  box-shadow:0 0 0 2px rgba(224,87,79,.22);
}

/* ---- disabled place-order / checkout link ---- */
.co-place:disabled,
.co-place.disabled{ opacity:.45; cursor:not-allowed; transform:none !important; }
.cd-checkout.disabled{ opacity:.45; cursor:not-allowed; }

#bhToast.err{ border-color:rgba(224,87,79,.55); color:#ffd9d6; }

/* ---- enquiry checkout ---- */
.co-banner.enquiry{
  color:#7fd6f0; background:rgba(42,165,201,.09);
  border-block-color:rgba(42,165,201,.3);
}
.co-contact-row{ margin-top:18px; }
.af-opt{
  font-style:normal; font-size:9px; letter-spacing:1.2px; text-transform:uppercase;
  color:#5a6488; margin-left:6px;
}
.am-field textarea{ resize:vertical; min-height:96px; line-height:1.6; }
.co-how{
  margin-top:20px; border:1px dashed rgba(94,106,201,.4); border-radius:10px;
  padding:14px 16px; background:rgba(94,106,201,.06);
}
.co-how strong{
  display:block; font-family:var(--f-display); font-size:10.5px;
  letter-spacing:1.8px; text-transform:uppercase; color:var(--teal-hi); margin-bottom:8px;
}
.co-how ol{ margin:0; padding-left:18px; color:#9aa6cc; font-size:12.5px; line-height:1.85; }
.co-indicative-note{
  margin-top:10px; font-size:11px; line-height:1.6; color:#5a6488;
}

/* ---- bulk discount in cart & checkout ---- */
.cd-bulk s{ color:#5a6488; margin-right:5px; }
.cd-bulk em{
  font-style:normal; font-size:10px; color:#55d6a0; letter-spacing:.5px;
  border:1px solid rgba(85,214,160,.35); border-radius:999px; padding:1px 6px; margin-left:4px;
}
.cd-saved{
  font-size:12px; color:#55d6a0; padding:0 0 6px;
  font-family:var(--f-display); letter-spacing:.5px;
}
.co-saved{
  display:block; font-style:normal; font-size:10px; color:#55d6a0; letter-spacing:.5px;
}
.co-saved-line strong{ color:#55d6a0; }

/* ---------- Discount code (checkout summary) ---------- */
.co-coupon { margin: 12px 0 4px; }
.co-coupon-row { display: flex; gap: 8px; align-items: stretch; }
.co-coupon-row input {
  flex: 1 1 auto;
  min-width: 0;
  /* Same surface as .am-field input — translucent white read as a different
     control on this dark theme. */
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  /* #fff, not a dark surface: clinical.css redefines :root to a light
     palette site-wide, so --txt is dark navy and anything dark behind it
     disappears. */
  background: #fff;
  color: var(--txt);
  font-family: var(--f-body);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.co-coupon-row input::placeholder { text-transform: none; letter-spacing: normal; opacity: 0.55; }
.co-coupon-row input:focus { border-color: var(--teal-hi); outline: none; }
.co-coupon-row .btn { flex: 0 0 auto; white-space: nowrap; }
.co-coupon-msg { margin: 7px 0 0; font-size: 12.5px; line-height: 1.5; min-height: 1em; opacity: 0.8; }
.co-coupon-msg.ok { color: #1f7a4d; opacity: 1; }
.co-coupon-msg.err { color: #b3261e; opacity: 1; }

/* ---------- Address help (checkout) ---------- */
.ship-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; min-height: 1em; opacity: 0.75; }
.ship-hint.ok { color: #1f7a4d; opacity: 1; }
.ship-hint.warn { color: #8a5a00; opacity: 1; }
.ship-suggest {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e8c98a;
  background: #fdf6e7;
  font-size: 13px;
  line-height: 1.5;
}
.ship-suggest[hidden] { display: none; }
.ship-suggest span { flex: 1 1 220px; }
/* A native select renders its OPTION list with platform chrome, not page
   CSS. Left to itself on this dark theme the list came out as a white panel
   inheriting light text — invisible. color-scheme tells the browser to draw
   its native parts dark, and the explicit option colours cover the engines
   that ignore it. */
.ship-form select,
.am-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--txt);
  font-family: var(--f-body);
  font-size: 14.5px;
  /* The option list is drawn with platform chrome, not page CSS. This tells
     the browser which way round the page is so the popup matches. */
  color-scheme: light;
  outline: none;
  transition: border-color 0.25s ease;
  appearance: none;
  /* Room for the chevron drawn below. */
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
                    linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.ship-form select:focus,
.am-field select:focus { border-color: var(--teal-hi); }
.ship-form select option,
.am-field select option {
  background: #fff;
  color: var(--txt);
}
.ship-form select:invalid,
.ship-form select option[value=""] { color: #4d5578; }

/* ---------- Editable basket on checkout ---------- */
/* The summary column is narrow, so the drawer's controls are scaled down
   rather than reused at full size. */
.co-item .co-qty-ctl {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.co-item .co-qty-ctl button {
  width: 22px;
  height: 22px;
  padding: 0;
  line-height: 1;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--txt);
  font-size: 14px;
  cursor: pointer;
}
.co-item .co-qty-ctl button:hover { background: #f5f1fa; border-color: #713ca8; color: #713ca8; }
.co-item .co-qty-ctl > span {
  min-width: 20px;
  text-align: center;
  font-family: var(--f-display);
  font-size: 12px;
}
.co-item .cd-x {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--dim);
  font-size: 11px;
  cursor: pointer;
}
.co-item .cd-x:hover { color: #b3261e; background: #fbe9e7; }
.co-addmore {
  display: inline-block;
  margin: 10px 0 2px;
  font-size: 13px;
  color: #713ca8;
  text-decoration: none;
}
.co-addmore:hover { text-decoration: underline; }

/* ---------- Address suggestions (typeahead) ---------- */
.co-addr-field { position: relative; }
.addr-list {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 4px;
  list-style: none;
  max-height: 232px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 46, 62, 0.14);
}
.addr-list[hidden] { display: none; }
.addr-list li {
  padding: 10px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  line-height: 1.4;
  cursor: pointer;
}
.addr-list li { color: var(--txt); }
.addr-list li:hover,
.addr-list li.on { background: #f5f1fa; color: #713ca8; }

/* The state field became a select; match the text inputs beside it. */
.ship-form .card-row select { min-width: 0; }

/* Remove control on the applied-discount line. */
.co-coupon-x {
  margin-left: 6px;
  padding: 0 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--dim);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}
.co-coupon-x:hover { color: #b3261e; background: #fbe9e7; }

/* While a code is applied the field is locked, so it should not look like
   somewhere to type. */
.co-coupon-row input[readonly] {
  background: #f5f1fa;
  color: #713ca8;
  font-weight: 600;
  cursor: default;
}
