/* BAIHANGDA V6.5 Three Page Polish */

/* ---------------------------------------------------------
   1. SINGLE PRODUCT - RELATED PRODUCTS
   --------------------------------------------------------- */
.bhd-v65-single-product .related-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:22px !important;
    align-items:stretch !important;
}
.bhd-v65-single-product .related-item{
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    height:100% !important;
    min-height:370px !important;
    padding:24px !important;
    box-sizing:border-box !important;
    text-align:center !important;
    background:#fff !important;
    border:1px solid #e2e8ef !important;
    transition:transform .2s ease,box-shadow .2s ease !important;
}
.bhd-v65-single-product .related-item:hover{
    transform:translateY(-4px) !important;
    box-shadow:0 13px 28px rgba(12,51,84,.10) !important;
}
.bhd-v65-single-product .related-item img{
    display:block !important;
    width:100% !important;
    height:205px !important;
    max-height:205px !important;
    object-fit:contain !important;
    object-position:center !important;
    margin:0 auto 18px !important;
}
.bhd-v65-single-product .related-item h3{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:48px !important;
    margin:0 0 16px !important;
    text-align:center !important;
    line-height:1.35 !important;
}
.bhd-v65-single-product .related-item > a{
    align-self:center !important;
    margin-top:auto !important;
    min-width:142px !important;
    text-align:center !important;
}

/* ---------------------------------------------------------
   2. FACTORY - OEM/ODM CHECK LIST ENTITY FIX
   --------------------------------------------------------- */
.bhd-v65-factory .bhd-v5-checks span{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    min-height:48px !important;
    padding:11px 14px 11px 42px !important;
    line-height:1.45 !important;
}
.bhd-v65-factory .bhd-v5-checks span:before{
    content:"✓" !important;
    position:absolute !important;
    left:14px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:20px !important;
    height:20px !important;
    border-radius:50% !important;
    background:#e6f2fd !important;
    color:#0057b8 !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:900 !important;
}

/* ---------------------------------------------------------
   3. CONTACT - BALANCED QUOTE / INQUIRY LAYOUT
   --------------------------------------------------------- */
.bhd-v65-contact .contact-layout{
    grid-template-columns:minmax(320px,.95fr) minmax(0,1.05fr) !important;
    gap:30px !important;
    align-items:stretch !important;
}
.bhd-v65-contact .contact-info-card,
.bhd-v65-contact .contact-form-card{
    height:100% !important;
    box-sizing:border-box !important;
}
.bhd-v65-contact .contact-info-card{
    display:flex !important;
    flex-direction:column !important;
}
.bhd-v65-contact .contact-info-card > .v6-btn{
    align-self:flex-start !important;
    margin-top:auto !important;
}
.bhd-v65-contact .contact-form-card{
    display:flex !important;
    flex-direction:column !important;
}
.bhd-v65-contact .contact-form-card form{
    display:flex !important;
    flex:1 1 auto !important;
    flex-direction:column !important;
}
.bhd-v65-contact .contact-submit{
    align-self:flex-start !important;
}
.bhd-v65-contact .contact-honeypot{
    position:absolute !important;
    left:-99999px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}
.bhd-v65-contact-trust{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin:4px 0 26px;
}
.bhd-v65-contact-trust-item{
    display:grid;
    grid-template-columns:34px 1fr;
    gap:12px;
    align-items:center;
    padding:12px 14px;
    border:1px solid #dbe6ef;
    border-radius:5px;
    background:#fff;
}
.bhd-v65-contact-trust-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    border-radius:50%;
    background:#eaf4fd;
    color:#0057b8;
    font-weight:900;
}
.bhd-v65-contact-trust-item strong{
    display:block;
    margin:0 0 2px;
    color:#003b78;
    font-size:14px;
}
.bhd-v65-contact-trust-item span:last-child{
    display:block;
    color:#667b8c;
    font-size:12px;
    line-height:1.45;
}

@media(max-width:1000px){
    .bhd-v65-single-product .related-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
    .bhd-v65-contact .contact-layout{grid-template-columns:1fr !important;}
}
@media(max-width:620px){
    .bhd-v65-single-product .related-grid{grid-template-columns:1fr !important;}
    .bhd-v65-single-product .related-item{min-height:0 !important;}
    .bhd-v65-contact .contact-info-card > .v6-btn,
    .bhd-v65-contact .contact-submit{width:100% !important;text-align:center !important;justify-content:center !important;}
}
