/* Site Factory claim pill (demo only).
   The pill uses the client's colors so it sits well on their site.
   The panel uses Raiona Denise's brand so it reads as a note from her. */
.cb-pill, .cb-tab { --cb-navy: var(--color-dark, #1b1f5e); --cb-gold: var(--color-accent, #f2b33d); font-family: var(--font-body, system-ui, sans-serif); }
.cb-wrap { --rd-orange: #FF6600; --rd-ink: #222222; --rd-cream: #F8F4EF; --rd-gold: #D8A55A; --rd-green: #C1D37F; --rd-line: #e6dfd5; --rd-muted: #5f5a54; font-family: "DM Sans", Inter, Arial, sans-serif; }


/* Pill */
.cb-pill {
  position: fixed; z-index: 60; right: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 8px; padding: 6px;
  background: var(--cb-navy); border: 1px solid rgb(255 255 255 / .14); border-radius: 999px;
  box-shadow: 0 12px 32px rgb(5 7 30 / .5);
  transform: translateY(150%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.cb-pill.is-on { transform: none; opacity: 1; }
.cb-pill__mark { flex: none; display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.cb-pill__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-pill__go { white-space: nowrap; border: 0; cursor: pointer; padding: .78em 1.3em; border-radius: 999px; background: var(--cb-gold); color: var(--cb-navy); font: inherit; font-weight: 700; font-size: .95rem; }
.cb-pill__go:hover { filter: brightness(1.05); }
.cb-pill__x { width: 30px; height: 30px; margin-right: 2px; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: rgb(255 255 255 / .65); font-size: 1.25rem; line-height: 1; }
.cb-pill__x:hover { color: #fff; background: rgb(255 255 255 / .1); }

.cb-tab {
  position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--cb-navy); color: #fff;
  font-weight: 700; font-size: .82rem; box-shadow: 0 8px 22px rgb(5 7 30 / .45);
  transform: translateY(160%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.cb-tab .cb-pill__mark { width: 30px; height: 30px; }
.cb-tab .cb-rd { font-size: 12px; }
.cb-tab.is-on { transform: none; }
body.cb-on .site-footer { padding-bottom: 96px; }

@media (max-width: 767px) {
  body.cb-on .sticky-cta { display: none; }
  .cb-pill { right: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(50%, 150%); }
  .cb-pill.is-on { transform: translate(50%, 0); }
  .cb-tab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Panel */
html.cb-lock, html.cb-lock body { overflow: hidden; }
.cb-wrap { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; }
.cb-wrap[hidden] { display: none; }
.cb-backdrop { position: absolute; inset: 0; background: rgb(20 20 20 / .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.cb-sheet {
  position: relative; width: min(1060px, calc(100% - 40px)); max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--rd-cream); color: var(--rd-ink); border-radius: 18px; box-shadow: 0 30px 80px rgb(0 0 0 / .35);
  transform: translateY(24px); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s; scrollbar-width: none;
}
.cb-sheet::-webkit-scrollbar { display: none; }
.cb-wrap.is-open .cb-backdrop { opacity: 1; }
.cb-wrap.is-open .cb-sheet { transform: none; opacity: 1; }
.cb-sheet__handle { display: none; }
.cb-sheet__x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; background: rgb(34 34 34 / .07); color: var(--rd-ink); font-size: 1.4rem; line-height: 1; }

.cb-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.cb-story { padding: 40px 40px 36px; }
.cb-offer { padding: 40px 40px 32px; background: #fff; border-left: 1px solid var(--rd-line); border-radius: 0 18px 18px 0; }

.cb-from { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: .84rem; color: var(--rd-muted); }
.cb-from img { width: 44px; height: 44px; border-radius: 50%; }
.cb-from strong { display: block; color: var(--rd-ink); font-size: .95rem; }
.cb-title { margin: 0 0 12px; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.5rem); line-height: 1.08; letter-spacing: -.01em; color: var(--rd-ink); text-transform: none; }
.cb-note { margin: 0 0 22px; font-size: 1rem; line-height: 1.6; color: var(--rd-muted); }
.cb-label { margin: 0 0 10px; font-family: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-ink); }
.cb-label::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 8px; background: var(--rd-orange); }
.cb-changes { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; font-size: .94rem; line-height: 1.45; }
.cb-changes li { display: flex; gap: 10px; }
.cb-changes svg { flex: none; width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--rd-green); color: var(--rd-ink); }

/* before and after */
.cb-ba { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #ddd; box-shadow: 0 10px 26px rgb(0 0 0 / .14); user-select: none; }
.cb-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cb-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cb-ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); pointer-events: none; }
.cb-ba__knob { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--rd-orange); box-shadow: 0 4px 12px rgb(0 0 0 / .25); }
.cb-ba__knob::before, .cb-ba__knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.cb-ba__knob::before { left: 6px; border-right-color: var(--rd-ink); }
.cb-ba__knob::after { right: 6px; border-left-color: var(--rd-ink); }
.cb-ba__tag { position: absolute; top: 10px; padding: 3px 9px; border-radius: 4px; background: rgb(34 34 34 / .78); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.cb-ba__tag--l { left: 10px; } .cb-ba__tag--r { right: 10px; }
.cb-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; min-height: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; border: 0; }
.cb-ba__range:focus-visible + * , .cb-ba:has(.cb-ba__range:focus-visible) { outline: 3px solid var(--rd-orange); outline-offset: 3px; }
.cb-ba__hint { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--rd-muted); }

/* offer */
.cb-card { border: 1px solid var(--rd-line); border-radius: 14px; padding: 6px 20px 20px; background: var(--rd-cream); }
.cb-line { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rd-line); font-size: .95rem; font-weight: 700; }
.cb-line small { display: block; margin-top: 2px; font-size: .8rem; font-weight: 400; color: var(--rd-muted); }
.cb-line__val { white-space: nowrap; }
.cb-line__val s { margin-right: 4px; font-weight: 400; color: var(--rd-muted); }
.cb-line:first-child .cb-line__val { color: var(--rd-orange); }

.cb-plans { margin: 0; padding: 14px 0 4px; border: 0; display: grid; gap: 10px; }
.cb-plans legend { padding: 0 0 10px; font-size: .9rem; font-weight: 700; }
.cb-plan { position: relative; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px 12px 42px; border: 2px solid var(--rd-line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 400; transition: border-color .15s; }
.cb-plan.is-on { border-color: var(--rd-orange); }
.cb-plan input { position: absolute; left: 14px; top: 15px; min-height: 0; padding: 0; margin: 0; width: 18px; height: 18px; appearance: none; -webkit-appearance: none; border: 2px solid #b9b1a6; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; }
.cb-plan input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-orange); transform: scale(0); transition: transform .15s; }
.cb-plan input:checked { border-color: var(--rd-orange); }
.cb-plan input:checked::after { transform: scale(1); }
.cb-plan input:focus-visible { outline: 2px solid var(--rd-ink); outline-offset: 2px; }
.cb-plan__name { font-weight: 700; }
.cb-plan__price { font-weight: 700; }
.cb-plan__price small { font-weight: 400; color: var(--rd-muted); }
.cb-plan__note { grid-column: 1 / -1; font-size: .84rem; line-height: 1.45; color: var(--rd-muted); }

.cb-total { margin: 16px 0 14px; padding-top: 14px; border-top: 2px solid var(--rd-ink); }
.cb-total > div { display: flex; justify-content: space-between; align-items: baseline; }
.cb-total__k { font-weight: 700; }
.cb-total__v { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.cb-total__then { margin: 6px 0 0; font-size: .84rem; color: var(--rd-muted); }

.cb-checkout { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 1em; border-radius: 999px; background: var(--rd-orange); color: var(--rd-ink); font-weight: 700; font-size: 1.02rem; text-decoration: none; transition: gap .2s, filter .2s; }
.cb-checkout:hover { gap: 16px; filter: brightness(1.05); }
.cb-secure { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--rd-muted); }

.cb-steps { list-style: none; counter-reset: s; margin: 22px 0 16px; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.cb-steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; }
.cb-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rd-ink); color: var(--rd-cream); font-weight: 700; font-size: .8rem; }
.cb-terms { margin: 0 0 16px; font-size: .78rem; line-height: 1.5; color: var(--rd-muted); }
.cb-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.cb-links a, .cb-back { color: var(--rd-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cb-back { border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; padding: 0; }
.cb-tagline-by { display: block; margin-top: 6px; font-family: "DM Sans", Inter, Arial, sans-serif; font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-muted); }
.cb-tagline { margin: 20px 0 0; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: .98rem; color: var(--rd-ink); }

@media (max-width: 860px) {
  .cb-grid { grid-template-columns: 1fr; }
  .cb-offer { border-left: 0; border-top: 1px solid var(--rd-line); border-radius: 0; }
}
@media (max-width: 767px) {
  .cb-wrap { place-items: end stretch; }
  .cb-sheet { width: 100%; max-height: 92svh; border-radius: 18px 18px 0 0; transform: translateY(100%); opacity: 1; }
  .cb-sheet__handle { display: block; position: sticky; top: 0; z-index: 1; height: 22px; margin-bottom: -22px; background: linear-gradient(var(--rd-cream) 60%, transparent); }
  .cb-sheet__handle::before { content: ""; display: block; width: 40px; height: 4px; margin: 9px auto 0; border-radius: 4px; background: rgb(34 34 34 / .2); }
  .cb-sheet__x { top: 10px; right: 10px; }
  .cb-story { padding: 30px 18px 24px; }
  .cb-offer { padding: 24px 18px calc(26px + env(safe-area-inset-bottom)); }
  .cb-card { padding: 4px 14px 16px; }
  .cb-links { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .cb-pill, .cb-tab, .cb-sheet, .cb-backdrop { transition: none; } }
.cb-offer { padding-top: 60px; }
@media (max-width: 767px) { .cb-links { align-items: flex-start; } .cb-offer { padding-top: 24px; } }
