/* ==========================================================================
   nc03-gp-wg checkout — Rosabella-style structure, Gum Protect+ palette.
   Page-level styles only; SDK form, payment and summary markup keep the
   stock next-core.css and are only spaced here.
   ========================================================================== */

:root {
  --ck-navy: #1d2b5a;
  --ck-maroon: #a3203a;
  --ck-mint: #e6f6f2;
  --ck-mint-line: #bfe6dc;
  --ck-ink: #1f2330;
  --ck-muted: #646b7a;
  --ck-line: #e2e5ea;
  --ck-bg: #f6f7f9;
  --ck-green: #1e8a4a;
  --ck-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --ck-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

body { margin: 0; background: #fff; color: var(--ck-ink); font-family: var(--ck-body); }
.ck *, .ck *::before, .ck *::after { box-sizing: border-box; }
.ck img { max-width: 100%; height: auto; }
.ck-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 16px; }

/* --- Header --------------------------------------------------------------- */
.ck-head { border-bottom: 1px solid var(--ck-line); background: #fff; }
.ck-head__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: 14px; }
.ck .ck-head__logo { height: 30px; width: auto; display: block; }
.ck-head__secure { display: flex; align-items: center; gap: 8px; font-family: var(--ck-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--ck-navy); }
.ck-head__secure svg { width: 18px; height: 18px; color: var(--ck-green); }
.ck-head__contact { justify-self: end; text-align: right; font-size: 13px; font-weight: 600; color: var(--ck-navy); text-decoration: none; display: grid; }
.ck-head__contact span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ck-muted); }
@media (max-width: 640px) {
  .ck-head__inner { grid-template-columns: auto 1fr; }
  .ck-head__secure { justify-self: end; font-size: 12px; }
  .ck-head__contact { display: none; }
}

