.b2b-footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 60px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.b2b-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.b2b-footer a:hover {
    color: #c9a227;
}


.b2b-footer .b2b-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.b2b-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.b2b-footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.b2b-footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #c9a227;
}


.b2b-footer-contact p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.b2b-footer-contact .contact-label {
    font-weight: 600;
    color: #c9a227;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.b2b-footer-contact .contact-value {
    font-size: 15px;
}


.b2b-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.b2b-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.b2b-footer-social a:hover {
    background: #c9a227;
    transform: translateY(-2px);
}

.b2b-footer-social img {
    width: 20px;
    height: 20px;
}


.wechat-qrcode {
    margin-top: 15px;
}

.wechat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.wechat-qrcode img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}


.b2b-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b2b-footer-links li {
    margin-bottom: 10px;
}

.b2b-footer-links a {
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.b2b-footer-links a:hover {
    color: #c9a227;
    padding-left: 5px;
}


.b2b-footer-newsletter p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}


.b2b-footer-copyright {
    padding: 25px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.b2b-footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
}

.b2b-footer-copyright a:hover {
    color: #c9a227;
}

.b2b-footer-copyright .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}


.b2b-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.b2b-popup.active {
    display: flex;
}

.b2b-popup-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.b2b-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.b2b-popup-header h4 {
    margin: 0;
    font-size: 18px;
}

.b2b-popup-close {
    background: #f0f0f0;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.b2b-popup-close:hover {
    background: #e0e0e0;
    color: #333;
}

.b2b-popup-body {
    padding: 30px;
}


.b2b-form-group {
    margin-bottom: 20px;
}

.b2b-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.b2b-form-group input,
.b2b-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.b2b-form-group input:focus,
.b2b-form-group textarea:focus {
    outline: none;
    border-color: #1e3a5f;
}

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

