/* `.psp-buy` is a behavior hook only (no styling) so it can be added to any
   Elementor/theme button without fighting its design. The shortcode applies the
   built-in look via `.psp-buy--default`. */
.psp-buy--default { background:#f15a2b; color:#fff; border:0; border-radius:4px; padding:12px 22px; font-weight:700; cursor:pointer; }
.psp-buy--default:hover { background:#fd6e41; }

/* Sold-out state (out of stock on both channels): muted, + a class you can style. */
.psp-buy.psp-soldout { opacity:.85; }
.psp-buy--default.psp-soldout, .psp-buy--default.psp-soldout:hover { background:#8a8a8a; }
/* Keep "Add to Waitlist" on a single line under "Sold Out". */
.psp-wl-line { white-space:nowrap; }

/* Live price ([pursuit_price] / price="..."). Bare price inherits surrounding text. */
.psp-price--inline { margin-left:6px; }
.psp-price--block { display:block; margin-top:6px; font-weight:700; }
/* price="above": price centered directly over the button (one centered block). */
.psp-buy-block { text-align:center; }
.psp-price--above { display:block; margin-bottom:10px; }

.psp-fab { position:fixed; right:22px; bottom:22px; z-index:2147483645; display:none; align-items:center; gap:8px; padding:12px 18px; border:0; border-radius:8px; background:#f15a2b; color:#fff; cursor:pointer; font-weight:700; font-size:15px; box-shadow:0 6px 20px rgba(0,0,0,.28); }
.psp-fab:hover { background:#fd6e41; }
.psp-fab svg { display:block; }
.psp-fab-count { line-height:1; }

.psp-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:2147483646; opacity:0; pointer-events:none; transition:opacity .2s; }
.psp-backdrop.open { opacity:1; pointer-events:auto; }

.psp-drawer { position:fixed; right:0; top:0; height:100%; width:min(400px,100vw); background:#fff; z-index:2147483647; transform:translateX(100%); transition:transform .25s ease; display:flex; flex-direction:column; box-shadow:-8px 0 30px rgba(0,0,0,.2); font-family:inherit; color:#222; box-sizing:border-box; }
.psp-drawer.open { transform:translateX(0); }
.psp-drawer * { box-sizing:border-box; }

.psp-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; font-size:22px; color:#555; flex:0 0 auto; }
.psp-head-left { display:flex; align-items:center; gap:12px; }
.psp-back { background:none; border:0; font-size:14px; line-height:1; color:#777; cursor:pointer; padding:0; }
.psp-back:hover { color:#333; }
.psp-x { background:none; border:0; font-size:26px; line-height:1; color:#777; cursor:pointer; padding:0; }
.psp-empty { padding:0 24px; color:#888; }

.psp-items { flex:1 1 auto; overflow:auto; padding:0 24px; }
.psp-item { display:flex; align-items:flex-start; gap:14px; padding:14px 0; }
.psp-thumb { width:56px; height:74px; object-fit:contain; flex:0 0 auto; background:#fafafa; border-radius:3px; }
.psp-item-main { flex:1 1 auto; }
.psp-item-name { font-weight:600; margin-bottom:6px; line-height:1.25; }
.psp-avail { font-size:12px; color:#9a6b3a; margin-bottom:8px; }
.psp-avail--out { color:#a3372c; font-weight:600; }
.psp-stepper { display:inline-flex; align-items:stretch; border:1px solid #d8d8d8; border-radius:4px; overflow:hidden; }
.psp-stepper button { width:28px; height:28px; border:0; background:#fff; cursor:pointer; font-size:15px; line-height:1; color:#333; display:flex; align-items:center; justify-content:center; padding:0; }
.psp-stepper span { min-width:34px; text-align:center; line-height:28px; border-left:1px solid #d8d8d8; border-right:1px solid #d8d8d8; font-size:14px; }
.psp-item-price { font-weight:700; white-space:nowrap; padding-top:4px; }

.psp-foot { flex:0 0 auto; border-top:1px solid #eee; padding:20px 24px; }
.psp-subtotal { display:flex; justify-content:space-between; font-weight:700; font-size:15px; letter-spacing:.5px; }
.psp-note { font-size:12px; color:#8a8a8a; text-align:center; margin:10px 0 14px; }

.psp-cta { display:block; width:100%; text-align:center; background:#f15a2b; color:#fff; border:0; border-radius:4px; padding:14px; font-weight:700; letter-spacing:1px; text-transform:uppercase; cursor:pointer; text-decoration:none; }
.psp-cta:hover { background:#fd6e41; }
.psp-cta--alt { background:#fff; color:#f15a2b; border:1px solid #f15a2b; margin-top:8px; }
.psp-cta--alt:hover { background:#fdeee6; }

.psp-gate { flex:1 1 auto; overflow:auto; padding:0 24px 24px; }
.psp-opt { display:block; padding:12px; border:1px solid #eee; border-radius:8px; margin-bottom:8px; cursor:pointer; }
.psp-gate label { display:block; margin:14px 0 4px; font-size:14px; }
.psp-gate select, .psp-gate input[type=email] { width:100%; padding:11px; border:1px solid #ddd; border-radius:6px; }
.psp-consent { display:flex; gap:8px; align-items:center; font-size:13px; color:#666; }
.psp-result { display:none; margin-top:14px; padding:12px; border-radius:8px; font-size:14px; }
.psp-result.show { display:block; }
.psp-result.ok { background:#fceee6; color:#b4471f; }   /* brand-orange tint */
.psp-result.warn { background:#f1ece2; color:#6d5f4b; } /* warm cream/taupe */
.psp-result.err { background:#fcebe9; color:#a3372c; }
.psp-result .psp-cta { margin-top:12px; }
.psp-fine { font-size:12px; color:#999; text-align:center; margin-top:10px; }
.psp-removed { margin:8px 0 12px; padding-left:18px; font-size:13px; }
.psp-removed li { margin:2px 0; }
.psp-wl-name { margin:4px 0 0; font-weight:600; }
