/* Acre Largo Stockists. Colors and fonts match the site's Elementor kit; change them in the variables below. */

.als {
	--als-blue: #376FAE;
	--als-blue-dark: #2B5A8F;
	--als-ink: #231F1F;
	--als-cream: #EFE9DD;
	--als-paper: #F7F2EA;
	--als-terra: #BC6F4E;
	--als-terra-dark: #A35C3E;
	--als-gold: #DDCA6F;
	--als-muted: #6E6862;
	--als-line: rgba(35, 31, 31, .14);
	--als-display: "Hurme Geometric", "Jost", "Futura", "Century Gothic", sans-serif;
	--als-label: "Hurme Bold", "Hurme Geometric", "Jost", "Futura", sans-serif;
	--als-body: "Freight Text Pro", "Libre Caslon Text", Georgia, serif;
	--als-h: 640px;

	color: var(--als-ink);
	font-family: var(--als-body);
	font-size: 18px;
	line-height: 1.45;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 96px; /* Space between the map and whatever follows (the footer border). */
}
.als *, .als *::before, .als *::after { box-sizing: border-box; }

/* Page heading, matching the Our Tequilas title. */
.als .als-title {
	margin: 0 0 40px;
	padding: 0;
	font-family: var(--als-display);
	font-weight: 400;
	font-size: 64px;
	line-height: 1.1;
	letter-spacing: -0.6px;
	text-transform: uppercase;
	text-align: center;
	color: var(--als-blue);
}

.als-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The Hello theme styles every <button> pink. These rules put ours back to neutral first. */
.als button,
.als button:hover,
.als button:focus {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-transform: none;
	text-decoration: none;
	text-align: inherit;
	white-space: normal;
	cursor: pointer;
}
.als button:focus-visible,
.als a:focus-visible,
.als input:focus-visible {
	outline: 2px solid var(--als-terra);
	outline-offset: 2px;
}

/* ---------- Search + Near me ---------- */

.als-bar {
	display: flex;
	gap: 12px;
	align-items: stretch;
	margin-bottom: 14px;
}
.als-search {
	flex: 1;
	position: relative;
	display: block;
	margin: 0;
}
.als-search-icon {
	position: absolute; left: 16px; top: 50%;
	width: 20px; height: 20px; margin-top: -10px;
	color: var(--als-blue);
	pointer-events: none;
}
.als .als-q,
.als .als-q:focus {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px 0 46px;
	background: #fff;
	border: 1px solid var(--als-blue);
	border-radius: 0;
	box-shadow: none;
	color: var(--als-ink);
	font-family: var(--als-body);
	font-size: 18px;
	outline: none;
}
.als .als-q::placeholder { color: var(--als-muted); opacity: 1; }
.als .als-q:focus { border-color: var(--als-terra); box-shadow: inset 0 0 0 1px var(--als-terra); }

.als .als-btn,
.als .als-btn:hover,
.als .als-btn:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	background: var(--als-terra);
	color: #fff;
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .28em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .15s ease;
}
.als .als-btn:hover { background: var(--als-terra-dark); }
.als .als-btn svg { width: 20px; height: 20px; flex: none; }
.als .als-btn.is-on { background: var(--als-blue); }
.als .als-btn.is-loading svg { animation: als-spin 1s linear infinite; }
@keyframes als-spin { to { transform: rotate(360deg); } }

/* ---------- Filter chips ---------- */

.als-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	align-items: center;
	margin-bottom: 18px;
}
.als-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.als-types { padding-right: 28px; border-right: 1px solid var(--als-line); }
.als-states[hidden], .als-states:empty { display: none; }
.als-states:empty ~ .als-none, .als-filters:has(.als-states:empty) .als-types { border-right: 0; }

.als .als-chip,
.als .als-chip:hover,
.als .als-chip:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px 8px;
	border: 1px solid var(--als-blue);
	background: transparent;
	color: var(--als-blue);
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: .22em;
	text-transform: uppercase;
	transition: background-color .15s ease, color .15s ease;
}
.als .als-chip:hover { background: rgba(55, 111, 174, .08); }
.als .als-chip.is-on,
.als .als-chip.is-on:hover {
	background: var(--als-blue);
	color: #fff;
}
/* State dropdown (used when there are more than 6 states). */
.als-select {
	position: relative;
	display: block;
	margin: 0;
}
.als-select::after {
	content: "";
	position: absolute; right: 16px; top: 50%;
	width: 7px; height: 7px; margin-top: -6px;
	border-right: 1.5px solid var(--als-blue);
	border-bottom: 1.5px solid var(--als-blue);
	transform: rotate(45deg);
	pointer-events: none;
}
.als .als-select select,
.als .als-select select:focus {
	appearance: none;
	-webkit-appearance: none;
	min-width: 240px;
	height: 38px;
	margin: 0;
	padding: 0 42px 0 16px;
	border: 1px solid var(--als-blue);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--als-blue);
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	cursor: pointer;
}
.als .als-select select:focus-visible { outline: 2px solid var(--als-terra); outline-offset: 2px; }

