/**
 * Cookie consent — bottom-left card (statron.com style).
 */
.spiro-cookie-banner {
	position: fixed;
	left: 40px;
	bottom: 40px;
	z-index: 123457;
	width: min(760px, calc(100vw - 80px));
	padding: 48px 44px 40px;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 16px 64px rgba(0, 0, 0, 0.18);
	color: #1a1a1a;
	font-size: 1.625rem;
	line-height: 1.45;
}

.spiro-cookie-banner__title {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 0 24px;
	font-size: 2rem;
	font-weight: 700;
}

.spiro-cookie-banner__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--spiro-color-blue, #007ec1);
}

.spiro-cookie-banner__body {
	margin: 0 0 32px;
	color: #333;
}

.spiro-cookie-banner__body a {
	color: var(--spiro-color-blue, #007ec1);
	text-decoration: underline;
}

.spiro-cookie-banner__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.spiro-cookie-banner__actions-row {
	display: flex;
	gap: 16px;
}

.spiro-cookie-banner__btn {
	display: block;
	width: 100%;
	padding: 22px 32px;
	border: 0;
	border-radius: 4px;
	background: #383838;
	color: #fff;
	font-family: var(--spiro-font-family, "Outfit", Arial, sans-serif);
	font-size: 1.625rem;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.spiro-cookie-banner__btn:hover,
.spiro-cookie-banner__btn:focus {
	background: #1f1f1f;
	color: #fff;
}

.spiro-cookie-banner__btn--half {
	flex: 1;
}

.spiro-cookie-banner__settings {
	display: none;
}

.spiro-cookie-banner__settings h2 {
	margin: 0 0 24px;
	font-size: 2rem;
	font-weight: 700;
}

.spiro-cookie-banner__settings p {
	margin: 0 0 32px;
	font-size: 1.625rem;
	line-height: 1.45;
}

.spiro-cookie-banner__toggles {
	margin-bottom: 32px;
}

.spiro-cookie-banner__toggle {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}

.spiro-cookie-banner__toggle label.text_label {
	margin: 0;
	font-weight: 500;
}

.spiro-cookie-banner .switch {
	position: relative;
	display: inline-block;
	width: 96px;
	height: 56px;
	flex-shrink: 0;
}

.spiro-cookie-banner .switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.spiro-cookie-banner .slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	border-radius: 56px;
	background-color: #ccc;
	transition: 0.3s;
}

.spiro-cookie-banner .slider:before {
	content: "";
	position: absolute;
	left: 6px;
	bottom: 6px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	transition: 0.3s;
}

.spiro-cookie-banner input:checked + .slider {
	background-color: var(--spiro-color-blue, #007ec1);
}

.spiro-cookie-banner input:checked + .slider:before {
	transform: translateX(40px);
}

@media (max-width: 480px) {
	.spiro-cookie-banner {
		left: 24px;
		right: 24px;
		bottom: 24px;
		width: auto;
	}
}
