/* ========== 公共样式 & 变量 ========== */
:root {
	--color-primary: #e85d04;
	--color-primary-dark: #d45103;
	--color-primary-light: #f48c06;
	--color-text: #2d2d2d;
	--color-text-light: #5c5c5c;
	--color-bg: #ffffff;
	--color-bg-gray: #f5f5f5;
	--color-header: #1a1a1a;
	--color-wa: #25d366;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--container-gutter: 32px;
	--header-height: 76px;
	--partner-bar-height: 44px;
	--transition: 0.25s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0 0 0.5em;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, p:last-child {
	margin-bottom: 0;
}

/* 容器：占满宽度，左右各留 32px */
.container {
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--container-gutter);
}

/* ========== Header 顶部导航 ========== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-bg);
	box-shadow: 0 1px 0 rgba(0,0,0,0.08);
	overflow: visible;
}

.header-main {
	position: relative;
	height: var(--header-height);
	display: flex;
	align-items: center;
	overflow: visible;
}

.header-inner {
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--container-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site-header .logo {
	display: inline-block;
	text-decoration: none;
}

.site-header .logo:hover {
	text-decoration: none;
}

.site-header .logo img {
	display: block;
	height: 36px;
	width: auto;
	vertical-align: middle;
}

.nav-main {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-item {
	position: relative;
}

.nav-item > a {
	display: block;
	padding: 8px 0;
	font-size: 0.95rem;
	color: var(--color-text);
}

.nav-item:hover > a {
	color: var(--color-primary);
	text-decoration: none;
}

/* Mega 下拉菜单：显示在对应一级菜单正下方，宽度由各列内容决定 */
.nav-mega {
	position: absolute;
	left: 0;
	top: 100%;
	width: max-content;
	max-width: calc(100vw - 2 * var(--container-gutter));
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	z-index: 101;
	padding: 24px 0;
	display: none;
	max-height: 70vh;
	overflow-y: auto;
	box-sizing: border-box;
}

.nav-item:hover .nav-mega {
	display: block;
}

.nav-mega-inner {
	padding: 0 30px;
	width: max-content;
	display: flex;
	gap: 0;
}

.nav-mega-col {
	flex: 0 0 auto;
	min-width: 130px;
	padding: 0 20px;
	border-right: 1px solid #e8e8e8;
}

.nav-mega-col:first-child {
	padding-left: 0;
}

.nav-mega-col:last-child {
	border-right: none;
	padding-right: 0;
}

.nav-mega-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 12px;
	line-height: 1.3;
}

.nav-mega-title a {
	color: inherit;
	text-decoration: none;
}

.nav-mega-title a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.nav-mega-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-mega-list li {
	margin-bottom: 6px;
}

.nav-mega-list li:last-child {
	margin-bottom: 0;
}

.nav-mega-list a {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--color-text-light);
	display: block;
	padding: 2px 0;
}

.nav-mega-list a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 20px;
}
.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 0.9rem;
	color: var(--color-text-light);
}

.header-right .brand-tag {
	display: block;
	height: 20px;
	width: auto;
	object-fit: contain;
	margin-right: 8px;
}

.header-right a {
	color: inherit;
}

.header-right a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.header-right .lang {
	font-weight: 600;
}

.header-search-wrap {
	display: flex;
	align-items: center;
}

.btn-search {
	color: var(--color-text);
	font-size: 1.1rem;
	padding: 4px 8px;
	border: none;
	background: none;
	cursor: pointer;
}

.btn-search:hover {
	color: var(--color-primary);
}

/* 搜索遮罩：展开后遮住整个导航栏 */
.search-overlay {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	height: var(--header-height);
	background: #fff;
	align-items: center;
	justify-content: center;
	z-index: 110;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-header.search-open .search-overlay {
	display: flex;
}

.search-overlay-form {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 0 var(--container-gutter) 0 24px;
	gap: 16px;
}

.search-overlay-input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 16px;
	border: none;
	background: transparent;
	font-size: 1rem;
	color: var(--color-text);
	outline: none;
}

.search-overlay-input::placeholder {
	color: #999;
}

.search-overlay-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: none;
	color: #666;
	font-size: 1.25rem;
	cursor: pointer;
	flex-shrink: 0;
}

.search-overlay-close:hover {
	color: var(--color-text);
}

/* ========== 移动端导航（独立结构，不复用 PC nav）========== */
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-size: 1.25rem;
	color: var(--color-text);
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}
.nav-toggle .nav-toggle-close {
	display: none;
}

.nav-mobile-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 98;
}

