/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 顶部Banner - 可滚动 */
.top-banner {
    position: relative;
    z-index: 100;
    background: #000;
    color: #000;
    height: 20vh;
    line-height: 48px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center;
}

.banner-content {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0 auto;
    max-width: 1400px;
}

.warning {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 1.55vw;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    flex: 1;
    flex-shrink: 0;
}

.warning-image {
    width: 480px;
    background: url(../../static/images/warning.png) no-repeat right center;
    background-size: auto 100%;
    height: 92px;
}

/* 导航菜单 - 滚动吸顶 */
.nav-menu {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

/* 吸顶后增强阴影效果 */
.nav-menu.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-menu {
    border-bottom: none;
}

.custom-menu .el-menu-item {
    font-size: 16px;
    font-weight: 500;
    padding: 0 30px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-top: 0; /* 不需要margin-top，因为banner和菜单不再fixed */
    padding: 40px 20px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease-in;
}

.content-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

.content-wrapper h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.content-wrapper p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 页面切换动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 底部占位 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@media (max-width:1920px) {
	.warning {
	font-size: 2vw;
    }	
}
	
	@media (max-width:1680px) {
	.warning {
	font-size: 2.5vw;
}	
	}

	@media (max-width:1200px) {
		.banner-content{
		flex-wrap: wrap;
	}
	.warning{
		font-size: 32px;
		width: 100%;
		flex:none;
		margin-top: auto;
	}
	.warning-image{
		margin-bottom: auto;
	}
	}
	
	
@media (max-width:767px) {
	.warning-image{
		width: 280px;
		height: 55px;
	}
	
	.warning{
		font-size: 4vw;
		
		line-height: 1.3
	}
	
}
/* Google Translate 工具栏样式优化 */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate {
    display: inline-block;
}

/* WhatsApp 悬浮按钮 */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 36px;
    height: 36px;
}

/* 移动端 WhatsApp 按钮调整 */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* ==================== PC端导航吸顶优化 ==================== */
.public-header {
    transition: all 0.3s ease;
}

.public-header.headershow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==================== 首页样式 ==================== */

/* Section 1: Hero Section */
.hero-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-bottom: 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-images {
    flex: 1;
    position: relative;
    min-height: 500px;
    max-height: 600px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.hero-img-1,
.hero-img-2 {
    position: absolute;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.hero-img-1 {
    left: 0%;
    top: 10%;
    z-index: 2;
    max-width: 65%;
    max-height: 85%;
    transform: translateX(0);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.hero-img-2 {
    right: 0%;
    bottom: 10%;
    z-index: 1;
    max-width: 65%;
    max-height: 85%;
    transform: translateX(0);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.hero-images:hover .hero-img-1 {
    transform: translateX(-8px) scale(1.03);
}

.hero-images:hover .hero-img-2 {
    transform: translateX(8px) scale(1.03);
}

.hero-content {
    flex: 1;
    padding: 40px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -1px;
    line-height: 1.2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tagline-line {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.tagline-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Section 2: Medical Banner */
.medical-section {
    padding: 0;
    background: #fff;
}

.medical-banner {
    width: 100%;
    overflow: hidden;
}

.medical-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section 3: Product Grid */
.product-grid-section {
    padding: 80px 20px;
    background: #ffffff;
}

.product-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.product-item::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.product-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-item:hover img {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .tagline-line {
        font-size: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-images {
        min-height: 400px;
        width: 100%;
    }
    
    .hero-content {
        padding: 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .tagline-line {
        justify-content: center;
    }
    
    .product-grid-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-images {
        min-height: 350px;
    }
    
    .hero-img-1 {
        max-width: 60%;
    }
    
    .hero-img-2 {
        max-width: 65%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .tagline-line {
        font-size: 18px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .product-grid-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 10px;
    }
    
    .hero-images {
        min-height: 280px;
    }
    
    .hero-img-1,
    .hero-img-2 {
        max-width: 70%;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .tagline-line {
        font-size: 14px;
        letter-spacing: 1px;
        padding-left: 15px;
    }
    
    .tagline-line::before {
        width: 3px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .product-grid-section {
        padding: 30px 10px;
    }
    
    .product-item {
        border-radius: 12px;
    }
}

/* 优化页面容器 */
.page-container {
    max-width: 100%;
    padding: 0;
}

.main-content {
    padding: 0;
}

