:root {
	--avw-green: #76b82a;
	--avw-green-dark: #416f0e;
	--avw-green-soft: #eff8e5;
	--avw-ink: #17210f;
	--avw-muted: #5d6856;
	--avw-border: #d8e2d2;
	--avw-surface: #ffffff;
	--avw-danger: #a5332b;
	--avw-warning: #9a5b00;
	--avw-radius: 14px;
}

.avw-site-banner,
.avw-opening-widget,
.avw-popup-root {
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avw-site-banner[hidden],
.avw-popup-root[hidden] {
	display: none !important;
}

.avw-site-banner {
	position: relative;
	z-index: 10;
	width: 100%;
	margin: 0;
	background: var(--avw-green);
	color: var(--avw-ink);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.5;
	box-shadow: 0 1px 0 rgba(23, 33, 15, 0.14);
}

.avw-site-banner-inner {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 11px 24px;
	text-align: center;
	white-space: pre-line;
}

.avw-banner-icon {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-family: Georgia, serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.avw-popup-is-open {
	overflow: hidden;
}

.avw-popup-root {
	position: relative;
	z-index: 999999;
}

.avw-popup-backdrop {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(16, 23, 12, 0.68);
	backdrop-filter: blur(3px);
}

.avw-popup-dialog {
	position: relative;
	width: min(100%, 570px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 42px;
	border-top: 6px solid var(--avw-green);
	border-radius: var(--avw-radius);
	background: var(--avw-surface);
	box-shadow: 0 24px 72px rgba(0, 0, 0, 0.3);
	color: var(--avw-ink);
	animation: avw-popup-enter 180ms ease-out both;
}

.avw-popup-dialog h2 {
	margin: 0 44px 14px 0;
	color: var(--avw-ink);
	font-family: inherit;
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 750;
	line-height: 1.18;
}

.avw-popup-dialog p {
	margin: 0;
	color: #374131;
	font-size: 16px;
	line-height: 1.75;
	white-space: pre-line;
}

.avw-popup-close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f0f3ed;
	color: var(--avw-ink);
	font: 400 30px/1 Arial, sans-serif;
	cursor: pointer;
}

.avw-popup-close:hover,
.avw-popup-close:focus-visible {
	background: #e1e8dc;
}

.avw-popup-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 26px;
	padding: 11px 22px;
	border: 2px solid var(--avw-green-dark);
	border-radius: 8px;
	background: var(--avw-green-dark);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none !important;
}

.avw-popup-button:hover,
.avw-popup-button:focus-visible {
	background: #315508;
	border-color: #315508;
	color: #ffffff !important;
}

.avw-popup-close:focus-visible,
.avw-popup-button:focus-visible {
	outline: 3px solid var(--avw-green);
	outline-offset: 3px;
}

.avw-opening-widget {
	width: 100%;
	padding: clamp(22px, 4vw, 32px);
	border: 1px solid var(--avw-border);
	border-radius: var(--avw-radius);
	background: var(--avw-surface);
	box-shadow: 0 10px 32px rgba(31, 58, 18, 0.08);
	color: var(--avw-ink);
}

.avw-opening-widget > h2 {
	margin: 0 0 20px;
	color: var(--avw-ink);
	font-family: inherit;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 750;
	line-height: 1.2;
}

.avw-opening-status {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-bottom: 24px;
	padding: 16px 18px;
	border-radius: 10px;
	background: #f3f5f1;
}

.avw-opening-dot {
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	margin-top: 5px;
	border-radius: 50%;
	background: #687063;
	box-shadow: 0 0 0 5px rgba(104, 112, 99, 0.12);
}

.avw-opening-status strong {
	display: block;
	margin-bottom: 2px;
	font-size: 17px;
	font-weight: 750;
}

.avw-opening-status p {
	margin: 0;
	color: var(--avw-muted);
	font-size: 14px;
	line-height: 1.5;
}

.avw-status-open,
.avw-status-opens_soon {
	background: var(--avw-green-soft);
}

.avw-status-open .avw-opening-dot,
.avw-status-opens_soon .avw-opening-dot {
	background: var(--avw-green-dark);
	box-shadow: 0 0 0 5px rgba(118, 184, 42, 0.18);
}

.avw-status-closes_soon {
	background: #fff5df;
}

.avw-status-closes_soon .avw-opening-dot {
	background: var(--avw-warning);
	box-shadow: 0 0 0 5px rgba(154, 91, 0, 0.13);
}

.avw-opening-note {
	margin-top: 4px !important;
	font-weight: 650;
}

.avw-opening-weekly h3,
.avw-opening-exceptions h3 {
	margin: 0 0 12px;
	color: var(--avw-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 750;
}

.avw-opening-weekly dl {
	margin: 0;
}

.avw-opening-weekly dl > div {
	display: grid;
	grid-template-columns: minmax(100px, 0.8fr) 1.4fr;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px solid #e9eee5;
}

.avw-opening-weekly dl > div:last-child {
	border-bottom: 0;
}

.avw-opening-weekly dt,
.avw-opening-weekly dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.avw-opening-weekly dt {
	font-weight: 700;
}

.avw-opening-weekly dd {
	text-align: right;
}

.avw-opening-exceptions {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 2px solid var(--avw-green-soft);
}

.avw-opening-exceptions ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.avw-opening-exceptions li {
	margin: 0 0 8px;
	padding: 10px 12px;
	border-left: 4px solid var(--avw-green);
	background: #f8faf6;
	font-size: 14px;
	line-height: 1.55;
}

@keyframes avw-popup-enter {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 600px) {
	.avw-site-banner-inner {
		padding: 10px 16px;
		text-align: left;
	}

	.avw-popup-backdrop {
		align-items: end;
		padding: 12px;
	}

	.avw-popup-dialog {
		max-height: calc(100vh - 24px);
		padding: 34px 24px 28px;
	}

	.avw-opening-weekly dl > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.avw-opening-weekly dd {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.avw-popup-dialog {
		animation: none;
	}
}