.nav-mobile-panel {
	display: none;
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	z-index: 99;
	overflow-y: auto;
	padding: 20px var(--container-gutter) 32px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-mobile-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nav-mobile-item {
	border-bottom: 1px solid #eee;
}
.nav-mobile-item:last-child {
	border-bottom: none;
}

.nav-mobile-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
}
.nav-mobile-link:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.nav-mobile-item.has-dropdown .nav-mobile-link::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.75rem;
	transition: transform 0.2s;
}
.nav-mobile-item.has-dropdown.open .nav-mobile-link::after {
	transform: rotate(180deg);
}

.nav-mobile-sub {
	display: none;
	background: #f8f8f8;
	border-radius: 8px;
	margin: 0 0 12px 0;
	padding: 12px 16px;
}
.nav-mobile-item.open .nav-mobile-sub {
	display: block;
}

.nav-mobile-sub-group {
	margin-bottom: 12px;
}
.nav-mobile-sub-group:last-child {
	margin-bottom: 0;
}

.nav-mobile-sub-title {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--color-text);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

.nav-mobile-sub-group a {
	display: block;
	font-size: 0.875rem;
	color: var(--color-text-light);
	padding: 6px 0;
	text-decoration: none;
}
.nav-mobile-sub-group a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

/* 合作伙伴条 */
.partner-bar {
	background: var(--color-header);
	color: #fff;
	height: var(--partner-bar-height);
	display: flex;
	align-items: center;
}

.partner-inner {
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--container-gutter);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 48px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.partner-logo {
	opacity: 0.9;
	height: 20px;
	width: auto;
	display: block;
	object-fit: contain;
}

/* ========== Footer 页脚（排版优化：层级、间距、可读性）========== */
.site-footer {
	background: #f5f5f5;
	color: #5c5c5c;
	padding: 56px var(--container-gutter) 0;
}

.footer-inner {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.3fr;
	gap: 32px 48px;
	align-items: start;
}

.footer-col {
	min-width: 0;
}

.footer-col h4 {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text);
	margin: 0 0 16px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #e5e5e5;
}

.footer-col p {
	font-size: 0.875rem;
	margin: 0 0 8px 0;
	line-height: 1.6;
}

.footer-col p:last-child {
	margin-bottom: 0;
}

.footer-col a {
	color: inherit;
	transition: color 0.2s ease;
}

.footer-col a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

/* Logo：T 左上角橙色三角点缀 */
.footer-logo {
	position: relative;
	margin-bottom: 24px;
	padding-left: 14px;
}
.footer-logo img {
	width: auto;
	height: 36px;
	object-fit: contain;
}


.footer-headquarters,
.footer-factory {
	margin-bottom: 24px;
}

.footer-headquarters:last-of-type,
.footer-factory:last-of-type {
	margin-bottom: 0;
}

.footer-headquarters .company,
.footer-factory .company {
	font-weight: 600;
	color: var(--color-text);
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.footer-address {
	font-size: 0.8125rem;
	color: #6b6b6b;
	line-height: 1.65;
	margin-top: 6px;
}

.footer-social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.footer-social a {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-text);
	color: #fff;
	border-radius: 50%;
	font-size: 0.95rem;
	transition: background 0.2s ease;
}

.footer-social a:hover {
	background: var(--color-primary);
	text-decoration: none;
}

/* SHOWROOMS：子标题加粗 + 地址小字 */
.footer-showrooms .showroom-item {
	margin-bottom: 20px;
}

.footer-showrooms .showroom-item:last-child {
	margin-bottom: 0;
}

.showroom-name {
	font-weight: 600;
	color: var(--color-text);
	font-size: 0.9rem;
	margin: 0 0 6px 0;
}

.showroom-item .footer-address {
	margin-top: 4px;
}

/* 联系我们：多种联系方式 */
.footer-contact .contact-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-contact .contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6b6b6b;
}

.footer-contact .contact-item i {
	flex-shrink: 0;
	width: 18px;
	text-align: center;
	color: var(--color-primary);
	font-size: 0.9rem;
	margin-top: 2px;
}

.footer-contact .contact-item a {
	color: inherit;
}

.footer-contact .contact-item a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.footer-contact .contact-item span {
	word-break: break-word;
}

.footer-bottom {
	width: 100%;
	margin: 40px 0 0 0;
	padding: 24px var(--container-gutter);
	border-top: 1px solid #e5e5e5;
	text-align: left;
	font-size: 0.8125rem;
	color: #888;
}

.footer-bottom p {
	margin: 0;
}

/* WhatsApp 浮动按钮 */
.wa-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 56px;
	height: 56px;
	background: var(--color-wa);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
	z-index: 99;
	transition: transform var(--transition);
}

.wa-float:hover {
	color: #fff;
	text-decoration: none;
	transform: scale(1.08);
}

