/* FISCHRAINE Phase 177 — Checkout Contrast System
   Purpose: enforce a complete light-on-dark typography system inside the secure checkout card. */

/* Base card foreground */
.p162-start .p162-card{
  color:#f2efe8 !important;
}

/* Primary hierarchy: never inherit dark text inside the dark checkout surface */
.p162-start .p162-card .cb-kicker,
.p162-start .p162-card h1,
.p162-start .p162-card h2,
.p162-start .p162-card h3,
.p162-start .p162-card b,
.p162-start .p162-card strong,
.p162-start .p162-card .p175-products b,
.p162-start .p162-card .p175-products strong,
.p162-start .p162-card .p162-summary b{
  color:#f2efe8 !important;
}

/* Secondary copy */
.p162-start .p162-card .cb-copy,
.p162-start .p162-card .p162-note,
.p162-start .p162-card .p162-secure,
.p162-start .p162-card .p175-products small,
.p162-start .p162-card .p175-products em,
.p162-start .p162-card .p162-summary span,
.p162-start .p162-card .p174-purchase-disclosure span,
.p162-start .p162-card .p174-legal-check,
.p162-start .p162-card .p174-legal-check span{
  color:rgba(242,239,232,.64) !important;
}

/* Product selectors */
.p162-start .p162-card .p175-products span{
  color:#f2efe8 !important;
  border-color:rgba(242,239,232,.22) !important;
  background:transparent !important;
}
.p162-start .p162-card .p175-products label:hover span{
  border-color:rgba(242,239,232,.46) !important;
}
.p162-start .p162-card .p175-products input:checked + span{
  border-color:#f2efe8 !important;
  background:rgba(242,239,232,.035) !important;
}
.p162-start .p162-card .p175-products input:focus-visible + span{
  outline:2px solid #f2efe8 !important;
  outline-offset:3px !important;
}

/* Form controls */
.p162-start .p162-card .cb-field label{
  color:rgba(242,239,232,.68) !important;
}
.p162-start .p162-card .cb-field input{
  color:#f2efe8 !important;
  border-bottom-color:rgba(242,239,232,.34) !important;
  caret-color:#f2efe8 !important;
}
.p162-start .p162-card .cb-field input::placeholder{
  color:rgba(242,239,232,.50) !important;
  opacity:1 !important;
}
.p162-start .p162-card .cb-field input:focus{
  border-bottom-color:#f2efe8 !important;
}

/* Summary + one-time purchase disclosure */
.p162-start .p162-card .p162-summary,
.p162-start .p162-card .p162-summary > div,
.p162-start .p162-card .p174-purchase-disclosure{
  border-color:rgba(242,239,232,.20) !important;
}
.p162-start .p162-card .p174-purchase-disclosure b{
  color:#f2efe8 !important;
}

/* Legal consent */
.p162-start .p162-card .p174-legal-check a{
  color:#f2efe8 !important;
  text-decoration-color:rgba(242,239,232,.8) !important;
}
.p162-start .p162-card .p174-legal-check a:hover{
  color:#fff !important;
  text-decoration-color:#fff !important;
}

/* Checkout CTA remains deliberate high-contrast black button / light label */
.p162-start .p162-card .cb-btn.primary[type="submit"]{
  background:#080808 !important;
  color:#f7f4ee !important;
  border-color:#080808 !important;
}

/* Error states stay visibly distinct */
.p162-start .p162-card .p162-error{
  color:#e0aca3 !important;
}
