/**
 * Cookie consent banner styles.
 *
 * @package GingerHitech
 */

.ghi-cookie-banner {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99999;
	max-width: 420px;
	width: 100%;
	background: #ffffff;
	border: 2px solid var(--ghi-info-accent, #be1e2d);
	border-radius: var(--ghi-info-radius-md, 0.9rem);
	box-shadow: var(--ghi-info-shadow-lg, 0 28px 70px rgba(127, 22, 34, 0.14));
	padding: 1.5rem;
	font-family: var(--ghi-info-font-sans, 'Inter', system-ui, sans-serif);
	color: var(--ghi-info-text, #241518);
}

.ghi-cookie-banner__inner {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ghi-cookie-banner__title {
	margin: 0 0 0.25rem 0;
	font-family: var(--ghi-info-font-heading, 'Montserrat', system-ui, sans-serif);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ghi-info-text, #241518);
}

.ghi-cookie-banner__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ghi-info-text-soft, #5f2c32);
}

.ghi-cookie-banner__desc a {
	color: var(--ghi-info-accent, #be1e2d);
	text-decoration: underline;
}

.ghi-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.ghi-cookie-banner__more-link {
	font-size: 0.85rem;
	color: var(--ghi-info-accent, #be1e2d);
	text-decoration: underline;
	transition: color 0.2s;
}

.ghi-cookie-banner__more-link:hover {
	color: var(--ghi-info-accent-dark, #8d1320);
}

.ghi-cookie-banner__accept-btn {
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: 999px;
	background: var(--ghi-info-accent, #be1e2d);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	box-shadow: 0 4px 12px rgba(190, 30, 45, 0.2);
}

.ghi-cookie-banner__accept-btn:hover {
	background: var(--ghi-info-accent-dark, #8d1320);
	transform: scale(1.02);
}

.ghi-cookie-banner__accept-btn:active {
	transform: scale(0.96);
}

@media (max-width: 480px) {
	.ghi-cookie-banner {
		bottom: 10px;
		right: 10px;
		left: 10px;
		max-width: none;
		padding: 1.2rem;
	}

	.ghi-cookie-banner__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ghi-cookie-banner__more-link {
		text-align: center;
	}
}
