/* Protein_HealthPlan native */
.psp-root { min-height: 0; }
.psp-root, .psp-root * { box-sizing: border-box; }

/* ============ RESET (scoped) ============ */
html, body { margin: 0; padding: 0; min-height: 0; background: #f9f8f6; overflow-x: hidden; }
.psp-root, .psp-root *, .psp-root *::before, .psp-root *::after { box-sizing: border-box; }
.psp-root { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ============ ROOT / TOKENS ============ */
.psp-root {
  --psp-beige: #be9c82;
  --psp-brown: #645549;
  --psp-off: #fdfaf7;
  --psp-light: #f3eee8;
  --psp-brown-soft: rgba(100,85,73,.08);
  --psp-brown-line: rgba(100,85,73,.14);
  --psp-shadow-sm: 0 1px 2px rgba(100,85,73,.06), 0 2px 8px rgba(100,85,73,.05);
  --psp-shadow-md: 0 4px 14px rgba(100,85,73,.09), 0 12px 32px rgba(100,85,73,.07);
  --psp-shadow-lg: 0 20px 60px rgba(100,85,73,.14);
  --psp-radius: 24px;
  --psp-answer-radius: 8px;
  --psp-radius-sm: 16px;
  --psp-ease: cubic-bezier(.22,.61,.36,1);

  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--psp-brown);
  background: var(--psp-off);
  line-height: 1.55;
  padding: 24px 25px 24px;
  display: flex;
  justify-content: center;
  min-height: 0;
  height: auto;
  font-size: 16px;
  letter-spacing: .01em;
}

.psp-shell { width: 100%; max-width: 1040px; margin: 0 auto; }


/* ============ TYPO ============ */
.psp-h1, .psp-h2, .psp-h3, .psp-eyebrow-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--psp-brown);
  letter-spacing: -.01em;
  line-height: 1.15;
}
.psp-h1 { font-size: clamp(30px, 6.5vw, 44px); }
.psp-h2 { font-size: clamp(24px, 4.5vw, 32px); }
.psp-h3 { font-size: clamp(19px, 3.5vw, 22px); }

.psp-lead { font-size: 16px; color: rgba(100,85,73,.78); margin: 14px 0 0; }
.psp-lead-soft { font-family: 'Playfair Display', serif; font-style: italic; font-size: 17px; color: var(--psp-brown); margin-top: 10px; }
.psp-muted { color: rgba(100,85,73,.6); font-size: 13.5px; }
.psp-small { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--psp-beige); font-weight: 600; }

/* ============ BUTTONS ============ */
.psp-btn {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 8px;
  background: var(--psp-brown); color: var(--psp-off);
  transition: transform .25s var(--psp-ease), box-shadow .25s var(--psp-ease), background .2s;
  box-shadow: var(--psp-shadow-md);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
}
.psp-btn:hover { background: var(--psp-beige); transform: translateY(-1px); box-shadow: var(--psp-shadow-lg); }
.psp-btn:active { transform: translateY(0); }
.psp-btn[disabled] { opacity: .45; cursor: not-allowed; }
.psp-btn.psp-btn--ghost {
  background: transparent; color: var(--psp-brown); box-shadow: none;
  border: 1px solid var(--psp-brown-line);
}
.psp-btn.psp-btn--ghost:hover { background: var(--psp-light); }
.psp-btn.psp-btn--sm { padding: 12px 20px; font-size: 14px; width: auto; }

.psp-back {
  background: #fff; border: 1px solid var(--psp-brown-line); cursor: pointer;
  padding: 10px 16px 10px 12px; border-radius: 8px;
  font-family: inherit; color: var(--psp-brown); font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s var(--psp-ease); box-shadow: var(--psp-shadow-sm);
}
.psp-back:hover { background: var(--psp-light); transform: translateX(-2px); }
.psp-back[hidden] { display: none; }
.psp-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .psp-name-grid { grid-template-columns: 1fr; } }

/* ============ SCREENS (fade transitions) ============ */
.psp-screen { display: none; animation: pspFade .5s var(--psp-ease); }
.psp-screen.psp-active { display: block; }
@keyframes pspFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ INTRO ============ */
.psp-intro {
  text-align: center; padding: 16px 4px 32px;
  display: flex; flex-direction: column; align-items: center;
}
.psp-intro-body {
  margin: 0; display: flex; flex-direction: column; align-items: center; width: 100%;
}
.psp-root:has(.psp-screen.psp-active[data-screen="intro"]) { padding-bottom: 16px; }
.psp-root:has(.psp-screen.psp-active[data-screen="result"]) { padding-bottom: 12px; }

@media (max-width: 640px) {
  .psp-intro { padding: 8px 4px 24px; }
  .psp-intro-mark { margin-bottom: 14px; font-size: 11px; padding: 6px 12px; }
}
.psp-intro-logo {
  display: block; margin: 0 auto 22px;
  width: 180px; height: auto;
}
@media (max-width: 640px) { .psp-intro-logo { width: 132px; margin-bottom: 18px; } }

.psp-intro-mark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--psp-light); color: var(--psp-brown);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 10px;
}
.psp-intro-mark::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--psp-beige);
}
.psp-intro .psp-h1 { margin: 0; font-size: clamp(26px, 6.2vw, 42px); white-space: nowrap; }
@media (max-width: 380px) { .psp-intro .psp-h1 { font-size: 24px; } }
.psp-intro-sub {
  margin-top: 12px; max-width: 480px; color: var(--psp-brown);
  opacity: .82; font-size: 15px; line-height: 1.6;
}
.psp-intro .psp-badges { margin-top: 22px; }
.psp-intro .psp-btn { margin-top: 40px; }
@media (max-width: 640px) {
  .psp-intro-sub { margin-top: 10px; font-size: 14.5px; padding: 0 8px; }
  .psp-intro .psp-btn { margin-top: 36px; }
}

.psp-intro-trust {
  margin-top: 10px; font-size: 13px; letter-spacing: .04em;
  color: var(--psp-brown); opacity: .75;
}