.als-chip-n {
	font-family: var(--als-body);
	font-weight: 400;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0;
	opacity: .75;
}

/* Diamonds in the filters and list, echoing the ◆ in the site's menu.
   Terracotta = buy a bottle, blue = drink it here, half and half = both. */
.als-dot {
	display: inline-block;
	width: 10px; height: 10px;
	flex: none;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	margin-top: -1px;
}
.als-dot--retail { background: var(--als-terra); }
.als-dot--bar { background: var(--als-blue); }
.als .als-chip.is-on .als-dot--bar { background: #fff; }

/* ---------- Layout ---------- */

.als-body {
	display: grid;
	grid-template-columns: minmax(300px, 38%) 1fr;
	height: var(--als-h);
	border: 1px solid var(--als-blue);
	background: var(--als-paper);
}
.als-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	border-right: 1px solid var(--als-blue);
	background: var(--als-paper);
}
.als-map {
	min-height: 0;
	height: 100%;
	background: var(--als-cream);
	z-index: 0; /* Keep Leaflet's layers under the site's sticky header. */
}

.als-panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 24px 14px;
	border-bottom: 1px solid var(--als-line);
}
.als-panel-title {
	font-family: var(--als-display);
	font-weight: 300;
	font-size: 28px;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--als-blue);
}
.als-count {
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--als-terra);
	white-space: nowrap;
}

.als-msg {
	margin: 0;
	padding: 12px 24px;
	background: rgba(221, 202, 111, .28);
	font-size: 16px;
}

/* ---------- List ---------- */

.als .als-list {
	flex: 1;
	min-height: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(55,111,174,.4) transparent;
}
.als .als-item {
	position: relative;
	margin: 0;
	padding: 18px 24px 16px 28px;
	border-bottom: 1px solid var(--als-line);
	transition: background-color .15s ease;
}
.als .als-item::before {
	content: "";
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 4px;
	background: transparent;
	transition: background-color .15s ease;
}
.als .als-item:hover { background: rgba(255, 255, 255, .6); }
.als .als-item.is-active { background: #fff; }
.als .als-item.is-active::before { background: var(--als-terra); }

.als .als-item-main,
.als .als-item-main:hover,
.als .als-item-main:focus {
	display: block;
	width: 100%;
	text-align: left;
}

.als-type {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 12px;
	margin-bottom: 8px;
	line-height: 1;
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 10.5px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--als-muted);
}
.als-type::before {
	content: "";
	flex: none;
	width: 10px; height: 10px;
	margin-top: -1px; /* Centers on the capital letters rather than the line box. */
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	background: var(--als-terra);
}
.als-type--bar::before { background: var(--als-blue); }
.als-type--both::before { background: linear-gradient(90deg, var(--als-terra) 50%, var(--als-blue) 50%); }

.als-dist {
	float: right;
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .14em;
	color: var(--als-terra);
}

.als .als-name {
	display: block;
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--als-ink);
}
.als .als-addr {
	display: block;
	margin-top: 4px;
	font-family: var(--als-body);
	font-size: 17px;
	line-height: 1.35;
	color: var(--als-ink);
}

.als .als-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-top: 10px;
}
.als .als-links a,
.als .als-links a:hover {
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--als-blue);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.als .als-links a:hover { border-bottom-color: currentColor; }
.als .als-links a:first-child::after { content: " \2192"; letter-spacing: 0; }

.als-empty {
	padding: 28px 24px;
	text-align: center;
}
.als-empty[hidden] { display: none; }
.als-empty p { margin: 0 0 10px; font-size: 18px; }
.als .als-link,
.als .als-link:hover {
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--als-blue);
	border-bottom: 1px solid currentColor;
}

