/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}

/* Aventin Group brand tokens (aventin_build/brand.py, v3), "Field" pair: deep teal surface, olive accent. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/inter-latin-400-normal.dd05e326cf.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/inter-latin-ext-400-normal.941e03c632.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/inter-latin-500-normal.b0e7558f47.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/inter-latin-ext-500-normal.f2a063e505.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/inter-latin-600-normal.62553d1591.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/inter-latin-ext-600-normal.656a3e303e.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #161617;
  --offwhite: #FBFBF9;
  --cream: #F4F4ED;
  --line: #E5E2DA;
  --line-strong: #D6D3CA;
  --grey: #797979;
  --grey-text: #666664;      /* brand grey darkened to pass WCAG AA on offwhite */
  --accent: #8B9556;         /* olive: Field accent */
  --accent-text: #5F6838;    /* olive darkened to pass WCAG AA as small text */
  --terracotta: #CA5B2A;     /* allowed with off-white in the Field variant: filter accents */
  --terracotta-strong: #B24E22; /* terracotta darkened so off-white button text passes WCAG AA (5.0:1) */
  --teal-line: #2E4E4F;      /* dividers on the teal header */
  --wine-white: #D3CCB8;     /* warm neutral (pale straw) so white wines don't read as green */
  --wine-red: #A33232;       /* brand red (brand.py "alert") */
  --wine-rose: #E0B8A6;      /* brand soft clay */
  --wine-orange: #CA5B2A;    /* brand terracotta */
  --brown: #352017;
  --teal: #123435;
  --olive: #8B9556;
  --pink: #E0B8A6;
  --sage: #CED3B4;
  --header-h: 52px;
  --footer-h: 30px;
  --panel-w: min(620px, 52vw); /* wide enough for a wine row with its buy controls */
  --font: Inter, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink);
  background: var(--offwhite); display: flex; flex-direction: column; overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--grey-text); }

/* Header */
.topbar {
  height: var(--header-h); flex: none; display: flex; align-items: center; gap: 20px;
  padding: 0 16px; background: var(--teal); color: var(--offwhite);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--olive); text-decoration: none; flex: none; }
.brand-wordmark { height: 15px; width: auto; display: block; }
.brand-group { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1; padding-top: 1px; }
.title {
  margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--olive);
  border-left: 1px solid var(--teal-line); padding-left: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.topbar-actions { margin-left: auto; display: flex; gap: 8px; flex: none; }
.btn-ghost {
  background: transparent; border: 1px solid var(--olive); color: var(--olive); border-radius: 4px;
  height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; cursor: pointer;
}
.btn-ghost:hover { background: var(--olive); color: var(--teal); }
.cz-toggle { display: inline-flex; align-items: center; gap: 6px; }
.cz-box { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; flex: none; }
.cz-toggle[aria-pressed="true"] { background: var(--olive); color: var(--teal); }
.cz-short { display: none; }
.cz-toggle[aria-pressed="true"] .cz-box { background: currentColor; box-shadow: inset 0 0 0 1.5px var(--olive); }
.filters-toggle { display: none; }

/* Stage */
.stage { position: relative; flex: 1; min-height: 0; }
#map { position: absolute; inset: 0; background: var(--cream); }
body.grey-tiles .leaflet-tile-pane { filter: grayscale(.6) contrast(.95); }
.leaflet-container { font-family: var(--font); }
.leaflet-control-zoom a { color: var(--ink); background: var(--offwhite); }
.leaflet-bar { border: 1px solid var(--line-strong) !important; box-shadow: none !important; border-radius: 4px; }
.leaflet-bar a { border-bottom-color: var(--line) !important; }

/* Footer */
.footer {
  min-height: var(--footer-h); flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px;
  padding: 5px 16px; border-top: 1px solid var(--line); background: var(--offwhite); color: var(--grey-text); font-size: 12px;
}
.footer a { color: var(--ink); }

