:root {
    --primary-color: #b0344e;
    --secondary-color: #333333;
    --light-gray: #f3f1f1;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 轮播图样式优化 */
.swiper-container {
    position: relative;
}

.swiper-button-next, .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--primary-color);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 6px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 6px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .art_title h1 {
        font-size: 1.8rem !important;
    }

    .swiper-button-next, .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .about_dection {
        padding: 4px !important;
    }
}

/* 产品内容样式优化 */
.contents p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contents h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.contents h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.8rem;
    font-size: 1.4rem;
}

.contents img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contents img:hover {
    transform: scale(1.02);
}

/* 面包屑导航样式 */
.address a {
    position: relative;
}

.address a:after {
    content: '>';
    margin: 0 8px;
    color: #999;
}

.address a:last-child:after {
    display: none;
}

/* 产品标题和发布时间样式 */
.art_title h1 {
    position: relative;
    display: inline-block;
}

.art_title h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: var(--primary-color);
}

/* 按钮和交互元素样式 */
button, .btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #8a2a40;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}