.psp-intro-trust strong { color: var(--psp-brown); opacity: 1; font-weight: 600; }
.psp-hero-visual {
  width: 100%; max-width: 520px; aspect-ratio: 4 / 5;
  margin: 26px auto 6px; border-radius: var(--psp-radius);
  background-image: url('/assets/hero-protein.jpg');
  background-size: cover; background-position: center 30%;
  box-shadow: 0 30px 60px -20px rgba(100,85,73,.35), 0 8px 24px rgba(190,156,130,.2);
}
@media (max-width: 640px) {
  .psp-hero-visual { max-width: 100%; aspect-ratio: 3 / 4; border-radius: var(--psp-radius); }
}
.psp-badges {
  list-style: none; margin: 22px auto 20px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 520px;
}
@media (max-width: 640px) {
  .psp-badges { margin: 16px auto 14px; gap: 6px; padding: 0 4px; }
  .psp-badge { padding: 7px 11px; font-size: 11.5px; }
}

.psp-badge {
  background: #fff; border: 1px solid var(--psp-brown-line);
  padding: 10px 14px; border-radius: 999px;
  font-size: 13px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--psp-brown); white-space: nowrap;
}
.psp-badge svg { flex: 0 0 auto; color: var(--psp-beige); width: 14px; height: 14px; }
.psp-trust { margin-top: 14px; font-size: 13px; color: rgba(100,85,73,.65); }
.psp-trust strong { color: var(--psp-brown); font-weight: 600; }

/* ============ PROGRESS ============ */
.psp-progress-wrap { margin: 4px 0 22px; }
.psp-progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--psp-beige); font-weight: 600;
  margin-bottom: 10px;
}
.psp-progress-meta span:last-child { color: rgba(100,85,73,.55); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.psp-progress {
  height: 4px; background: var(--psp-brown-soft); border-radius: 999px; overflow: hidden;
}
.psp-progress-bar {
  height: 100%; width: 0; background: linear-gradient(90deg, var(--psp-beige), var(--psp-brown));
  border-radius: 999px; transition: width .55s var(--psp-ease);
}

/* ============ QUESTION CARD ============ */
.psp-q-header { margin-bottom: 22px; }
.psp-q-title { font-size: clamp(22px, 4.5vw, 28px); }
.psp-q-sub { margin-top: 10px; color: rgba(100,85,73,.68); font-size: 14.5px; }

.psp-options { display: grid; gap: 12px; }
.psp-opt {
  background: var(--psp-off); border: 1px solid rgba(190,156,130,.4);
  padding: 18px 20px; border-radius: var(--psp-answer-radius);
  cursor: pointer; text-align: left; font: inherit; color: var(--psp-brown);
  display: flex; align-items: center; gap: 14px;
  transition: transform .3s var(--psp-ease), box-shadow .3s var(--psp-ease), border-color .2s, background .2s;
  position: relative;
}
.psp-opt:hover { border-color: var(--psp-beige); background: #fffdfa; }
.psp-opt-emoji { font-size: 22px; line-height: 1; }
.psp-opt-body { flex: 1; }
.psp-opt-label { font-weight: 600; font-size: 15px; }
.psp-opt-desc { font-size: 13px; color: rgba(100,85,73,.62); margin-top: 3px; }
.psp-opt-check {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--psp-brown-line);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--psp-ease);
  flex: 0 0 24px;
}
.psp-opt-check svg { opacity: 0; transform: scale(.5); transition: all .3s var(--psp-ease); }
.psp-opt.psp-selected {
  border-color: var(--psp-brown);
  background: var(--psp-light);
  transform: scale(1.02);
  box-shadow: var(--psp-shadow-md);
}
.psp-opt.psp-selected .psp-opt-check { background: var(--psp-brown); border-color: var(--psp-brown); }
.psp-opt.psp-selected .psp-opt-check svg { opacity: 1; transform: scale(1); color: var(--psp-off); }

/* Compact grid (goal question) */
.psp-options-compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.psp-opt-compact { padding: 12px 10px; gap: 8px; min-width: 0; }
.psp-opt-compact .psp-opt-emoji { font-size: 17px; flex: 0 0 auto; }
.psp-opt-compact .psp-opt-body { min-width: 0; flex: 1 1 auto; }
.psp-opt-compact .psp-opt-label { font-size: 13px; line-height: 1.25; font-weight: 600; word-break: break-word; hyphens: auto; }
.psp-opt-compact .psp-opt-check { width: 18px; height: 18px; flex: 0 0 18px; }
@media (max-width: 640px) {
  .psp-screen:has(.psp-options-compact) .psp-q-header { margin-bottom: 14px; }
  .psp-screen:has(.psp-options-compact) .psp-q-title { font-size: 20px; }
  .psp-screen:has(.psp-options-compact) .psp-q-sub { margin-top: 6px; font-size: 13px; }
  .psp-options-compact { gap: 8px; }
  .psp-opt-compact { padding: 10px 8px; gap: 6px; }
  .psp-opt-compact .psp-opt-emoji { font-size: 15px; }
  .psp-opt-compact .psp-opt-label { font-size: 11.5px; }
  .psp-opt-compact .psp-opt-check { width: 16px; height: 16px; flex: 0 0 16px; }
}

/* multi-select hint */
.psp-multi-hint {
  font-size: 12.5px; color: rgba(100,85,73,.55); margin-top: 4px;
}

/* Feedback toast */
.psp-feedback {
  margin-top: 18px; padding: 14px 16px;
  background: var(--psp-light); border-radius: var(--psp-radius);
  font-size: 14px; color: var(--psp-brown);
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .35s var(--psp-ease), max-height .4s var(--psp-ease), margin .4s var(--psp-ease), padding .4s var(--psp-ease);
  padding-top: 0; padding-bottom: 0; margin-top: 0;
}
.psp-feedback.psp-show {
  opacity: 1; max-height: 200px; margin-top: 18px;
  padding: 14px 16px;
}
.psp-feedback strong { color: var(--psp-brown); }

