/* ==========================================================================
   FUGA — Tiêu đề trang + Bản đồ cửa hàng (Leaflet)
   ========================================================================== */
.fg-heading__title { max-width: 768px; font-size: round(nearest, calc(20.831px + 1.165vw), 1px); line-height: calc(1.5 * (20.831px + 1.165vw)); letter-spacing: .01em; font-weight: 400; text-wrap: balance; }

.fg-sloc { padding-top: 8px; padding-bottom: clamp(48px, calc(5vw - 16px), 56px); color: #000; }
.fg-sloc__shell {
	position: relative; display: grid; grid-template-columns: 420px minmax(0, 1fr); grid-template-rows: 44px 854px;
	background: #fff; border: 1px solid #000;
}
.fg-sloc__bar { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 420px minmax(0, 1fr) auto; border-bottom: 1px solid #000; height: 44px; }
.fg-sloc__bar .fg-sloc__field, .fg-sloc__bar .fg-sloc__locate { height: 43px; }
.fg-sloc__near { border-right: 1px solid #000; }
.fg-sloc__field {
	display: block; width: 100%; height: 44px; padding: 0 14px; margin: 0;
	font-size: 14px; line-height: 44px; letter-spacing: normal; color: #000;
	background: transparent; border: 0; border-radius: 0; outline: none; -webkit-appearance: none; appearance: none;
}
.fg-sloc__field::placeholder { color: rgba(0, 0, 0, .48); }
.fg-sloc__field::-webkit-search-cancel-button { cursor: pointer; }
.fg-sloc__field--kw { padding-left: 58px; }
.fg-sloc__locate { grid-column: 3; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; font-size: 14px; letter-spacing: normal; color: rgb(114, 191, 68); white-space: nowrap; }
.fg-sloc__locate svg { flex: none; width: 19px; height: 19px; }
.fg-sloc__locate:hover span { text-decoration: underline; }
.fg-sloc__toggle {
	position: absolute; z-index: 1001; top: 44px; left: 0; display: grid; place-items: center; width: 44px; height: 44px;
	color: #000; background: #fff; border-right: 1px solid #000; border-bottom: 1px solid #000;
}
.fg-sloc__toggle .fg-icon { width: 20px; height: 20px; transition: transform .3s; }
.fg-sloc__panel { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: 45px minmax(0, 1fr); min-height: 0; border-right: 1px solid #000; }
.fg-sloc__filter { border-bottom: 1px solid #000; }
.fg-sloc__list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.fg-sloc__list > li { padding-left: 8.75px; }
.fg-sloc__store {
	display: grid; gap: 3px; width: 100%; padding: 17px 22px; text-align: left;
	font-size: 13px; line-height: 1.45; letter-spacing: normal; color: #000; border-bottom: 1px solid #000;
	transition: background-color .2s;
}
.fg-sloc__store:hover, .fg-sloc__store.is-active { background: #f6f7f9; }
.fg-sloc__store > span { display: block; }
.fg-sloc__store-head { display: flex !important; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 6px; }
.fg-sloc__store-head strong { display: block; font-size: 15px; line-height: 1.22; font-weight: 700; text-transform: uppercase; }
.fg-sloc__dist { flex: none; font-size: 13px; color: rgba(0, 0, 0, .6); }
.fg-sloc__empty { padding: 17px 22px; font-size: 13px; }
.fg-sloc__map { grid-column: 2; grid-row: 2; min-height: 0; z-index: 0; background: #e5e3df; }
.fg-sloc__map--dark { background: rgb(32, 35, 39); }
.fg-sloc__map--dark .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.9) grayscale(.18); }
.fg-sloc__status { position: absolute; right: 12px; bottom: 30px; z-index: 1001; max-width: calc(100% - 24px); font-size: 13px; }
.fg-sloc__status:not(:empty) { padding: 6px 10px; background: #fff; border: 1px solid #000; }
.fg-sloc__shell.is-collapsed .fg-sloc__panel { display: none; }
.fg-sloc__shell.is-collapsed .fg-sloc__map { grid-column: 1 / -1; }
.fg-sloc__shell.is-collapsed .fg-sloc__toggle .fg-icon { transform: rotate(180deg); }

/* Điểm và cụm điểm trên bản đồ */
.fg-sloc-pin span { display: block; width: 22px; height: 22px; background: #000; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.fg-sloc-cluster span { display: grid; place-items: center; width: 40px; height: 40px; font-size: 13px; font-weight: 700; color: #fff; background: #000; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.fg-sloc-pop { display: grid; gap: 3px; font-size: 13px; line-height: 1.45; color: #000; }
.fg-sloc-pop strong { margin-bottom: 4px; font-size: 14px; text-transform: uppercase; }
.fg-sloc-pop a { color: #000; text-decoration: underline; }
.fg-sloc-pop__dir { margin-top: 6px; font-weight: 700; }
.fg-sloc .leaflet-container { font-family: var(--fg-font); }
.fg-sloc .leaflet-top.leaflet-right { top: 56px; }
.fg-sloc .leaflet-control-zoom.leaflet-bar { box-shadow: 0 1px 5px rgba(0, 0, 0, .35); }
.fg-sloc .leaflet-bar a { color: #111; }
.fg-sloc .leaflet-control-attribution a { color: inherit; }

@media (max-width: 699px) {
	.fg-sloc { padding-bottom: 32px; }
	.fg-sloc__shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: 400px 44px auto; }
	.fg-sloc__map { grid-column: 1; grid-row: 1; }
	.fg-sloc__bar { grid-row: 2; grid-template-columns: minmax(0, 1fr) auto; }
	.fg-sloc__locate { grid-column: 2; }
	.fg-sloc__toggle { top: 444px; }
	.fg-sloc__panel { grid-row: 3; border-right: 0; }
	.fg-sloc__list { max-height: 420px; }
	.fg-sloc__shell.is-collapsed .fg-sloc__panel { display: grid; grid-template-rows: 45px 0; }
	.fg-sloc__shell.is-collapsed .fg-sloc__map { grid-column: 1; }
}
