/* PulseWave breathing pacer. Works with the .pw-demo dark panel from pulsewave.css. */
.pw-pacer__steps { max-width: 520px; margin-left: auto; margin-right: auto; }
.pw-pacer__mount { position: relative; }
.pw-pacer__select { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: -20px 0 24px; font-size: .9rem; color: rgba(255,255,255,.75); }
.pw-pacer__select select,
.pw-pacer__custom input { font: inherit; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 10px; }
.pw-pacer__select select option { color: #111; }
.pw-pacer__custom { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -8px 0 24px; padding: 0; border: 0; }
.pw-pacer__custom[hidden] { display: none; }
.pw-pacer__custom legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pw-pacer__custom label { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .75rem; color: rgba(255,255,255,.7); }
.pw-pacer__custom input { width: 64px; text-align: center; }
.pw-pacer__stage { margin-bottom: 24px; }
.pw-pacer__orb { animation: none !important; transform: scale(.55); opacity: .6; transition-property: transform, opacity; transition-timing-function: ease-in-out; }
.pw-pacer__count { position: absolute; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; pointer-events: none; font-variant-numeric: tabular-nums; }
.pw-pacer .pw-pacer__phase { position: relative; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; color: #fff; min-height: 1.6em; margin: 0 0 6px; }
.pw-pacer .pw-pacer__time { position: relative; margin: 0 0 22px; font-size: .9rem; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.pw-pacer__buttons { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.pw-pacer__toggle { min-width: 140px; justify-content: center; }
.pw-pacer__reset { font: inherit; font-weight: 600; color: rgba(255,255,255,.85); background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 9999px; padding: 12px 22px; cursor: pointer; }
.pw-pacer__reset:hover { background: rgba(255,255,255,.08); }
.pw-pacer__durations { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; border: 0; margin: 0 0 16px; padding: 0; }
.pw-pacer__durations legend { width: 100%; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.pw-pacer__durations label { position: relative; }
.pw-pacer__durations input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pw-pacer__durations span { display: inline-block; min-width: 64px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 9999px; font-size: .9rem; color: rgba(255,255,255,.8); cursor: pointer; }
.pw-pacer__durations input:checked + span { background: #fff; color: #14132a; border-color: #fff; font-weight: 700; }
.pw-pacer__durations input:focus-visible + span,
.pw-pacer__sound input:focus-visible { outline: 2px solid #67e8f9; outline-offset: 2px; }
.pw-pacer__sound { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.75); cursor: pointer; }
.pw-pacer__sound input { width: 18px; height: 18px; accent-color: #22d3ee; }
.pw-pacer .pw-pacer__noscript { position: relative; color: rgba(255,255,255,.7); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) {
  .pw-pacer__orb { transition: none !important; transform: scale(1) !important; opacity: .9 !important; }
  .pw-pacer__count { font-size: 2.75rem; }
}

/* Direct store CTA under the pacer. */
.pw-store-cta { margin: -32px 0 56px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r-lg, 20px); text-align: center; background: var(--bg, #fff); }
.pw-store-cta a { text-decoration: none; }
.pw-store-cta p { margin: 0 0 14px; font-weight: 600; color: var(--text, #18181b); }
.pw-store-cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .pw-store-cta { margin-top: -24px; padding: 20px 16px; }
  .pw-store-cta__buttons .btn { width: 100%; justify-content: center; }
  .pw-pacer__count { font-size: 1.6rem; }
}
