/* Gurney Recording Bundle – all selectors are prefixed grb- and scoped to .grb-bundle. */
.grb-bundle {
	--grb-accent: #1d5fa8;
	--grb-accent-dark: #164a85;
	--grb-ok: #1a7f4b;
	--grb-border: #d9dde3;
	--grb-bg: #fff;
	--grb-soft: #f5f8fc;
	--grb-text: #1f2933;
	--grb-muted: #5b6672;
	box-sizing: border-box;
	max-width: 860px;
	margin: 0 auto;
	padding: 24px;
	background: var(--grb-bg);
	color: var(--grb-text);
	border: 1px solid var(--grb-border);
	border-radius: 8px;
	line-height: 1.5;
}
.grb-bundle *,
.grb-bundle *::before,
.grb-bundle *::after { box-sizing: border-box; }

.grb-bundle .grb-title { margin: 0 0 8px; padding: 0; font-size: 1.6em; line-height: 1.25; }
.grb-bundle .grb-intro { margin: 0 0 16px; color: var(--grb-muted); }
.grb-bundle .grb-intro p { margin: 0 0 .6em; padding: 0; }

.grb-bundle .grb-pricing {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
	margin: 0 0 18px; padding: 14px 16px;
	background: var(--grb-soft); border: 1px solid var(--grb-border); border-radius: 6px;
}
.grb-bundle .grb-price { font-size: 1.9em; font-weight: 700; color: var(--grb-accent-dark); }
.grb-bundle .grb-compare { color: var(--grb-muted); }
.grb-bundle .grb-savings {
	display: inline-block; padding: 2px 10px; border-radius: 999px;
	background: var(--grb-ok); color: #fff; font-weight: 700;
}
.grb-bundle [hidden] { display: none !important; }

.grb-bundle .grb-filter { margin: 0 0 12px; }
.grb-bundle .grb-search {
	display: block; width: 100%; padding: 10px 12px; font-size: 1em;
	border: 1px solid var(--grb-border); border-radius: 6px; background: #fff; color: inherit;
}

.grb-bundle .grb-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.grb-bundle .grb-legend { padding: 0; margin: 0 0 8px; font-weight: 700; }

.grb-bundle .grb-list {
	list-style: none; margin: 0; padding: 0;
	max-height: 460px; overflow-y: auto;
	border: 1px solid var(--grb-border); border-radius: 6px;
}
.grb-bundle .grb-item {
	display: flex; align-items: stretch; margin: 0; padding: 0;
	border-bottom: 1px solid var(--grb-border); background: #fff;
}
.grb-bundle .grb-item:last-child { border-bottom: 0; }
.grb-bundle .grb-item.is-selected { background: #eaf3fd; box-shadow: inset 4px 0 0 var(--grb-accent); }
.grb-bundle .grb-item.is-disabled { opacity: .55; }

.grb-bundle .grb-item-label {
	display: flex; flex: 1 1 auto; align-items: center; gap: 12px;
	margin: 0; padding: 12px 14px; cursor: pointer; font-weight: 600;
}
.grb-bundle .grb-item.is-disabled .grb-item-label { cursor: not-allowed; }
.grb-bundle .grb-checkbox { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--grb-accent); }
.grb-bundle .grb-item-title { flex: 1 1 auto; }
.grb-bundle .grb-item-price { flex: 0 0 auto; color: var(--grb-muted); font-weight: 400; }

.grb-bundle .grb-item-link {
	display: flex; align-items: center; flex: 0 0 auto; padding: 0 14px;
	color: var(--grb-accent); font-size: .9em; text-decoration: underline;
}
.grb-bundle .grb-item-link:hover { color: var(--grb-accent-dark); }

.grb-bundle .grb-empty { margin: 10px 0 0; color: var(--grb-muted); }

.grb-bundle .grb-summary { margin: 16px 0 12px; }
.grb-bundle .grb-counter { margin: 0; font-size: 1.1em; font-weight: 700; }
.grb-bundle .is-complete .grb-counter { color: var(--grb-ok); }
.grb-bundle .grb-message { min-height: 1.5em; margin: 4px 0 0; color: var(--grb-muted); }

.grb-bundle .grb-submit {
	display: block; width: 100%; padding: 16px 20px; font-size: 1.15em; font-weight: 700;
	color: #fff; background: var(--grb-accent); border: 0; border-radius: 6px; cursor: pointer;
	transition: background-color .15s ease;
}
.grb-bundle .grb-submit:hover:not(:disabled) { background: var(--grb-accent-dark); }
.grb-bundle .grb-submit:disabled { background: #b8c0cb; cursor: not-allowed; }

.grb-bundle a:focus-visible,
.grb-bundle button:focus-visible,
.grb-bundle input:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }

.grb-bundle .grb-sr {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.grb-bundle .grb-unavailable { margin: 0; }

/* Cart display helpers. */
.grb-cart-included { color: #5b6672; font-style: italic; }
.grb-cart-note { color: #5b6672; }

@media (max-width: 600px) {
	.grb-bundle { padding: 16px; border-radius: 0; border-left: 0; border-right: 0; }
	.grb-bundle .grb-item { flex-wrap: wrap; }
	.grb-bundle .grb-item-label { flex: 1 1 100%; padding-bottom: 4px; }
	.grb-bundle .grb-item-link { padding: 0 14px 10px 50px; }
	.grb-bundle .grb-list { max-height: 420px; }
	.grb-bundle .grb-price { font-size: 1.6em; }
}

@media (prefers-reduced-motion: reduce) {
	.grb-bundle .grb-submit { transition: none; }
}
