/* Adam & Hawa — modern floating cookie bar */

.auh-ck {
	--auh-ck-primary: #dd7b90;
	--auh-ck-accent: #dd3b5e;
	--auh-ck-ink: #2a2426;
	--auh-ck-muted: #7a6e72;
	--auh-ck-mist: rgba(243, 220, 226, 0.9);
	--auh-ck-ease: cubic-bezier(0.22, 1, 0.36, 1);

	position: fixed;
	inset: auto 0 0 0;
	z-index: 99999;
	display: flex;
	justify-content: center;
	padding: 0 clamp(0.85rem, 2.5vw, 1.5rem) clamp(0.85rem, 2.5vw, 1.5rem);
	pointer-events: none;
	font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
}

.auh-ck[hidden],
.auh-ck.is-closed {
	display: none !important;
}

.auh-ck.is-open {
	display: flex;
}

.auh-ck__panel {
	pointer-events: auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.15rem 1.35rem;
	width: min(920px, 100%);
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--auh-ck-mist);
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 248, 250, 0.88) 100%);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	box-shadow:
		0 20px 50px rgba(42, 36, 38, 0.14),
		0 2px 0 rgba(255, 255, 255, 0.7) inset,
		0 0 0 1px rgba(221, 123, 144, 0.08);
	color: var(--auh-ck-ink);
	animation: auh-ck-rise 0.55s var(--auh-ck-ease) both;
}

.auh-ck__mark {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 16px;
	background: linear-gradient(145deg, var(--auh-ck-primary), var(--auh-ck-accent));
	box-shadow: 0 10px 24px rgba(221, 59, 94, 0.28);
	animation: auh-ck-fade 0.5s 0.08s var(--auh-ck-ease) both;
}

.auh-ck__mark span {
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px transparent;
	position: relative;
}

.auh-ck__mark span::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 2px;
	width: 2px;
	height: 6px;
	background: #fff;
	transform: translateX(-50%);
	border-radius: 1px;
}

.auh-ck__mark span::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 2px;
	height: 2px;
	background: #fff;
	transform: translateX(-50%);
	border-radius: 50%;
}

.auh-ck__body {
	min-width: 0;
	animation: auh-ck-fade 0.5s 0.12s var(--auh-ck-ease) both;
}

.auh-ck__eyebrow {
	margin: 0 0 0.4rem;
	color: var(--auh-ck-accent);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.auh-ck__panel h2 {
	margin: 0 0 0.55rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.05rem, 3.2vw, 2.5rem);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.12;
	color: var(--auh-ck-ink);
}

.auh-ck__text {
	margin: 0;
	color: var(--auh-ck-muted);
	font-size: 1.32rem;
	line-height: 1.55;
	max-width: 48ch;
}

.auh-ck__policy {
	margin: 0.65rem 0 0;
}

.auh-ck__policy a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--auh-ck-accent);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.25s ease, gap 0.25s ease;
}

.auh-ck__policy a::after {
	content: "→";
	transition: transform 0.25s var(--auh-ck-ease);
}

.auh-ck__policy a:hover {
	color: var(--auh-ck-primary);
}

.auh-ck__policy a:hover::after {
	transform: translateX(3px);
}

.auh-ck__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	animation: auh-ck-fade 0.5s 0.18s var(--auh-ck-ease) both;
}

.auh-ck__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0.95rem 1.65rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background 0.3s var(--auh-ck-ease),
		color 0.3s var(--auh-ck-ease),
		border-color 0.3s var(--auh-ck-ease),
		box-shadow 0.3s var(--auh-ck-ease),
		transform 0.3s var(--auh-ck-ease);
}

.auh-ck__btn--ghost {
	background: rgba(255, 255, 255, 0.55);
	border-color: var(--auh-ck-mist);
	color: var(--auh-ck-ink);
}

.auh-ck__btn--ghost:hover {
	background: #fff;
	border-color: color-mix(in srgb, var(--auh-ck-accent) 45%, #fff);
	color: var(--auh-ck-accent);
	transform: translateY(-1px);
}

.auh-ck__btn--primary {
	background: linear-gradient(135deg, var(--auh-ck-primary) 0%, var(--auh-ck-accent) 100%);
	color: #fff;
	box-shadow: 0 10px 24px rgba(221, 59, 94, 0.28);
}

.auh-ck__btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(221, 59, 94, 0.34);
	filter: brightness(1.03);
}

.auh-ck__btn:focus-visible {
	outline: 2px solid var(--auh-ck-accent);
	outline-offset: 2px;
}

@keyframes auh-ck-rise {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes auh-ck-fade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 820px) {
	.auh-ck__panel {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"mark body"
			"actions actions";
		gap: 0.95rem 1rem;
		padding: 1.1rem 1.05rem;
	}

	.auh-ck__mark {
		grid-area: mark;
		width: 42px;
		height: 42px;
	}

	.auh-ck__body {
		grid-area: body;
	}

	.auh-ck__actions {
		grid-area: actions;
		justify-content: stretch;
	}

	.auh-ck__btn {
		flex: 1 1 auto;
	}
}

@media (max-width: 480px) {
	.auh-ck {
		padding: 0 0.65rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
	}

	.auh-ck__panel {
		width: 100%;
		grid-template-columns: 1fr;
		grid-template-areas:
			"mark"
			"body"
			"actions";
		border-radius: 20px;
		padding: 1.2rem 1.1rem 1.15rem;
	}

	.auh-ck__mark {
		width: 40px;
		height: 40px;
	}

	.auh-ck__actions {
		flex-direction: column-reverse;
	}

	.auh-ck__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.auh-ck__panel,
	.auh-ck__mark,
	.auh-ck__body,
	.auh-ck__actions {
		animation: none;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.auh-ck__panel {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: #fff;
	}
}
