/* KM Fashion — 页脚美化（对齐全站 #333 / #FEBC2A） */
.footer {
	position: relative;
	margin-top: 0 !important;
	background: linear-gradient(165deg, #161616 0%, #1c1c1c 45%, #111 100%) !important;
	color: rgba(255, 255, 255, 0.65) !important;
	clear: both;
}

.footer::before {
	content: "";
	display: block;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, #c9971a 18%, #FEBC2A 50%, #ffd05a 82%, transparent 100%);
}

.footer .footer-widgets-area.inner,
.footer .foot-bar .inner,
.footer .friend-links,
.footer > .inner {
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.footer .foot-widgets {
	display: flex;
	flex-wrap: wrap;
	margin: 0 !important;
	padding: 48px 0 28px !important;
	width: 100% !important;
}

.footer .foot-widgets .widget {
	float: none !important;
	display: block !important;
	width: 22% !important;
	padding: 0 18px 24px !important;
	margin: 0 !important;
	vertical-align: top;
	box-sizing: border-box !important;
	background: transparent !important;
}

.footer .foot-widgets .widget:first-child {
	width: 28% !important;
	padding-left: 0 !important;
}

.footer .foot-widgets .widget.km-footer-contact,
.footer .foot-widgets .widget:last-child {
	width: 28% !important;
	padding-right: 0 !important;
}

.footer .foot-widgets .widget-title {
	display: inline-block !important;
	margin: 0 0 18px !important;
	padding: 0 0 10px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff !important;
	border-bottom: 2px solid rgba(254, 188, 42, 0.55) !important;
	background: none !important;
	line-height: 1.3 !important;
}

.footer .foot-widgets .widget-title:before,
.footer .foot-widgets .widget-title:after {
	display: none !important;
}

.footer .foot-widgets .textwidget,
.footer .foot-widgets .textwidget p {
	margin: 0 0 10px !important;
	font-size: 14px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.58) !important;
}

.footer .foot-widgets .textwidget a,
.footer .foot-widgets .textwidget a:link,
.footer .foot-widgets .textwidget a:visited {
	color: rgba(255, 255, 255, 0.58) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.footer .foot-widgets .textwidget a:hover {
	color: #FEBC2A !important;
}

.footer .km-footer-about .textwidget p {
	max-width: 320px;
}

/* Quick links / Products */
.footer #text-4 .textwidget p,
.footer #text-5 .textwidget p {
	margin: 0 0 8px !important;
}

.footer #text-4 .textwidget a,
.footer #text-5 .textwidget a {
	display: inline-block;
	padding: 2px 0;
}

/* Contact list */
.footer .km-footer-contact-list {
	list-style: none !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
}

.footer .km-footer-contact-list li:before {
	display: none !important;
	content: none !important;
}

.footer .km-footer-contact-item {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px !important;
	padding: 0 !important;
	border: none !important;
	float: none !important;
	width: auto !important;
}

.footer .km-footer-ico {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #FEBC2A;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 1;
	margin-top: 2px;
}

.footer .km-footer-contact-body {
	min-width: 0;
	flex: 1;
}

.footer .km-footer-label {
	display: block;
	margin-bottom: 2px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
}

.footer .km-footer-value,
.footer .km-footer-value a {
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78) !important;
	word-break: break-word;
}

.footer .km-footer-value a:hover {
	color: #FEBC2A !important;
}

