/* Toast */
.lcl-toast {
padding: 12px 20px;
border-radius: 8px;
color: #fff;
font-size: 14px;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
display: flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
max-width: 380px;
}
.lcl-toast.lcl-info { background-color: #1e40af; }
.lcl-toast.lcl-error { background-color: #ef4444; }
.lcl-toast.lcl-success { background-color: #10b981; }

.lcl-spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid rgba(255, 255, 255, .3);
border-radius: 50%;
border-top-color: #fff;
animation: lcl-spin 1s ease-in-out infinite;
}
@keyframes lcl-spin { to { transform: rotate(360deg); } }

/* 动画 */
@keyframes lcl-pulseCta {
0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
50% { box-shadow: 0 0 0 18px rgba(239, 68, 68, 0); }
}
.lcl-pulse-cta { animation: lcl-pulseCta 2s infinite; }

@keyframes lcl-breatheGlow {
0%, 100% { box-shadow: 0 0 8px rgba(249, 115, 22, 0.6); }
50% { box-shadow: 0 0 22px rgba(249, 115, 22, 0.95), 0 0 35px rgba(249, 115, 22, 0.4); }
}
.lcl-breathe-glow { animation: lcl-breatheGlow 2.2s ease-in-out infinite; }

@keyframes lcl-modalIn {
from { opacity: 0; transform: scale(0.92) translateY(20px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
.lcl-animate-in { animation: lcl-modalIn 0.28s cubic-bezier(0.22, 0.61, 0.36, 1); }

/* 底部栏 */
.lcl-sticky-bottom-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 48;
transform: translateY(100%);
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lcl-sticky-bottom-bar.lcl-visible { transform: translateY(0); }
.lcl-sticky-bottom-bar.lcl-modal-open {
transform: translateY(100%) !important;
z-index: 40 !important;
}

/* 表单错误 */
.lcl-input-err {
border-color: #ef4444 !important;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
background-color: #fef2f2 !important;
}

/* 移动菜单 */
.lcl-mobile-menu-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 45;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.lcl-mobile-menu-overlay.lcl-open { opacity: 1; visibility: visible; }

.lcl-mobile-nav-container {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 280px;
background: white;
z-index: 50;
transform: translateX(100%);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}
.lcl-mobile-nav-container.lcl-open { transform: translateX(0); }

.lcl-mobile-nav-link {
display: block;
padding: 16px 24px;
border-bottom: 1px solid #f1f5f9;
color: #334155;
font-weight: 500;
font-size: 16px;
text-decoration: none;
transition: background 0.2s, color 0.2s;
}
.lcl-mobile-nav-link:hover { background: #f8fafc; color: #1e40af; }

/* 城市切换 */
.lcl-city-switch-inline a {
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
white-space: nowrap;
}
.lcl-city-switch-inline a:hover { color: #1d4ed8; }

/* 层级控制 */
.lcl-modal-overlay { z-index: 60 !important; }
.lcl-floating-btns { z-index: 49; }
.lcl-floating-btns.lcl-modal-open { z-index: 40 !important; }

.lcl-hidden { display: none !important; }

/* 安全背景色 */
.lcl-bg-cta-500 { background-color: #ef4444; }
.lcl-bg-cta-400 { background-color: #f87171; }
.lcl-bg-cta-600 { background-color: #dc2626; }
.lcl-bg-cta-100 { background-color: #fee2e2; }
.lcl-text-cta-600 { color: #dc2626; }
.lcl-text-cta-500 { color: #ef4444; }
.lcl-bg-accent-600 { background-color: #ea580c; }
.lcl-bg-accent-500 { background-color: #f97316; }
.lcl-text-accent-600 { color: #ea580c; }
.lcl-text-accent-500 { color: #f97316; }
.lcl-bg-brand-600 { background-color: #2563eb; }
.lcl-bg-slate-700 { background-color: #334155; }
.lcl-bg-slate-600 { background-color: #475569; }
.lcl-bg-slate-800 { background-color: #1e293b; }
.lcl-bg-slate-50 { background-color: #f8fafc; }
.lcl-bg-green-600 { background-color: #16a34a; }
.lcl-bg-green-500 { background-color: #22c55e; }
.lcl-border-accent-500 { border-color: #f97316; }

#lcl-toastContainer {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 10px;
}

/* ==================== 全屏顶部导航条 ==================== */
.lcl-top-bar {
/* 移动端：隐藏容器本身，不影响内部元素 */
display: contents;
}

@media (min-width: 768px) {
.lcl-top-bar {
display: block;
position: sticky;
top: 0;
z-index: 40;
background: #fff;
border-bottom: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* PC端内部居中容器 */
#lcl-top-wrapper {
display: flex;
align-items: center;
max-width: 80rem; /* 1280px */
margin: 0 auto;
padding-left: 1rem;
padding-right: 1rem;
}
@media (min-width: 640px) {
#lcl-top-wrapper {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
@media (min-width: 1024px) {
#lcl-top-wrapper {
padding-left: 2rem;
padding-right: 2rem;
}
}

/* header在PC端变为静态，只保留Logo和城市切换 */
#lcl-top-wrapper > header {
position: static !important;
border-bottom: none !important;
box-shadow: none !important;
padding: 0 !important;
flex-shrink: 0;
height: auto;
width: auto;
display: flex;
align-items: center;
}

/* 导航在PC端变为水平可滚动区域 */
#lcl-top-wrapper .lcl-mobile-nav-container {
position: static !important;
transform: none !important;
width: auto !important;
height: auto !important;
background: transparent !important;
box-shadow: none !important;
flex-direction: row !important;
z-index: auto !important;
flex: 1 1 auto;
min-width: 0;
overflow-x: auto;
display: flex;
align-items: center;
justify-content: flex-start;
margin-left: 0.5rem;
margin-right: 0.5rem;
}

/* 导航链接间距更紧凑 */
#lcl-top-wrapper .lcl-mobile-nav-link {
display: inline-block !important;
padding: 8px 6px !important;  /* 原为 10px，现更紧凑 */
border-bottom: none !important;
font-size: 14px !important;
color: #475569 !important;
white-space: nowrap;
flex-shrink: 0;
}
@media (min-width: 1024px) {
#lcl-top-wrapper .lcl-mobile-nav-link {
padding: 8px 8px !important;
font-size: 15px !important;
}
}
#lcl-top-wrapper .lcl-mobile-nav-link:hover {
background: transparent !important;
color: #1e40af !important;
}

/* PC端电话区域 */
#lcl-top-wrapper .lcl-pc-phone-area {
flex-shrink: 0;
margin-left: 0.75rem;
}

/* 隐藏移动端的汉堡按钮和header内电话 */
#lcl-mobile-menu-btn { display: none !important; }
#lcl-header-phone { display: none !important; }
}

/* 移动端保持原有样式 */
@media (max-width: 767px) {
.lcl-city-switch-inline {
overflow-x: auto;
max-width: 160px;
}
.lcl-city-switch-inline::-webkit-scrollbar { display: none; }

.lcl-floating-btns {
gap: 0 !important;
bottom: 100px !important;
right: 16px !important;
}
#lcl-btn-back-to-top {
width: 46px !important;
height: 46px !important;
font-size: 1.25rem !important;
border-radius: 50% !important;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
transition: all 0.3s ease;
}
#lcl-btn-back-to-top:active {
transform: scale(0.9);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}
}