/* 页面banner样式 */
.page-banner {
    margin-top: 80px;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 地图区域样式 */
.map-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.map-container {
    flex: 2;
    position: relative;
}

.region-map {
    width: 100%;
    height: auto;
}

.map-points .point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #e60012;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s;
}

.map-points .point::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(230,0,18,0.3);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.map-points .point:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.filter-section {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.price-filter h3,
.category-filter h3 {
    margin-bottom: 15px;
    color: #333;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
}

.category-filter label {
    display: block;
    margin: 10px 0;
    color: #666;
}

/* 产品展示样式 */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.region-section {
    margin-bottom: 40px;
}

.region-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: #e60012;
    color: #fff;
    border-radius: 5px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.desc {
    color: #666;
    margin-bottom: 15px;
}

.details {
    margin: 15px 0;
}

.details h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.details p {
    color: #666;
    margin-bottom: 10px;
}

.price {
    margin: 15px 0;
}

.price .current {
    font-size: 24px;
    color: #e60012;
    font-weight: bold;
}

.price .original {
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.actions {
    display: flex;
    gap: 10px;
}

.actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.collect {
    background: #fff;
    border: 1px solid #e60012;
    color: #e60012;
}

.share {
    background: #e60012;
    color: #fff;
}

.collect:hover {
    background: #e60012;
    color: #fff;
}

.share:hover {
    background: #cc0000;
}

/* ���画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.product-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 