/* Cookie consent banner, preferences dialog and /cookies page (shared by both storefronts). */

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 10100;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	max-width: 1108px;
	margin: 0 auto;
	padding: 18px 22px;
	border-radius: 10px;
	background: #fff;
	color: #111;
	box-shadow: 0 6px 28px rgba(0, 0, 0, .28);
	font-family: Raleway, 'Raleway', sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

.cookie-consent__body {
	flex: 1 1 420px;
	min-width: 0;
}

.cookie-consent__title {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
}

.cookie-consent__text {
	margin: 4px 0 0;
	color: #555;
	font-size: 13px;
	line-height: 1.45;
}

.cookie-consent__text a {
	color: inherit;
	text-decoration: underline;
}

.cookie-consent__actions,
.cookie-consent-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Also overrides the generic [type="submit"] button styles for "Save". */
button.cookie-consent-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	min-height: 44px;
	margin: 0;
	padding: 10px 20px;
	border: 2px solid #000;
	border-radius: 10px;
	background: #000;
	color: #fff;
	box-shadow: none;
	font-family: Raleway, 'Raleway', sans-serif;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}

button.cookie-consent-button:hover {
	border-color: #333;
	background: #333;
	color: #fff;
	opacity: 1;
}

button.cookie-consent-button--accept {
	border-color: #1e7e34;
	background: #1e7e34;
}

button.cookie-consent-button--accept:hover {
	border-color: #166329;
	background: #166329;
}

button.cookie-consent-button--secondary {
	background: #fff;
	color: #000;
}

button.cookie-consent-button--secondary:hover {
	border-color: #000;
	background: #f1f1f1;
	color: #000;
}

button.cookie-consent-button:focus-visible,
.cookie-consent-dialog__close:focus-visible,
input.cookie-consent-toggle__input[type="checkbox"]:focus-visible + .cookie-consent-toggle {
	outline: 3px solid #1a73e8;
	outline-offset: 2px;
}

.cookie-consent-dialog:not([open]) {
	display: none;
}

.cookie-consent-dialog {
	position: fixed;
	inset: 0;
	z-index: 10200;
	width: min(560px, calc(100vw - 24px));
	height: fit-content;
	max-height: calc(100vh - 24px);
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: #111;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	font-family: Raleway, 'Raleway', sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

.cookie-consent-dialog::backdrop {
	background: rgba(0, 0, 0, .55);
}

.cookie-consent-dialog__inner {
	position: relative;
	padding: 22px;
}

.cookie-consent-dialog__title {
	margin: 0 48px 14px 0;
	font-size: 20px;
	font-weight: bold;
}

.cookie-consent-dialog__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: none;
	color: #111;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.cookie-consent-dialog__close:hover {
	background: #f1f1f1;
}

.cookie-consent-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.cookie-consent-categories {
	min-width: 0;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.cookie-consent-category {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid #e5e7eb;
	cursor: pointer;
}

.cookie-consent-category:last-child {
	border-bottom: 1px solid #e5e7eb;
}

.cookie-consent-category__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cookie-consent-category__name {
	font-size: 16px;
	font-weight: bold;
}

.cookie-consent-category__services {
	color: #555;
	font-size: 13px;
}

input.cookie-consent-toggle__input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.cookie-consent-toggle {
	position: relative;
	flex: none;
	width: 50px;
	height: 28px;
	border-radius: 14px;
	background: #8a8a8a;
	transition: background-color .2s;
}

.cookie-consent-toggle::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	transition: transform .2s;
}

input.cookie-consent-toggle__input[type="checkbox"]:checked + .cookie-consent-toggle {
	background: #1e7e34;
}

input.cookie-consent-toggle__input[type="checkbox"]:checked + .cookie-consent-toggle::before {
	transform: translateX(22px);
}

input.cookie-consent-toggle__input[type="checkbox"]:disabled + .cookie-consent-toggle {
	opacity: .55;
}

.cookie-consent-category:has(input:disabled) {
	cursor: default;
}

.cookie-consent-form__status {
	margin: 12px 0 0;
	padding: 0;
	color: #1e7e34;
	font-weight: bold;
}

.cookie-consent-form__status:empty {
	display: none;
}

.wrapper.cookie-consent-page {
	padding-top: 20px;
	padding-bottom: 40px;
}

@media (max-width: 767px) {
	.cookie-consent {
		right: 8px;
		bottom: 8px;
		left: 8px;
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
	}

	.cookie-consent__body {
		flex: none;
	}

	.cookie-consent__actions {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.cookie-consent-form__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	button.cookie-consent-button {
		min-width: 0;
		padding: 10px 6px;
	}

	.cookie-consent-dialog__inner {
		padding: 18px 16px;
	}
}
