.fiveoceans-cookie {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 999999;
	padding: 1rem;
	pointer-events: none;
}

.fiveoceans-cookie__inner {
	max-width: 52rem;
	margin: 0 auto;
	padding: 1.15rem 1.35rem;
	background: #1f2c36;
	color: #fff;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.22);
	pointer-events: auto;
}

.fiveoceans-cookie__title {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}

.fiveoceans-cookie__text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.fiveoceans-cookie__link {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
}

.fiveoceans-cookie__link:hover {
	color: #e8f4fc;
}

.fiveoceans-cookie__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: flex-end;
}

.fiveoceans-cookie__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.55em 1.15em;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fiveoceans-cookie__btn--primary {
	background: #fff;
	color: #1f2c36;
	border-color: #fff;
}

.fiveoceans-cookie__btn--primary:hover {
	background: #f0f4f7;
}

.fiveoceans-cookie__btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.fiveoceans-cookie__btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

/* Hide Instagram embeds until marketing consent (GDPR mode + our shim). */
body.fiveoceans-cookie-pending #sb_instagram,
body.fiveoceans-cookie-pending .sbi,
body.fiveoceans-cookie-essential #sb_instagram,
body.fiveoceans-cookie-essential .sbi {
	display: none !important;
}

html[dir="rtl"] .fiveoceans-cookie__actions,
body.fiveoceans-rtl .fiveoceans-cookie__actions {
	direction: rtl;
}

@media (max-width: 600px) {
	.fiveoceans-cookie__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.fiveoceans-cookie__btn {
		width: 100%;
	}
}