/* --- Hero: gallery + offer copy -------------------------------------------- */
.ck-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-block: 20px; padding: 20px; border: 2px dashed var(--ck-mint-line); border-radius: 14px; max-width: 1148px; }
.ck-gallery__main { position: relative; background: var(--ck-mint); border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; }
.ck-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ck-gallery__main img[hidden] { display: none; }
.ck-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.ck-gallery__thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid var(--ck-line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.ck-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-gallery__thumb.is-active { border-color: var(--ck-maroon); }
.ck-gallery__thumb:focus-visible { outline: 3px solid var(--ck-navy); outline-offset: 2px; }
.ck-offer__title { font-family: var(--ck-display); font-weight: 800; color: var(--ck-navy); font-size: 26px; line-height: 1.2; margin: 0 0 18px; text-wrap: balance; }
.ck-offer__line { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.ck-offer__arrow { color: var(--ck-maroon); font-weight: 700; }
@media (max-width: 820px) {
  .ck-hero { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
  .ck-offer__title { font-size: 22px; }
}

.ck-notice { background: #fdf1f3; border: 1px solid #f3c9d1; color: var(--ck-ink); border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.ck-notice b { color: var(--ck-maroon); }

/* --- Two-column grid ------------------------------------------------------ */
.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-top: 24px; margin-bottom: 40px; }
.ck-main, .ck-side { min-width: 0; }
.ck-side { display: grid; gap: 16px; position: sticky; top: 16px; }
@media (max-width: 960px) {
  .ck-grid { grid-template-columns: 1fr; }
  .ck-side { position: static; }
}

.ck-step { padding-block: 20px; border-bottom: 1px solid var(--ck-line); }
.ck-step:first-child { padding-top: 0; }
.ck-step__title, .ck .form-section__title { font-family: var(--ck-display); font-weight: 700; font-size: 19px; color: var(--ck-navy); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.ck-step__sub { margin: 0 0 14px; color: var(--ck-muted); font-size: 14px; }

/* --- Step 1 bundle table --------------------------------------------------- */
.ck-table__head { display: flex; justify-content: space-between; padding: 8px 14px; background: var(--ck-bg); border: 1px solid var(--ck-line); border-bottom: 0; border-radius: 10px 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ck-muted); }
.ck-tiers { display: grid; border: 1px solid var(--ck-line); border-radius: 0 0 10px 10px; overflow: hidden; }
.ck-tier { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; background: #fff; border-top: 1px solid var(--ck-line); cursor: pointer; transition: background-color .15s; }
.ck-tier:first-child { border-top: 0; }
.ck-tier:hover { background: #fafbfc; }
.ck-tier.next-selected { background: var(--ck-mint); box-shadow: inset 4px 0 0 var(--ck-maroon); }
.ck-tier__radio { width: 20px; height: 20px; border: 2px solid #b8bdc6; border-radius: 50%; background: #fff; }
.ck-tier.next-selected .ck-tier__radio { border-color: var(--ck-maroon); background: radial-gradient(circle, var(--ck-maroon) 0 5px, #fff 6px); }
.ck-tier__label { font-family: var(--ck-display); font-weight: 700; font-size: 16px; color: var(--ck-navy); }
.ck-tier__sub { font-size: 13px; color: var(--ck-muted); }
.ck-tier__note { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--ck-maroon); border-radius: 4px; padding: 2px 8px; }
.ck-tier__price { display: grid; justify-items: end; gap: 1px; text-align: right; font-variant-numeric: tabular-nums; }
.ck-tier__was { font-size: 13px; color: #8a909b; text-decoration: line-through; }
.ck-tier__off { font-size: 12px; font-weight: 800; color: var(--ck-green); }
.ck-tier__each { font-size: 13px; font-weight: 600; color: var(--ck-ink); }
.ck-tier__each:has(span:empty) { display: none; }
.ck-tier__now { font-family: var(--ck-display); font-weight: 800; font-size: 20px; color: var(--ck-navy); }
.ck-tier__ship { font-size: 11px; font-weight: 700; color: var(--ck-green); }

.ck-step--express { border-bottom: 0; padding-bottom: 0; }

.ck .form-section { border: 0; padding: 0; margin: 0; }
.ck-riskfree { text-align: center; font-family: var(--ck-display); font-weight: 700; color: var(--ck-maroon); letter-spacing: .04em; margin: 14px 0 0; font-size: 14px; }

/* --- Sidebar cards --------------------------------------------------------- */
.ck-card { border: 1px solid var(--ck-line); border-radius: 12px; padding: 16px; background: #fff; }
.ck-card__title { font-family: var(--ck-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ck-navy); margin: 0 0 12px; }
.ck-review { margin: 0; padding: 12px 0; border-top: 1px solid var(--ck-line); }
.ck-review:first-of-type { border-top: 0; padding-top: 0; }
.ck-review figcaption { font-size: 14px; }
.ck-review figcaption span { font-size: 11px; font-weight: 700; color: var(--ck-green); text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
.ck-review__stars { color: #e3a21a; letter-spacing: 2px; }
.ck-review blockquote { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.ck-why { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; padding-block: 8px; }
.ck-why img { width: 56px; height: 56px; object-fit: contain; }
.ck-why h4 { margin: 0 0 2px; font-size: 15px; color: var(--ck-navy); }
.ck-why p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ck-muted); }
.ck-faq { border-top: 1px solid var(--ck-line); }
.ck-faq:first-of-type { border-top: 0; }
.ck-faq summary { cursor: pointer; list-style: none; padding: 12px 24px 12px 0; position: relative; font-weight: 600; font-size: 14px; color: var(--ck-navy); }
.ck-faq summary::-webkit-details-marker { display: none; }
.ck-faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 18px; color: var(--ck-maroon); }
.ck-faq[open] summary::after { content: "–"; }
.ck-faq p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--ck-muted); }

/* --- Footer ---------------------------------------------------------------- */
.ck-foot { background: var(--ck-bg); border-top: 1px solid var(--ck-line); padding-block: 24px; text-align: center; font-size: 13px; color: var(--ck-muted); }
.ck-foot a { color: var(--ck-navy); }
.ck-foot__fine { font-size: 11.5px; }

/* ==========================================================================
   Persuasion layer: proof bar, media, assurances, quotes, guarantee,
   next-steps timeline, experts, rating.
   ========================================================================== */
.ck-stars { color: #f0a417; letter-spacing: 1px; }

.ck-proofbar { background: var(--ck-navy); color: #fff; font-size: 13px; }
.ck-proofbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding-block: 8px; }
.ck-proofbar__inner span { white-space: nowrap; }
.ck-proofbar__inner span + span::before { content: "✓"; color: var(--ck-mint-line); margin-right: 6px; font-weight: 800; }
.ck-proofbar b { font-weight: 700; }
@media (max-width: 640px) {
  .ck-proofbar__inner { gap: 4px 14px; font-size: 12px; }
  .ck-proofbar__inner span:nth-child(4) { display: none; }
}

.ck-offer__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ck-green); }
.ck-media { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ck-line); }
.ck-media__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ck-muted); margin-bottom: 8px; }
.ck-media__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.ck-media__list li { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 17px; color: #5b6272; letter-spacing: .01em; }

.ck-assure { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ck-assure li { position: relative; padding: 10px 10px 10px 38px; background: var(--ck-bg); border-radius: 10px; font-size: 12.5px; color: var(--ck-muted); line-height: 1.4; }
.ck-assure li::before { content: "✓"; position: absolute; left: 12px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ck-green); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ck-assure b { display: block; color: var(--ck-navy); font-size: 13.5px; }

.ck-quote { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--ck-mint-line); background: #f7fcfb; border-radius: 12px; }
.ck-quote__stars { font-size: 14px; }
.ck-quote__stars span { font-size: 11px; font-weight: 700; color: var(--ck-green); text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
.ck-quote blockquote { margin: 6px 0; font-size: 15px; line-height: 1.5; font-style: italic; }
.ck-quote figcaption { font-size: 13px; font-weight: 700; color: var(--ck-navy); }
.ck-quote--pay { margin-top: 18px; }

.ck-guarantee { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin: 18px 0; padding: 14px 16px; border: 2px dashed var(--ck-green); border-radius: 12px; background: #f3faf6; }
.ck-guarantee img { width: 64px; height: 64px; object-fit: contain; }
.ck-guarantee h3 { margin: 0 0 4px; font-family: var(--ck-display); font-size: 16px; color: var(--ck-navy); }
.ck-guarantee p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ck-ink); }

.ck-card__fine { margin: 10px 0 0; font-size: 12px; color: var(--ck-green); font-weight: 600; text-align: center; }

.ck-next { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 12px; }
.ck-next li { counter-increment: n; position: relative; padding-left: 36px; font-size: 13.5px; color: var(--ck-muted); line-height: 1.45; }
.ck-next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ck-mint); color: var(--ck-navy); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.ck-next li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: -12px; width: 2px; background: var(--ck-mint-line); }
.ck-next b { display: block; color: var(--ck-navy); }

.ck-expert { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; padding-block: 8px; }
.ck-expert__mark { width: 48px; height: 48px; border-radius: 50%; background: var(--ck-navy); color: #fff; font-family: var(--ck-display); font-weight: 800; font-size: 12px; display: grid; place-items: center; letter-spacing: .04em; }
.ck-expert p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ck-muted); }
.ck-expert b { color: var(--ck-navy); }
.ck-proofs { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ck-line); display: grid; gap: 8px; }
.ck-proofs li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.45; }
.ck-proofs li::before { content: "✓"; position: absolute; left: 0; color: var(--ck-green); font-weight: 800; }