/* Text inputs */
.psp-field { margin-top: 8px; }
.psp-input {
  width: 100%; font: inherit; color: var(--psp-brown);
  background: #fff; border: 1.5px solid var(--psp-brown-line);
  padding: 18px 20px; border-radius: 8px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.psp-input:focus {
  outline: none; border-color: var(--psp-brown);
  box-shadow: 0 0 0 4px rgba(190,156,130,.18);
}
.psp-input::placeholder { color: rgba(100,85,73,.4); }
.psp-label { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--psp-beige); margin-bottom: 8px; }
.psp-privacy { margin-top: 12px; font-size: 12.5px; color: rgba(100,85,73,.6); }
.psp-expected { margin-top: 18px; padding: 18px 20px; background: linear-gradient(135deg, var(--psp-light), #fff); border: 1px solid var(--psp-brown-line); border-radius: var(--psp-radius-sm); }
.psp-expected p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--psp-brown); }

/* Nav row */
.psp-nav-row { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.psp-nav-row .psp-btn { width: auto; }
.psp-nav-row.psp-nav-single { justify-content: flex-end; }

/* ============ LOADING ============ */
.psp-loading { text-align: center; padding-top: 40px; }
.psp-shaker {
  position: relative;
  width: 72px; height: 132px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 10px 22px rgba(100,85,73,.14));
}

/* Small flip-cap tab that sticks up on the left of the lid */
.psp-shaker-spout {
  position: absolute; top: 0; left: 14px;
  width: 24px; height: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-bottom: none;
  border-radius: 12px 5px 2px 2px;
  z-index: 3;
}
.psp-shaker-spout::after {
  content: "";
  position: absolute; left: 5px; right: 5px; bottom: -1px;
  height: 2px; background: rgba(0,0,0,.06); border-radius: 2px;
}
/* Wide white lid */
.psp-shaker-lid {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 100%; height: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #efeae5 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px 12px 5px 5px;
  z-index: 2;
}
.psp-shaker-lid::before {
  content: "";
  position: absolute; left: 5px; right: 5px; top: 7px;
  height: 1px; background: rgba(0,0,0,.05);
}
.psp-shaker-lid::after {
  content: "";
  position: absolute; left: 3px; right: 3px; bottom: -3px;
  height: 4px; background: #ffffff;
  border-left: 1px solid rgba(0,0,0,.06);
  border-right: 1px solid rgba(0,0,0,.06);
  border-radius: 0 0 3px 3px;
}
/* Transparent body */
.psp-shaker-body {
  position: absolute; top: 34px; left: 0;
  width: 100%; height: 96px;

  background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.12) 100%);
  overflow: hidden;
  clip-path: polygon(2% 0, 98% 0, 82% 100%, 18% 100%);
  box-shadow: inset 1.5px 0 0 rgba(100,85,73,.16), inset -1.5px 0 0 rgba(100,85,73,.16);
}
.psp-shaker-body::before {
  content: "";
  position: absolute; left: 12px; top: 6px;
  width: 2px; height: 62px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,0));
  border-radius: 2px;
  z-index: 3;
}
.psp-shaker-body::after {
  content: "";
  position: absolute; right: 10px; top: 10px;
  width: 1px; height: 40px;
  background: rgba(255,255,255,.7);
  z-index: 3;
}
/* Protein script wordmark */
.psp-shaker-logo {
  position: absolute; top: 44px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center;
  z-index: 4;
  pointer-events: none;
}
.psp-shaker-logo .psp-shaker-brand {
  display: block;
  width: 46px;
  height: auto;
}

.psp-shaker-logo .psp-shaker-domain {
  font-family: 'Montserrat', sans-serif;
  font-size: 5px;
  letter-spacing: 1.2px;
  font-weight: 600;
  color: var(--psp-brown);
  opacity: .85;
  align-self: flex-end;
  margin-right: 18%;
  margin-top: 1px;
}

.psp-shaker-fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 8%;
  --lemon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><defs><radialGradient id='p' cx='50%25' cy='50%25' r='50%25'><stop offset='0%25' stop-color='%23fffbe0'/><stop offset='60%25' stop-color='%23fff3a8'/><stop offset='100%25' stop-color='%23ffe15c'/></radialGradient></defs><circle cx='20' cy='20' r='18' fill='%23e8b810'/><circle cx='20' cy='20' r='16.5' fill='%23fff6c2'/><circle cx='20' cy='20' r='15' fill='url(%23p)'/><g stroke='%23e8b810' stroke-width='1' stroke-linecap='round' opacity='.75'><line x1='20' y1='7' x2='20' y2='33'/><line x1='7' y1='20' x2='33' y2='20'/><line x1='11' y1='11' x2='29' y2='29'/><line x1='29' y1='11' x2='11' y2='29'/></g><circle cx='20' cy='20' r='2.2' fill='%23fff8d0' stroke='%23e8b810' stroke-width='.8'/></svg>");
  --ice: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><defs><linearGradient id='ig' x1='0' y1='0' x2='1' y2='1'><stop offset='0%25' stop-color='%23ffffff' stop-opacity='.95'/><stop offset='55%25' stop-color='%23eaf6ff' stop-opacity='.75'/><stop offset='100%25' stop-color='%23c9e4f5' stop-opacity='.85'/></linearGradient><linearGradient id='ih' x1='0' y1='0' x2='1' y2='1'><stop offset='0%25' stop-color='%23ffffff' stop-opacity='.9'/><stop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><rect x='5' y='5' width='30' height='30' rx='7' ry='7' fill='url(%23ig)' stroke='%23ffffff' stroke-opacity='.85' stroke-width='1.2'/><rect x='8' y='8' width='11' height='11' rx='3' fill='url(%23ih)'/><rect x='22' y='22' width='7' height='7' rx='2' fill='%23ffffff' fill-opacity='.35'/><path d='M9 26 L14 21 M27 12 L31 8' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/></svg>");
  background:
    /* lemon slices */
    var(--lemon), var(--lemon), var(--lemon),
    /* ice cubes */
    var(--ice), var(--ice), var(--ice),
    /* highlights */
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at 75% 68%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 45%),
    /* base lemonade gradient */
    linear-gradient(180deg, #fffde3 0%, #fff5b8 35%, #ffea8a 70%, #fdd94a 100%);
  background-repeat: no-repeat;
  background-size: 24px 24px, 20px 20px, 22px 22px, 22px 22px, 18px 18px, 26px 26px, 100% 100%, 100% 100%, 100% 100%;
  background-position: 18% 28%, 65% 60%, 40% 80%, 30% 45%, 78% 30%, 55% 72%, 0 0, 0 0, 0 0;
  animation: pspFill 3.2s var(--psp-ease) infinite, pspBits 5s linear infinite;
  box-shadow: inset 0 14px 28px rgba(255,255,255,.6), inset 0 -18px 32px rgba(220,170,20,.28), inset 0 0 40px rgba(255,250,200,.3);

  z-index: 1;
}

