/* Complexion MD checkout (nfg3 / nfg4). From the offer-pages-creative mockup checkout.css; layout from checkout-teardown.md 7c.
   Desktop: two columns (form left on white, order right on pale sky).
   Phone (< 900px): one column; the two column wrappers become display:contents and each block
   takes its place with `order`, so the order summary sits above the form and the reassurance
   blocks sit below the button. Only pair shown/hidden by width: .desk guarantee box vs .phone lines. */
:root{
  --orange:#F36427; --orange-d:#d9541c; --blue:#2D86FF; --navy:#313856; --ink:#1c2033; --sky:#EAF2FB; --sky-d:#d6e6f7;
  --line:#dfe5ee; --green:#1f9d55; --muted:#5d6478; --radius:10px;
}
*{box-sizing:border-box}
html,body{margin:0;overflow-x:clip}
body{font-family:Outfit,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;font-size:15px;line-height:1.5}
img{max-width:100%;display:block}
h2,h3,h4,p,ul,dl,dd{margin:0;padding:0}
ul{list-style:none}
a{color:inherit}

/* top bar */
/* Header: logo, 3-step progress image, phone button (trycomplexionmd.com shipping-page header). */
.topnav{background:#fff;border-bottom:1px solid var(--line)}
.topnav .in{max-width:1180px;margin:0 auto;padding:36px 32px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:48px}
.topnav .logo{height:40px;width:auto;display:block}
.topnav .steps img{display:block;width:100%;max-width:520px;height:auto;margin:0 auto}
.topnav .call{background:var(--orange);color:#fff;border-radius:9px;padding:12px 28px;font-size:19px;font-weight:500;text-decoration:none;white-space:nowrap}
.topnav .call:hover{background:var(--orange-d)}

/* columns */
.co{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}
.col-l{background:#fff;padding:36px 44px 60px;display:flex;flex-direction:column;align-items:flex-end;gap:28px;border-right:1px solid var(--line)}
.col-r{background:var(--sky);padding:36px 44px 60px;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.blk{width:100%;max-width:520px}
.col-r .blk{max-width:440px}
.phone{display:none}

/* form */
.b-form h3{font-size:19px;font-weight:600;margin:22px 0 10px;color:var(--blue)}
.b-form h3:first-child{margin-top:0}
.fld{display:block;position:relative;border:1px solid #cfd5df;border-radius:7px;background:#fff;margin-bottom:10px}
.fld input,.fld select{width:100%;border:0;background:transparent;font:inherit;font-size:15px;padding:13px 12px;border-radius:7px;color:var(--ink)}
.fld.sel small{position:absolute;left:12px;top:5px;font-size:11px;color:var(--muted)}
.fld.sel select{padding:20px 10px 6px;appearance:auto}
.fld input[readonly]{background:#f6f7f9;cursor:not-allowed}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 10px}
.chk{display:flex;gap:9px;align-items:center;font-size:14px;margin:4px 0 6px}
.chk input{width:17px;height:17px;accent-color:var(--navy)}
.shipbox{display:flex;align-items:center;gap:10px;border:1.5px solid var(--navy);border-radius:7px;background:#f4f8fd;padding:14px 12px}
.shipbox b{margin-left:auto;color:var(--green)}
.radio{width:17px;height:17px;border-radius:50%;border:5px solid var(--navy);flex:none;background:#fff}
.secure{font-size:13.5px;color:var(--muted);margin:-4px 0 10px}
.cardbox{border:1.5px solid var(--navy);border-radius:7px;overflow:hidden}
.cardhead{display:flex;align-items:center;gap:10px;padding:13px 12px;background:#f4f8fd;border-bottom:1px solid var(--line)}
.brands{margin-left:auto;display:block;flex:none}
.brands img{height:24px;width:auto}
.cardbody{padding:12px;background:#fafbfc}

/* place order */
.renewbar{background:var(--sky);border-radius:7px;padding:11px 12px;font-weight:700;font-size:15.5px;color:var(--navy);margin-bottom:12px}
.consent{font-size:13px;color:#3a4052;line-height:1.55}
.consent b{color:var(--ink)}
.tos{font-size:13px;color:#3a4052;margin-top:12px}
.guarline{font-size:12px;color:var(--navy);margin-top:14px;text-align:center;white-space:nowrap;letter-spacing:-.2px}
.guarline b{font-weight:600}
.btn{display:block;width:100%;margin-top:14px;background:var(--orange);color:#fff;border:0;border-radius:999px;cursor:pointer;
  font:700 19px Outfit,Arial,sans-serif;padding:17px 20px;box-shadow:0 6px 16px rgba(243,100,39,.28)}
.btn:hover{background:var(--orange-d)}

/* order summary */
.sumhead{display:none}
.lines li{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:center;padding:8px 0}
.thumb{position:relative;width:64px;height:64px;border-radius:9px;background:#fff;border:1px solid var(--sky-d)}
.thumb img{width:100%;height:100%;object-fit:contain;border-radius:9px}
.qty{position:absolute;top:-7px;right:-7px;background:#5b6276;color:#fff;font-size:11px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center}
.what b{display:block;font-weight:600;font-size:16px;line-height:1.3}
.what small{display:block;color:var(--muted);font-size:12.5px;line-height:1.35;margin-top:2px}
.amt{text-align:right;font-weight:600;white-space:nowrap}
.amt s{display:block;color:var(--muted);font-weight:400;font-size:13px}
.amt i{font-style:normal;color:var(--green);font-weight:700;font-size:13.5px}
.totals{margin-top:12px;border-top:1px solid var(--sky-d);padding-top:12px}
.totals>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:14.5px}
.totals dt small{display:block;color:var(--muted);font-size:12px}
.totals dd{text-align:right;white-space:nowrap}
.totals .free{color:var(--green);font-weight:700}
.totals .total{font-size:19px;font-weight:700;padding-top:10px;margin-top:6px;border-top:1px solid var(--sky-d)}
.totals .total small{font-size:12px;color:var(--muted);font-weight:400}
.totals .save{font-weight:700;color:var(--green);font-size:14px}
.totals .renew{border-top:1px solid var(--sky-d);margin-top:8px;padding-top:10px;font-weight:700;color:var(--navy);font-size:15px}

/* reassurance */
.guarbox{background:#fff;border-radius:var(--radius);padding:14px 16px;border:1px solid var(--sky-d);margin-top:16px}
.guarbox b{color:var(--navy);font-size:17px}
.guarbox p{font-size:14px;margin-top:4px;color:#3a4052}
.trust{display:grid;gap:14px;margin-top:22px}
.trust li{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start}
.trust .ic{width:34px;height:34px;display:grid;place-items:center;color:var(--navy)}
.trust .ic svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.trust b{display:block;font-size:16px}
.trust small{display:block;color:var(--muted);font-size:13px;line-height:1.4}
.results{position:relative;overflow:hidden;margin-top:22px;background:linear-gradient(160deg,#fff 0%,#f3f8fe 55%,#dcebfa 100%);border-radius:16px;padding:20px 18px;border:1px solid var(--sky-d)}
.results h3{font-family:"Playfair Display",serif;font-weight:400;font-size:23px;line-height:1.2;color:var(--orange);text-align:center;margin:8px 0 26px}
.results h3 em{display:block;color:var(--navy)}
.rbody{position:relative;padding-bottom:4px}
.days{position:relative;z-index:1;max-width:66%}
/* Day 30/60/90 in the heading's italic serif with a thin orange rule after it; items split by soft rules. */
.day{margin-bottom:16px}
.day h4{font-family:"Playfair Display",serif;font-style:italic;font-weight:400;font-size:24px;line-height:1;color:var(--orange);
  display:flex;align-items:center;gap:10px;margin-bottom:6px}
.day h4::after{content:"";flex:1;height:1px;background:var(--orange);opacity:.45}
.day li{font-size:16.5px;line-height:1.35;color:var(--navy);padding:5px 0;border-bottom:1px solid rgba(49,56,86,.1)}
.day li:last-child{border-bottom:0}
/* Jar sits on the card background, bottom right, cut off by the card's edge. Multiply drops the photo's
   light backdrop into the card gradient; the radial mask fades the photo's edges. */
.rjar{position:absolute;right:-134px;bottom:-10px;width:342px;height:auto;mix-blend-mode:multiply;pointer-events:none;
  -webkit-mask-image:radial-gradient(closest-side,#000 62%,transparent 100%);mask-image:radial-gradient(closest-side,#000 62%,transparent 100%)}
/* Stats: white card, blue numbers, centred columns split by thin rules. */
.stats{margin-top:16px;background:#fff;color:var(--navy);border:1px solid var(--sky-d);border-radius:16px;padding:18px 8px 20px}
.stats h4{font-family:"Playfair Display",serif;font-style:italic;font-weight:400;font-size:20px;text-align:center;color:var(--navy);margin-bottom:14px}
.nums{display:grid;grid-template-columns:repeat(3,1fr)}
.nums>div{padding:0 12px;text-align:center;container-type:inline-size}
.nums>div+div{border-left:1px solid var(--sky-d)}
/* One size for all three numbers, set so the widest ("100%", 2.28em wide in Outfit 800 at -0.02em
   tracking) fills 82% of its column. */
.nums b{display:block;font-size:calc(82cqi / 2.28);letter-spacing:-.02em;font-weight:800;line-height:1;color:var(--blue);white-space:nowrap}
.nums span{display:block;font-size:13.5px;line-height:1.35;margin-top:6px;color:#3a4052}

/* phone: one column, blocks reordered (teardown 7c) */
@media (max-width:899px){
  .co{display:flex;flex-direction:column;min-height:0}
  .col-l,.col-r{display:contents}
  .blk,.col-r .blk{max-width:none;padding:22px 16px}
  .b-summary{order:1;background:var(--sky);border-bottom:1px solid var(--sky-d)}
  .b-form{order:3}
  .b-pay{order:4;padding-top:0}
  .b-extras{order:5;background:var(--sky);padding-bottom:40px}
  .phone{display:block}
  .desk{display:none}
  .trust{margin-top:0}
  .sumhead{display:flex;justify-content:space-between;font-size:17px;font-weight:600;margin-bottom:8px}
  .topnav .in{grid-template-columns:1fr;gap:14px;padding:24px 16px;justify-items:center}
  .topnav .logo{height:28px}
  .topnav .steps img{max-width:300px}
  .topnav .call{display:none}
}
@media (max-width:420px){
  .row3{grid-template-columns:1fr 1fr}
  .row3 .fld:last-child{grid-column:1 / -1}
  .rjar{width:240px;right:-70px;bottom:-30px}
  .nums>div{padding:0 8px}
  .nums span{font-size:12.5px}
}
.trust small.stars{color:var(--orange);letter-spacing:1px}

/* plan: Subscribe & Save (body.plan-sub) or one-time (body.plan-once) */
.plan-sub .only-once,.plan-once .only-sub{display:none!important}
.shipbox .cost{color:var(--ink)}

/* validation (konnektive-one: errorClass "invalid", messages in #<field>_errorSpot) */
.errSpot{color:#c62f27;font-size:12.5px;line-height:1.3;margin:-6px 0 8px}
.errSpot:empty{display:none}
.errSpot label{font-weight:500}
.fld:has(.invalid){border-color:#c62f27;box-shadow:0 0 0 1px #c62f27}
.billingBox{margin-top:10px}
.btn.processing{background:#9aa1b2;box-shadow:none;cursor:wait}
.consent a,.tos a,.guarbox a{color:var(--navy);text-decoration:underline}

/* footer */
.cofoot{background:var(--navy);color:#dfe5ee;text-align:center;font-size:13px;padding:20px 16px 28px;line-height:1.7}
.cofoot a{color:#fff}

/* Tracking frames appended after the footer leave a white strip under it: Kount's device
   check (konnektive-one loads its collector, body.kaxsdc, which adds iframe#ibody) and
   CheckoutChamp's lp.checkoutchamp.com frame. Take them out of the page flow without
   display:none, so they still load and run. */
iframe#ibody,body>iframe[src*="checkoutchamp.com"]{position:absolute!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;border:0!important;visibility:hidden}
