/* Blibli Store Locator — styling sesuai mockup */

.bsl-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a1a;
}

/* ---------- Hero section ---------- */
.bsl-hero {
	text-align: center;
	padding: 0;
	border-radius: 4px;
	margin-top: -110px;
}

.bsl-title {
	font-size: 40px;
	font-weight: 800;
	margin: 0 0 8px;
	color: #111;
}

.bsl-subtitle {
	font-size: 17px;
	color: #444;
	margin: 0 0 28px;
}

/* ---------- Filter kategori (tombol brand) ---------- */
.bsl-category-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 24px;
}

.bsl-category-pill {
	appearance: none;
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 9px 20px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	color: #fff;
	background: #9ca3af; 
	transition: transform 0.1s ease, box-shadow 0.15s ease;
	line-height: 1.2;
}

.bsl-category-pill:hover {
	transform: translateY(-1px);
}

.bsl-category-pill.is-active {
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18);
}

.bsl-pill-all {
	background: #fff;
	color: #111;
	border: 1.5px solid #111;
}

.bsl-pill-all.is-active {
	background: #111;
	color: #fff;
	box-shadow: none;
}

.bsl-search-box {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-top-right-radius: 10px!important;
    border-top-left-radius: 10px!important;
}

.bsl-search-input {
	width: 100%!important;
	box-sizing: border-box!important;
	border: none!important;
	background: transparent!important;
	padding: 12px 48px 12px 20px!important;
	font-size: 16px!important;
	outline: none!important;
}

.bsl-search-input::placeholder {
	color: #9a9a9a;
}

.bsl-geo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 640px;
	width: 100%;
	background: #111;
	color: #fff;
	border: none;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
	border-bottom-right-radius: 10px!important;
 border-bottom-left-radius: 10px!important;
}

.bsl-geo-btn:hover {
	background: #000;
}

.bsl-geo-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.bsl-geo-icon {
	display: inline-flex;
	align-items: center;
	color: #fff; /* ikon mengikuti warna teks tombol (putih) lewat currentColor */
}

.bsl-geo-icon svg {
	display: block;
}

/* ---------- Results / Table ---------- */
.bsl-results {
	padding: 32px 12px 48px;
}

.bsl-table {
	width: 100%;
}

.bsl-results-count {
	color: #9a9a9a;
	font-size: 14px;
	margin: 0 0 8px;
	padding: 0 12px;
}

.bsl-table-head {
	display: grid;
	grid-template-columns: 0.7fr 1.1fr 0.9fr 0.9fr 1.4fr 1.7fr;
	gap: 12px;
	padding: 12px 12px 16px;
	color: #9a9a9a;
	font-weight: 600;
	font-size: 15px;
	border-bottom: 1px solid #e5e5e5;
}

.bsl-row {
	display: grid;
	grid-template-columns: 0.7fr 1.1fr 0.9fr 0.9fr 1.4fr 1.7fr;
	gap: 12px;
	align-items: center;
	padding: 18px 12px;
	border-bottom: 1px solid #ececec;
}

.bsl-row:hover {
	background: #fafafa;
}

.bsl-col {
	font-size: 15px;
	line-height: 1.4;
}

.bsl-col-foto {
	display: flex;
	align-items: center;
}

.bsl-col-kategori {
	display: flex;
	align-items: center;
}

.bsl-brand-badge {
	display: inline-block;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	line-height: 1.3;
	white-space: nowrap;
	border: 1.5px solid transparent;
}

.bsl-thumb.bsl-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b5b5b5;
	background: #f2f2f2;
}

.bsl-thumb {
	width: 120px;
	height: 85px!important;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
	background: #111;
}

.bsl-col-alamat a {
	color: #2563eb;
	text-decoration: none;
}

.bsl-col-alamat a:hover {
	text-decoration: underline;
}

.bsl-pin {
	display: inline-flex;
	align-items: center;
	margin-right: 4px;
	color: #6b7280;
	vertical-align: -2px;
}

.bsl-pin svg {
	display: block;
}

.bsl-coming-soon {
	color: #b5871a;
	background: #fff6e0;
	border: 1px solid #f0dca0;
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 13px;
	font-weight: 700;
	display: inline-block;
}

.bsl-empty {
	text-align: center;
	padding: 60px 20px;
	color: #888;
	font-size: 15px;
}

/* ---------- Pagination ---------- */
.bsl-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.bsl-page-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.bsl-page-btn:hover {
	border-color: #111;
}

.bsl-page-btn.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
}

.bsl-page-gap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #9a9a9a;
	font-size: 14px;
	user-select: none;
}

.bsl-page-next {
	border: none;
	background: none;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	padding: 6px 4px;
}

.bsl-page-next:hover {
	text-decoration: underline;
}

/* ---------- Loading state ---------- */
.bsl-results.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
	.bsl-title {
		font-size: 28px;
	}

	.bsl-table-head {
		display: none;
	}

	.bsl-row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 16px 12px;
	}

	.bsl-col::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 600;
		color: #9a9a9a;
		margin-bottom: 2px;
	}

	.bsl-col-foto::before {
		display: none;
	}
	
	@media (max-width: 800px) {
	.bsl-category-filters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		padding: 0 4px 6px; /* ruang kecil biar shadow/scrollbar tidak kepotong */
		margin: 0 0 20px;

		/* sembunyikan scrollbar tapi tetap bisa discroll/swipe */
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE/Edge lama */
	}

	.bsl-category-filters::-webkit-scrollbar {
		display: none; /* Chrome, Safari */
	}

	.bsl-category-pill {
		flex-shrink: 0; /* supaya tombol tidak mengecil/terpotong saat di-scroll */
		scroll-snap-align: start;
	}
.bsl-brand-badge {
	display: inline-block;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	line-height: 1.3;
	white-space: nowrap;
	margin-left: 15px;
}
}
