.nicolau-restaurant-cards {
	--nicolau-restaurant-cards-bg: linear-gradient(
		180deg,
		var(
			--nicolau-restaurant-color-soft,
			var(--nicolau-color-green-light, #e0ede1)
		) 0%,
		var(
			--nicolau-restaurant-color-soft,
			var(--nicolau-color-green-light, #e0ede1)
		) 46%,
		var(--nicolau-color-green-dark, #022e22) 100%
	);

	--nicolau-restaurant-cards-ink: var(
		--nicolau-restaurant-color-dark,
		var(--nicolau-color-green-dark, #022e22)
	);

	--nicolau-restaurant-cards-accent: var(--nicolau-restaurant-color, var(--nicolau-color-green-soft, #70a990));
	--nicolau-restaurant-cards-font-sans: var(--nicolau-font-sans, sans-serif);
	--nicolau-restaurant-cards-font-heading: var(--nicolau-font-heading, sans-serif);
	--nicolau-restaurant-cards-font-script: var(--nicolau-font-script, "Instrument Serif", serif);
	--nicolau-restaurant-cards-carousel-width:
		min(
			88vw,
			var(--nicolau-site-content-width, 1420px)
		);
	--nicolau-restaurant-cards-edge: max(18px, calc((100vw - var(--nicolau-restaurant-cards-carousel-width)) / 2));

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
	width: 100%;
}

.nicolau-restaurant-cards__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
	width: 100%;
}

.nicolau-restaurant-cards--layout-grid .nicolau-restaurant-cards__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 31%), 1fr));
	gap: 24px;
	width: 100%;
}

.nicolau-restaurant-cards--has-header {
	display: block;
}

.nicolau-restaurant-cards__header {
	margin: 0 auto clamp(34px, 5vw, 64px);
	text-align: center;
}

.nicolau-restaurant-cards__header:not(
	.nicolau-restaurant-cards__header--homepage
) {
	max-width: 760px;
}

.nicolau-restaurant-cards__header--homepage {
	width: 100%;
	max-width: none;
	margin-bottom: clamp(28px, 4vw, 48px);
	padding-inline: var(--nicolau-restaurant-cards-edge);
	box-sizing: border-box;
	text-align: left;
}

.nicolau-restaurant-cards__divider {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
}

.nicolau-restaurant-cards__divider-text {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--nicolau-restaurant-cards-font-sans);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--nicolau-color-green-dark);
}

.nicolau-restaurant-cards__divider-line {
	display: block;
	flex: 1 1 auto;
	min-width: 48px;
	height: auto;
	min-height: 5px;
}

.nicolau-restaurant-cards__divider-dog {
	display: block;
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.nicolau-restaurant-cards__eyebrow {
	margin: 0 0 12px;
	font-family: var(--nicolau-restaurant-cards-font-sans);
	color: var(--nicolau-restaurant-cards-ink);
}

.nicolau-restaurant-cards__section-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	color: var(--nicolau-restaurant-cards-ink);
}

.nicolau-restaurant-cards__title-script {
	font-family: var(--nicolau-restaurant-cards-font-script);
	font-style: italic;
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.045em;
	text-transform: none;
	color: var(--nicolau-restaurant-cards-ink);
}

.nicolau-restaurant-cards__title-main {
	margin-top: -0.02em;
	font-family: var(--nicolau-restaurant-cards-font-heading);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	color: var(--nicolau-restaurant-cards-accent);
}