.b2b-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.b2b-submit-btn:hover {
    background: linear-gradient(135deg, #2d5a87 0%, #3d6a97 100%);
    transform: translateY(-1px);
}


@media (max-width: 1024px) {
    .b2b-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .b2b-footer {
        padding: 40px 0 0;
    }
    
    .b2b-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .b2b-footer-col h3 {
        font-size: 16px;
    }
    
    .b2b-popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .b2b-popup-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .b2b-footer-social {
        justify-content: flex-start;
    }
    
    .b2b-footer-copyright {
        font-size: 12px;
        padding: 20px 10px;
    }
}


.b2b-footer-contact .contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.b2b-footer-contact .contact-link:hover {
    color: #c9a227;
}

@media (max-width: 768px) {
    .b2b-footer-contact .contact-link {
        color: #87CEEB;
    }
}


@media (max-width: 768px) {
    .wechat-qrcode {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
    }
    
    .wechat-qrcode img {
        width: 140px;
        height: auto;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .wechat-qrcode img {
        width: 120px;
    }
}

.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#1e3a5f;color:#fff;padding:16px 20px;z-index:99999;box-shadow:0 -2px 10px rgba(0,0,0,0.3);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;font-size:14px;}
.cookie-banner-text{flex:1 1 100%;text-align:center;margin-bottom:4px;line-height:1.5;}
.cookie-banner-text a{color:#c9a227;text-decoration:underline;}
.cookie-banner-text a:hover{color:#e0b84a;}
.cookie-banner-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.cookie-btn{padding:8px 20px;border-radius:6px;border:none;cursor:pointer;font-size:13px;font-weight:600;transition:all 0.3s ease;}
.cookie-btn-accept{background:#c9a227;color:#1e3a5f;}
.cookie-btn-accept:hover{background:#e0b84a;}
.cookie-btn-decline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,0.5);}
.cookie-btn-decline:hover{border-color:#fff;background:rgba(255,255,255,0.1);}
.cookie-btn-customize{background:transparent;color:#c9a227;border:1px solid #c9a227;}
.cookie-btn-customize:hover{background:rgba(201,162,39,0.1);}
.cookie-customize-panel{display:none;width:100%;background:rgba(0,0,0,0.2);border-radius:8px;padding:16px;margin-top:8px;}
.cookie-customize-panel.active{display:block;}
.cookie-customize-inner{position:relative;}
.cookie-customize-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.cookie-customize-header h4{margin:0;font-size:14px;color:#c9a227;}
.cookie-type-item{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,0.1);}
.cookie-type-item:last-child{border-bottom:none;}
.cookie-type-info{flex:1;}
.cookie-type-info span{display:block;font-size:13px;font-weight:600;}
.cookie-type-info small{font-size:11px;color:rgba(255,255,255,0.7);}
.cookie-switch{position:relative;display:inline-block;width:40px;height:22px;}
.cookie-switch input{opacity:0;width:0;height:0;outline:none;-webkit-tap-highlight-color:transparent;}
.cookie-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#666;transition:0.3s;border-radius:22px;-webkit-tap-highlight-color:transparent;}
.cookie-slider:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:3px;background:#fff;transition:0.3s;border-radius:50%;-webkit-tap-highlight-color:transparent;}
.cookie-switch input:checked+.cookie-slider{background:#c9a227;}
.cookie-switch input:checked+.cookie-slider:before{transform:translateX(18px);}
.cookie-switch input:disabled+.cookie-slider{opacity:0.5;cursor:not-allowed;}
.cookie-btn-save{margin-top:12px;padding:6px 16px;background:#c9a227;color:#1e3a5f;border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:600;}
.cookie-btn-save:hover{background:#e0b84a;}
.cookie-privacy-panel{display:none;width:100%;background:rgba(0,0,0,0.2);border-radius:8px;padding:16px;margin-top:8px;max-height:45vh;overflow-y:auto;}
.cookie-privacy-panel.active{display:block;}
.cookie-privacy-inner{position:relative;}
.cookie-privacy-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.cookie-privacy-header h4{margin:0;font-size:14px;color:#c9a227;}
.cookie-customize-close{background:none;border:none;color:rgba(255,255,255,0.6);font-size:20px;cursor:pointer;line-height:1;padding:0 0 0 12px;transition:color 0.2s;}
.cookie-customize-close:hover{color:#fff;}
.cookie-privacy-scroll{overflow-y:auto;}
.cookie-privacy-panel h5{margin:12px 0 6px;font-size:13px;color:#c9a227;}
.cookie-privacy-panel p{margin:4px 0;font-size:12px;line-height:1.6;color:rgba(255,255,255,0.85);}
.cookie-privacy-panel table{width:100%;border-collapse:collapse;margin:8px 0;font-size:11px;}
.cookie-privacy-panel th,.cookie-privacy-panel td{padding:6px 8px;border:1px solid rgba(255,255,255,0.2);text-align:left;}
.cookie-privacy-panel th{background:rgba(201,162,39,0.2);}
.cookie-privacy-back{display:inline-block;margin-top:12px;color:#c9a227;cursor:pointer;font-size:13px;font-weight:600;}
.cookie-privacy-back:hover{text-decoration:underline;}



@media (max-width:768px){
    .cookie-banner{padding:12px 16px;gap:8px;font-size:13px;}
    .cookie-btn{padding:6px 14px;font-size:12px;}
    .cookie-privacy-panel{max-height:40vh;}
    .b2b-popup-content{padding:20px;width:95%;}
}

.form-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:flex;align-items:center;justify-content:center;z-index:99999;opacity:0;transition:opacity 0.3s;}
.form-modal-overlay.active{opacity:1;}
.form-modal-overlay .form-modal-content{background:#fff;border-radius:16px;padding:40px;max-width:400px;width:90%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,0.3);transform:scale(0.9);transition:transform 0.3s;}
.form-modal-overlay.active .form-modal-content{transform:scale(1);}
.form-modal-overlay .modal-spinner{width:60px;height:60px;border:4px solid #e5e7eb;border-top-color:#c9a227;border-radius:50%;margin:0 auto 20px;animation:modal-spin 0.8s linear infinite;}
@keyframes modal-spin{to{transform:rotate(360deg);}}
.form-modal-overlay .modal-icon{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:36px;color:#fff;margin:0 auto 20px;}
.form-modal-overlay .modal-icon-success{background:linear-gradient(135deg,#10b981,#059669);}
.form-modal-overlay .modal-icon-error{background:linear-gradient(135deg,#ef4444,#dc2626);}
.form-modal-overlay .modal-title{margin:0 0 10px;font-size:22px;font-weight:600;color:#1f2937;}
.form-modal-overlay .modal-text{margin:0;font-size:16px;color:#6b7280;}
.form-modal-overlay .modal-desc{margin:0 0 24px;font-size:14px;color:#6b7280;line-height:1.6;}
.form-modal-overlay .modal-btn{background:linear-gradient(135deg,#c9a227,#b8911f);color:#1e3a5f;border:none;padding:12px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform 0.2s,box-shadow 0.2s;}
.form-modal-overlay .modal-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(201,162,39,0.4);}
.form-modal-overlay .modal-btn-secondary{background:#6b7280;color:#fff;}
.form-modal-overlay .modal-btn-secondary:hover{background:#4b5563;box-shadow:0 4px 12px rgba(107,114,128,0.4);}

@media(max-width:768px){
    .form-modal-overlay .form-modal-content{padding:24px 20px;max-width:95%;}
    .form-modal-overlay .modal-spinner{width:48px;height:48px;}
    .form-modal-overlay .modal-icon{width:56px;height:56px;font-size:28px;}
}
.form-field-error{color:#dc2626;font-size:12px;margin-top:4px;display:none;}
.form-field-error.visible{display:block;}
.b2b-form-group input.field-error,.b2b-form-group textarea.field-error,.df-form-group input.field-error,.df-form-group select.field-error,.b2b-input.field-error{border-color:#dc2626 !important;}
.b2b-form-group input.field-valid,.b2b-form-group textarea.field-valid,.df-form-group input.field-valid,.df-form-group select.field-valid,.b2b-input.field-valid{border-color:#16a34a !important;}
