/* --- 底部组件样式（第二个脚部 qlbd-footer-2）--- */

.qlbd-footer-2 {
	background-color: #333333;
	color: #ffffff;
	font-size: 14px;
	line-height: var(--ql-line-height-base);
	padding: 40px 0 32px;
}

.qlbd-footer-2__container {
	max-width: var(--ql-container-width);
	width: 100%;
	margin: 0 auto;
	padding: 0 16px;
}

/* 顶部：Logo + 导航 + 社交 */
.qlbd-footer-2__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.qlbd-footer-2__logo a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	color: #ffffff;
	transition: opacity 0.2s ease;
}

/* 页脚 Logo：采用统一的 160 × 89 展示区域，替代浏览器内联调试样式。 */
.qlbd-footer-2__logo {
	flex: 0 0 160px;
	width: 160px;
	height: 89px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qlbd-footer-2__logo a {
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.qlbd-footer-2__logo a:hover {
	opacity: 0.85;
}

.qlbd-footer-2__logo-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: center;
}

.qlbd-footer-2__logo-text {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.04em;
}

.qlbd-footer-2__logo-sub {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.18em;
	margin-top: 4px;
	opacity: 0.9;
}

.qlbd-footer-2__nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
}

.qlbd-footer-2__nav-link {
	color: #ffffff;
	text-decoration: none;
	padding: 4px 0;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.qlbd-footer-2__nav-link:hover {
	opacity: 0.75;
}

.qlbd-footer-2__sep {
	color: rgba(255, 255, 255, 0.55);
	margin: 0 14px;
	user-select: none;
}

.qlbd-footer-2__social {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	flex-shrink: 0;
}

.qlbd-footer-2__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: #ffffff;
	cursor: default;
}

.qlbd-footer-2__social-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.qlbd-footer-2__social-link--taobao {
	position: relative;
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
}

.qlbd-footer-2__taobao-icon {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	color: #ffffff;
	background: #ff5000;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.qlbd-footer-2__taobao-qr {
	position: absolute;
	bottom: calc(100% + 12px);
	left: 50%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 144px;
	padding: 10px;
	color: #333333;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
	transform: translate(-50%, 8px);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.qlbd-footer-2__taobao-qr::after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	content: '';
	border: 6px solid transparent;
	border-top-color: #ffffff;
	transform: translateX(-50%);
}

.qlbd-footer-2__taobao-qr img {
	display: block;
	width: 120px;
	height: 120px;
	object-fit: contain;
}

.qlbd-footer-2__taobao-qr span { font-size: 12px; line-height: 1.2; }
.qlbd-footer-2__social-link--taobao:hover .qlbd-footer-2__taobao-qr,
.qlbd-footer-2__social-link--taobao:focus-visible .qlbd-footer-2__taobao-qr { transform: translate(-50%, 0); visibility: visible; opacity: 1; }

.qlbd-footer-2__social-link--taobao:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

/* 底部：公司信息 + 备案号 */
.qlbd-footer-2__bottom {
	padding-top: 24px;
	text-align: center;
}

.qlbd-footer-2__info {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.92);
}

.qlbd-footer-2__info-item {
	white-space: nowrap;
}

.qlbd-footer-2__icp {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

.qlbd-footer-2__beian-icon {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin: 0 4px 0 2px;
}

.qlbd-footer-2__beian-icon img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

/* 响应式 */
@media (max-width: 992px) {
	.qlbd-footer-2__top {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.qlbd-footer-2__logo a {
		align-items: center;
	}

	.qlbd-footer-2__logo {
		flex-basis: 89px;
	}

	.qlbd-footer-2__logo-img {
		object-position: center;
	}

	.qlbd-footer-2__nav {
		justify-content: center;
	}

	.qlbd-footer-2__social {
		justify-content: center;
		flex-wrap: wrap;
	}

	.qlbd-footer-2__taobao-qr { display: none; }
}

@media (max-width: 768px) {
	.qlbd-footer-2 {
		padding: 32px 0 24px;
	}

	.qlbd-footer-2__top {
		gap: 20px;
		padding-bottom: 28px;
	}

	.qlbd-footer-2__sep {
		margin: 0 8px;
	}

	.qlbd-footer-2__info {
		flex-direction: column;
		gap: 6px;
		width: 100%;
	}

	/* 地址等较长文本在手机端自动换行，避免撑出页面。 */
	.qlbd-footer-2__info-item {
		max-width: 100%;
		white-space: normal;
		word-break: break-word;
		text-align: center;
	}

	.qlbd-footer-2__info .qlbd-footer-2__sep {
		display: none;
	}

	.qlbd-footer-2__nav {
		row-gap: 8px;
	}
}
