.bcpb-category-buttons,
.bcpb-category-buttons * {
	box-sizing: border-box;
}

.bcpb-category-buttons {
	--bcpb-accent: #ef4056;
	--bcpb-accent-dark: #d62f45;
	--bcpb-accent-soft: rgba(239, 64, 86, 0.08);
	--bcpb-border: #e5e7eb;
	--bcpb-border-strong: #d9dee8;
	--bcpb-text: #111827;
	--bcpb-muted: #64748b;
	clear: both;
	direction: rtl;
	font-family: inherit;
	inline-size: 100%;
	isolation: isolate;
	margin-block: 12px 16px;
	max-inline-size: 100%;
	position: relative;
	text-align: right;
	z-index: auto;
}

.bcpb-bakala-exact-slot {
	box-sizing: border-box;
	clear: both;
	direction: rtl;
	margin-block: 12px 16px;
	position: relative;
	z-index: 1;
}

.bcpb-bakala-exact-slot .bcpb-category-buttons,
.bcpb-category-buttons.bcpb-bakala-exact {
	margin-block: 0;
}

.bcpb-category-buttons__inner {
	background: #fff;
	border: 1px solid var(--bcpb-border);
	border-radius: 20px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	padding-block: 14px;
	padding-inline: 14px;
}

.bcpb-category-buttons__title {
	color: var(--bcpb-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.7;
	margin-block: 0 12px;
	margin-inline: 0;
	padding: 0;
	text-align: right;
}

.bcpb-category-buttons__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	inline-size: 100%;
	justify-content: flex-start;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	padding-block-end: 2px;
	scroll-padding-inline: 14px;
	scroll-snap-type: inline proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bcpb-category-buttons__list::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

.bcpb-category-buttons__link {
	align-items: center;
	appearance: none;
	background: #f9fafb;
	border: 1px solid var(--bcpb-border-strong);
	border-radius: 999px;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
	color: #334155;
	display: inline-flex;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	line-height: 1.5;
	min-block-size: 42px;
	padding-block: 9px;
	padding-inline: 16px;
	scroll-snap-align: start;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
	white-space: nowrap;
}

.bcpb-category-buttons__link:hover {
	background: var(--bcpb-accent-soft);
	border-color: rgba(239, 64, 86, 0.28);
	color: var(--bcpb-accent-dark);
	text-decoration: none;
	transform: translateY(-1px);
}

.bcpb-category-buttons__link:focus,
.bcpb-category-buttons__link:focus-visible {
	border-color: var(--bcpb-accent);
	box-shadow: 0 0 0 3px rgba(239, 64, 86, 0.16);
	color: var(--bcpb-accent-dark);
	outline: none;
	text-decoration: none;
}

.bcpb-category-buttons__link.bcpb-is-active {
	background: var(--bcpb-accent);
	border-color: var(--bcpb-accent);
	box-shadow: 0 8px 18px rgba(239, 64, 86, 0.22);
	color: #fff;
}

.bcpb-category-buttons__link.bcpb-is-active:hover,
.bcpb-category-buttons__link.bcpb-is-active:focus,
.bcpb-category-buttons__link.bcpb-is-active:focus-visible {
	background: var(--bcpb-accent-dark);
	border-color: var(--bcpb-accent-dark);
	color: #fff;
}

.bcpb-category-buttons--mobile-compact .bcpb-category-buttons__inner {
	padding-block: 12px;
	padding-inline: 12px;
}

.bcpb-category-buttons--mobile-compact .bcpb-category-buttons__link {
	font-size: 13px;
	min-block-size: 42px;
	padding-inline: 14px;
}

.bcpb-category-buttons__empty {
	color: var(--bcpb-muted);
	font-size: 13px;
	line-height: 1.9;
}

@media (max-width: 767px) {
	.bcpb-category-buttons__inner {
		border-radius: 24px;
		padding-block: 14px 12px;
		padding-inline: 12px;
	}

	.bcpb-category-buttons__title {
		font-size: 15px;
		margin-block-end: 10px;
	}

	.bcpb-category-buttons__link {
		font-size: 13px;
		min-block-size: 42px;
		padding-inline: 14px;
	}
}

@media (min-width: 768px) {
	.bcpb-category-buttons {
		margin-block: 14px 18px;
	}

	.bcpb-bakala-exact-slot {
		margin-block: 16px 18px;
	}

	.bcpb-bakala-exact-slot .bcpb-category-buttons,
	.bcpb-category-buttons.bcpb-bakala-exact {
		margin-block: 0;
	}

	.bcpb-category-buttons__inner {
		border-radius: 22px;
		padding-block: 18px;
		padding-inline: 18px;
	}

	.bcpb-category-buttons__title {
		font-size: 17px;
		margin-block-end: 14px;
	}

	.bcpb-category-buttons__list {
		flex-wrap: wrap;
		overflow: visible;
		padding-block-end: 0;
		scroll-snap-type: none;
	}

	.bcpb-category-buttons__link {
		flex: 0 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bcpb-category-buttons__link {
		transition: none;
	}

	.bcpb-category-buttons__link:hover {
		transform: none;
	}
}