.psp-shaker-fill::before,
.psp-shaker-fill::after {
  content: "";
  position: absolute; left: -10%; width: 120%;
  border-radius: 50%;
  pointer-events: none;
}
.psp-shaker-fill::before {
  top: -8px; height: 16px;
  background: radial-gradient(ellipse at 20% 50%, #fff 0 3px, transparent 4px),
              radial-gradient(ellipse at 45% 60%, #fff 0 2.5px, transparent 3.5px),
              radial-gradient(ellipse at 70% 40%, #fff 0 3.5px, transparent 4.5px),
              radial-gradient(ellipse at 88% 55%, #fff 0 2.8px, transparent 3.8px),
              linear-gradient(180deg, #ffffff 0%, #fffbe0 60%, rgba(255,248,190,.85) 100%);
  box-shadow: 0 2px 6px rgba(220,170,20,.18);
  animation: pspWave 1.6s ease-in-out infinite;
}
.psp-shaker-fill::after {
  top: -3px; height: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  opacity: .8;
  animation: pspWave 2.1s ease-in-out infinite reverse;
}


@keyframes pspBits {
  0%   { background-position: 18% 28%, 65% 60%, 40% 80%, 30% 45%, 78% 30%, 55% 72%, 0 0, 0 0, 0 0; }
  50%  { background-position: 20% 38%, 63% 50%, 42% 70%, 32% 55%, 76% 40%, 53% 62%, 0 0, 0 0, 0 0; }
  100% { background-position: 18% 28%, 65% 60%, 40% 80%, 30% 45%, 78% 30%, 55% 72%, 0 0, 0 0, 0 0; }
}

@keyframes pspFill {
  0% { height: 8%; }
  85%, 100% { height: 80%; }
}
@keyframes pspWave {
  0%, 100% { transform: translateX(-4%); }
  50% { transform: translateX(4%); }
}
.psp-loading-steps { max-width: 340px; margin: 24px auto 0; text-align: left; }
.psp-loading-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--psp-radius-sm);
  font-size: 14px; color: rgba(100,85,73,.55);
  opacity: .35; transition: all .5s var(--psp-ease);
}
.psp-loading-step .psp-loading-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--psp-brown-line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .4s var(--psp-ease);
  flex: 0 0 18px;
}
.psp-loading-step.psp-active { opacity: 1; color: var(--psp-brown); font-weight: 600; }
.psp-loading-step.psp-done { opacity: 1; color: rgba(100,85,73,.75); }
.psp-loading-step.psp-done .psp-loading-dot { background: var(--psp-brown); border-color: var(--psp-brown); }
.psp-loading-step.psp-done .psp-loading-dot::after {
  content: ""; width: 4px; height: 8px;
  border: solid var(--psp-off); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translate(-1px,-1px);
}

/* ============ RESULT ============ */
.psp-result-hero {
  text-align: center; padding: 8px 0 24px;
}
.psp-result-hero .psp-small { display: block; margin-bottom: 12px; }
.psp-plan-name {
  margin-top: 14px; font-size: clamp(20px, 3.8vw, 26px);
  font-family: 'Playfair Display', serif; font-style: italic; color: var(--psp-brown);

}

.psp-section { margin-top: 32px; }
.psp-section-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.psp-section-title .psp-h3 { margin: 0; }
.psp-section-title.is-center { justify-content: center; text-align: center; }

/* Why-card */
.psp-why {
  background: var(--psp-light); border-radius: var(--psp-radius);
  padding: 22px 22px 18px;
  text-align: center;
}
.psp-why .psp-why-list { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
.psp-why-list { list-style: none; margin: 12px 0 0; padding: 0; }
.psp-why-list li {
  padding: 8px 0 8px 26px; position: relative; font-size: 14.5px; color: var(--psp-brown);
  border-bottom: 1px solid rgba(100,85,73,.08);
}
.psp-why-list li:last-child { border-bottom: 0; }
.psp-why-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--psp-beige);
}

/* Product cards */
.psp-products {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; margin: 0 -2px;
  align-items: stretch;
  scrollbar-width: thin;
}
.psp-products::-webkit-scrollbar { height: 6px; }
.psp-products::-webkit-scrollbar-thumb { background: rgba(100,85,73,.2); border-radius: 999px; }
.psp-product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--psp-brown-line);
  border-radius: var(--psp-radius); padding: 0;
  position: relative; overflow: hidden;
  transition: box-shadow .3s var(--psp-ease), transform .3s var(--psp-ease);
  flex: 0 0 320px; align-self: stretch; scroll-snap-align: start;
}
.psp-product-top { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; align-items: center; min-height: 0; box-sizing: border-box; }
.psp-product-info { display: flex; flex-direction: column; min-width: 0; }

.psp-product:hover { box-shadow: var(--psp-shadow-md); transform: translateY(-1px); }