/* Filters */
.filters {
  --accent: var(--terracotta); /* focus rings and hovers inside the filter panel */
  position: absolute; top: 12px; left: 12px; z-index: 1000; width: 280px; max-height: calc(100% - 24px);
  display: flex; flex-direction: column; background: var(--offwhite); border: 1px solid var(--line-strong); border-radius: 6px;
}
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); }
.filters-head h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.filters.collapsed .filters-head { border-bottom: 0; }
.filters.collapsed .filters-body { display: none; }
.filters-body { overflow-y: auto; padding: 12px 16px 14px; }
fieldset { border: 0; margin: 0 0 14px; padding: 0; }
legend { font-size: 12px; font-weight: 600; color: var(--grey-text); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; padding: 0; }
.checks { display: flex; flex-direction: column; gap: 2px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; font-size: 13px; }
.check input { margin: 0; accent-color: var(--terracotta); width: 15px; height: 15px; flex: none; }
.check .count { margin-left: auto; color: var(--grey-text); font-variant-numeric: tabular-nums; font-size: 12px; }
.check .swatch { width: 14px; height: 14px; border-radius: 3px; flex: none; border: 1px solid rgba(22,22,23,.35); }
.check .dot { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; font-weight: 600; border: 1.5px solid var(--offwhite); outline: 1px solid rgba(22,22,23,.25); }
.points-filter { display: grid; gap: 4px; }
.points-filter input { width: 100%; margin: 0; accent-color: var(--terracotta); }
.points-filter output { font-size: 13px; font-variant-numeric: tabular-nums; }
legend label { cursor: default; }
.legend-note { font-size: 12px; color: var(--grey-text); margin: 0 0 12px; line-height: 1.45; }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.btn-link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 2px; font-size: 12px; font-weight: 500; }
.icon-btn {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 20px; line-height: 1;
}
.icon-btn:hover { border-color: var(--line-strong); }

.search { position: relative; margin-bottom: 14px; }
.search input {
  width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: #fff0; font: inherit; font-size: 13px; color: var(--ink);
}
.search input::placeholder { color: var(--grey-text); }
.search-results {
  list-style: none; margin: 4px 0 0; padding: 4px 0; border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--offwhite); max-height: 240px; overflow-y: auto;
}
.search-results li button { all: unset; box-sizing: border-box; display: flex; width: 100%; gap: 8px; padding: 6px 10px; cursor: pointer; font-size: 13px; }
.search-results li button:hover, .search-results li button:focus-visible { background: var(--cream); outline: none; }
.search-results .sub { color: var(--grey-text); margin-left: auto; white-space: nowrap; }
.search-results .empty { padding: 6px 10px; color: var(--grey-text); font-size: 13px; }

.map-btn {
  position: absolute; z-index: 900; right: 12px; bottom: 12px; background: var(--offwhite); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 4px; padding: 7px 12px; font-size: 12px; font-weight: 500; text-decoration: none;
}
.map-btn:hover { border-color: var(--teal); }

/* Markers */
.wm { background: none; border: 0; }
.wm-dot {
  width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 600; line-height: 1; border: 2px solid var(--offwhite); outline: 1px solid rgba(22,22,23,.35);
}
.leaflet-marker-icon.wm:focus-visible { outline: none; }
.leaflet-marker-icon.wm:focus-visible .wm-dot, .wm.selected .wm-dot { outline: 3px solid var(--accent); outline-offset: 1px; }
.wm.s4.selected .wm-dot { outline-color: var(--teal); }
.s5 .wm-dot, .dot.s5 { background: var(--teal); color: var(--offwhite); }
.s4 .wm-dot, .dot.s4 { background: var(--olive); color: var(--teal); }
.s3 .wm-dot, .dot.s3 { background: var(--sage); color: var(--teal); }
.s2 .wm-dot, .dot.s2 { background: var(--cream); color: var(--teal); }
.s1 .wm-dot, .dot.s1 { background: var(--offwhite); color: var(--teal); }
.wm-cluster { background: none; }
.wm-cluster div {
  width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--offwhite); color: var(--teal); font-weight: 600; font-size: 12px; border: 2px solid var(--teal);
}
.leaflet-tooltip.wt {
  background: var(--offwhite); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 4px;
  box-shadow: none; padding: 6px 9px; font-size: 12px; line-height: 1.35;
}
.leaflet-tooltip.wt::before { display: none; }
.wt strong { display: block; font-weight: 600; font-size: 13px; }
.stars { color: var(--accent-text); letter-spacing: 1px; }
.stars .off { color: var(--line-strong); }

/* Grape variety tiles */
.tiles-label { margin: 2px 0 6px; font-size: 12px; color: var(--grey-text); }
.tiles { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.tile {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--offwhite); font-size: 12px; cursor: pointer; line-height: 1.3; text-align: left;
}
.tile .count { color: var(--grey-text); font-variant-numeric: tabular-nums; font-size: 11px; }
.tile.g-white { border-left: 3px solid var(--wine-white); }
.tile.g-red { border-left: 3px solid var(--wine-red); }
.tile.all { font-weight: 600; }
.tile:hover { border-color: var(--terracotta); }
.tile.on { background: var(--terracotta); color: var(--offwhite); border-color: var(--terracotta); font-weight: 600; }
.tile.on .count { color: var(--offwhite); }
.tile:disabled { opacity: .45; cursor: default; }