/* Header & Footer 响应式 */
@media (max-width: 1024px) {
	.footer-inner {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 28px 32px;
	}
	.site-footer {
		padding: 40px var(--container-gutter) 0;
	}
	.footer-bottom {
		margin-top: 32px;
		padding: 20px var(--container-gutter);
	}
}

@media (max-width: 768px) {
	.nav-main {
		display: none;
	}

	.header-right .brand-tag,
	.header-right .header-link-pc {
		display: none;
	}

	.nav-toggle {
		display: flex;
	}
	body.nav-open .nav-toggle .nav-toggle-open {
		display: none;
	}
	body.nav-open .nav-toggle .nav-toggle-close {
		display: block;
	}
	body.nav-open .nav-mobile-overlay {
		display: block;
	}
	body.nav-open .nav-mobile-panel {
		display: block;
	}
	body.nav-open {
		overflow: hidden;
	}

	/* partner-bar 移动端适配 */
	.partner-bar {
		height: 40px;
		min-height: 40px;
	}
	.partner-inner {
		gap: 20px;
		padding: 0 var(--container-gutter);
	}
	.partner-logo {
		height: 18px;
		max-height: 18px;
	}

	.footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 24px 28px;
	}
	.site-footer {
		padding: 32px var(--container-gutter) 0;
	}
	.footer-col h4 {
		margin-bottom: 12px;
		padding-bottom: 6px;
	}
	.footer-col p {
		margin-bottom: 6px;
	}
	.footer-headquarters,
	.footer-factory {
		margin-bottom: 20px;
	}
	.footer-showrooms .showroom-item {
		margin-bottom: 16px;
	}
	.footer-bottom {
		margin-top: 28px;
		padding: 18px var(--container-gutter);
		font-size: 0.75rem;
	}

	.footer-col.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.partner-bar {
		height: 36px;
		min-height: 36px;
	}
	.partner-inner {
		gap: 16px;
	}
	.partner-logo {
		height: 16px;
		max-height: 16px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		gap: 20px 0;
	}
	.site-footer {
		padding: 28px var(--container-gutter) 0;
	}
	.footer-col h4 {
		margin-bottom: 10px;
		padding-bottom: 6px;
	}
	.footer-bottom {
		margin-top: 24px;
		padding: 16px var(--container-gutter);
	}
}

/* ========== Footer 页脚 ========== */
.site-footer {
	padding: 0;
	background-color: #f5f5f5;
	color: #333;
	font-family: 'Roboto', Arial, sans-serif;
}

.footer-container {
	width: 100%;
	margin: 0 auto;
	padding: 40px 32px 0;
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr 2fr;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-section h4 {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	text-transform: uppercase;
	margin: 0 0 10px 0;
}

.footer-section h5 {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	margin: 0 0 8px 0;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 8px;
}

.footer-section ul li a {
	color: #333;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: #ff6b35;
}

/* 第一栏：Logo + 公司简介 + 公司地址 */
.headquarters-section {
	gap: 20px;
}

.footer-logo {
	font-size: 24px;
	font-weight: bold;
	color: #000;
	margin-bottom: 15px;
}

.company-intro,
.company-address {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.company-intro h4,
.company-address h4 {
	margin: 0;
}

.intro-text {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

.company-address .address {
	margin: 0 0 8px 0;
}

.company-address .address:last-child {
	margin-bottom: 0;
}

.address {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

.social-icons {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background-color: #e0e0e0;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.social-icons a:hover {
	background-color: #ff6b35;
}

.social-icons i {
	font-size: 16px;
}

/* Contact Section */
.contact-section {
	align-items: flex-end;
	text-align: right;
}

.availability {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 15px;
}

.available-text {
	font-size: 12px;
	font-style: italic;
	color: #666;
	margin: 0;
}

.platform-logos {
	display: flex;
	align-items: center;
	gap: 15px;
}

.platform-logo {
	height: 30px;
}

.taco-halal-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.logo-text {
	font-size: 18px;
	font-weight: bold;
	color: #ff6b35;
}

.halal-text {
	font-size: 12px;
	color: #ff6b35;
	font-style: italic;
}

.contact-info {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 20px;
}


.qr-code-image {
	height: 80px;
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid #ddd;
	padding-top: 20px;
	text-align: center;
}

.copyright p {
	font-size: 12px;
	color: #666;
	margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	
	.contact-section {
		align-items: flex-start;
		text-align: left;
	}
	
	.availability, .contact-info {
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	
	.footer-container {
		padding: 30px 15px;
	}
	
	.contact-section {
		align-items: center;
		text-align: center;
	}
	
	.availability, .contact-info {
		align-items: center;
	}
}
