/* TOGOPEPTIDE — Cart & Checkout glow-up · Layer 10 · Cluster 10
   Loaded only on /pay.html (or wherever pay-* classes appear). Fully scoped. */

/* ── Hero trust-bar above the cart ────────────────────── */
.pay-trust-strip{
  display:flex;flex-wrap:wrap;gap:8px;justify-content:center;
  margin:14px 0 28px;
  padding:0;
  list-style:none;
  font-size:12.5px;color:#aab0bb;
}
.pay-trust-strip li{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 14px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:999px;
  transition:border-color 180ms cubic-bezier(0.22,1,0.36,1);
}
.pay-trust-strip li svg{color:var(--color-accent, #e01b1b);flex-shrink:0;opacity:0.85}
.pay-trust-strip li strong{color:#fff;font-weight:600}
@media (max-width:560px){
  .pay-trust-strip{gap:6px}
  .pay-trust-strip li{padding:6px 11px;font-size:11.5px}
}

/* ── Free-shipping progress in summary ───────────────── */
.pay-shipping-progress{
  margin:14px 0 18px;
  padding:14px 16px;
  background:rgba(34,197,94,0.06);
  border:1px solid rgba(34,197,94,0.2);
  border-radius:10px;
}
.pay-shipping-progress--reached{
  background:rgba(34,197,94,0.10);
  border-color:rgba(34,197,94,0.35);
}
.pay-shipping-progress__label{
  margin:0 0 8px;
  font-size:12.5px;
  color:#cbd5e1;
  line-height:1.4;
  display:flex;align-items:center;gap:7px;
}
.pay-shipping-progress--reached .pay-shipping-progress__label{color:#86efac}
.pay-shipping-progress--reached .pay-shipping-progress__label::before{content:"✓ ";color:#22c55e;font-weight:700}
.pay-shipping-progress__bar{
  height:4px;background:rgba(255,255,255,0.08);border-radius:2px;overflow:hidden;
}
.pay-shipping-progress__bar-fill{
  height:100%;background:linear-gradient(90deg,#2ec27e 0%, #4ce39d 100%);
  border-radius:2px;
  transition:width 380ms cubic-bezier(0.22,1,0.36,1);
}
.pay-shipping-progress--reached .pay-shipping-progress__bar-fill{
  background:linear-gradient(90deg,#22c55e 0%, #4ce39d 100%);
}

/* ── Estimated delivery date badge ───────────────────── */
.pay-eta{
  display:inline-flex;align-items:center;gap:8px;
  margin:0 0 14px;
  padding:10px 14px;
  background:rgba(224,27,27,0.06);
  border:1px solid rgba(224,27,27,0.18);
  border-radius:10px;
  font-size:12.5px;color:#cbd5e1;line-height:1.4;
}
.pay-eta svg{color:var(--color-accent, #e01b1b);flex-shrink:0;opacity:0.85}
.pay-eta strong{color:#fff;font-weight:600}

/* ── Consent checkboxes as tap-friendly cards ─────────── */
.pay-summary__consent{
  display:flex;align-items:flex-start;gap:11px;
  margin:0 0 8px;
  padding:11px 13px;
  background:rgba(255,255,255,0.025);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:10px;
  font-size:13px;color:#cbd5e1;line-height:1.5;
  cursor:pointer;
  transition:all 160ms cubic-bezier(0.22,1,0.36,1);
}
.pay-summary__consent:hover{
  background:rgba(255,255,255,0.04);
  border-color:rgba(255,255,255,0.14);
}
.pay-summary__consent:has(input:checked){
  background:rgba(224,27,27,0.05);
  border-color:rgba(224,27,27,0.3);
}
.pay-summary__consent input[type="checkbox"]{
  margin:2px 0 0;
  width:18px;height:18px;
  flex-shrink:0;
  accent-color:var(--color-accent, #e01b1b);
  cursor:pointer;
}
.pay-summary__consent a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.pay-summary__consent a:hover{color:var(--color-accent, #e01b1b)}

/* ── Pay-line items (with product-image thumb) ────────── */
.pay-lines{list-style:none;padding:0;margin:0}
.pay-line{
  display:flex;align-items:center;gap:14px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.pay-line:last-child{border-bottom:0}
.pay-line__img{
  width:64px;height:64px;flex-shrink:0;
  border-radius:10px;object-fit:contain;
  background:#0d0d10;
  border:1px solid rgba(255,255,255,0.08);
  padding:4px;
}
.pay-line__info{flex:1;min-width:0}
.pay-line__name{
  margin:0 0 3px;
  font-size:14.5px;font-weight:600;color:#fff;line-height:1.3;
}
.pay-line__variant{
  margin:0 0 4px;
  font-size:12px;color:#9d9da5;line-height:1.4;
}
.pay-line__qty{
  display:inline-flex;align-items:center;gap:0;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:6px;
  overflow:hidden;
}
.pay-line__qty button{
  background:transparent;border:0;color:#cbd5e1;
  width:26px;height:26px;cursor:pointer;font-size:14px;line-height:1;
  transition:background 140ms ease;
}
.pay-line__qty button:hover{background:rgba(255,255,255,0.08);color:#fff}
.pay-line__qty input{
  width:32px;height:26px;
  background:transparent;border:0;
  color:#fff;text-align:center;font-size:13px;font-weight:600;
  -moz-appearance:textfield;
}
.pay-line__qty input::-webkit-outer-spin-button,
.pay-line__qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pay-line__price{
  font-size:15px;font-weight:700;color:#fff;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.pay-line__remove{
  background:transparent;border:0;color:#777;
  cursor:pointer;font-size:18px;line-height:1;
  padding:6px 8px;border-radius:6px;
  transition:all 140ms ease;
}
.pay-line__remove:hover{color:var(--color-danger-on-weak, #ff5e5e);background:rgba(224,27,27,0.06)}

/* ── Mobile sticky CTA bottom (mirrors continue-button) ── */
.pay-sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:80;
  background:rgba(10,10,10,0.96);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-top:1px solid rgba(255,255,255,0.08);
  padding:12px 16px;
  display:none;
  align-items:center;justify-content:space-between;gap:14px;
  transform:translateY(100%);
  transition:transform 280ms cubic-bezier(0.22,1,0.36,1);
}
.pay-sticky-cta.is-visible{transform:translateY(0)}
.pay-sticky-cta__total{display:flex;flex-direction:column;line-height:1.2}
.pay-sticky-cta__total-label{font-size:11px;color:#9d9da5;letter-spacing:0.04em}
.pay-sticky-cta__total-value{font-size:20px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.pay-sticky-cta__btn{
  flex-shrink:0;padding:12px 22px;
  background:var(--color-accent, #e01b1b);color:#fff;
  font-size:14px;font-weight:700;
  border:0;border-radius:10px;
  cursor:pointer;
  transition:transform 140ms ease, background 140ms ease;
  text-decoration:none;display:inline-block;
}
.pay-sticky-cta__btn:hover{background:#ff3030;transform:translateY(-1px)}
@media (max-width:880px){
  .pay-sticky-cta{display:flex}
  body.pay-page{padding-bottom:80px}
}

/* ── Empty-state polish ──────────────────────────────── */
.pay-empty{
  text-align:center;padding:60px 20px;
  background:rgba(255,255,255,0.02);
  border:1px dashed rgba(255,255,255,0.1);
  border-radius:14px;
}
.pay-empty__icon{
  width:64px;height:64px;margin:0 auto 16px;
  background:rgba(255,255,255,0.04);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#666;
}
.pay-empty p{
  margin:0 0 18px;
  font-size:16px;color:#9d9da5;
}