/* Wine list (winery panel) */
.wines { margin-top: 20px; }
.wine-group { border-left: 3px solid var(--line-strong); padding-left: 12px; margin-bottom: 14px; }
.wine-group.c-white { border-color: var(--wine-white); }
.wine-group.c-red { border-color: var(--wine-red); }
.wine-group.c-rose { border-color: var(--wine-rose); }
.wine-group.c-orange { border-color: var(--wine-orange); }
.wine-group.c-red .wine-group-label { color: var(--wine-red); }
.wine-group-label { margin: 0 0 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-text); }
.wine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.wine-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: baseline; font-size: 13px; padding: 3px 4px; border-radius: 3px; }
.wine-list li.hit { background: var(--cream); }
.wine-list li.hit .wname { font-weight: 600; }
.wine-list .pts { font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.wine-list .wname { color: var(--ink); text-decoration: none; }
.wine-list .wname:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.wine-list .alc { color: var(--grey-text); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Region labels */
.rl { background: none; border: 0; pointer-events: none; }
.rl span {
  display: block; transform: translate(-50%, -50%); white-space: nowrap; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal); text-shadow: 0 0 2px var(--offwhite), 0 0 2px var(--offwhite), 0 0 3px var(--offwhite);
}
.rl.rajon span { font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: #4b5230; }
.rl.dim span { opacity: .35; }
.rl.cz span { font-style: italic; }
.cz-obce { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 4px; font-size: 13px; }
.cz-obce li { display: grid; gap: 1px; }
.cz-obce .sub { font-size: 12px; color: var(--grey-text); }

/* Panel */
.panel {
  position: absolute; z-index: 1100; top: 0; right: 0; bottom: 0; width: var(--panel-w); max-width: 100%;
  background: var(--offwhite); border-left: 1px solid var(--line-strong); display: flex; flex-direction: column;
}
.panel[hidden] { display: none; }
.panel-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--offwhite); border-color: var(--line-strong); }
.panel-body { overflow-y: auto; flex: 1; padding-bottom: 24px; }
.hero { position: relative; aspect-ratio: 16 / 9; background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .credit {
  position: absolute; left: 8px; bottom: 8px; background: rgba(251,251,249,.92); padding: 2px 7px; border-radius: 3px; font-size: 11px;
}
.hero:has(.hero-placeholder) { aspect-ratio: auto; height: 120px; }
.hero-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--grey-text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.hero-placeholder svg { width: 40px; height: 40px; margin-bottom: 6px; color: var(--line-strong); }
.hero-placeholder div { display: flex; flex-direction: column; align-items: center; }
.pb { padding: 20px 24px 0; }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-text); margin: 0 0 6px; }
.panel h2 { font-size: 22px; line-height: 1.25; font-weight: 600; margin: 0 40px 6px 0; letter-spacing: -.01em; }
.rating { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 13px; }
.rating .stars { font-size: 16px; }
.place { color: var(--grey-text); font-size: 13px; margin: 0; }
.place a { color: var(--grey-text); }
.desc { margin: 16px 0 0; font-size: 14px; line-height: 1.6; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.facts dt { color: var(--grey-text); }
.facts dd { margin: 0; }
.panel h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-text); margin: 20px 0 8px; }
.panel p.small, .small { font-size: 13px; margin: 0; }
.contact { list-style: none; margin: 0; padding: 0; font-size: 13px; display: grid; gap: 4px; }
.contact li { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.contact li span:first-child { color: var(--grey-text); }
.contact a { word-break: break-word; }
/* Buying (WineExpert.sk): inline in the rated-wine rows */
.wine-list.has-buy li { grid-template-columns: 30px 1fr auto; } /* alcohol sits on the tag line in these groups */
.wine-list li.buyable { padding: 6px 4px; }
.wmain { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 3px; }
.chips:empty { display: none; }
.chip { font-size: 11px; color: var(--grey-text); background: var(--cream); border-radius: 3px; padding: 1px 6px; }
.tag-link { font-size: 11px; color: var(--grey-text); text-underline-offset: 2px; }
.wbuy { display: flex; align-items: center; justify-content: flex-end; gap: 8px; align-self: center; }
.price { min-width: 64px; text-align: right; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price s { display: block; font-weight: 400; font-size: 11px; color: var(--grey-text); }
.price.outdated { color: var(--grey-text); font-weight: 400; }
.stepper { display: inline-flex; align-items: center; height: 32px; border: 1px solid var(--line-strong); border-radius: 4px; }
.stepper button { all: unset; width: 24px; height: 100%; text-align: center; cursor: pointer; font-size: 15px; color: var(--teal); }
.stepper button:focus-visible, .stepper input:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.stepper input { width: 26px; border: 0; padding: 0; text-align: center; font: inherit; font-size: 13px; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.btn.buy { height: 32px; padding: 0 12px; background: var(--terracotta-strong); border-color: var(--terracotta-strong); color: var(--offwhite); font-weight: 600; }
.btn.buy:hover { background: #9A421C; border-color: #9A421C; }
.buy-added { grid-column: 2 / -1; margin: 4px 0 0; padding: 5px 8px; font-size: 12px; background: var(--cream); border-left: 2px solid var(--terracotta); }
.wm-cart {
  position: absolute; top: -4px; right: -6px; width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--offwhite); color: var(--teal); border: 1px solid var(--teal);
}
.wm-cart svg { width: 10px; height: 10px; }
.wt-buy { display: flex; gap: 4px; align-items: center; margin-top: 3px; color: var(--teal); }
.wt-buy svg { width: 12px; height: 12px; }
.cart-icon { display: inline-flex; width: 15px; height: 15px; color: var(--teal); }
.cart-icon svg { width: 100%; height: 100%; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 4px; font-size: 13px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--teal); background: var(--offwhite); color: var(--teal);
}
.btn.primary { background: var(--teal); color: var(--offwhite); }
.btn:hover { border-color: var(--accent); }
.note { margin-top: 14px; padding: 8px 10px; border-left: 2px solid var(--accent); background: var(--cream); font-size: 12px; }
.sources { list-style: none; padding: 0; margin: 0; font-size: 12px; display: grid; gap: 3px; }
.sources a { color: var(--grey-text); word-break: break-all; }
.meta { font-size: 12px; color: var(--grey-text); margin-top: 14px; }
details summary { cursor: pointer; font-size: 13px; font-weight: 500; padding: 4px 0; }
.obce { columns: 2; column-gap: 16px; font-size: 13px; padding: 6px 0 0; margin: 0; list-style: none; }
.obce li { break-inside: avoid; }
.wlist { list-style: none; margin: 0; padding: 0; font-size: 13px; display: grid; gap: 2px; }
.wlist button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 5px 0; width: 100%; }
.wlist button:hover .n, .wlist button:focus-visible .n { text-decoration: underline; }
.wlist button:focus-visible { outline: 2px solid var(--accent); }
.wlist .sub { margin-left: auto; color: var(--grey-text); font-size: 12px; }
.linkish { all: unset; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.linkish:hover { text-decoration-color: var(--accent); }
.linkish:focus-visible { outline: 2px solid var(--accent); }
.status { position: absolute; z-index: 1200; left: 50%; top: 16px; transform: translateX(-50%); background: var(--offwhite); border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 4px; font-size: 13px; }

/* Mobile */
@media (max-width: 760px) {
  :root { --header-h: 48px; }
  .topbar { gap: 12px; padding: 0 12px; }
  .brand-group { display: none; }
  .cz-long { display: none; }  /* title stays readable; the button keeps its full name in title/aria */
  .cz-short { display: inline; }
  .title { font-size: 13px; padding-left: 12px; }
  .filters-toggle { display: inline-flex; align-items: center; }
  .filters {
    top: 0; left: 0; bottom: 0; width: min(320px, 88vw); max-height: none; border-radius: 0; border-width: 0 1px 0 0;
    transform: translateX(-102%); transition: transform .2s ease; z-index: 1150; visibility: hidden;
  }
  .filters.open { transform: none; visibility: visible; }
  .filters.collapsed .filters-body { display: block; }
  #filters-collapse span { font-size: 0; }
  #filters-collapse span::before { content: "×"; font-size: 22px; }
  .panel {
    top: auto; left: 0; right: 0; width: 100%; max-height: 72%; border-left: 0; border-top: 1px solid var(--line-strong);
    border-radius: 10px 10px 0 0;
  }
  .panel::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 8px auto 0; flex: none; }
  .hero { aspect-ratio: 21 / 9; margin-top: 8px; }
  .hero:has(.hero-placeholder) { height: 72px; }
  .pb { padding: 16px 16px 0; }
  .panel h2 { font-size: 19px; }
  .wine-list.has-buy li { grid-template-columns: 30px 1fr auto; }
  .wine-list li.buyable .wbuy { grid-column: 2 / -1; margin-top: 4px; }
  .footer { font-size: 11px; gap: 2px 12px; padding: 4px 12px; }
  .map-btn { bottom: 10px; right: 10px; }
  .leaflet-top.leaflet-right { top: 0; }
}
@media (prefers-reduced-motion: reduce) { .filters { transition: none; } }