.ck-rating { margin: -4px 0 8px; font-size: 14px; }

/* Mobile: keep the bundle choice close to the top */
@media (max-width: 820px) {
  .ck-hero { margin-block: 12px; }
  .ck-gallery { display: grid; grid-template-columns: 1fr; justify-items: center; }
  .ck-gallery__main { width: min(240px, 70vw); }
  .ck-gallery__thumbs { justify-content: center; }
  .ck-gallery__thumb { flex-basis: 48px; height: 48px; }
  .ck-offer__line { font-size: 14.5px; margin-bottom: 10px; }
  .ck-offer__line:nth-of-type(n+4) { display: none; }
  .ck-media__list li { font-size: 15px; }
}
.ck blockquote { border: 0; padding: 0; quotes: none; }
.ck-quote figcaption, .ck-review figcaption { text-align: left; }

/* Proof media */
.ck-quote figcaption, .ck-review figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ck-quote figcaption img, .ck-review figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ck-line); }
.ck-expert { grid-template-columns: 56px 1fr; }
.ck .ck-expert__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--ck-mint); }
.ck-card__img { display: block; width: 100%; border-radius: 10px; }

/* Science + trust icons */
.ck-science h4 { margin: 4px 0 8px; font-size: 14.5px; color: var(--ck-navy); }
.ck-science p { margin: 8px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--ck-muted); }
.ck-science .ck-cite { font-size: 11.5px; margin-bottom: 0; }
.ck-trust { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ck-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ck-trust li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ck-navy); line-height: 1.3; }
.ck .ck-trust img { width: 40px; height: 40px; flex: 0 0 40px; }
.ck-results { margin-top: 16px; border: 1px solid var(--ck-line); border-radius: 12px; padding: 12px; background: #fff; }
.ck-results__title { margin: 0 0 8px; font-family: var(--ck-display); font-weight: 700; font-size: 15px; color: var(--ck-navy); text-transform: uppercase; letter-spacing: .04em; }
.ck .ck-results img { display: block; width: 100%; max-width: 460px; margin: 0 auto; border-radius: 10px; }

/* Mobile spacing fixes */
.ck-gallery__thumbs { width: 100%; max-width: 100%; }
@media (max-width: 820px) {
  .ck-gallery__thumbs { justify-content: flex-start; padding-bottom: 4px; }
}
.ck-step--express + [data-next-component="shipping-form"] > .ck-step:first-child { padding-top: 24px; }
.ck .submit-section__disclaimer { font-size: 12px; line-height: 1.45; color: var(--ck-muted); padding-inline: 4px; margin-bottom: 10px; }
.ck-foot p { margin: 0 0 8px; line-height: 1.5; }
.ck-foot .ck-wrap { display: grid; gap: 2px; }
.ck-tier__ship--paid { color: var(--ck-muted); }

/* --- Desktop two-row layout ----------------------------------------------------
   Row 1: bundle step | real results photo.  Rows 2-4: form steps | order summary + cards.
   main/form/aside become layout-transparent so their children share one grid. */
.ck-results--side { display: none; }
@media (min-width: 961px) {
  .ck-grid { grid-template-rows: auto auto auto 1fr; column-gap: 32px; row-gap: 0; align-items: start; }
  .ck-main, .ck-main > form, .ck-side { display: contents; }
  .ck-main > form > .ck-step:first-child { grid-column: 1; grid-row: 1; }
  .ck-main > form > .ck-step--express { grid-column: 1; grid-row: 2; }
  .ck-main > form > [data-next-component="shipping-form"] { grid-column: 1; grid-row: 3; }
  .ck-main > form > .ck-step:last-child { grid-column: 1; grid-row: 4; }
  .ck-side__top { grid-column: 2; grid-row: 1; align-self: start; }
  .ck-side__rest { grid-column: 2; grid-row: 2 / span 3; align-self: start; display: grid; gap: 16px; position: static; padding-top: 20px; }
  .ck-results--inline { display: none; }
  .ck-results--side { display: block; margin-top: 0; }
  .ck-results--side img { max-width: 100%; }
}
.ck-side__rest { display: grid; gap: 16px; min-width: 0; }

/* --- Phone order summary placement ---------------------------------------------
   Desktop keeps the sidebar summary beside the form. Phones get a collapsed order bar
   at the top of Step 2 and the full summary right above the guarantee + pay button. */
.ck-minisum, .ck-summary-m { display: none; }
@media (max-width: 960px) {
  .ck-card--summary { display: none; }
  .ck-minisum { display: block; margin: 20px 0 0; border: 1px solid var(--ck-line); border-radius: 12px; background: var(--ck-bg); }
  .ck-minisum summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ck-navy); }
  .ck-minisum summary::-webkit-details-marker { display: none; }
  .ck-minisum summary b { font-family: var(--ck-display); font-size: 17px; white-space: nowrap; }
  .ck-minisum summary b::after { content: " ▾"; font-size: 12px; color: var(--ck-muted); }
  .ck-minisum[open] summary b::after { content: " ▴"; }
  .ck-minisum__body { padding: 0 14px 12px; background: #fff; border-top: 1px solid var(--ck-line); border-radius: 0 0 12px 12px; }
  .ck-summary-m { display: block; margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--ck-line); border-radius: 12px; background: #fff; }
}
@media (max-width: 960px) {
  .ck-minisum { margin-bottom: 4px; }
  .ck-minisum summary small { font-weight: 500; font-size: 12px; color: var(--ck-muted); margin-left: 6px; }
  .ck-minisum + [data-next-component="shipping-form"] > .ck-step:first-child { padding-top: 20px; }
}

