.products-page {
    padding-top: 100px;
}

/* 复用分类页的面包屑样式 */
.products-breadcrumb {
    width: 100vw;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.products-breadcrumb-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
}

.products-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666666;
    font-size: 16px;
}

.products-breadcrumb-trail a {
    color: inherit;
}

.products-breadcrumb-trail .iconfont {
    color: #48877A;
    font-size: 18px;
}

.product-detail {
    padding: 30px 0;
}

.product-detail h1 {
    font-size: 40px;
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.product-detail-cover {
    width: 700px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-summary {
    width: 850px;
    min-height: 500px;
    font-size: 18px;
    line-height: 36px;
}

.product-detail-card {
    width: 100%;
}

.product-detail-card-title {
    height: 40px;
    font-size: 36px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.product-detail-card-title-border {
    width: 6px;
    height: 36px;
    border-radius: 5px;
    background: #48877A;
}

.product-detail-card-content {
    font-size: 18px;
    line-height: 36px;
    color: #666666;
}

.product-detail-card-content hr {
    margin: 20px 0;
}

.product-module {
    padding-bottom: 50px;
}

.product-module-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.product-module-title-border {
    width: 5px;
    height: 36px;
    background: #48877A;
    border-radius: 5px;
}

.product-module-title-text {
    width: 100%;
    font-size: 36px;
    color: #333333;
    margin-left: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-module-title-text .right {
    width: 40px;
    height: 40px;
    border: 1px solid #bebebe;
    cursor: pointer;
    user-select: none;
    border-radius: 3px;
    transition: all 0.6s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bebebe;
}

.product-module-title-text .right i {
    font-size: 22px;
    color: inherit;
    display: inline-block;
    transition: all 0.6s;
    transform: rotate(180deg);
}

.product-module-title-text .right:hover {
    color: #48877A;
    border-color: #48877A;
}

.product-module-title-text .right:hover i {
    transform: rotate(0deg);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(470px, 1fr));
    gap: 35px;
    margin-top: 20px;
}

.product-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 19px;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-name {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 22px;
}

.product-desc {
    padding: 20px 0;
    font-size: 16px;
    font-family: '微软雅黑';
    line-height: 30px;
    color: #535353;
    flex: 1;
}

.product-contentText {
    padding: 30px;
    background: #F2F4F6;
    margin-top: 30px;
    font-size: 18px;
    line-height: 40px;
    color: #535353;
}

.product-tuwen {
    padding: 30px;
    background: #F2F4F6;
    margin-top: 30px;
    font-size: 18px;
    line-height: 40px;
    color: #535353;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-tuwen-left {
    width: 800px;
    padding: 30px 0;
}

.product-tuwen-left .t2 {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-tuwen-right {
    width: calc(100% - 800px);
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-tuwen-right img {
    width: 100%;
    object-fit: cover;
}

.message-form-btn {
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.message-form-btn .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: #EFF3F7;
    border-radius: 40px;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 16px;
    color: #525252;
    transition: all 0.3s;
}

.message-form-btn .button i {
    font-size: 20px;
    color: #48877A;
}

.message-form-btn .button:hover {
    background: #48877A;
    color: #ffffff;
}

.message-form-btn .button:hover i {
    color: #ffffff;
}

/* 询价留言弹窗样式 */
.message-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.message-modal-overlay.show {
    display: flex;
}

.message-modal {
    background: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.message-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.message-modal-title {
    font-size: 32px;
    font-weight: bold;
    color: #48877A;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #48877A;
    flex: 1;
}

.message-modal-close {
    background: rgba(72, 135, 122, 0.1);
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    color: #48877A;
}

.message-modal-close:hover {
    background: rgba(72, 135, 122, 0.2);
}

.message-modal-instruction {
    color: #333333;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-form-group label {
    font-size: 16px;
    color: #333333;
    font-weight: 500;
}

.message-form-group input,
.message-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.message-form-group input:focus,
.message-form-group textarea:focus {
    outline: none;
    border-color: #48877A;
}

.message-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.message-form-captcha {
    margin-top: 10px;
}

.captcha-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.captcha-wrapper input {
    flex: 1;
}

.captcha-image {
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    background: #f5f5f5;
}

.captcha-image canvas {
    display: block;
}

.message-form-submit {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: #48877A;
    color: #ffffff;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.submit-btn:hover {
    background: #3a6b5f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 135, 122, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading {
    background: #9e9e9e;
    cursor: not-allowed;
    position: relative;
    color: transparent;
}

.submit-btn.loading:hover {
    background: #9e9e9e;
    transform: none;
    box-shadow: none;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .message-modal {
        width: 95%;
        padding: 30px 20px;
    }

    .message-modal-title {
        font-size: 24px;
    }

    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-image {
        align-self: flex-start;
    }
}

.common-row-box-with-config {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.config-box {
    width: 320px;
    font-size: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}
.config-title{
    width: 320px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.config-title span{
    font-size: 22px;
}
.config-title i{
    font-size: 22px;
    color: #acacac;
    display: inline-block;
    transform: rotate(0deg);
    transition: all 0.6s;
}
.config-title:hover i{
    transform: rotate(180deg);
    color: #48877A;
}
.config-list{
    padding: 0 0 20px 0;
}
.config-list-item{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    padding: 7px 0;
    cursor: pointer;
    color: #858585;
}
.config-list-item:hover{
    color: #48877A;
    font-weight: bold;
}
.config-list-item.selected{
    color: #48877A;
    font-weight: bold;
}
.product-configs-result{
    padding: 20px;
    font-size: 20px;
    background: #F2F4F6;
    margin-top: 30px;
    color: #666666;
}