/* 联系我们容器 */
.contact-area {
    flex: 1;
    padding: 0;
}

.contact-title2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    /*border-bottom: 2px solid #5e91a4;*/
    border-bottom: 2px solid #e0e0e0;
}

.contact-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.contact-info-item-full {
    grid-column: 1 / -1;
}

.contact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #d71f24;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-content {
    flex: 1;
}

.contact-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: normal;
    line-height: 1.4;
}

/* 地图容器 */
.contact-map-container {
    margin-top: 30px;
}

.contact-map-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-map-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

/* 在线留言区域 */
.inquiry-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 0 80px;
}

.inquiry-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0;
}

.inquiry-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.inquiry-form-wrapper {
    width: 100%;
}

.inquiry-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.inquiry-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
    color: #333;
    resize: vertical;
    margin-bottom: 30px;
    transition: border-color 0.3s ease;
}

.inquiry-textarea::placeholder {
    font-size: 14px;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
    color: #999;
}

.inquiry-textarea:focus {
    outline: none;
    border-color: #d71f24;
}

.inquiry-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.inquiry-input-group {
    display: flex;
    flex-direction: column;
}

.inquiry-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.inquiry-input-icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    opacity: 0.6;
    pointer-events: none;
}

.inquiry-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;

    color: #333;
    transition: border-color 0.3s ease;
}

.inquiry-input::placeholder {
    font-size: 14px;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;

    color: #999;
}


.inquiry-input:focus {
    outline: none;
    border-color: #d71f24;
}

.inquiry-submit {
    width: 20%;
    padding: 14px 30px;
    background-color: transparent;
    color: #d71f24;
    border: 2px solid #333;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}


.inquiry-submit:hover {
    background-color: #d71f24;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 31, 36, 0.3);
}

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

.inquiry-submit:disabled {
    background-color: transparent;
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .contact-info-grid {
        gap: 20px;
    }
}

@media (max-width: 1000px) {
    .product-category-section {
        padding: 60px 0;
    }

    .product-category-container {
        flex-direction: column;
        gap: 30px;
    }

    .category-sidebar {
        width: 100%;
    }

    .category-sidebar-title {
        font-size: 24px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-map-wrapper {
        height: 300px;
    }

    .inquiry-title {
        font-size: 28px;
    }

    .inquiry-form-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .product-category-section {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-description {
        font-size: 13px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-item {
        padding: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-value {
        font-size: 14px;
    }

    .contact-map-wrapper {
        height: 250px;
    }

    .inquiry-section {
        padding: 40px 0 60px;
    }

    .inquiry-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .inquiry-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .inquiry-submit {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 32px;
    }

    .contact-info-grid {
        gap: 12px;
    }

    .contact-info-item {
        padding: 10px;
        gap: 12px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-value {
        font-size: 13px;
    }

    .contact-map-wrapper {
        height: 200px;
    }

    .inquiry-section {
        padding: 30px 0 40px;
    }

    .inquiry-title {
        font-size: 22px;
    }

    .inquiry-textarea {
        min-height: 100px;
    }
}


