:root {
    --primary: #FBC902;
    --secondary: #4361EE;
    --accent: #06D6A0;
    --dark: #1A1A2E;
    --light: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面内容样式 */
.page-content {
    padding: 70px 0 50px;
    min-height: 100vh;
    background-color: #fff;
}

.hero-banner {
    width: 100%;
    padding-top: calc(729 / 1920 * 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Banner底部区域 */
.banner-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
    padding-bottom: 50px; /* 底部间距 */
}

.detail-text-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-text{
    font-weight: bold;
    font-size: 35px;
}

.content-card {
    padding: 20px;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

/* 新增的产品参数样式 */
.product-detail-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-left: 80px; /* 向右移动50像素 */
}

.product-detail-container img {
    margin-top: 30px; /* 向下移动30像素 */
}

.product-specs {
    flex: 1;
    min-width: 600px;
    background-color: #eefbff;
    padding: 20px;
    border-radius: 8px;
    margin-left: 60px; /* 蓝色参数框单独向右移动50像素 */
}

.specs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: -40px; /* 向上移动10像素 */
    left: -20px; /* 向左移动10像素 */
}

.specs-title {
    font-weight: bold;
    font-size: 18px;
    color: white;
    background-color: #003366;
    padding: 8px 12px;
    border-radius: 4px;
    border-radius: 8px 8px 0 0; /* 左上和右上圆角，左下和右下直角 */
}

.color-code {
    font-family: monospace;
    font-size: 16px;
    color: #000;
    font-weight: bold;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin-top: -14px; /* 添加负边距，让内容往上移动 */
}

.spec-item {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spec-label {
    font-weight: bold;
    width: 100px;
    color: #333;
}

.spec-value {
    flex: 1;
    color: #333;
}

.product-individuality {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-left: 50px; /* 向右移动50像素 */
    margin-top: 70px;
}

.product-merit {
    flex: 1;
    min-width: 600px;
    background-color: #eefbff;
    padding: 30px;
    border-radius: 5px;
    margin-left: 50px;
    margin-top: 40px;
    position: relative; /* 添加相对定位，以便箭头绝对定位 */
}

.product-merit:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 30px;
    width: 60px; 
    height: 30px;
    background-color: #3b3b3b;
    clip-path: polygon(
        0 7px,     /* 矩形左上 */
        20px 7px,  /* 矩形右上 */
        20px 0,    /* 三角形顶点 */
        48px 15px, /* 三角形尖端 */
        20px 30px, /* 三角形底点 */
        20px 23px, /* 矩形右下 */
        0 23px,    /* 矩形左下 */
        0 7px      /* 回到起点 */
    );
}

.product-merit p {
    font-size: 18px; /* 增大字体大小，可根据需要调整 */
    margin-bottom: 30px; /* 增加段落间距 */
}

.product-merit p:last-child {
    margin-bottom: 0; /* 最后一个段落不需要底部边距 */
}

.product-classify {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* 控制两张图片之间的间距 */
    margin-top: 20px; /* 如果需要调整与上方内容的间距 */
}

.outdoor,.indoor {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.classify-text {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 800px) {
    .nav {
        gap: 0;
        justify-content: space-between;
        align-items: center;
    }

    /* 优化 logo 在小屏下的表现 */
    .logo img {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
}