/* Bundle row tube images */
.ck-tier { grid-template-columns: 22px 84px minmax(0, 1fr) auto; }
.ck .ck-tier__img { width: 84px; height: 56px; object-fit: contain; }
@media (max-width: 420px) {
  .ck-tier { grid-template-columns: 20px 60px minmax(0, 1fr) auto; gap: 8px; }
  .ck .ck-tier__img { width: 60px; height: 40px; }
}
@media (max-width: 640px) {
  .ck-tier__why { display: none; }
  .ck-tier__label { font-size: 15px; }
}
.ck-media .media-logos { display: block; width: 100%; max-width: 420px; height: auto; }

/* Free gift (Buy 3 Get 2): tag across the top, then strips box image + name. Shared by A/B/C and
   sized to fit the narrow desktop card columns on B and C. */
.nc-gift { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 10px; align-items: center; margin-top: 18px; padding: 16px 10px 10px; border: 2px dashed var(--ck-green); border-radius: 12px; background: #f3faf6; text-align: left; }
.nc-gift__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 12px; border-radius: 999px; background: var(--ck-maroon); color: #fff; font-family: var(--ck-display); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; line-height: 1.3; }
.ck .nc-gift img { display: block; width: 76px; height: auto; filter: drop-shadow(0 4px 6px rgba(29, 43, 90, .18)); }
.nc-gift__name { display: block; font-family: var(--ck-display); font-size: 14px; font-weight: 800; line-height: 1.2; color: var(--ck-navy); }
.nc-gift__val { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--ck-green); white-space: nowrap; }
.nc-gift__val s { margin-right: 4px; font-weight: 500; color: #8a909b; }
