/* Bamos Core - He thong cua hang */
.bamos-ch {
	--bch-ac: #e8862c;
	--bch-ac-d: #c97322;
	--bch-xanh: #1d6f6a;
	--bch-chu: #2f2a26;
	--bch-nhat: #6b625b;
	--bch-vien: #e6e1db;
	--bch-nen: #fff;
	--bch-bo: 12px;
	--bch-bo-nho: 8px;
	font-size: 15px;
	color: var(--bch-chu);
}

.bamos-ch *,
.bamos-ch *::before,
.bamos-ch *::after { box-sizing: border-box; }

.bamos-ch-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }

.bamos-ch-tim,
.bamos-ch-tinh {
	flex: 1 1 200px;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--bch-vien);
	border-radius: var(--bch-bo);
	background: var(--bch-nen);
	font: inherit;
	color: inherit;
}

.bamos-ch-tim:focus,
.bamos-ch-tinh:focus,
.bamos-ch-gan:focus-visible,
.bamos-ch-the:focus-visible {
	outline: 2px solid var(--bch-xanh);
	outline-offset: 2px;
}

.bamos-ch-gan {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--bch-bo);
	background: var(--bch-ac);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.bamos-ch-gan:hover { background: var(--bch-ac-d); }
.bamos-ch-gan[disabled] { opacity: .6; cursor: wait; }

.bamos-ch-than {
	display: grid;
	grid-template-columns: minmax(280px, 360px) 1fr;
	gap: 16px;
	align-items: start;
}

.bamos-ch-ds { max-height: 560px; overflow-y: auto; padding-right: 4px; }
.bamos-ch-dem { margin: 0 0 10px; font-size: 13px; color: var(--bch-nhat); }

.bamos-ch-khong,
.bamos-ch-trong {
	padding: 16px;
	border: 1px dashed var(--bch-vien);
	border-radius: var(--bch-bo);
	color: var(--bch-nhat);
}

.bamos-ch-the {
	display: flex;
	gap: 12px;
	padding: 12px;
	margin-bottom: 10px;
	border: 1px solid var(--bch-vien);
	border-radius: var(--bch-bo);
	background: var(--bch-nen);
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.bamos-ch-the:hover { border-color: var(--bch-ac); box-shadow: 0 2px 10px rgba(0,0,0,.06); }

.bamos-ch-the .anh { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border-radius: var(--bch-bo-nho); }
.bamos-ch-the .than { min-width: 0; }
.bamos-ch-the .ten { margin: 0 0 4px; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--bch-xanh); }

.bamos-ch-the .dia-chi,
.bamos-ch-the .kc,
.bamos-ch-the .meta,
.bamos-ch-the .nut { margin: 0 0 4px; font-size: 13px; line-height: 1.45; color: var(--bch-nhat); }

.bamos-ch-the .kc { color: var(--bch-ac); font-weight: 600; }
.bamos-ch-the .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bamos-ch-the .nut { display: flex; gap: 12px; }

.bamos-ch-the .dir,
.bamos-ch-the .more,
.bamos-ch-pop .dir { font-weight: 600; text-decoration: none; color: var(--bch-xanh); }

.bamos-ch-the .dir:hover,
.bamos-ch-the .more:hover,
.bamos-ch-pop .dir:hover { text-decoration: underline; }

.bamos-ch-map {
	width: 100%;
	min-height: 320px;
	border-radius: var(--bch-bo);
	overflow: hidden;
	border: 1px solid var(--bch-vien);
	z-index: 0;
}

.bamos-ch-pop { font-size: 13px; line-height: 1.5; min-width: 200px; }
.bamos-ch-pop p { margin: 2px 0; }
.bamos-ch-pop strong { font-size: 14px; color: var(--bch-xanh); }
.bamos-ch-pop .gio { color: var(--bch-ac); font-weight: 600; }

.bamos-ch-trang { padding: 32px 0 48px; }
.bamos-ch-trang-tieu-de { text-align: center; margin-bottom: 24px; }

@media (max-width: 849px) {
	.bamos-ch-than { grid-template-columns: 1fr; }
	.bamos-ch-ds { max-height: 420px; order: 2; }
	.bamos-ch-map { order: 1; height: 340px !important; min-height: 340px; }
	.bamos-ch-gan { flex: 1 1 100%; }
}

/* ===== Trang chi tiet mot cua hang ===== */
.bamos-ch-ct {
	--bch-ac: #e8862c;
	--bch-xanh: #1d6f6a;
	--bch-chu: #2f2a26;
	--bch-nhat: #6b625b;
	--bch-vien: #e6e1db;
	--bch-nen: #fff;
	--bch-bo: 12px;
	--bch-bo-nho: 8px;
	padding: 28px 0 48px;
	color: var(--bch-chu);
}

.bamos-ch-ct *,
.bamos-ch-ct *::before,
.bamos-ch-ct *::after { box-sizing: border-box; }

.bamos-ch-ct-ten { text-align: center; margin: 0 0 24px; }

.bamos-ch-ct-luoi {
	display: grid;
	grid-template-columns: minmax(300px, 420px) 1fr;
	gap: 24px;
	align-items: start;
}

.bamos-ch-ct-anh { margin: 0 0 16px; }

.bamos-ch-ct-anh img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--bch-bo);
	overflow: hidden;
}

.bamos-ch-ct-bang {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--bch-vien);
	border-radius: var(--bch-bo);
	overflow: hidden;
	background: var(--bch-nen);
	font-size: 14px;
}

.bamos-ch-ct-bang th,
.bamos-ch-ct-bang td {
	padding: 11px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--bch-vien);
	line-height: 1.5;
}

.bamos-ch-ct-bang tr:last-child th,
.bamos-ch-ct-bang tr:last-child td { border-bottom: 0; }

.bamos-ch-ct-bang th {
	width: 150px;
	font-weight: 600;
	color: var(--bch-nhat);
	background: #faf8f6;
	white-space: nowrap;
}

.bamos-ch-ct-bang th .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	vertical-align: -3px;
	color: var(--bch-ac);
}

.bamos-ch-ct-bang td a { color: var(--bch-xanh); text-decoration: none; font-weight: 600; }
.bamos-ch-ct-bang td a:hover { text-decoration: underline; }

.bamos-ch-ct-nut { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

.bamos-ch-ct-dir,
.bamos-ch-ct-ve {
	display: inline-block;
	padding: 11px 20px;
	border-radius: var(--bch-bo);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	line-height: 1.3;
}

.bamos-ch-ct-dir { background: var(--bch-ac); color: #fff; }
.bamos-ch-ct-dir:hover { filter: brightness(.94); color: #fff; }
.bamos-ch-ct-ve { border: 1px solid var(--bch-vien); color: var(--bch-xanh); background: var(--bch-nen); }
.bamos-ch-ct-ve:hover { border-color: var(--bch-xanh); }

.bamos-ch-mot {
	width: 100%;
	min-height: 320px;
	border-radius: var(--bch-bo);
	overflow: hidden;
	border: 1px solid var(--bch-vien);
	z-index: 0;
}

.bamos-ch-ct-noidung { margin-top: 28px; }

.bamos-ch-ct-noidung img {
	border-radius: var(--bch-bo);
	max-width: 100%;
	height: auto;
}

@media (max-width: 849px) {
	.bamos-ch-ct-luoi { grid-template-columns: 1fr; }
	.bamos-ch-mot { height: 320px !important; min-height: 320px; }
	.bamos-ch-ct-bang th { width: 118px; }
	.bamos-ch-ct-dir,
	.bamos-ch-ct-ve { flex: 1 1 100%; text-align: center; }
}