.psp-product-media {
  position: relative; aspect-ratio: 1; border-radius: var(--psp-radius-sm); overflow: hidden;
  background: linear-gradient(160deg, var(--psp-light), #e6d7c1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -6px 16px rgba(100,85,73,.08);
}
.psp-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.psp-product-media .psp-product-fallback {
  font-family: 'Playfair Display', serif; color: var(--psp-brown);
  font-size: 22px; font-weight: 700; letter-spacing: .02em;
}
.psp-product-media .psp-product-placeholder { width: 70%; height: 70%; display: flex; align-items: center; justify-content: center; }
.psp-product-media .psp-product-placeholder svg { width: 100%; height: 100%; }
.psp-product-labels {
  position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.psp-label {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  background: var(--psp-brown); color: var(--psp-off);
  padding: 3px 7px; border-radius: 999px;
}
.psp-label.psp-label--sale { background: #b8543f; }
.psp-label.psp-label--new { background: var(--psp-beige); color: #fff; }
.psp-label.psp-label--best { background: #6c8f6a; color: #fff; }

.psp-product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.psp-product-title { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; margin: 0; color: var(--psp-brown); line-height: 1.35; letter-spacing: -.005em; }
.psp-variant-picker { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.psp-variant-picker-label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(100,85,73,.72); }
.psp-variant-select { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500; color: var(--psp-brown); background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23645549' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 10px center; border: 1px solid rgba(101,85,73,.35); border-radius: 8px; padding: 7px 30px 7px 12px; cursor: pointer; max-width: 100%; appearance: none; -webkit-appearance: none; box-shadow: 0 1px 2px rgba(101,85,73,.06); transition: border-color .15s, box-shadow .15s; }
.psp-variant-select:hover { border-color: var(--psp-brown); }
.psp-variant-select:focus { outline: none; border-color: var(--psp-brown); box-shadow: 0 0 0 3px rgba(190,156,130,.25); }
.psp-product-usp {
  font-size: 13px; color: rgba(100,85,73,.72); line-height: 1.5;
  margin: 0; padding: 16px 16px 32px;
  border-top: 1px solid var(--psp-brown-line);
  background: rgba(190,156,130,.06);
  align-self: stretch;
}


.psp-product-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; }
.psp-stars { color: #d4a574; letter-spacing: 1px; font-size: 13px; }
.psp-review-count { color: rgba(100,85,73,.55); }
.psp-stock { display: inline-flex; align-items: center; gap: 5px; color: #4a7a47; font-weight: 600; }
.psp-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4a7a47; }
.psp-stock.psp-stock--low { color: #b8843f; } .psp-stock.psp-stock--low::before { background: #b8843f; }
.psp-stock.psp-stock--out { color: rgba(100,85,73,.5); } .psp-stock.psp-stock--out::before { background: rgba(100,85,73,.5); }

.psp-product-pricerow { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 10px; }
.psp-product-prices { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.psp-p-sale { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--psp-brown); }
.psp-p-reg  { font-size: 13px; color: rgba(100,85,73,.5); text-decoration: line-through; }
.psp-p-save { font-size: 11.5px; font-weight: 700; color: #b8543f; letter-spacing: .04em; }


.psp-product-usage {
  margin-top: 8px; font-size: 12px; color: rgba(100,85,73,.68);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.psp-product-usage span::before { content: "· "; color: rgba(100,85,73,.35); margin-right: 2px; }
.psp-product-usage span:first-child::before { content: ""; margin: 0; }

.psp-product-why {
  grid-column: 1 / -1;
  margin-top: 4px; padding: 12px 14px; background: var(--psp-off); border-radius: var(--psp-radius-sm);
  font-size: 13px; color: var(--psp-brown); border-left: 3px solid var(--psp-beige);
}
.psp-product-why strong { font-weight: 600; }

.psp-product-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.psp-product-actions .psp-btn { width: auto; padding: 12px 18px; font-size: 11px; box-shadow: none; }
.psp-product-actions .psp-btn--ghost { border-color: var(--psp-brown-line); }

.psp-product-buy { padding: 0 16px 16px; margin-top: auto; }
.psp-add-btn {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  width: 100%; height: 52px; padding: 0 20px; box-sizing: border-box; white-space: nowrap;
  background: var(--psp-brown);
  border: none; border-radius: 8px; cursor: pointer;
  color: var(--psp-off); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase;
  text-decoration: none; letter-spacing: .14em;
  box-shadow: none;
  transition: transform .2s var(--psp-ease), box-shadow .2s var(--psp-ease), filter .2s, background .2s, color .2s;
}
/* Beat Magento CMS page link styles (.cms-page-view .column.main a → black + underline) */
.cms-page-view .column.main .psp-root a.psp-add-btn,
.cms-page-view .column.main .psp-root a.psp-add-btn:link,
.cms-page-view .column.main .psp-root a.psp-add-btn:visited,
.cms-page-view .column.main .psp-root a.psp-add-btn:hover,
.cms-page-view .column.main .psp-root a.psp-add-btn:focus,
.cms-page-view .column.main .psp-root a.psp-add-btn:active,
.psp-root a.psp-add-btn,
.psp-root a.psp-add-btn:link,
.psp-root a.psp-add-btn:visited,
.psp-root a.psp-add-btn:hover,
.psp-root a.psp-add-btn:focus,
.psp-root a.psp-add-btn:active {
  /* !important: theme .cms-page-view .column.main a:not(.btn)… is ~(0,8,1) */
  color: var(--psp-off) !important;
  text-decoration: none !important;
  font-weight: 700;
}
.psp-add-btn:hover,
.cms-page-view .column.main .psp-root a.psp-add-btn:hover,
.psp-root a.psp-add-btn:hover {
  transform: translateY(-1px);
  background: var(--psp-beige);
  color: var(--psp-off) !important;
  text-decoration: none !important;
}
.psp-add-btn-label { text-align: left; }
.psp-add-btn-price { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.psp-add-btn-price svg { width: 17px; height: 17px; flex-shrink: 0; }
.psp-add-btn-old { text-align: right; opacity: .75; text-decoration: line-through; font-weight: 500; font-size: 13px; white-space: nowrap; }
.psp-add-btn[disabled], .psp-add-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: grayscale(.3); }
.psp-add-btn[disabled]:hover, .psp-add-btn[aria-disabled="true"]:hover { transform: none; box-shadow: 0 2px 10px rgba(168,132,106,.28); filter: grayscale(.3); }

.psp-buy-all-wrap { margin: 28px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.psp-buy-all-btn {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 40px; min-width: 320px; max-width: 100%;
  background: var(--psp-brown);
  color: var(--psp-off); border: none; border-radius: 8px; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; box-shadow: 0 12px 30px rgba(100,85,73,.22);
  transition: transform .2s var(--psp-ease), box-shadow .2s var(--psp-ease), filter .2s, background .2s;
}
.psp-buy-all-btn:hover { transform: translateY(-1px); background: var(--psp-beige); }
.psp-buy-all-btn svg { width: 22px; height: 22px; }
.psp-buy-all-sub { font-size: 12.5px; color: var(--psp-brown); opacity: .7; letter-spacing: .04em; }
.psp-buy-all-price { font-weight: 800; }
.psp-buy-all-price .psp-buy-all-old { font-weight: 500; text-decoration: line-through; opacity: .7; margin-left: 8px; font-size: 14px; }
@media (max-width: 520px){
  .psp-buy-all-btn { min-width: 0; width: 100%; padding: 18px 22px; font-size: 15.5px; gap: 8px; flex-wrap: wrap; }
}
.psp-product-link,
.cms-page-view .column.main .psp-root a.psp-product-link,
.cms-page-view .column.main .psp-root a.psp-product-link:hover {
  font-size: 12.5px; color: var(--psp-brown); font-weight: 600;
  border-bottom: 1px solid var(--psp-brown-line); padding-bottom: 2px;
  text-decoration: none; align-self: center;
}
.psp-product-link:hover { border-color: var(--psp-brown); }

/* Kvantitetsstepper */
.psp-qty-slot { display: inline-flex; align-items: center; }
.psp-qty {
  display: inline-flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--psp-brown-line); border-radius: 8px;
  padding: 2px; box-shadow: none; min-height: 40px;
  font-family: 'Montserrat', sans-serif;
}
.psp-qty button {
  width: 34px; height: 34px; border-radius: 6px; border: 0; background: transparent;
  color: var(--psp-brown); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.psp-qty button:hover:not([disabled]) { background: var(--psp-light); }
.psp-qty button[disabled] { opacity: .35; cursor: not-allowed; }
.psp-qty-value {
  min-width: 28px; text-align: center; font-size: 14px; font-weight: 700;
  color: var(--psp-brown); font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; justify-content: center; height: 34px;
}
.psp-qty--busy .psp-qty-value::after {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--psp-brown-line); border-top-color: var(--psp-brown);
  animation: psp-spin .7s linear infinite; display: inline-block;
}
.psp-qty--busy .psp-qty-value { color: transparent; position: relative; }
.psp-qty--busy .psp-qty-value::after { position: absolute; }
@keyframes psp-spin { to { transform: rotate(360deg); } }
.psp-qty-error {
  display: block; font-size: 11px; color: #a34a3c; margin-top: 6px; font-family: 'Montserrat', sans-serif;
}

/* Bortvald produkt */
.psp-product { position: relative; transition: opacity .2s ease; }
.psp-product[data-selected="0"] { opacity: .5; }
.psp-product[data-selected="0"] .psp-product-media,
.psp-product[data-selected="0"] .psp-product-title,
.psp-product[data-selected="0"] .psp-product-prices,
.psp-product[data-selected="0"] .psp-product-usp { filter: grayscale(.4); }
.psp-product[data-selected="0"]::after {
  content: 'Inte inkluderad';
  position: absolute; top: 10px; right: 12px;
  font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--psp-brown); background: rgba(255,255,255,.9);
  border: 1px solid var(--psp-brown-line); border-radius: 8px;
  padding: 4px 10px; pointer-events: none;
}

/* Bundle */
.psp-bundle {
  background: linear-gradient(160deg, #fff, var(--psp-light));
  border: 1px solid var(--psp-brown-line);
  border-radius: var(--psp-radius); padding: 24px; margin-top: 20px;
  box-shadow: var(--psp-shadow-md);
}
.psp-bundle-tag { display: inline-block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--psp-off); background: var(--psp-brown); padding: 5px 10px; border-radius: 999px; }
.psp-bundle h3 { margin: 12px 0 4px; }
.psp-package-prose { max-width: 620px; margin: 14px auto 20px; text-align: center; color: var(--psp-brown); font-size: 14.5px; line-height: 1.7; }
.psp-package-prose p { margin: 0 0 12px; }
.psp-package-prose p:last-child { margin-bottom: 0; }
.psp-package-prose strong { color: var(--psp-brown); font-weight: 700; }
.psp-package-cta { display: block; margin: 6px auto 10px; min-width: 260px; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.psp-package-cta--final { margin-top: 22px; }
.psp-package-pricenote { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 13.5px; color: var(--psp-brown); }
.psp-package-pricenote s { color: rgba(100,85,73,.55); }
.psp-package-pricenote .psp-price-save { color: #c2410c; font-weight: 600; }
.psp-offer-badge {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 22px auto 16px; padding: 20px 22px; text-align: center;
  background: linear-gradient(160deg, #6f5c4e 0%, var(--psp-brown) 100%);
  color: var(--psp-off);
  border-radius: var(--psp-radius);
  box-shadow: 0 10px 26px rgba(100,85,73,.22);
  max-width: 420px;
}
.psp-offer-eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.85); }
.psp-offer-prices { display: flex; align-items: baseline; gap: 12px; }
.psp-offer-now { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 600; color: #ffffff; letter-spacing: -.01em; line-height: 1; }
.psp-offer-was { font-size: 15px; color: rgba(255,255,255,.55); text-decoration: line-through; }
.psp-offer-save { font-size: 12.5px; color: rgba(255,255,255,.8); max-width: 320px; line-height: 1.45; }


.psp-package-divider { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 32px 0 18px; color: var(--psp-brown); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.psp-package-divider svg { opacity: .7; }
.psp-bundle-table {
  margin: 18px 0 6px; background: rgba(255,255,255,.6); border-radius: var(--psp-radius);
  padding: 14px 16px; font-size: 14px;
}
.psp-bundle-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(100,85,73,.09);
}
.psp-bundle-row:last-of-type { border-bottom: 0; }
.psp-bundle-row .psp-bundle-name { color: var(--psp-brown); font-weight: 500; }
.psp-bundle-row .psp-bundle-val { color: var(--psp-brown); font-variant-numeric: tabular-nums; }
.psp-bundle-row.psp-bundle-subtotal { border-top: 1px solid rgba(100,85,73,.14); border-bottom: 0; margin-top: 4px; padding-top: 12px; font-size: 13.5px; color: rgba(100,85,73,.7); }
.psp-bundle-row.psp-bundle-discount .psp-bundle-val { color: #b8543f; font-weight: 600; }
.psp-bundle-row.psp-bundle-total {
  border-top: 1.5px solid var(--psp-brown-line); margin-top: 6px; padding-top: 14px;
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
}
.psp-bundle-price {
  display: flex; align-items: baseline; gap: 12px; margin: 14px 0 4px;
  flex-wrap: wrap;
}
.psp-price-old { text-decoration: line-through; color: rgba(100,85,73,.5); font-size: 15px; }
.psp-price-new { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--psp-brown); }
.psp-price-save { font-size: 13px; font-weight: 700; color: #c2410c; background: transparent; padding: 4px 0; border-radius: 0; }
.psp-bundle-note { font-size: 13px; color: rgba(100,85,73,.62); margin-top: 12px; text-align: center; }
.psp-bundle-lasts {
  margin-top: 14px; padding: 10px 14px; background: rgba(255,255,255,.7);
  border-radius: var(--psp-radius-sm); font-size: 13px; color: var(--psp-brown); text-align: center;
}
.psp-bundle-lasts strong { font-weight: 700; }

/* Cross-sell */
.psp-crosssell {
  margin-top: 14px; padding: 14px 16px; background: #fff; border: 1px dashed var(--psp-brown-line); border-radius: var(--psp-radius);
  display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap;
}
.psp-crosssell-info { flex: 1; min-width: 200px; }
.psp-crosssell-info h4 { margin: 0; font-family: 'Playfair Display', serif; font-size: 16px; }
.psp-crosssell-info p { margin: 2px 0 0; font-size: 13px; color: rgba(100,85,73,.6); }

/* Routine */
.psp-routine {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  position: relative;
}
.psp-routine::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 112px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--psp-brown-line) 12%, var(--psp-brown-line) 88%, transparent);
  z-index: 0;
}
.psp-routine-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--psp-brown-line);
  border-radius: var(--psp-radius); padding: 26px 20px 24px;
  gap: 14px; min-height: 300px;
}
.psp-routine-time {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: var(--psp-brown); background: transparent;
  padding: 6px 0;
  letter-spacing: .18em; text-transform: uppercase; font-size: 12px;
}
.psp-routine-img {
  width: 92px; height: 92px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, var(--psp-light), #e6d7c1);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--psp-brown-line);
}
.psp-routine-img img { width: 100%; height: 100%; object-fit: cover; }
.psp-routine-img .psp-product-fallback { font-size: 20px; }
.psp-routine-body h4 { margin: 6px 0 6px; font-family: 'Playfair Display', serif; font-size: 17px; color: var(--psp-brown); }
.psp-routine-body p { margin: 2px 0 0; font-size: 13.5px; color: rgba(100,85,73,.7); line-height: 1.6; }
.psp-routine-body em { font-style: normal; font-weight: 600; color: var(--psp-brown); font-size: 13px; }

/* Aftercare */
.psp-after {
  background: var(--psp-light); border-radius: var(--psp-radius);
  padding: 22px; margin-top: 22px;
}
.psp-after-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.psp-after-list li { font-size: 14px; padding-left: 22px; position: relative; color: var(--psp-brown); }
.psp-after-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 6px;
  border: solid var(--psp-beige); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}

/* Convert helpers */
.psp-convert-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px;
}
.psp-convert-pill {
  background: #fff; border: 1px solid var(--psp-brown-line);
  padding: 12px 14px; border-radius: var(--psp-radius-sm);
  font-size: 12.5px; color: rgba(100,85,73,.7);
  display: flex; align-items: center; gap: 10px;
}
.psp-convert-pill strong { color: var(--psp-brown); font-weight: 600; display: block; font-size: 13.5px; }

/* Contextual "Visste du att…" card — tied to the plan, spaced well below routine */
.psp-funfact {
  margin: 56px auto 8px;
  max-width: 640px;
  padding: 28px 28px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(249,246,241,.9));
  border: 1px solid rgba(80,55,35,.22);
  border-top: 3px solid #3d2a1c;
  border-radius: var(--psp-radius);
  box-shadow: 0 10px 28px -20px rgba(60,35,15,.4);
  text-align: center;
}
.psp-funfact-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  letter-spacing: .01em;
  color: #3d2a1c;
  font-weight: 600;
  margin-bottom: 12px;
}
.psp-funfact-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3d2a1c;
}
@media (max-width: 520px) {
  .psp-funfact { padding: 22px 20px; margin-top: 44px; border-radius: var(--psp-radius); }
  .psp-funfact-label { font-size: 18px; }
  .psp-funfact-text { font-size: 14.5px; }
}

/* Soft divider between fun-fact / last product card and the outro tagline */
.psp-close-divider {
  width: 56px;
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, rgba(140,113,90,.35), transparent);
}