.nicolau-restaurant-cards--carousel {
	display: block;
	overflow: hidden;
	overflow: clip;
	margin-inline: calc(50% - 50vw);
	padding: clamp(72px, 8vw, 124px) 0 clamp(76px, 9vw, 132px);
	background: var(--nicolau-restaurant-cards-bg);
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track {
	display: flex;
	grid-template-columns: none;
	gap: clamp(16px, 2vw, 28px);
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	padding: 0 var(--nicolau-restaurant-cards-edge) 10px;
	cursor: grab;
	scroll-padding-inline: var(--nicolau-restaurant-cards-edge);
	overscroll-behavior-inline: contain;
	touch-action: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track::after {
	content: "";
	display: block;
	flex: 0 0 var(--nicolau-restaurant-cards-edge);
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track::-webkit-scrollbar {
	display: none;
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
	user-select: none;
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-card {
	flex: 0 0 clamp(300px, 28vw, 450px);
	scroll-snap-align: start;
	-webkit-user-drag: none;
	user-select: none;
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-card img {
	-webkit-user-drag: none;
	user-select: none;
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track.is-dragging .nicolau-restaurant-card--location {
	transform: none;
}

.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track.is-dragging .nicolau-restaurant-card__illustration {
	opacity: 0;
	transform: scale(0.96);
}

.nicolau-restaurant-card {
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e4ded4;
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(31, 34, 30, 0.08);
}

.nicolau-restaurant-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nicolau-restaurant-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f2efe8;
}

.nicolau-restaurant-card__media-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nicolau-restaurant-card__image,
.nicolau-restaurant-card__illustration {
	display: block;
	width: 100%;
	height: 100%;
}

.nicolau-restaurant-card__image {
	object-fit: cover;
}

.nicolau-restaurant-card__image-placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(46, 96, 74, 0.16), rgba(224, 98, 74, 0.12)),
		#f2efe8;
}

.nicolau-restaurant-card__illustration {
	position: absolute;
	inset: 0;
	z-index: 2;
	box-sizing: border-box;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.72);
	opacity: 0;
	transform: scale(0.96);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
	pointer-events: none;
}

.nicolau-restaurant-card:hover .nicolau-restaurant-card__illustration,
.nicolau-restaurant-card:focus-within .nicolau-restaurant-card__illustration {
	opacity: 1;
	transform: scale(1);
}

.nicolau-restaurant-card__hours {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100% - 28px);
	padding: 7px 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #1d211c;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(31, 34, 30, 0.12);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(31, 34, 30, 0.12);
}

.nicolau-restaurant-card__status-dot {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	background: #b8322b;
	border-radius: 50%;
}

.nicolau-restaurant-card__hours--open .nicolau-restaurant-card__status-dot {
	background: #2f8f5b;
}

.nicolau-restaurant-card__hours-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nicolau-restaurant-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding: 24px;
	text-align: center;
}

.nicolau-restaurant-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	width: 100%;
}

.nicolau-restaurant-card__logo-link {
	color: inherit;
	text-decoration: none;
}

.nicolau-restaurant-card__logo-image {
	display: block;
	width: auto;
	max-width: min(220px, 82%);
	max-height: 74px;
	object-fit: contain;
}

.nicolau-restaurant-card__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	color: #1d211c;
}

.nicolau-restaurant-card__actions {
	display: flex;
	gap: 10px;
	width: 100%;
}

.nicolau-restaurant-card__button {
	flex: 1 1 0;
	min-height: 44px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
	border: 1px solid #1d211c;
	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease;
}

.nicolau-restaurant-card__button--primary {
	color: #ffffff;
	background: #1d211c;
}

.nicolau-restaurant-card__button--primary:hover,
.nicolau-restaurant-card__button--primary:focus-visible {
	color: #ffffff;
	background: #2f8f5b;
	border-color: #2f8f5b;
}

.nicolau-restaurant-card__button--secondary {
	color: #1d211c;
	background: #ffffff;
}

.nicolau-restaurant-card__button--secondary:hover,
.nicolau-restaurant-card__button--secondary:focus-visible {
	color: #ffffff;
	background: #d65f47;
	border-color: #d65f47;
}

.nicolau-restaurant-card--location {
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}

.nicolau-restaurant-card--location:hover,
.nicolau-restaurant-card--location:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 18px 42px rgba(31, 34, 30, 0.12);
}

.nicolau-restaurant-card--location .nicolau-restaurant-card__body {
	flex: 1 1 auto;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 24px 18px;
}

.nicolau-restaurant-card--location .nicolau-restaurant-card__logo {
	min-height: 84px;
}

.nicolau-restaurant-card--location .nicolau-restaurant-card__logo-image {
	max-width: min(230px, 86%);
	max-height: 84px;
}

.nicolau-restaurant-card__location-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding-top: 4px;
}

.nicolau-restaurant-card__location {
	overflow: hidden;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-align: left;
	text-transform: uppercase;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #1d211c;
}

.nicolau-restaurant-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	font-size: 20px;
	line-height: 1;
	color: #1d211c;
	border: 1px solid rgba(29, 33, 28, 0.25);
	border-radius: 50%;
	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.nicolau-restaurant-card--location:hover .nicolau-restaurant-card__arrow,
.nicolau-restaurant-card--location:focus-within .nicolau-restaurant-card__arrow {
	color: #ffffff;
	background: #1d211c;
	border-color: #1d211c;
	transform: translateX(2px);
}

