/* iHealth Cookie Consent - front end
   Layout and type scale mirror the Shopify privacy banner used on nuu3.com and solvadermstore.com. */

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

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

.ihcc-root {
	font-family: var(--ihcc-font, inherit);
	font-size: var(--ihcc-font-size, 16px);
	line-height: 1.5;
	color: var(--ihcc-text);
	text-align: left;
	text-align: start;
}

/* ---------- Banner ---------- */

.ihcc-banner {
	position: fixed;
	z-index: var(--ihcc-z, 2147483000);
	bottom: 0;
	max-height: 90%;
	padding: 32px;
	overflow: auto;
	background: var(--ihcc-bg);
	color: var(--ihcc-text);
	border: none;
	box-shadow: 0 4px 10px rgba(63, 63, 68, 0.4);
	opacity: 0;
	transition: opacity 0.2s ease;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ihcc-banner.is-visible {
	opacity: 1;
}

.ihcc-banner::-webkit-scrollbar {
	width: 0;
	background: transparent;
}

.ihcc-banner__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.ihcc-banner__content {
	width: 100%;
	margin-bottom: 10px;
}

.ihcc-root .ihcc-banner__title {
	margin: 0 0 0.5em;
	padding: 0;
	font-family: inherit;
	font-size: 120%;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ihcc-text);
}

.ihcc-root .ihcc-banner__text {
	margin: 0;
	padding: 0;
	font-family: inherit;
	line-height: 1.3;
	color: var(--ihcc-text);
}

.ihcc-banner__actions {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	width: 100%;
}

/* Positions */
.ihcc-pos-bottom-full-width {
	left: 0;
	right: 0;
}

.ihcc-pos-bottom-left {
	left: 0;
	max-width: 650px;
	border-top-right-radius: var(--ihcc-radius, 3px);
}

.ihcc-pos-bottom-right {
	right: 0;
	max-width: 650px;
	border-top-left-radius: var(--ihcc-radius, 3px);
}

.ihcc-pos-bottom-center {
	left: 50%;
	width: 100%;
	max-width: 650px;
	transform: translateX(-50%);
	border-top-left-radius: var(--ihcc-radius, 3px);
	border-top-right-radius: var(--ihcc-radius, 3px);
}

.ihcc-pos-bottom-full-width .ihcc-banner__inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* ---------- Buttons ---------- */

.ihcc-root .ihcc-btn {
	appearance: none;
	display: inline-block;
	margin: 15px 20px 0 0;
	padding: 8px 25px;
	font: inherit;
	font-size: 100%;
	line-height: 120%;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	background: var(--ihcc-btn-bg);
	color: var(--ihcc-btn-fg);
	border: 1px solid var(--ihcc-accent);
	border-radius: 2px;
	height: unset;
	cursor: pointer;
}

.ihcc-root .ihcc-btn:hover {
	filter: brightness(0.96);
}

.ihcc-root .ihcc-btn--outline {
	background: transparent;
}

.ihcc-root .ihcc-btn:last-child {
	margin-right: 0;
}

.ihcc-root .ihcc-link-btn {
	appearance: none;
	margin: 15px 20px 0 0;
	padding: 8px 25px;
	background: transparent;
	border: none;
	font: inherit;
	font-size: 100%;
	line-height: 120%;
	color: var(--ihcc-subdued);
	text-decoration: underline;
	cursor: pointer;
}

.ihcc-root .ihcc-link {
	color: var(--ihcc-text);
	text-decoration: underline;
}

.ihcc-root .ihcc-close {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	min-width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 50%;
	color: var(--ihcc-text);
	cursor: pointer;
}

.ihcc-banner .ihcc-close {
	position: absolute;
	top: 0;
	right: 0;
}

.ihcc-root button:focus-visible,
.ihcc-root a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px hsl(201deg 90% 80%);
}

.ihcc-root .ihcc-link-btn:focus-visible {
	box-shadow: none;
	outline: 2px solid hsl(201deg 90% 80%);
}

/* ---------- Preference center ---------- */

html.ihcc-modal-open {
	overflow: hidden;
}

.ihcc-modal {
	position: relative;
}

.ihcc-modal__backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: calc(var(--ihcc-z, 2147483000) + 1);
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.ihcc-modal__dialog {
	position: fixed;
	z-index: calc(var(--ihcc-z, 2147483000) + 2);
	top: 50%;
	left: 25%;
	width: 50%;
	min-width: 280px;
	max-height: 80%;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	transform: translate(0, -50%);
	background: var(--ihcc-bg);
	color: var(--ihcc-text);
	border-radius: var(--ihcc-radius, 3px);
	box-shadow: 0 5px 10px rgba(63, 63, 68, 0.5);
	outline: none;
}

@media only screen and (max-width: 1900px) {
	.ihcc-modal__dialog {
		left: 20%;
		width: 60%;
	}
}

@media only screen and (max-width: 1600px) {
	.ihcc-modal__dialog {
		left: 15%;
		width: 70%;
	}
}

@media only screen and (max-width: 1350px) {
	.ihcc-modal__dialog {
		left: 5%;
		width: 90%;
	}
}

.ihcc-modal__header {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 32px 32px 20px;
	background: transparent;
	border-bottom: 1px solid var(--ihcc-border);
}

.ihcc-root .ihcc-modal__title {
	width: 100%;
	margin: 0;
	padding: 0 20px 0 0;
	font-family: inherit;
	font-size: 130%;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	word-break: normal;
	color: var(--ihcc-text);
}

.ihcc-modal__actions {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	width: auto;
	margin: 0;
	padding: 0 50px 0 0;
}

