.about-us-last-section h2 {
	line-height: 1.2 !important;
}

.ast-builder-grid-row-4-equal .ast-builder-grid-row {
    grid-template-columns: repeat( 3,1fr );
}

/*表单样式*/
/* ==========================================================================
   1. FORM CARD CONTAINER & BACKGROUND (表单容器与背景色)
   ========================================================================== */
.custom-form-card {
    background: #D5D0BA!important; /* 已修改背景颜色为指定灰色 */
    border-radius: 10px;
    padding: 25px 15px 20px;
    box-sizing: border-box;
}

/* 容器边距清理 */
.custom-form-card .wpforms-container {
    margin-bottom: 0 !important;
}

.custom-form-card .wpforms-form {
    margin: 0 !important;
    width: 100% !important;
}

/* ==========================================================================
   2. FIELD LAYOUT (字段两列对齐及满宽布局)
   ========================================================================== */
.custom-form-card .wpforms-field-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 22px;
}

.custom-form-card .wpforms-field {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Name + Country 两列平分（总宽 = Message 宽度） */
.custom-form-card .wpforms-field.half-left,
.custom-form-card .wpforms-field.half-right {
    width: calc(50% - 10px) !important;
}

/* Email / Phone / Message 强制占满整行 */
.custom-form-card .wpforms-field-email,
.custom-form-card .wpforms-field-text,
.custom-form-card .wpforms-field-textarea {
    width: 100% !important;
}

/* 去掉可能限制宽度的内部行容器 */
.custom-form-card .wpforms-field-row,
.custom-form-card .wpforms-field-row-block {
    width: 100% !important;
    max-width: 100% !important;
}

/* ==========================================================================
   3. INPUTS / SELECTS / TEXTAREAS (输入框样式统一)
   ========================================================================== */
.custom-form-card .wpforms-field input,
.custom-form-card .wpforms-field select,
.custom-form-card .wpforms-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    background: #FFFFFF!important;
    border: 1px solid #eadccf !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #3b2a20 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    padding: 14px 16px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    appearance: none;
    -webkit-appearance: none;
}

/* 确保两列字段内部输入框/选择框 100% 撑满 */
.custom-form-card .wpforms-field.half-left input,
.custom-form-card .wpforms-field.half-right select {
    width: 100% !important;
}

/* 留言框 (Textarea) 视觉对齐 */
.custom-form-card .wpforms-field-textarea textarea {
    width: 100% !important;
    min-height: 130px !important;
    resize: vertical;
    padding-top: 16px !important;
}

/* 占位符颜色 */
.custom-form-card .wpforms-field input::placeholder,
.custom-form-card .wpforms-field textarea::placeholder {
    color: #b7afa8 !important;
    opacity: 1 !important;
}

/* Select 下拉框右侧箭头 */
.custom-form-card .wpforms-field select {
    padding-right: 42px !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #7b6657 50%),
        linear-gradient(135deg, #7b6657 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* Focus 聚焦高亮状态 */
.custom-form-card .wpforms-field input:focus,
.custom-form-card .wpforms-field select:focus,
.custom-form-card .wpforms-field textarea:focus {
    border-color: #9c6848 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(156, 104, 72, 0.12) !important;
}

/* ==========================================================================
   4. LABELS & REQUIRED (标签文字)
   ========================================================================== */
.custom-form-card .wpforms-field-label {
    display: block;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #2f1f16 !important;
    margin-bottom: 10px !important;
}

.custom-form-card .wpforms-required-label {
    color: #d46d3b !important;
    margin-left: 2px;
}

/* ==========================================================================
   5. SUBMIT BUTTON (提交按钮)
   ========================================================================== */
.custom-form-card .wpforms-submit-container {
    text-align: center !important;
    padding-top: 8px !important;
    margin-top: 8px !important;
}

.custom-form-card .wpforms-submit {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 38px !important;
    min-width: 174px !important;
    height: 54px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

.custom-form-card .wpforms-submit:hover {
    background: #D87925!important;
    transform: translateY(-1px);
}

/* ==========================================================================
   6. ERROR / OTHERS (清理无用文本与错误提示)
   ========================================================================== */
.custom-form-card .wpforms-field-description,
.custom-form-card .wpforms-field-limit-text,
.custom-form-card .wpforms-character-limit {
    display: none !important;
}

.custom-form-card .wpforms-error {
    font-size: 12px !important;
    margin-top: 6px !important;
}

/* ==========================================================================
   7. MOBILE RESPONSIVE (移动端自适应适配)
   ========================================================================== */
@media (max-width: 767px) {
    .custom-form-card {
        padding: 22px 18px 20px;
    }

    .custom-form-card .wpforms-field.half-left,
    .custom-form-card .wpforms-field.half-right {
        width: 100% !important; /* 手机端自动变为单列满宽 */
    }

    .custom-form-card .wpforms-field-container {
        gap: 16px;
    }

    .custom-form-card .wpforms-submit {
        width: 100% !important;
        min-width: auto !important;
    }
}



/*Search Results Card*/
/* BEGIN Wholesale search cards v2 — 2026-10-22 */
body.search #content > .ast-container { max-width:1240px; padding:0 20px; margin:auto; }
body.search #primary { width:100%; max-width:1200px; margin:24px auto 48px; padding:0; }
body.search #primary .ast-archive-description { padding:24px!important; margin:0 0 24px!important; min-height:0!important; }
body.search #primary .ast-archive-title { font-size:28px!important; line-height:1.25; margin:0!important; }
body.search #main > .ast-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin:0; }
body.search #main > .ast-row::before,body.search #main > .ast-row::after { display:none; }
body.search #main article.ast-article-post { width:auto!important; float:none; min-width:0; padding:16px!important; margin:0!important; background:#fff; border:1px solid #eee; box-sizing:border-box; }
body.search #main article .post-content { padding:0; width:100%; float:none; }
body.search #main article .ast-blog-featured-section { padding:0; margin:0 0 14px; width:100%; float:none; }
body.search #main article .post-thumb-img-content a { display:block; aspect-ratio:1/1; background:#fff; }
body.search #main article .post-thumb-img-content img { width:100%; height:100%; aspect-ratio:1/1; object-fit:contain; display:block; margin:0; }
body.search #main article .entry-header { margin:0; }
body.search #main article .entry-title { font-size:16px; line-height:1.45; margin:0 0 10px; }
body.search #main article .entry-title a { color:#222; }
body.search #main article .entry-title a:hover { color:#d87925; }
body.search #main article .entry-content { margin:0; padding:0; }
body.search #main article .entry-content > :not(.wholesale-search-price) { display:none!important; }
body.search #main article .wholesale-search-price { margin:0; font-size:15px; line-height:1.5; font-weight:600; }
body.search #main article .wholesale-search-price del { color:#777; font-weight:400; }
body.search #main article .wholesale-search-price ins { background:none; }
@media(max-width:767px) {
 body.search #content > .ast-container { padding:0 16px; }
 body.search #main > .ast-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 body.search #main article.ast-article-post { padding:10px!important; }
 body.search #main article .entry-title { font-size:14px; }
}
/* END Wholesale search cards v2 — 2026-10-22 */






