/* Customer Pulse — rewards button (replaces WPLoyalty's launcher). Peptide Crafters tokens. */
.cprl { --ink:#000000; --muted:#555555; --line:#ECECE8; --ground:#F3F3F1; --gold:#F8C822; --gold-soft:#FFF6D6;
  position: fixed; left: 16px; bottom: calc(var(--cprl-bottom, 16px) + env(safe-area-inset-bottom, 0px)); z-index: 99990;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.45; color: var(--ink); }
.cprl[hidden], .cprl [hidden] { display: none !important; }
.cprl *, .cprl *::before, .cprl *::after { box-sizing: border-box; }
.cprl a { text-decoration: none; }
.cprl :focus-visible { outline: 2px solid #1F4FD1; outline-offset: 2px; }
.cprl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cprl-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; margin: 0; border-radius: 999px; border: 0; background: var(--ink); color: #FFFFFF;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; text-transform: none; letter-spacing: normal; }
.cprl-pill:hover { background: #1A1A1A; }
.cprl-badge { display: inline-flex; align-items: center; height: 36px; margin-right: -10px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; }
.cprl-short { display: none; }
.cprl-pill-gold { background: var(--gold); color: var(--ink); font-weight: 800; }
.cprl-pill-gold:hover { background: #FFD84D; }

.cprl-panel { position: absolute; left: 0; bottom: 64px; width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); overflow: auto;
  background: var(--ground); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.cprl-top { background: var(--ink); color: #FFFFFF; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.cprl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cprl-brand { font-weight: 800; letter-spacing: .08em; font-size: 13px; }
.cprl-close { width: 44px; height: 44px; margin: -10px -10px -10px 0; border: 0; border-radius: 12px; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; }
.cprl-hi { font-size: 13px; color: #BDBDBD; margin-top: 6px; }
.cprl-total { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cprl-gold { font-size: 15px; font-weight: 600; color: var(--gold); }
.cprl-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.cprl-split > div { background: #1A1A1A; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.cprl-split span, .cprl-split small { font-size: 12px; color: #BDBDBD; }
.cprl-split strong { font-size: 20px; font-weight: 800; }
.cprl-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cprl-warn { background: var(--gold-soft); color: #5A4600; border-radius: 14px; padding: 12px 14px; }
.cprl-card { background: #FFFFFF; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cprl-card small { font-size: 12px; color: var(--muted); }
.cprl-muted { color: var(--muted); }
.cprl-share { display: flex; gap: 8px; }
.cprl-share input { flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; border-radius: 10px; border: 1px solid #D6D6D2; padding: 0 12px; font-family: inherit; font-size: 13px; color: var(--ink); background: #FFFFFF; }
.cprl-btn-dark { min-height: 44px; padding: 0 16px; margin: 0; border-radius: 10px; border: 0; background: var(--ink); color: #FFFFFF; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.cprl-btn-dark.is-done { background: #1B6B3A; }
.cprl-bar { height: 8px; border-radius: 999px; background: #ECECE9; overflow: hidden; }
.cprl-bar > div { height: 8px; border-radius: 999px; background: var(--ink); }
.cprl-links { background: #FFFFFF; border-radius: 16px; padding: 4px 6px; display: flex; flex-direction: column; }
.cprl-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 6px 10px; color: var(--ink) !important; border-top: 1px solid var(--line); }
.cprl-links a:first-child { border-top: 0; }
.cprl-links a span { display: flex; flex-direction: column; }
.cprl-links small { font-size: 12px; color: var(--muted); }
.cprl-cta, .cprl-cta-dark { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; background: var(--gold); color: var(--ink) !important; font-weight: 800; font-size: 16px; }
.cprl-cta-dark { background: var(--ink); color: #FFFFFF !important; }
.cprl-cta-ghost { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; border: 1px solid #D6D6D2; color: var(--ink) !important; font-weight: 700; }
.cprl-cta-ghost-d { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; border: 1px solid #4A4A4A; color: #FFFFFF !important; font-weight: 600; }
.cprl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.cprl-two .cprl-cta { min-height: 48px; font-size: 15px; border-radius: 12px; }
.cprl-title { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.cprl-muted-d { color: #D0D0D0; }
.cprl-fine { font-size: 11px; color: var(--muted); text-align: center; }
.cprl-giftbox { width: 52px; height: 52px; border-radius: 14px; background: var(--gold); display: grid; place-items: center; }
.cprl-from { font-size: 13px; color: var(--muted); font-weight: 600; }
.cprl-big { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.cprl-ok { background: #E8F3EA; color: #1D5B2C; border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.cprl-invited .cprl-close { margin: 0; background: var(--ground); }
.cprl-invited { background: #FFFFFF; border-radius: 22px; }

@media (max-width: 600px) {
  .cprl { left: 12px; bottom: calc(var(--cprl-bottom-m, 16px) + env(safe-area-inset-bottom, 0px)); }
  /* Phones: icon + dollar amount only (full wording kept for screen readers). */
  .cprl-pill { min-height: 48px; padding: 0 8px 0 14px; gap: 8px; font-size: 14px; }
  .cprl-pill .cprl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cprl-badge { height: 34px; margin-right: 0; padding: 0 10px; }
  .cprl-pill-icon { width: 48px; padding: 0; justify-content: center; }
  .cprl-pill-gold { padding: 0 16px 0 14px; }
  .cprl-pill-gold .cprl-short { display: inline; }
  .cprl.is-open .cprl-panel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 88vh; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .cprl.is-open::before { content: ""; position: fixed; inset: 0; background: rgba(17,17,17,.45); }
}
@media (prefers-reduced-motion: no-preference) {
  .cprl-panel { animation: cprl-in .16s ease-out; }
  @keyframes cprl-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