/* Homepage carousel background */
.nicolau-restaurant-cards--homepage.nicolau-restaurant-cards--carousel {
	--nicolau-restaurant-cards-bg: linear-gradient(
		180deg,
		var(--nicolau-color-cream, #f6f3e4) 0%,
		var(--nicolau-color-green-soft, #70a990) 100%
	);
}

.nicolau-restaurant-cards--homepage.nicolau-restaurant-cards--carousel .nicolau-restaurant-card--default .nicolau-restaurant-card__body {
	gap: 16px;
	padding: 18px 24px;
}

.nicolau-restaurant-cards--homepage.nicolau-restaurant-cards--carousel .nicolau-restaurant-card--default .nicolau-restaurant-card__logo {
	height: 104px;
	min-height: 104px;
}

.nicolau-restaurant-cards--homepage.nicolau-restaurant-cards--carousel .nicolau-restaurant-card--default .nicolau-restaurant-card__logo-image {
	max-width: min(220px, 82%);
	max-height: 104px;
}

/* Homepage carousel CTAs */
.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__actions {
	gap: 8px;
}

.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button {
	min-height: 44px;
	padding: 10px 18px;
	font-family: var(--nicolau-restaurant-cards-font-sans);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-radius: 0;
}

.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button--primary {
	color: #ffffff;
  background: var(--nicolau-color-green-soft,aliceblue #70A990);
  border-color: var(--nicolau-color-green-soft,aliceblue #70A990);
}

.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button--primary:hover,
.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button--primary:focus-visible {
	background: var(--nicolau-color-green-dark, #022e22);
  border-color: var(--nicolau-color-green-dark, #022e22);
}

.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button--secondary {
	color: var(--nicolau-color-green-dark, #022e22);
	background: transparent;
	border-color: var(--nicolau-color-green-dark, #022e22);
}

.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button--secondary:hover,
.nicolau-restaurant-cards--homepage .nicolau-restaurant-card__button--secondary:focus-visible {
	color: #ffffff;
	background: var(--nicolau-color-green-dark, #022e22);
	border-color: var(--nicolau-color-green-dark, #022e22);
}

@media (max-width: 1024px) {
	.nicolau-restaurant-cards {
		--nicolau-restaurant-cards-carousel-width: min(92vw, 980px);
	}

	.nicolau-restaurant-cards--carousel .nicolau-restaurant-card {
		flex-basis: clamp(250px, 36vw, 340px);
	}
}

@media (max-width: 768px) {
	.nicolau-restaurant-cards {
		--nicolau-restaurant-cards-edge: 18px;
	}

	.nicolau-restaurant-cards--carousel {
		padding: 56px 0 64px;
	}

	.nicolau-restaurant-cards__header:not(
		.nicolau-restaurant-cards__header--homepage
	) {
		padding: 0 18px;
	}

	.nicolau-restaurant-cards__divider {
		gap: 10px;
	}

	.nicolau-restaurant-cards__divider-text {
		font-size: 11px;
		letter-spacing: 0.16em;
	}

	.nicolau-restaurant-cards__divider-dog {
		width: 40px;
		height: 40px;
	}

	.nicolau-restaurant-cards__title-script {
		line-height: 0.9;
	}

	.nicolau-restaurant-cards__title-main {
		line-height: 0.88;
	}

	.nicolau-restaurant-cards--carousel .nicolau-restaurant-cards__track {
		padding-inline: var(--nicolau-restaurant-cards-edge);
		scroll-padding-inline: var(--nicolau-restaurant-cards-edge);
	}

	.nicolau-restaurant-cards--carousel .nicolau-restaurant-card {
		flex-basis: min(78vw, 330px);
	}
}

@media (max-width: 600px) {
	.nicolau-restaurant-cards {
		--nicolau-restaurant-cards-edge: 14px;
	}

	.nicolau-restaurant-cards--carousel {
		padding: 48px 0 56px;
	}

	.nicolau-restaurant-cards--carousel .nicolau-restaurant-card {
		flex-basis: min(84vw, 310px);
	}
	
	.nicolau-restaurant-cards--layout-grid .nicolau-restaurant-cards__track {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.nicolau-restaurant-card__body {
		padding: 20px;
	}

	.nicolau-restaurant-card__actions {
		flex-direction: column;
	}

	.nicolau-restaurant-card__location-row {
		gap: 12px;
	}

	.nicolau-restaurant-card__location {
		font-size: 11px;
		letter-spacing: 0.1em;
	}

}
