@charset "utf-8";
/* CSS Document */
        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }
        
        /* 顶部信息栏样式 */
        .header-info-bar {
            background-color: #ff6a00;
            color: white;
            padding: 8px 0;
            margin-bottom: 10px;
            font-size: 14px;
        }
        
        .header-info-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .info-links {
            display: flex;
            gap: 20px;
			margin:5px;
			margin-left:15px;
			margin-right:15px;
        }
        
        .info-links a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
        }
        
        .info-links a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }
        
        .contact-info {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .contact-info i {
            color: #2ecc71;
        }
        
        body {
            background-color: #f8f9fa;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 顶部导航栏 */
        header {
            background-color: #2c3e50;
            color: white;
            padding: 15px 0;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }
        
      
        
        .user-actions {
            display: flex;
            gap: 15px;
        }
        
        .user-actions a {
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .header-bottom {
            background-color: #34495e;
            padding: 10px 0;
            border-radius: 5px;
        }
        
        .main-nav {
            display: flex;
            list-style: none;
            justify-content: space-between;
        }
        
        .main-nav li {
            position: relative;
        }
        
        .main-nav a {
            color: white;
            text-decoration: none;
            padding: 8px 15px;
            display: block;
        }
        
        .main-nav a:hover {
            background-color: #2980b9;
            border-radius: 3px;
        }
        
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #2c3e50;
            list-style: none;
            width: 200px;
            border-radius: 0 0 5px 5px;
            display: none;
            z-index: 100;
        }
        
        .dropdown li {
            border-bottom: 1px solid #2c3e50;
        }
        
        .dropdown li:last-child {
            border-bottom: none;
        }
        
        .has-dropdown:hover .dropdown {
            display: block;
        }
        
        /* 促销横幅 */
        .promotion {
            margin: 20px 0;
            background-color: #ff6a00;
            color: white;
            padding: 15px;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .promotion-text {
            font-size: 18px;
            font-weight: bold;
        }
        
        .promotion-link {
            background-color: white;
            color: #e74c3c;
            padding: 8px 15px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: bold;
        }
        
        /* 产品分类 */
        .categories {
            margin: 30px 0;
        }
        
        .section-title {
            font-size: 22px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
        }
        
        .category-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 15px;
        }
        
        .category-item {
            background-color: #395eaf;
            padding: 15px;
            border-radius: 5px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.3s;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
        }
        
        .category-item img {
            width: 80px;
            height: 80px;
            margin-bottom: 10px;
        }
        
        .category-item span {
            font-size: 14px;
            color: #fff;
        }
 .search-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.input-box {
    display: flex;
	height:33px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.category-select {
    background: #f5f5f5;
	height:33px;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
    min-width: 120px;
    border-right: 1px solid #e0e0e0;
    font-weight: 500;
}

.category-select:hover {
    background-color: #eeeeee;
}

.category-select:focus {
    background-color: #f5f5f5;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #fff;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    background: #fafafa;
}

.search-btn {
    background: #333;
	height:33px;
	width:45px;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #555;
}

.search-btn:active {
    background: #222;
}

.search-btn i {
    color: #fff;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .input-box {
        border-radius: 6px;
    }
    
    .category-select {
        min-width: 100px;
        padding: 10px 12px;
        padding-right: 30px;
        font-size: 13px;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 10px 16px;
    }
    
    .search-btn i {
        font-size: 14px;
    }
}
        /* 产品展示区 */
        .products {
            margin: 30px 0;
        }
        
        .product-filters {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            padding: 10px;
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .filter-group label {
            font-weight: bold;
            font-size: 14px;
        }
        
        .filter-group select, .filter-group input {
            padding: 5px 10px;
            border: 1px solid #ddd;
            border-radius: 3px;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
}

.product-name {
    font-size: 14px;
    margin-bottom: 8px;
    min-height: 55px;
    max-height: 84px; /* 4行：14px * 1.5行高 * 4行 = 84px */
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 显示4行 */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    color: #333;
    font-weight: normal;
}

.product-name a {
    color: #0066cc;
    text-decoration: none;
}

.product-name a:hover {
    text-decoration: underline;
}

.product-price {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-price h4 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
}

.product-price .price-cny {
    display: block;
    color: #000; /* 黑色 */
    font-size: 15px;
    margin-bottom: 6px;
    font-style: normal;
    font-weight: normal;
}

.product-price .title {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
}

.product-price .price-usd {
    color: #e74c3c; /* 红色 */
    font-weight: bold;
}

.product-price .price-rub {
    color: #000; /* 黑色 */
    font-weight: normal;
}

.product-rating {
    color: #f39c12;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.2;
}        
        .add-to-cart {
            display: block;
            width: 100%;
            padding: 8px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .add-to-cart:hover {
            background-color: #2980b9;
        }
        
        /* 页脚 */
        footer {
            background-color: #0f1417;
            color: white;
            padding: 30px 0 15px;
            margin-top: 50px;
        }
        
        .footer-top {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-column h3 {
            font-size: 16px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a {
            color: #bdc3c7;
            text-decoration: none;
            font-size: 14px;
        }
        
        .footer-column ul li a:hover {
            color: white;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 15px;
            border-top: 1px solid #34495e;
            font-size: 14px;
            color: #bdc3c7;
        }
        
        /* 广告横幅样式 */
        .banner {
            margin: 30px 0;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .banner img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .product-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .category-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .footer-top {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .header-info-bar-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
            
            .header-top {
                flex-wrap: wrap;
            }
            
            .search-box {
                order: 3;
                width: 100%;
                margin: 15px 0;
                max-width: none;
            }
            
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .category-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .main-nav {
                flex-wrap: wrap;
            }
            
            .main-nav li {
                margin-bottom: 5px;
            }
            
            .product-filters {
                flex-wrap: wrap;
            }
            
            .filter-group {
                margin-bottom: 10px;
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .product-grid {
                grid-template-columns: 1fr;
            }
            
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-top {
                grid-template-columns: 1fr;
            }
            
            .user-actions {
                gap: 10px;
            }
            
            .user-actions span {
                display: none;
            }
        }