.msc-contact-box {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.msc-contact-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #222222;
    margin-bottom: 4px;
}

.msc-contact-subtitle {
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
    margin-bottom: 12px;
}

.msc-contact-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.msc-contact-btn {
    flex: 1 1 0;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.msc-contact-btn:hover,
.msc-contact-btn:focus {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: .95;
}

.msc-contact-btn-whatsapp {
    background: #25D366;
}

.msc-contact-btn-email {
    background: #2563eb;
}

.msc-contact-btn-phone {
    background: #1f2933;
}

.msc-contact-icon {
    font-size: 16px;
    line-height: 1;
}

@media (min-width: 768px) {
    .msc-hide-desktop {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .msc-contact-actions {
        flex-direction: column;
    }

    .msc-hide-mobile {
        display: none !important;
    }
}


@media (max-width: 767px) {
    .msc-floating-mobile {
        bottom: 92px !important;
    }

    body.msc-has-floating-contact {
        padding-bottom: 84px;
    }
}


@media (max-width: 767px) {
    .msc-contact-btn,
    .msc-floating-main,
    .msc-floating-option {
        border-radius: 6px !important;
    }
}

/* Custom colors are injected from backend settings through inline safe styles. */


@media (min-width: 768px) {
    .msc-floating-mobile.msc-floating-desktop-enabled {
        position: fixed !important;
        right: 14px !important;
        bottom: 24px !important;
        z-index: 2147483000 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 10px !important;
    }
}

.msc-contact-btn-callback { background: #f97316; }
.msc-product-callback-form.is-open { display:block !important; }

.msc-product-callback-success {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #16a34a;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.msc-callback-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msc-product-callback-error {
    background: #dc2626;
}

.msc-product-callback-gdpr {
    flex: 1 1 100%;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 2px 0 4px 0;
    font-size: 11px;
    line-height: 1.35;
    color: #444;
}

.msc-product-callback-gdpr input {
    width: auto;
    margin-top: 2px;
    flex: 0 0 auto;
}

.msc-callback-gdpr span,
.msc-product-callback-gdpr span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #333333 !important;
}

.msc-callback-gdpr,
.msc-product-callback-gdpr {
    background: transparent !important;
}

.msc-contact-btn-callback,
.msc-floating-callback {
    color: #ffffff !important;
}

/* v1.8.3 - Mobile floating click fix */
.msc-floating-mobile,
.msc-floating-mobile * {
    pointer-events: auto !important;
}

.msc-floating-mobile {
    isolation: isolate !important;
}

.msc-floating-options {
    position: relative !important;
    z-index: 3 !important;
}

.msc-floating-option {
    position: relative !important;
    z-index: 4 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.08) !important;
}

.msc-floating-main {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
}

.msc-callback-form {
    position: relative !important;
    z-index: 5 !important;
}

@media (max-width: 767px) {
    .msc-floating-mobile.is-open .msc-floating-options {
        display: flex !important;
    }
}