/* Emotional close */
.psp-close {
  text-align: center;
  padding: 0 20px;
  margin-top: 72px;
  margin-bottom: 24px;
}


.psp-close p { margin: 4px 0; font-size: 15px; color: rgba(100,85,73,.75); text-align: center; }
.psp-close .psp-small { display: block; text-align: center; }

.psp-signature { font-family: 'Playfair Display', serif; font-style: italic; color: var(--psp-beige); font-size: 17px; margin-top: 10px; }

/* Sticky CTA */
.psp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(249,248,246,.92);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-top: 1px solid var(--psp-brown-line);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  display: none; z-index: 40;
}
.psp-sticky.psp-show { display: block; }
.psp-sticky-inner { max-width: 640px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.psp-sticky-info { flex: 1; min-width: 0; }
.psp-sticky-info strong { display: block; font-family: 'Playfair Display', serif; font-size: 16px; color: var(--psp-brown); }
.psp-sticky-info span { font-size: 12.5px; color: rgba(100,85,73,.6); }
.psp-sticky .psp-btn { width: auto; padding: 14px 20px; font-size: 14px; }

/* routine stacks on mobile/tablet */
@media (max-width: 760px) {
  .psp-routine { grid-template-columns: 1fr !important; gap: 12px; }
  .psp-routine::before { display: none; }
  .psp-routine-item { width: 100%; flex-direction: column; text-align: center; align-items: center; padding: 20px 16px; gap: 12px; min-height: 0; }
  .psp-routine-body h4, .psp-routine-body p { text-align: center; }
}

/* small screens */
@media (max-width: 400px) {
  .psp-root { padding: 18px 25px 20px; font-size: 15.5px; }
  .psp-after-list { grid-template-columns: 1fr; }
  .psp-convert-strip { grid-template-columns: 1fr; }
  .psp-product { flex: 0 0 86%; }
  .psp-product-top { grid-template-columns: 88px 1fr; padding: 14px; gap: 12px; }
  .psp-product-usp { padding: 12px 14px 14px; }

  .psp-routine { grid-template-columns: 1fr; gap: 10px; }
  .psp-routine::before { display: none; }
  .psp-routine-item { flex-direction: column; text-align: center; align-items: center; padding: 16px; gap: 10px; min-height: 0; }
}

/* ===== 2026-10-30 exact-match: neutralise Magento/Hyvä theme bleed (values = Lovable computed) ===== */
.protein-halsoplanen .psp-root p,
.protein-halsoplanen .psp-root em,
.protein-halsoplanen .psp-root strong,
.protein-halsoplanen .psp-root .psp-lead,
.protein-halsoplanen .psp-root .psp-product-usp { font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important; }
.protein-halsoplanen .psp-package-prose p,
.protein-halsoplanen .psp-package-prose em,
.protein-halsoplanen .psp-package-prose strong { line-height: 24.65px !important; }
.protein-halsoplanen .psp-routine-body p { line-height: 21.6px !important; }
.protein-halsoplanen .psp-root p.psp-product-usp { line-height: 19.5px !important; }
.protein-halsoplanen .psp-root .psp-lead { line-height: 1.55 !important; }
.protein-halsoplanen .psp-package-prose p,
.protein-halsoplanen .psp-package-prose em,
.protein-halsoplanen .psp-why p { color: var(--psp-brown) !important; }
.protein-halsoplanen .psp-root a.psp-add-btn,
.protein-halsoplanen .psp-root a.psp-add-btn .psp-add-btn-label,
.protein-halsoplanen .psp-root a.psp-add-btn .psp-add-btn-price,
.protein-halsoplanen .psp-root a.psp-add-btn .psp-add-btn-old,
.protein-halsoplanen .psp-root a.psp-add-btn svg { line-height: 1.55 !important; }
.protein-halsoplanen .psp-result-hero h1.psp-h1 { margin: .67em 0 !important; padding: 0 !important; }
.protein-halsoplanen .psp-root h2.psp-h3 { margin: 0 !important; }
.protein-halsoplanen .psp-root h3.psp-product-title { line-height: 1.35 !important; margin: 12px 0 4px !important; }
.protein-halsoplanen .psp-root .psp-routine-body h4 { font-weight: 700 !important; line-height: 1.55 !important; }
.protein-halsoplanen .psp-root .psp-product img,
.protein-halsoplanen .psp-root .psp-routine img { max-width: none !important; }
/* UA-default emulation inside the module (theme preflight zeroes these; Lovable runs on bare UA styles) */
:where(.protein-halsoplanen) p { margin: 1em 0; }
:where(.protein-halsoplanen) h1 { margin: .67em 0; padding: 0; }
:where(.protein-halsoplanen) h2 { margin: .83em 0; padding: 0; }
:where(.protein-halsoplanen) h3 { margin: 1em 0; padding: 0; }
:where(.protein-halsoplanen) h4 { margin: 1.33em 0; padding: 0; font-weight: 700; }
:where(.protein-halsoplanen) img { max-width: none; }
:where(.protein-halsoplanen) p, :where(.protein-halsoplanen) strong, :where(.protein-halsoplanen) em, :where(.protein-halsoplanen) button span { line-height: inherit; }
.protein-halsoplanen .psp-root input.psp-input { padding: 18px 20px; color: var(--psp-brown); line-height: 1.55; box-shadow: none; border-radius: 8px; font-size: 16px; }
.protein-halsoplanen .psp-root input.psp-input:focus { outline: none; border-color: var(--psp-brown); box-shadow: 0 0 0 4px rgba(190,156,130,.18); }
.protein-halsoplanen .psp-root .psp-back, .protein-halsoplanen .psp-root .psp-back span { line-height: normal; }
:where(.protein-halsoplanen) button, :where(.protein-halsoplanen) button * { line-height: normal; }
.protein-halsoplanen .psp-root h2.psp-h2 { padding: 0 !important; margin-bottom: .83em !important; }
.protein-halsoplanen .psp-root h2.psp-h2.psp-q-title { margin-top: 8px !important; }
.protein-halsoplanen .psp-intro h1.psp-h1 { margin: 0 !important; padding: 0 !important; }
.protein-halsoplanen .psp-root p.psp-q-sub, .protein-halsoplanen .psp-root p.psp-multi-hint, .protein-halsoplanen .psp-root p.psp-intro-trust { margin-bottom: 1em !important; }
.protein-halsoplanen .psp-root p.psp-intro-sub { line-height: 1.6 !important; }
.protein-halsoplanen .psp-root input.psp-input { padding: 18px 20px !important; color: var(--psp-brown) !important; line-height: 1.55 !important; box-shadow: none !important; }
.protein-halsoplanen .psp-root input.psp-input:focus { box-shadow: 0 0 0 4px rgba(190,156,130,.18) !important; border-color: var(--psp-brown) !important; }
