*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bbco-bg);
	color: var(--bbco-text);
	font-family: var(--bbco-font);
	font-size: var(--bbco-text-base);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

body.is-menu-open,
body.is-filter-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--bbco-primary);
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

input,
select,
textarea {
	width: 100%;
	border: 1px solid var(--bbco-border);
	border-radius: var(--bbco-radius);
	background: var(--bbco-surface);
	color: var(--bbco-text);
	padding: var(--bbco-space-12) var(--bbco-space-16);
	min-height: 46px;
}

textarea {
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
	outline: none;
	box-shadow: var(--bbco-focus);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	line-height: 1.12;
	letter-spacing: 0;
}

h1 {
	font-size: 2.25rem;
}

h2 {
	font-size: 1.65rem;
}

h3 {
	font-size: var(--bbco-text-md);
}

ul,
ol {
	padding-left: 1.2rem;
}

::selection {
	background: color-mix(in srgb, var(--bbco-primary) 18%, transparent);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Shared icon defaults — primary brand color via currentColor.
   Override with `color: inherit` in contexts that need a different tone
   (buttons with their own text color, dark hero panels, etc.).
   Sizes are opt-in: pass `size` to bbco_store_icon() or add
   .bbco-icon--sm/md/lg/xl manually. */
.bbco-icon {
	color: var(--bbco-primary);
	vertical-align: middle;
	flex: 0 0 auto;
}

.bbco-icon--sm { width: 16px; height: 16px; }
.bbco-icon--md { width: 20px; height: 20px; }
.bbco-icon--lg { width: 24px; height: 24px; }
.bbco-icon--xl { width: 32px; height: 32px; }

.bbco-icon--stroke {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bbco-btn .bbco-icon,
.bbco-vendor-profile__badges .bbco-icon,
.bbco-contact-band__card .bbco-icon,
.bbco-stars .bbco-icon,
.bbco-rating-input__stars .bbco-icon {
	color: inherit;
}
