/* Footer product categories — roots + expandable subsections */
#footer {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	min-height: 100px;
	box-sizing: border-box;
	padding: 8px 0 12px;
}

.cw-footer-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
	justify-content: space-evenly;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 8px 16px;
	gap: 10px 8px;
	box-sizing: border-box;
}

.cw-footer-cat,
.cw-footer-cat-toggle {
	flex: 1 1 0;
	min-width: 110px;
	max-width: 180px;
	text-align: center;
	padding: 12px 10px;
	border: 1px solid rgba(242, 207, 92, 0.55);
	background: linear-gradient(180deg, rgba(242,207,92,.18), rgba(0,0,0,.35));
	color: #f2cf5c !important;
	text-decoration: none !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.cw-footer-cat-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.cw-footer-caret {
	font-size: 10px;
	opacity: 0.85;
	transition: transform .2s ease;
}

.cw-footer-cat-toggle.is-open .cw-footer-caret {
	transform: rotate(180deg);
}

.cw-footer-cat:hover,
.cw-footer-cat-toggle:hover,
.cw-footer-cat-toggle.is-open {
	border-color: #f2cf5c;
	background: linear-gradient(180deg, rgba(242,207,92,.32), rgba(0,0,0,.4));
	transform: translateY(-1px);
	color: #fff !important;
}

.cw-footer-subs {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.cw-footer-subrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 4px 4px;
	border-top: 1px solid rgba(242, 207, 92, 0.25);
	margin-top: 4px;
	animation: cwSubIn .2s ease;
}

.cw-footer-subrow[hidden] {
	display: none !important;
}

@keyframes cwSubIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.cw-footer-sub {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid rgba(242, 207, 92, 0.4);
	background: rgba(0, 0, 0, 0.35);
	color: #f2cf5c !important;
	text-decoration: none !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.cw-footer-sub:hover {
	border-color: #f2cf5c;
	background: rgba(242, 207, 92, 0.2);
	color: #fff !important;
}

@media screen and (max-width: 700px) {
	.cw-footer-cats {
		justify-content: center;
		gap: 8px;
		padding: 10px;
	}
	.cw-footer-cat,
	.cw-footer-cat-toggle {
		flex: 1 1 calc(50% - 10px);
		max-width: none;
		min-width: 0;
		font-size: 12px;
		padding: 11px 8px;
	}
	.cw-footer-subs {
		padding: 0 10px;
	}
}

@media screen and (max-width: 380px) {
	.cw-footer-cat,
	.cw-footer-cat-toggle {
		flex: 1 1 100%;
	}
}
