/* Kanghan enquiry form - desktop width & centering */

.kanghan-enquiry-form {
    width: 100% !important;
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mobile */
@media (max-width: 767px) {
    .kanghan-enquiry-form {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}/* 整个表单 */
.contact-form {
    max-width: 850px;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e3edf2;
    border-radius: 12px;
    box-sizing: border-box;
}

/* 每个字段之间的距离 */
.contact-form > div,
.contact-form p {
    margin-bottom: 20px;
}

/* Name / Email / Message 标题 */
.contact-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #243640;
    letter-spacing: 0.2px;
}

/* 输入框 + Message */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 13px 15px !important;
    border: 1px solid #cbd9df !important;
    border-radius: 7px !important;
    background: #fbfdfe !important;
    color: #263238 !important;
    font-size: 15px !important;
    line-height: 1.5;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Name / Email 高度 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"] {
    min-height: 48px;
}

/* Message 高度 */
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* 点击输入框时 */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none !important;
    border-color: #6fa9c4 !important;
    box-shadow: 0 0 0 3px rgba(111, 169, 196, 0.14) !important;
    background: #ffffff !important;
}

/* Submit 按钮 */
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    display: inline-block;
    min-width: 150px;
    padding: 13px 26px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #477f9a !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* 按钮鼠标经过 */
.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
    background: #376b84 !important;
    transform: translateY(-1px);
}

/* 手机端 */
@media (max-width: 767px) {
    .contact-form {
        width: calc(100% - 28px);
        padding: 22px 18px;
        border-radius: 9px;
    }

    .contact-form button[type="submit"],
    .contact-form input[type="submit"] {
        width: 100%;
    }
}/* ==================================================
   KANGHAN CONTACT PAGE
   Contact content + Jetpack Form
   ================================================== */


/* ---------- Contact page main content ---------- */

.kh-contact-intro {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 60px auto 35px;
    font-family: Arial, sans-serif;
    color: #243746;
}


/* Small blue labels */

.kh-contact-label,
.kh-contact-small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #5b9fc4;
    margin-bottom: 12px;
}


/* Main title */

.kh-contact-intro h1 {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
    color: #18364a;
    margin: 0 0 20px;
}


/* Intro paragraph */

.kh-contact-lead {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: #5b6973;
    margin: 0 0 50px;
}


/* ---------- Address + Email cards ---------- */

.kh-contact-info {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    margin-bottom: 55px;
}


.kh-contact-block {
    background: #f5fafc;
    border: 1px solid #dceaf1;
    border-radius: 12px;
    padding: 32px;
}


.kh-contact-block h2 {
    font-size: 21px;
    line-height: 1.4;
    color: #18364a;
    margin: 0 0 14px;
}


.kh-contact-block p {
    font-size: 15px;
    line-height: 1.8;
    color: #5b6973;
    margin: 0;
}


/* ---------- Email button ---------- */

.kh-email-button {
    display: inline-block;
    margin-top: 22px;
    padding: 13px 22px;
    background: #5b9fc4;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}
/* ===== Contact page typography refinement ===== */

/* 整个 Contact 区域 */
.kh-contact-intro {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* 主标题 */
.kh-contact-intro h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 44px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    color: #17384d !important;
}

/* FACTORY & OFFICE / EMAIL / SEND AN ENQUIRY */
.kh-contact-label,
.kh-contact-small {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #5b9fc4 !important;
}

/* 卡片标题 */
.kh-contact-block h2 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px !important;
    color: #203b4c !important;
}

/* 地址、普通文字 */
.kh-contact-block > div:not(.kh-contact-small) {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: #536570 !important;
}

/* SEND AN ENQUIRY下面的大标题 */
.kh-enquiry-intro h2 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    color: #18364a !important;
    margin: 8px 0 12px !important;
}

/* 询盘说明 */
.kh-enquiry-intro > div:last-child {
    max-width: 760px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: #63737d !important;
}

/* 表单字体 */
form.contact-form,
form.contact-form input,
form.contact-form textarea,
form.contact-form button {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* 手机 */
@media (max-width: 767px) {
    .kh-contact-intro h1 {
        font-size: 34px !important;
    }

    .kh-enquiry-intro h2 {
        font-size: 26px !important;
    }
}
.kh-email-card a,
.kh-email-card a:link,
.kh-email-card a:visited,
.kh-email-card a:hover {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}/* ========================================
   KANGHAN CONTACT PAGE NAVIGATION
   ======================================== */
/* =========================================
   KANGHAN MAIN NAVIGATION
   ========================================= */

.kh-mainnav {
    width: 100%;
    background: #183f5b;
    position: relative;
    z-index: 9999;
    font-family: Arial, Helvetica, sans-serif;
}

.kh-mainnav ul,
.kh-mainnav li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Main menu */
.kh-mainnav-menu {
    max-width: 1180px;
    min-height: 72px;
    margin: 0 auto !important;
    padding: 0 30px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 58px;
}

/* Main links */
.kh-mainnav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
}

.kh-mainnav-menu > li > a,
.kh-mainnav-products-title {
    display: flex !important;
    align-items: center;
    min-height: 72px;

    color: #ffffff !important;
    text-decoration: none !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.6px;

    cursor: pointer;
    transition: opacity 0.2s ease;
}

.kh-mainnav-menu > li > a:hover,
.kh-mainnav-products-title:hover {
    color: #ffffff !important;
    opacity: 0.72;
}

/* Products arrow */
.kh-mainnav-arrow {
    margin-left: 7px;
    font-size: 15px;
    position: relative;
    top: -1px;
}

/* =========================================
   PRODUCTS DROPDOWN
   ========================================= */

.kh-mainnav-dropdown {
    display: none !important;

    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);

    width: 290px;
    padding: 10px 0 !important;

    background: #ffffff;
    border: 1px solid #e5ebef;
    border-radius: 4px;

    box-shadow: 0 12px 30px rgba(20, 48, 67, 0.14);

    z-index: 10000;
}

.kh-mainnav-products:hover .kh-mainnav-dropdown {
    display: block !important;
}

.kh-mainnav-dropdown li {
    display: block !important;
    width: 100%;
}

.kh-mainnav-dropdown li a {
    display: block !important;

    padding: 11px 20px !important;

    color: #314754 !important;
    background: #ffffff;

    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;

    transition: background 0.15s ease,
                color 0.15s ease;
}

.kh-mainnav-dropdown li a:hover {
    background: #f2f7f9 !important;
    color: #1689b5 !important;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .kh-mainnav-menu {
        gap: 30px;
        padding: 0 20px !important;
    }

    .kh-mainnav-menu > li > a,
    .kh-mainnav-products-title {
        font-size: 14px !important;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .kh-mainnav-menu {
        min-height: auto;

        padding: 14px 18px !important;

        justify-content: space-between !important;
        gap: 12px;
        flex-wrap: wrap;
    }

    .kh-mainnav-menu > li {
        min-height: 40px;
    }

    .kh-mainnav-menu > li > a,
    .kh-mainnav-products-title {
        min-height: 40px;

        font-size: 12px !important;
        letter-spacing: 0.3px;
    }

    .kh-mainnav-dropdown {
        top: 40px;
        left: 0;
        transform: none;

        width: 250px;
    }

    .kh-mainnav-dropdown li a {
        font-size: 13px !important;
        padding: 10px 15px !important;
    }
}


