.dca-category-buttons-wrapper {
	margin: 20px 0 35px;
	width: 100%;
	clear: both;
}

.dca-category-buttons-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	width: 100%;
}

.dca-category-button-col {
	min-width: 0;
}

.dca-category-button {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 46px;
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #dcdcdc;
	border-radius: 5px;
	background: #f7f7f7;
	color: #666;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
	box-sizing: border-box;
	transition: all 0.2s ease;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.dca-category-button span {
	display: block;
}

.dca-category-button:hover,
.dca-category-button:focus {
	background: #eee;
	border-color: #cfcfcf;
	color: #333;
	text-decoration: none;
}

.dca-category-button-all {
	border-style: dashed;
	background: #fff;
}

.cpscn-all-label {
	color: #3bb54a;
}

.dca-category-button-special {
	background: #fff;
}

.dca-subcategory-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.dca-subcategory-modal.is-open {
	display: flex;
}

.dca-subcategory-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.dca-subcategory-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	padding: 28px;
	box-sizing: border-box;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.dca-subcategory-modal-dialog-single-col {
	width: min(520px, 100%);
}

.dca-subcategory-modal-title {
	margin: 0 48px 22px 0;
	font-size: 24px;
	line-height: 1.25;
	color: #333;
}

.dca-subcategory-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #333;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.dca-subcategory-modal-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.dca-subcategory-modal-grid-single-col {
	grid-template-columns: 1fr;
}

.dca-subcategory-modal-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #dcdcdc;
	border-radius: 5px;
	background: #f7f7f7;
	color: #666;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.dca-subcategory-modal-link:hover,
.dca-subcategory-modal-link:focus {
	background: #eee;
	border-color: #cfcfcf;
	color: #333;
	text-decoration: none;
}

body.dca-subcategory-modal-open {
	overflow: hidden;
}

@media screen and (max-width: 1024px) {
	.dca-subcategory-modal-grid:not(.dca-subcategory-modal-grid-single-col) {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 767px) {
	.dca-category-buttons-grid,
	.dca-subcategory-modal-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.dca-category-button,
	.dca-subcategory-modal-link {
		min-height: 44px;
	}

	.dca-subcategory-modal {
		padding: 16px;
	}

	.dca-subcategory-modal-dialog {
		max-height: calc(100vh - 32px);
		padding: 22px 18px;
	}

	.dca-subcategory-modal-title {
		font-size: 20px;
	}
}
