.ccm-hide-woodmart-cookie .wd-cookies-popup,
.ccm-hide-woodmart-cookie .woodmart-cookies-popup,
.ccm-hide-woodmart-cookie .wd-cookies-popup-wrapper,
.ccm-hide-woodmart-cookie .woodmart-cookies-popup-wrapper,
.ccm-hide-woodmart-cookie .cookies-info-widget,
.ccm-hide-woodmart-cookie .cookies-popup {
	display: none !important;
}

.ccm-modal-open {
	overflow: hidden;
}

.ccm-root,
.ccm-root * {
	box-sizing: border-box;
}

.ccm-root[hidden],
.ccm-root [hidden] {
	display: none !important;
}

.ccm-banner {
	position: fixed;
	z-index: 999998;
	right: 22px;
	bottom: 22px;
	left: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 22px 24px;
	color: #27211d;
	background: rgba(255, 253, 249, 0.98);
	border: 1px solid rgba(43, 33, 27, 0.16);
	border-radius: 14px;
	box-shadow: 0 18px 55px rgba(30, 23, 18, 0.18);
	font-family: inherit;
	backdrop-filter: blur(14px);
}

.ccm-banner__copy {
	max-width: 700px;
}

.ccm-banner h2,
.ccm-dialog h2,
.ccm-category h3 {
	margin: 0;
	color: #211a16;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 0;
}

.ccm-banner h2 {
	margin-bottom: 7px;
	font-size: 20px;
	line-height: 1.25;
}

.ccm-banner p {
	margin: 0;
	color: #655c55;
	font-size: 14px;
	line-height: 1.6;
}

.ccm-banner a,
.ccm-dialog a {
	margin-left: 7px;
	color: #342820;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ccm-banner__actions,
.ccm-dialog__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 9px;
}

.ccm-button,
.ccm-inline-settings {
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 7px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ccm-button:hover {
	transform: translateY(-1px);
}

.ccm-button:focus-visible,
.ccm-reopen:focus-visible,
.ccm-dialog__close:focus-visible,
.ccm-switch input:focus-visible + span {
	outline: 3px solid rgba(66, 115, 160, 0.35);
	outline-offset: 2px;
}

.ccm-button--primary {
	color: var(--ccm-button-text, #fff);
	background: var(--ccm-accent, #2b211b);
	border-color: var(--ccm-accent, #2b211b);
}

.ccm-button--outline {
	color: #2b211b;
	background: #fff;
	border-color: rgba(43, 33, 27, 0.3);
}

.ccm-button--ghost {
	color: #4e433c;
	background: transparent;
	border-color: transparent;
}

.ccm-reopen {
	position: fixed;
	z-index: 999996;
	right: 18px;
	bottom: 18px;
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--ccm-button-text, #fff);
	background: var(--ccm-accent, #2b211b);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 9px 24px rgba(30, 23, 18, 0.2);
	cursor: pointer;
}

.ccm-overlay {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(20, 16, 13, 0.58);
	backdrop-filter: blur(4px);
}

.ccm-dialog {
	position: relative;
	width: min(640px, 100%);
	max-height: min(760px, calc(100vh - 40px));
	overflow: auto;
	padding: 30px;
	color: #2b2520;
	background: #fffdfa;
	border: 1px solid rgba(43, 33, 27, 0.15);
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(15, 11, 9, 0.32);
}

.ccm-dialog__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	color: #51473f;
	background: transparent;
	border: 0;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ccm-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #8a786a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.ccm-dialog h2 {
	margin-bottom: 9px;
	font-size: 27px;
	line-height: 1.2;
}

.ccm-dialog__header > p {
	margin: 0 40px 24px 0;
	color: #6d635b;
	font-size: 14px;
	line-height: 1.65;
}

.ccm-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid rgba(43, 33, 27, 0.12);
}

.ccm-category h3 {
	margin-bottom: 5px;
	font-size: 16px;
}

.ccm-category p {
	max-width: 470px;
	margin: 0;
	color: #756b63;
	font-size: 13px;
	line-height: 1.55;
}

.ccm-always {
	flex: 0 0 auto;
	color: #5e6c52;
	font-size: 12px;
	font-weight: 700;
}

.ccm-switch {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	cursor: pointer;
}

.ccm-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.ccm-switch > span:first-of-type {
	position: relative;
	display: block;
	width: 46px;
	height: 26px;
	background: #c8c2bd;
	border-radius: 999px;
	transition: background 160ms ease;
}

.ccm-switch > span:first-of-type::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	content: "";
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
	transition: transform 160ms ease;
}

.ccm-switch input:checked + span {
	background: var(--ccm-accent, #2b211b);
}

.ccm-switch input:checked + span::after {
	transform: translateX(20px);
}

.ccm-dialog__links {
	padding-top: 3px;
	font-size: 12px;
}

.ccm-dialog__links a:first-child {
	margin-left: 0;
}

.ccm-dialog__actions {
	justify-content: flex-end;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(43, 33, 27, 0.12);
}

.ccm-inline-settings {
	min-height: auto;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 900px) {
	.ccm-banner {
		align-items: flex-start;
		flex-direction: column;
		gap: 17px;
	}

	.ccm-banner__actions {
		width: 100%;
	}

	.ccm-banner__actions .ccm-button {
		flex: 1 1 auto;
	}
}

@media (max-width: 560px) {
	.ccm-banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
		padding: 18px;
		border-radius: 12px;
	}

	.ccm-banner__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.ccm-banner__actions .ccm-button--ghost {
		grid-column: 1 / -1;
		order: 3;
	}

	.ccm-dialog {
		padding: 24px 20px;
		border-radius: 13px;
	}

	.ccm-dialog h2 {
		font-size: 23px;
	}

	.ccm-category {
		gap: 15px;
	}

	.ccm-dialog__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccm-root *,
	.ccm-root *::before,
	.ccm-root *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