/* SNS */
.footer .km-footer-sns {
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .km-footer-sns-title {
	display: block;
	margin-bottom: 12px;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.footer .km-footer-sns-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.footer .km-footer-sns-link,
.footer .km-footer-sns-link:link,
.footer .km-footer-sns-link:visited {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	font-size: 15px;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer .km-footer-sns-link:hover {
	background: #FEBC2A !important;
	color: #1a1a1a !important;
	transform: translateY(-2px);
}

.footer .km-footer-qr {
	margin-top: 16px;
}

.footer .km-footer-qr img {
	width: 200px !important;
	max-width: 200px !important;
	height: auto !important;
	max-height: none !important;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: block;
}

/* Friend links */
.footer .friend-links {
	padding: 14px 24px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
}

.footer .friend-links a,
.footer .friend-links a:link,
.footer .friend-links a:visited {
	color: rgba(255, 255, 255, 0.55) !important;
	margin-right: 12px;
	text-decoration: none !important;
}

.footer .friend-links a:hover {
	color: #FEBC2A !important;
}

/* Copyright bar */
.footer .foot-bar {
	margin: 0 !important;
	padding: 18px 0 !important;
	background: rgba(0, 0, 0, 0.35) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.45) !important;
}

.footer .foot-bar .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer .foot-bar-lt {
	float: none !important;
	flex: 1 1 auto;
}

.footer .foot-bar-lt p {
	margin: 0 0 6px !important;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.45) !important;
}

.footer .km-footer-sitemap a,
.footer .km-footer-sitemap a:link,
.footer .km-footer-sitemap a:visited {
	display: inline-block;
	margin-right: 14px;
	color: rgba(255, 255, 255, 0.55) !important;
	text-decoration: none !important;
	font-size: 13px;
}

.footer .km-footer-sitemap a:hover {
	color: #FEBC2A !important;
}

.footer .km-footer-bar-sns {
	float: none !important;
	margin: 0 !important;
}

.footer .km-footer-bar-sns .flex {
	display: flex;
	gap: 10px;
	align-items: center;
}

.footer .km-footer-bar-sns a,
.footer .km-footer-bar-sns a:link,
.footer .km-footer-bar-sns a:visited {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0 !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease;
}

.footer .km-footer-bar-sns a:hover {
	background: #FEBC2A !important;
	color: #1a1a1a !important;
}

.footer .km-footer-bar-sns svg {
	display: none;
}

@media only screen and (max-width: 1100px) {
	.footer .foot-widgets .widget,
	.footer .foot-widgets .widget:first-child,
	.footer .foot-widgets .widget.km-footer-contact,
	.footer .foot-widgets .widget:last-child {
		width: 50% !important;
		padding: 0 12px 28px !important;
	}
}

@media only screen and (max-width: 768px) {
	/* 底栏固定层叠，勿再额外 margin 出一块空白 */
	.footer {
		margin-bottom: 0;
	}

	.footer .footer-widgets-area.inner,
	.footer > .inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.footer .foot-widgets {
		padding: 24px 0 8px !important;
		gap: 0;
	}

	.footer .foot-widgets .widget,
	.footer .foot-widgets .widget:first-child,
	.footer .foot-widgets .widget.km-footer-contact,
	.footer .foot-widgets .widget:last-child {
		width: 100% !important;
		padding: 0 0 16px !important;
	}

	.footer .foot-widgets .widget-title {
		margin: 0 0 10px !important;
		padding: 0 0 6px !important;
		font-size: 13px !important;
	}

	.footer .foot-widgets .textwidget,
	.footer .foot-widgets .textwidget p {
		margin: 0 0 6px !important;
		font-size: 13px !important;
		line-height: 1.55 !important;
	}

	.footer .km-footer-about .textwidget p {
		max-width: none;
	}

	.footer #text-4 .textwidget p,
	.footer #text-5 .textwidget p {
		margin: 0 0 4px !important;
	}

	.footer .km-footer-contact-list {
		margin: 0 0 10px !important;
	}

	.footer .km-footer-contact-item {
		gap: 10px;
		margin: 0 0 8px !important;
	}

	.footer .km-footer-ico {
		flex: 0 0 28px;
		width: 28px;
		height: 28px;
		font-size: 12px;
	}

	.footer .km-footer-label {
		font-size: 10px;
		margin-bottom: 1px;
	}

	.footer .km-footer-value,
	.footer .km-footer-value a {
		font-size: 13px;
		line-height: 1.4;
	}

	.footer .km-footer-sns {
		padding-top: 10px;
	}

	.footer .km-footer-sns-title {
		margin-bottom: 8px;
		font-size: 11px;
	}

	.footer .km-footer-sns-link,
	.footer .km-footer-sns-link:link,
	.footer .km-footer-sns-link:visited {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}

	.footer .km-footer-qr {
		margin-top: 10px;
	}

	.footer .km-footer-qr img {
		width: 96px !important;
		max-width: 96px !important;
	}

	.footer .foot-bar {
		padding: 10px 16px 12px !important;
		margin-bottom: 0 !important;
	}

	.footer .foot-bar-lt p {
		margin: 0 0 4px !important;
		font-size: 11px;
		line-height: 1.4;
	}

	.footer .km-footer-sitemap a,
	.footer .km-footer-sitemap a:link,
	.footer .km-footer-sitemap a:visited {
		margin-right: 10px;
		font-size: 11px;
	}

	.footer .km-footer-bar-sns .flex {
		gap: 8px;
	}

	.footer .km-footer-bar-sns a,
	.footer .km-footer-bar-sns a:link,
	.footer .km-footer-bar-sns a:visited {
		width: 28px;
		height: 28px;
	}

	.footer .foot-bar .inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