.ihcc-modal__actions .ihcc-btn {
	margin: 0 20px 0 0;
	padding: 8px 25px 10px;
	font-size: 110%;
}

.ihcc-modal__header .ihcc-close {
	position: absolute;
	top: 40px;
	right: 35px;
}

.ihcc-modal__body {
	position: relative;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}

.ihcc-modal__body::-webkit-scrollbar {
	width: 0;
	background: transparent;
}

.ihcc-modal__intro {
	padding: 20px 32px 0;
	line-height: 1.5;
}

.ihcc-root .ihcc-modal__intro-title {
	margin: 0 0 15px;
	padding: 0;
	font-family: inherit;
	font-size: 110%;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ihcc-text);
}

.ihcc-modal__intro p {
	margin: 0;
	padding: 0;
	font-size: 105%;
	color: var(--ihcc-subdued);
}

/* Options */

.ihcc-cats {
	margin: 0;
	padding: 0 32px 32px;
	list-style: none;
	color: var(--ihcc-text);
}

.ihcc-cat {
	margin: 0;
	padding: 20px 0 0;
	font-size: 100%;
	line-height: 1.1;
}

.ihcc-cat:first-child {
	margin: 20px 0 0;
	padding: 25px 0 0;
	border-top: 1px solid var(--ihcc-border);
}

.ihcc-root .ihcc-cat__label {
	display: flex;
	gap: 20px;
	margin: 0 0 5px;
	padding: 0;
	font-family: inherit;
	font-size: 110%;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ihcc-text);
	cursor: pointer;
}

.ihcc-cat__label input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
}

.ihcc-checkbox {
	order: -1;
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	background: var(--ihcc-bg);
	border: 2px solid var(--ihcc-accent);
	border-radius: 4px;
}

.ihcc-cat__label input:checked ~ .ihcc-checkbox {
	background: var(--ihcc-accent);
}

.ihcc-cat__label input:checked ~ .ihcc-checkbox::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 6px;
	width: 6px;
	height: 11px;
	border: solid var(--ihcc-bg);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ihcc-cat__label input[disabled] ~ .ihcc-checkbox {
	opacity: 0.2;
	cursor: not-allowed;
}

.ihcc-cat__label input:focus-visible ~ .ihcc-checkbox {
	outline: none;
	border-radius: 5px;
	box-shadow: 0 0 0 4px hsl(201deg 90% 80%);
}

.ihcc-root .ihcc-cat__desc {
	margin: 0;
	padding: 0 0 0 44px;
	font-size: 100%;
	line-height: 1.3;
	color: var(--ihcc-subdued);
}

/* ---------- Reopen button ---------- */

.ihcc-reopen {
	position: fixed;
	bottom: 16px;
	z-index: var(--ihcc-z, 2147483000);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 14px;
	background: var(--ihcc-bg);
	color: var(--ihcc-text);
	border: 1px solid var(--ihcc-accent);
	border-radius: 2px;
	font: inherit;
	font-size: 90%;
	line-height: 120%;
	box-shadow: 0 2px 10px rgba(63, 63, 68, 0.3);
	cursor: pointer;
}

.ihcc-reopen--bottom-left {
	left: 16px;
}

.ihcc-reopen--bottom-right {
	right: 16px;
}

/* Privacy choices link */
.ihcc-open-privacy-choices {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ihcc-choices-icon {
	flex: 0 0 auto;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 1200px) {
	.ihcc-modal__header {
		flex-direction: column;
	}

	.ihcc-root .ihcc-modal__title {
		margin: 0 0 0.8em;
		padding: 0;
		text-align: center;
	}

	.ihcc-modal__actions {
		padding: 0;
	}

	.ihcc-modal__header .ihcc-close {
		top: 20px;
		right: 20px;
	}
}

@media only screen and (max-width: 750px) {
	.ihcc-root .ihcc-modal__title {
		padding: 0 25px 0 0;
		text-align: left;
		text-align: start;
	}

	.ihcc-modal__actions {
		flex-direction: column;
		width: 100%;
	}

	.ihcc-modal__actions .ihcc-btn {
		width: 100%;
		margin: 0 0 15px;
	}

	.ihcc-modal__header .ihcc-close {
		top: 30px;
		right: 30px;
	}

	.ihcc-cat__desc {
		width: 100%;
		line-height: 1.4;
	}
}

@media only screen and (max-width: 480px) {
	.ihcc-banner {
		left: 0;
		right: 0;
		max-width: none;
		padding: 20px;
		transform: none;
		border-radius: 0;
	}

	.ihcc-banner__actions {
		flex-direction: column;
	}

	.ihcc-banner__actions .ihcc-btn,
	.ihcc-banner__actions .ihcc-link-btn {
		width: 100%;
		margin: 15px 0 0;
	}

	/* Stack order on small screens: Accept, Decline, Manage. */
	.ihcc-banner__actions > :nth-child(1) {
		order: 3;
	}

	.ihcc-banner__actions > :nth-child(2) {
		order: 1;
	}

	.ihcc-banner__actions > :nth-child(3) {
		order: 2;
	}
}

@media only screen and (max-width: 400px) {
	.ihcc-modal__header {
		padding: 15px 20px 10px;
	}

	.ihcc-modal__header .ihcc-close {
		top: 15px;
		right: 15px;
	}

	.ihcc-modal__intro {
		padding: 20px 20px 0;
	}

	.ihcc-cats {
		padding: 0 20px 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ihcc-banner {
		transition: none;
	}
}

@media print {
	.ihcc-root {
		display: none !important;
	}
}
