.fat-toolbar {
	position: fixed;
	z-index: 99999;
	display: flex;
	background: transparent;
	box-sizing: border-box;
}

.fat-toolbar,
.fat-toolbar * {
	box-sizing: border-box;
}

/* ---------- Vertical layout (side = left / right) ---------- */
.fat-toolbar.fat-vertical {
	flex-direction: column;
	width: 84px;
}

.fat-toolbar.fat-vertical .fat-btn {
	border-bottom: 1px solid #e5e5e5;
}
.fat-toolbar.fat-vertical .fat-btn:last-child {
	border-bottom: none;
}

/* ---------- Horizontal layout (side = top / bottom) ---------- */
.fat-toolbar.fat-horizontal {
	flex-direction: row;
	height: 76px;
}

.fat-toolbar.fat-horizontal .fat-btn {
	border-right: 1px solid #e5e5e5;
	flex: 1 1 0;
}
.fat-toolbar.fat-horizontal .fat-btn:last-child {
	border-right: none;
}

/* ---------- Individual button ---------- */
.fat-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 6px;
	background: #ffffff;
	color: #444444;
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	transition: background-color 0.15s ease, transform 0.15s ease;
	min-width: 0;
}

.fat-btn:hover {
	background: #f6f6f6;
	color: #222222;
}

.fat-btn-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fat-btn-icon img {
	max-width: 100%;
	max-height: 100%;
	display: block;
}

.fat-btn-icon-placeholder {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #999999;
}

.fat-btn-label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 100%;
}

/* Highlighted / CTA button (e.g. "GỌI NGAY") */
.fat-btn--highlight {
	background: #e2211c;
	color: #ffffff;
}
.fat-btn--highlight:hover {
	background: #c81c18;
	color: #ffffff;
}
.fat-btn--highlight .fat-btn-icon-placeholder {
	color: #ffffff;
}

/* Shadow so the toolbar reads as "floating" above page content */
.fat-toolbar {
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
	border-radius: 8px;
	overflow: hidden;
}
.fat-toolbar.fat-horizontal {
	border-radius: 0;
}

@media (max-width: 782px) {
	.fat-toolbar.fat-horizontal {
		height: 68px;
	}
	.fat-btn-label {
		font-size: 10px;
	}
}
