.eb-wrapper,
.eb-wrapper *,
.eb-wrapper *::before,
.eb-wrapper *::after {
	box-sizing: border-box;
}

.eb-wrapper {
	--eb-navy: var(--gbc-navy, #1d3557);
	--eb-navy-dark: var(--gbc-navy-dark, #10243c);
	--eb-red: var(--gbc-red, #c1121f);
	--eb-red-dark: var(--gbc-red-dark, #a0000a);
	--eb-soft: var(--gbc-soft, #f8fafc);
	--eb-text: var(--gbc-text, #334155);
	--eb-muted: var(--gbc-muted, #64748b);
	--eb-border: var(--gbc-border, rgba(29, 53, 87, 0.12));
	--eb-shadow: var(--gbc-shadow-sm, 0 8px 24px rgba(16, 36, 60, 0.08));
	position: relative;
	width: 100%;
	min-width: 0;
}

.eb-wrapper .eb-track {
	position: relative;
	min-width: 0;
	overflow: hidden;
	padding: 2px 54px 14px;
}

.eb-wrapper .eb-track > .eb-list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: 16px;
	width: 100%;
	min-width: 0;
	margin: 0 !important;
	padding: 0 0 2px !important;
	overflow-x: auto;
	overflow-y: hidden;
	list-style: none !important;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.eb-wrapper .eb-track > .eb-list::-webkit-scrollbar {
	display: none;
}

.eb-wrapper .eb-card {
	position: relative;
	flex: 0 0 clamp(300px, 34vw, 420px);
	width: clamp(300px, 34vw, 420px);
	max-width: clamp(300px, 34vw, 420px);
	min-width: 0;
	min-height: 100%;
	margin: 0 !important;
	padding: 15px !important;
	border: 1px solid var(--eb-border) !important;
	border-radius: 20px !important;
	background: #ffffff !important;
	box-shadow: var(--eb-shadow);
	overflow: hidden !important;
	scroll-snap-align: start;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.eb-wrapper .eb-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--eb-red), rgba(193, 18, 31, 0.18));
}

.eb-wrapper .eb-card:hover {
	transform: translateY(-2px);
	border-color: rgba(29, 53, 87, 0.22) !important;
	box-shadow: 0 16px 30px rgba(16, 36, 60, 0.09);
}

.eb-wrapper .eb-card > div,
.eb-wrapper .eb-card-grid {
	display: grid !important;
	grid-template-columns: 88px minmax(0, 1fr) !important;
	gap: 12px !important;
	align-items: start !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.eb-wrapper .eb-card-thumb,
.eb-wrapper .eb-card img {
	width: 88px !important;
	max-width: 88px !important;
	height: 68px !important;
	object-fit: cover !important;
	border-radius: 14px !important;
	background: var(--eb-soft);
}

.eb-wrapper .eb-card h3 {
	margin: 0 0 6px !important;
	color: var(--eb-navy-dark) !important;
	font-size: clamp(1.08rem, 2vw, 1.28rem) !important;
	font-weight: 800 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.02em !important;
	word-break: normal !important;
	overflow-wrap: anywhere;
}

.eb-wrapper .eb-card h3 + div {
	margin: 0 0 8px !important;
	color: var(--eb-navy) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.eb-wrapper .eb-card h3 + div strong {
	color: var(--eb-red) !important;
	font-weight: 900 !important;
}

.eb-wrapper .eb-card p:not(.eb-special-lead):not(.eb-special-location):not(.eb-foodbox-minimized__title) {
	display: -webkit-box !important;
	margin: 0 0 10px !important;
	color: var(--eb-muted) !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
}

.eb-wrapper .eb-card-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-top: 10px !important;
}

.eb-wrapper .eb-card a,
.eb-wrapper .eb-card-actions a,
.eb-wrapper .eb-foodbox-slider-note a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 12px !important;
	border: 1px solid rgba(29, 53, 87, 0.16) !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: var(--eb-navy) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	text-decoration: none !important;
	transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.eb-wrapper .eb-card a:hover,
.eb-wrapper .eb-card a:focus,
.eb-wrapper .eb-card a:focus-visible {
	background: var(--eb-soft) !important;
	color: var(--eb-red) !important;
	border-color: rgba(193, 18, 31, 0.32) !important;
	outline: 3px solid var(--gbc-brand-accent, #d8b45a);
	outline-offset: 3px;
}

.eb-wrapper .eb-special-details,
.eb-wrapper .eb-foodbox-details,
.eb-wrapper .eb-foodbox-minimized {
	display: none !important;
}

.eb-wrapper .eb-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(29, 53, 87, 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: var(--eb-navy);
	box-shadow: 0 12px 24px rgba(16, 36, 60, 0.12);
	cursor: pointer;
	line-height: 1;
	transform: translateY(-50%);
	transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.eb-wrapper .eb-arrow:hover:not(:disabled),
.eb-wrapper .eb-arrow:focus:not(:disabled),
.eb-wrapper .eb-arrow:focus-visible:not(:disabled) {
	background: var(--eb-red);
	border-color: var(--eb-red);
	color: #ffffff;
	outline: 3px solid var(--gbc-brand-accent, #d8b45a);
	outline-offset: 3px;
	transform: translateY(-50%) scale(1.04);
}

.eb-wrapper .eb-arrow:disabled {
	cursor: default;
	opacity: 0.35;
}

.eb-wrapper.eb-no-overflow .eb-arrow {
	display: none;
}

.eb-wrapper .eb-prev {
	left: 4px;
}

.eb-wrapper .eb-next {
	right: 4px;
}

.eb-wrapper .eb-arrow .arrow {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	line-height: 0.8;
	transform: translateY(-1px);
}

@media (max-width: 1024px) {
	.eb-wrapper .eb-track {
		padding-inline: 50px;
	}

	.eb-wrapper .eb-card {
		flex-basis: min(390px, 78vw);
		width: min(390px, 78vw);
		max-width: min(390px, 78vw);
	}
}

@media (max-width: 767px) {
	.eb-wrapper .eb-track {
		padding: 2px 0 14px;
	}

	.eb-wrapper .eb-arrow {
		display: none;
	}

	.eb-wrapper .eb-card {
		flex-basis: min(340px, 86vw);
		width: min(340px, 86vw);
		max-width: min(340px, 86vw);
		padding: 12px !important;
		border-radius: 18px !important;
	}

	.eb-wrapper .eb-card > div,
	.eb-wrapper .eb-card-grid {
		grid-template-columns: 76px minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	.eb-wrapper .eb-card-thumb,
	.eb-wrapper .eb-card img {
		width: 76px !important;
		max-width: 76px !important;
		height: 58px !important;
		border-radius: 12px !important;
	}
}

@media (max-width: 420px) {
	.eb-wrapper .eb-card {
		flex-basis: min(310px, 88vw);
		width: min(310px, 88vw);
		max-width: min(310px, 88vw);
	}
}

@media (prefers-reduced-motion: reduce) {
	.eb-wrapper .eb-track > .eb-list {
		scroll-behavior: auto;
	}

	.eb-wrapper .eb-card,
	.eb-wrapper .eb-card a,
	.eb-wrapper .eb-arrow {
		transition: none;
	}

	.eb-wrapper .eb-card:hover,
	.eb-wrapper .eb-arrow:hover:not(:disabled) {
		transform: none;
	}
}