.als .als-shop,
.als .als-shop:hover {
	display: block;
	padding: 16px 24px;
	border-top: 1px solid var(--als-blue);
	background: var(--als-cream);
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--als-blue);
	text-decoration: none;
	text-align: center;
}
.als .als-shop:hover { background: var(--als-blue); color: #fff; }

/* ---------- Map pieces ---------- */

/* Quiet, nearly colorless map with a hint of warmth, so the dots stand out. */
.als--tint .leaflet-tile-pane {
	filter: grayscale(.9) sepia(.14) contrast(1.02);
}

/* Location dots. The 24px box is the click area; the dot inside is 14px. */
.als-pin span {
	display: block;
	width: 14px; height: 14px;
	margin: 5px;
	border-radius: 50%;
	background: var(--als-terra);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(35, 31, 31, .4);
	transition: transform .15s ease;
}
.als-pin--bar span { background: var(--als-blue); }
.als-pin--both span { background: linear-gradient(90deg, var(--als-terra) 50%, var(--als-blue) 50%); }
.als-pin:hover span { transform: scale(1.2); }
.als-pin.is-active span { transform: scale(1.5); border-color: var(--als-ink); }

/* Numbered groups. */
.als-cluster {
	background: transparent;
}
.als-cluster span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; height: 100%;
	border-radius: 50%;
	background: var(--als-ink);
	border: 3px solid #fff;
	box-shadow: 0 0 0 4px rgba(35, 31, 31, .14), 0 1px 4px rgba(35, 31, 31, .35);
	color: #fff;
	font-family: var(--als-label);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .04em;
	line-height: 1;
	padding-top: 1px;
	transition: transform .15s ease;
}
.als-cluster:hover span { transform: scale(1.08); }

.als-you span {
	display: block;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--als-blue);
	border: 3px solid #fff;
	box-shadow: 0 0 0 6px rgba(55, 111, 174, .25);
}

.als .leaflet-container {
	font-family: var(--als-body);
	background: var(--als-cream);
}
.als .leaflet-bar { border: 1px solid var(--als-blue); border-radius: 0; box-shadow: none; }
.als .leaflet-bar a,
.als .leaflet-bar a:hover {
	width: 34px; height: 34px; line-height: 34px;
	border-radius: 0 !important;
	border-bottom-color: var(--als-line);
	background: #fff;
	color: var(--als-blue);
	font-family: var(--als-display);
	font-weight: 300;
	text-decoration: none;
}
.als .leaflet-bar a:hover { background: var(--als-cream); }
.als .leaflet-control-attribution {
	background: rgba(247, 242, 234, .85);
	font-family: system-ui, sans-serif;
	font-size: 10px;
}
.als .leaflet-control-attribution a { color: var(--als-blue); }

.als .als-popup .leaflet-popup-content-wrapper {
	border-radius: 0;
	background: var(--als-paper);
	border: 1px solid var(--als-blue);
	box-shadow: 0 6px 20px rgba(35, 31, 31, .18);
}
.als .als-popup .leaflet-popup-tip { background: var(--als-paper); border: 1px solid var(--als-blue); box-shadow: none; }
.als .als-popup .leaflet-popup-content { margin: 16px 18px 14px; line-height: 1.35; }
.als .als-popup a.leaflet-popup-close-button { color: var(--als-blue); }
.als-pop .als-name { padding-right: 12px; }
.als-pop .als-addr { font-size: 16px; }

/* ---------- Phones + small tablets ---------- */

@media (max-width: 860px) {
	.als { margin-bottom: 56px; }
	.als .als-title { font-size: 42px; margin-bottom: 28px; }
	.als-bar { flex-wrap: wrap; }
	.als-search { flex: 1 1 100%; }
	.als .als-btn { flex: 1 1 100%; }

	.als-filters { gap: 10px; }
	.als-types { padding-right: 0; border-right: 0; }
	.als-chips { width: 100%; }
	.als-types { gap: 6px; }
	.als-states { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
	.als-states--select { overflow: visible; }
	.als-states--select .als-select,
	.als .als-states--select .als-select select { width: 100%; }
	.als-states::-webkit-scrollbar { display: none; }
	.als .als-chip,
	.als .als-chip:hover,
	.als .als-chip:focus { flex: none; padding: 9px 11px 8px; letter-spacing: .14em; }

	.als-body {
		display: flex;
		flex-direction: column-reverse;
		height: auto;
	}
	.als-map { height: 380px; flex: none; }
	.als-panel { border-right: 0; border-top: 1px solid var(--als-blue); }
	.als .als-list { max-height: 520px; }
	.als-panel-title { font-size: 24px; }
	.als-panel-head { padding: 18px 18px 12px; }
	.als .als-item { padding: 16px 18px 10px 22px; }

	/* Bigger text and tap areas for Directions / phone / website on phones */
	.als-type { font-size: 11px; }
	.als .als-links { gap: 0 20px; margin-top: 4px; }
	.als .als-links a,
	.als .als-links a:hover { display: inline-block; padding: 9px 0; font-size: 12px; }
	.als-count { font-size: 12px; }
	.als .als-shop,
	.als .als-shop:hover { padding: 18px; font-size: 12px; }
}
