/**
 * 全站页脚 — 自 product03.html 提取（三栏、品牌联系 / Company / 社交+营业时间）
 * 变量独立，不依赖页面 :root
 *
 * @package KadenceChild
 */

.site-footer {
	--sf-white: #ffffff;
	--sf-text: #1e1b14;
	--sf-text-muted: #6b6058;
	--sf-text-light: #9e9088;
	--sf-accent: #8b5c2e;
	--sf-accent-light: #f5ede3;
	--sf-bg-alt: #f2eae0;
	--sf-border: #ddd0c3;
	--sf-border-light: #eae3d8;
	--sf-radius: 4px;
	--sf-max: 1280px;
}

.site-footer {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	background: var(--sf-white);
	border-top: 3px solid #7b9e77;
	padding: 52px 0 28px;
	color: var(--sf-text-muted);
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
	box-sizing: border-box;
}

.site-footer .footer-inner {
	max-width: var(--sf-max);
	margin: 0 auto;
	padding: 0 20px;
}

.site-footer .footer-top {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1.4fr;
	gap: 48px;
	margin-bottom: 40px;
}

.site-footer .footer-brand .logo {
	display: block;
	font-size: 18px;
	color: var(--sf-text);
	margin-bottom: 12px;
	text-decoration: none;
	line-height: 0;
	border-radius: 4px;
}

.site-footer .footer-brand .logo:focus-visible {
	outline: 2px solid var(--sf-accent);
	outline-offset: 4px;
}

.site-footer .footer-brand .logo.logo--img {
	max-width: min(280px, 100%);
}

.site-footer .footer-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: clamp(40px, 6.5vw, 52px);
	object-fit: contain;
	object-position: left center;
}

.site-footer .footer-brand p {
	font-size: 13px;
	line-height: 1.75;
	color: var(--sf-text-muted);
}

.site-footer .footer-cert-line {
	margin-top: 12px;
	font-size: 11px;
	color: var(--sf-text-muted);
	letter-spacing: 0.3px;
}

.site-footer .footer-brand-contacts {
	margin-top: 18px;
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 10px;
	row-gap: 8px;
	align-items: start;
}

.site-footer .footer-contact-item {
	display: contents;
}

.site-footer .footer-contact-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--sf-text);
	white-space: nowrap;
	padding-top: 2px;
}

.site-footer .footer-contact-value {
	font-size: 13px;
	color: var(--sf-text-muted);
	line-height: 1.6;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.site-footer .footer-contact-value a {
	color: var(--sf-text-muted);
	transition: color 0.2s;
	text-decoration: none;
}

.site-footer .footer-contact-value a:hover {
	color: var(--sf-accent);
}

.site-footer .footer-col h3 {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--sf-text);
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--sf-border-light);
}

.site-footer .footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .footer-col ul li {
	margin-bottom: 8px;
}

.site-footer .footer-col ul li a {
	font-size: 13px;
	color: var(--sf-text-muted);
	transition: color 0.2s;
	text-decoration: none;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.site-footer .footer-col ul li a:hover {
	color: var(--sf-accent);
}

.site-footer .footer-social {
	margin-top: 20px;
}

.site-footer .footer-social-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--sf-text);
	margin-bottom: 12px;
}

.site-footer .footer-social-icons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.site-footer .footer-social-btn {
	width: 36px;
	height: 36px;
	border-radius: var(--sf-radius);
	background: var(--sf-bg-alt);
	border: 1px solid var(--sf-border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
	text-decoration: none;
	color: var(--sf-text-muted);
}

.site-footer .footer-social-btn:hover {
	background: var(--sf-accent-light);
	border-color: var(--sf-accent);
	transform: translateY(-2px);
	color: var(--sf-accent);
}

.site-footer .footer-social-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	transition: fill 0.2s, color 0.2s;
	flex-shrink: 0;
}

.site-footer .footer-social-btn:hover svg {
	fill: currentColor;
}

.site-footer .footer-hours {
	margin-top: 20px;
}

.site-footer .footer-hours-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--sf-text);
	margin-bottom: 10px;
}

.site-footer .footer-hours-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 5px 0;
	border-bottom: 1px solid var(--sf-border-light);
	font-size: 12px;
}

/* 最后一行营业时间上方分隔线保留；与底部时段说明之间的行间分隔去掉 */
.site-footer .footer-hours .footer-hours-row:nth-last-child(2) {
	border-bottom: none;
}

.site-footer .footer-hours-day {
	color: var(--sf-text-muted);
}

.site-footer .footer-hours-time {
	color: var(--sf-text);
	font-weight: 600;
}

.site-footer .footer-hours-time--muted {
	color: var(--sf-text-light);
	font-weight: 600;
}

.site-footer .footer-hours-tz {
	font-size: 11px;
	color: var(--sf-text-light);
	margin-top: 8px;
}

.site-footer .footer-bottom {
	border-top: 1px solid var(--sf-border-light);
	padding-top: 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
	font-size: 12px;
}

.site-footer .footer-bottom a {
	color: var(--sf-text-muted);
	text-decoration: none;
	transition: color 0.2s;
}

.site-footer .footer-bottom a:hover {
	color: var(--sf-accent);
}

@media (max-width: 768px) {
	.site-footer .footer-top {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer .footer-brand {
		grid-column: 1 / -1;
	}

	.site-footer .footer-logo-img {
		max-height: clamp(36px, 9vw, 48px);
	}
}

@media (max-width: 480px) {
	.site-footer .footer-top {
		grid-template-columns: 1fr;
	}

	.site-footer .footer-brand {
		grid-column: auto;
	}

	.site-footer .footer-brand .logo.logo--img {
		max-width: min(240px, 88vw);
	}

	.site-footer .footer-logo-img {
		max-height: 38px;
	}
}
