/**
 * Flavor Scenario Presplitter strip.
 * BEM: .flavor-presplitter
 */

.flavor-presplitter {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	margin: 0;
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border-bottom: 1px solid #bae6fd;
	color: #0c4a6e;
	font-family: inherit;
}
.flavor-presplitter.is-dismissing {
	transition: opacity 200ms ease-out, max-height 200ms ease-out;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	padding-block: 0;
}

.flavor-presplitter__inner {
	flex: 1;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.flavor-presplitter__lead {
	flex: 0 0 auto;
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #0c4a6e;
}

.flavor-presplitter__options {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.5rem;
	min-width: 0;
}

.flavor-presplitter__btn {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.6rem 0.85rem;
	background: #fff;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	color: #0c4a6e;
	text-decoration: none;
	transition: all 150ms ease-out;
	min-width: 0;
}
.flavor-presplitter__btn:hover,
.flavor-presplitter__btn:focus-visible {
	background: #f0f9ff;
	border-color: #38bdf8;
	box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
	text-decoration: none;
	transform: translateY(-1px);
}
.flavor-presplitter__btn strong {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0c4a6e;
}
.flavor-presplitter__btn span {
	font-size: 0.78rem;
	color: #075985;
	line-height: 1.3;
}

.flavor-presplitter__quiz-link {
	flex: 1 1 100%;
	margin: 0;
	font-size: 0.85rem;
	color: #075985;
	text-align: center;
}
.flavor-presplitter__quiz-link a {
	color: #0369a1;
	font-weight: 600;
	text-decoration: underline;
}

.flavor-presplitter__close {
	flex-shrink: 0;
	align-self: flex-start;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	border-radius: 50%;
	color: #0c4a6e;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background 150ms;
}
.flavor-presplitter__close:hover {
	background: rgba(12, 74, 110, 0.1);
}

@media (max-width: 720px) {
	.flavor-presplitter__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.flavor-presplitter__lead {
		text-align: center;
	}
	.flavor-presplitter__options {
		grid-template-columns: 1fr;
	}
}
