/* ps-bundles: variant chooser modal + toast */
html.ps-bnd-open { overflow: hidden; }
[data-ps-bundle].is-loading { opacity: .6; pointer-events: none; }

.ps-bnd-modal {
	position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px;
	background: rgba(0, 0, 0, .72); font-family: var(--body, 'Barlow', system-ui, sans-serif);
}
.ps-bnd-box {
	position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto;
	background: var(--panel, #131315); color: var(--fg, #f7f2e7);
	border: 1px solid var(--line, #2f2f34); border-radius: 18px; padding: 22px 18px 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.ps-bnd-h { font-family: var(--display, 'Barlow Condensed', sans-serif); font-size: 28px; font-weight: 800; margin: 0 28px 14px 0; line-height: 1.1; }
.ps-bnd-x {
	position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
	background: transparent; color: var(--fg, #f7f2e7); border: 1px solid var(--line, #2f2f34); font-size: 22px; line-height: 1;
}
.ps-bnd-load { color: var(--muted, #bdb4a2); margin: 0; }
.ps-bnd-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line, #2f2f34); }
.ps-bnd-item:first-child { border-top: 0; }
.ps-bnd-item:not(:has(img)) { grid-template-columns: 1fr; }
.ps-bnd-item img { width: 56px; height: auto; border-radius: 8px; }
.ps-bnd-info b { display: block; margin-bottom: 8px; }
.ps-bnd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-chip {
	cursor: pointer; background: #000; color: var(--fg, #f7f2e7); font: inherit; font-size: 14.5px;
	border: 1px solid var(--line, #2f2f34); border-radius: 99px; padding: 8px 14px;
}
.ps-chip:hover { border-color: var(--gold, #d6a943); }
.ps-chip.is-on { border-color: var(--gold, #d6a943); background: #1a150a; color: var(--gold2, #f2d27c); }
.ps-chip.is-out, .ps-chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.ps-bnd-ok {
	display: block; width: 100%; margin-top: 14px; cursor: pointer; border: 0; border-radius: 12px; padding: 15px 18px;
	font-family: var(--display, 'Barlow Condensed', sans-serif); font-size: 22px; font-weight: 800; letter-spacing: .02em;
	text-transform: uppercase; color: #1a1405; background: linear-gradient(180deg, var(--gold2, #f2d27c), var(--gold, #d6a943));
}
.ps-bnd-ok:disabled { opacity: .45; cursor: not-allowed; }
.ps-bnd-ok.is-loading { opacity: .7; }

.ps-bnd-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 100001; transform: translate(-50%, 20px); opacity: 0;
	max-width: min(440px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 12px;
	background: #2a0c0e; color: #fff; border: 1px solid var(--red2, #e3262e); transition: .25s;
}
.ps-bnd-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
