/* =================================================================================
   1. FONT INTEGRATION (自定义字体集成)
   ================================================================================= */
@font-face {
    font-family: 'UyaaiFont';
    /* 路径回退两级：从 assets/css/ 回到主题根目录，再进入 fonts/ */
    src: url('../../fonts/uyaai-main.woff2') format('woff2'),
         url('../../fonts/uyaai-main.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =================================================================================
   2. GLOBAL DEFINITIONS & BRANDING (品牌全量定义)
   ================================================================================= */
:root {
    --uyaai-pink: #ed008e;
    --uyaai-pink-hover: #d0007c;
    --uyaai-black: #111111;
    --uyaai-bg: #f9f9f9;
    --uyaai-border: #eeeeee;
    --uyaai-muted: #999999;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 基础重置与字体应用 */
body {
    font-family: 'UyaaiFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    color: #333;
    background-color: #fff;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* 确保所有交互元素也继承品牌字体 */
button, input, select, textarea, .main-navigation a, h1, h2, h3, h4, h5, h6 {
    font-family: 'UyaaiFont', sans-serif !important;
}

/* =================================================================================
   3. GLOBAL UI CLEANUP (页眉与结构清理)
   ================================================================================= */

/* 隐藏 GeneratePress 默认的顶部页眉区域 (解决双 Logo 问题) */
.site-header {
    display: none !important;
}

/* 确保主导航栏容器置顶且有分割线 */
.main-navigation {
    margin-top: 0 !important;
    border-bottom: 1px solid #eee;
}

/* 页面内容区强制修正：防止侧边栏溢出 */
html, body { 
    overflow-x: hidden !important; 
    width: 100% !important; 
    position: relative; 
}

* { 
    box-sizing: border-box !important; 
}

/* =================================================================================
   4. DECORATIVE UTILITIES (公共美化组件)
   ================================================================================= */

/* B2B 专业面包屑 */
.b2b-breadcrumb, .breadcrumb-uyaai { 
    font-size: 13px !important; 
    color: var(--uyaai-muted) !important; 
    margin-bottom: 25px; 
}

.b2b-breadcrumb a { 
    color: var(--uyaai-muted); 
    text-decoration: none; 
    transition: var(--transition); 
}

.b2b-breadcrumb a:hover { 
    color: var(--uyaai-pink); 
}

/* 品牌按钮通用类 (预设，防止逻辑中调用) */
.btn-uyaai-primary { 
    background-color: var(--uyaai-pink) !important; 
    color: #fff !important; 
    font-weight: 700 !important; 
    cursor: pointer; 
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-uyaai-primary:hover {
    background-color: var(--uyaai-pink-hover) !important;
    transform: translateY(-2px);
}

/* =================================================================================
   5. UYAAI B2B MINIMALIST DARK FOOTER (B2B 极简深色页脚样式)
   ================================================================================= */
.uyaai-b2b-footer {
    background-color: var(--uyaai-black) !important;
    color: #ffffff !important;
    padding: 60px 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.uyaai-b2b-footer a {
    color: #bbbbbb !important;
    text-decoration: none;
    transition: var(--transition);
}

.uyaai-b2b-footer a:hover {
    color: var(--uyaai-pink) !important;
}

/* 布局网格：PC 端三列不等宽 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
}

/* 列基础样式 */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 第一列：品牌与资质 */
.footer-logo {
    height: 38px;
    width: auto;
    align-self: flex-start;
    margin-bottom: 15px;
	 filter: none !important;
    
}

.footer-slogan {
    color: #999999;
    margin: 0 0 15px 0;
    font-size: 13px;
}

.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-pill {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.02);
}

/* 第二列：导航菜单 */
.footer-nav, .footer-nav-fallback {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li, .footer-nav-fallback li {
    margin-bottom: 12px;
}

.footer-nav a, .footer-nav-fallback a {
    font-size: 14px;
    display: inline-block;
}

/* 第三列：门槛限制与免责 */
.footer-moq-tag {
    background-color: rgba(237, 0, 142, 0.1); /* 使用 --uyaai-pink 柔和背景 */
    border: 1px solid var(--uyaai-pink);
    color: var(--uyaai-pink);
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-bottom: 15px;
}

.moq-dot {
    width: 6px;
    height: 6px;
    background-color: var(--uyaai-pink);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.medical-disclaimer {
    color: #777777;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

/* 底部栏 */
.footer-bottom {
    background-color: #0a0a0a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom .copyright {
    color: #666666 !important;
    font-size: 12px;
    margin: 0;
}

.footer-policy-legal {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.footer-policy-legal a {
    color: #666666 !important;
}

.legal-divider {
    color: #222222;
}

/* 移动端自适应 (Mobile Switcher) */
@media (max-width: 768px) {
    .uyaai-b2b-footer {
        padding: 40px 0 0 0 !important;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 30px;
    }
    .footer-col-brand {
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        align-self: center;
    }
    .footer-col-links {
        align-items: center;
        text-align: center;
    }
    .footer-col-compliance {
        align-items: center;
        text-align: center;
    }
    .footer-moq-tag {
        align-self: center;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}