/* ============================================================
   EURO CEC · WHATSAPP & LEADS · V1
============================================================ */

#ecec-wa-root {
    --ecec-wa-orange: #ff7600;
    --ecec-wa-yellow: #ffd600;
    --ecec-wa-dark: #13171b;
    --ecec-wa-text: #23272b;
    --ecec-wa-muted: #747a80;
    --ecec-wa-line: #e4e6e3;
    --ecec-wa-soft: #f7f7f4;
    --ecec-wa-green: #25d366;
    --ecec-wa-green-dark: #159747;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999990;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ecec-wa-text);
}

#ecec-wa-root *,
#ecec-wa-root *::before,
#ecec-wa-root *::after {
    box-sizing: border-box;
}

#ecec-wa-root button,
#ecec-wa-root input,
#ecec-wa-root select,
#ecec-wa-root textarea {
    font: inherit;
}

#ecec-wa-root a,
#ecec-wa-root a:hover,
#ecec-wa-root a:focus,
#ecec-wa-root a:visited {
    text-decoration: none !important;
}

.ecec-wa-launcher {
    min-height: 60px;
    padding: 7px 9px 7px 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(20, 24, 28, .08);
    border-radius: 999px;
    color: #202326;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 42px rgba(20, 26, 31, .18);
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}

.ecec-wa-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 48px rgba(20, 26, 31, .22);
}

.ecec-wa-launcher-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.ecec-wa-launcher-copy small {
    color: #8b8f93;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.ecec-wa-launcher-copy strong {
    color: #1e2124;
    font-size: 12.5px;
    line-height: 1.15;
    font-weight: 820;
}

.ecec-wa-launcher-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #2dde72, #20bd5b);
    box-shadow: 0 8px 18px rgba(37, 211, 102, .26);
    position: relative;
}

.ecec-wa-launcher-icon::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--ecec-wa-orange);
}

.ecec-wa-launcher-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ecec-wa-panel {
    width: min(405px, calc(100vw - 28px));
    max-height: min(720px, calc(100vh - 110px));
    position: absolute;
    right: 0;
    bottom: 74px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(26, 29, 32, .09);
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(13, 18, 23, .26);
}

.ecec-wa-panel.is-open {
    display: flex;
    animation: ececWaEnter .22s ease both;
}

@keyframes ececWaEnter {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ecec-wa-head {
    min-height: 86px;
    padding: 16px 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background:
        radial-gradient(280px circle at 100% 0%, rgba(255, 118, 0, .24), transparent 65%),
        linear-gradient(135deg, #14181c, #1b2025);
}

.ecec-wa-brand {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.ecec-wa-brand img {
    width: 39px;
    height: auto;
    display: block;
}

.ecec-wa-head-copy {
    min-width: 0;
    flex: 1;
}

.ecec-wa-head-copy strong {
    display: block;
    color: #fff;
    font-size: 14.5px;
    line-height: 1.2;
    font-weight: 800;
}

.ecec-wa-status {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: 9.5px;
    line-height: 1.2;
}

.ecec-wa-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ecec-wa-green);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .12);
}

.ecec-wa-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.ecec-wa-body {
    min-height: 0;
    padding: 15px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, #fafaf8, #f5f5f2);
}

.ecec-wa-body::-webkit-scrollbar {
    width: 6px;
}

.ecec-wa-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d7d9d6;
}

.ecec-wa-bubble {
    max-width: 91%;
    padding: 12px 14px;
    border: 1px solid var(--ecec-wa-line);
    border-radius: 8px 18px 18px 18px;
    color: #41464a;
    background: #fff;
    font-size: 12px;
    line-height: 1.55;
    box-shadow: 0 5px 14px rgba(22, 26, 29, .04);
}

.ecec-wa-bubble + .ecec-wa-bubble,
.ecec-wa-bubble + .ecec-wa-actions,
.ecec-wa-context + .ecec-wa-actions {
    margin-top: 9px;
}

.ecec-wa-bubble strong {
    color: #202326;
}

.ecec-wa-context {
    margin-top: 10px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 118, 0, .16);
    border-radius: 13px;
    color: #6b5a4c;
    background: #fff6ed;
    font-size: 10.5px;
    line-height: 1.4;
}

.ecec-wa-context-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--ecec-wa-orange);
    background: #ffe8d2;
    font-weight: 900;
}

.ecec-wa-actions {
    display: grid;
    gap: 7px;
}

.ecec-wa-action,
.ecec-wa-solution {
    width: 100%;
    min-height: 49px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--ecec-wa-line);
    border-radius: 14px;
    color: #282c30;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ecec-wa-action:hover,
.ecec-wa-solution:hover {
    border-color: rgba(255, 118, 0, .34);
    background: #fff7ef;
    transform: translateY(-1px);
}

.ecec-wa-action-icon,
.ecec-wa-solution-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--ecec-wa-orange);
    background: #fff0e3;
    font-size: 15px;
    font-weight: 900;
}

.ecec-wa-action-copy,
.ecec-wa-solution-copy {
    min-width: 0;
    flex: 1;
}

.ecec-wa-action-copy strong,
.ecec-wa-solution-copy strong {
    display: block;
    color: #24272a;
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 800;
}

.ecec-wa-action-copy small,
.ecec-wa-solution-copy small {
    display: block;
    margin-top: 3px;
    color: #85898d;
    font-size: 9.5px;
    line-height: 1.3;
}

.ecec-wa-arrow {
    color: #a0a4a7;
    font-size: 17px;
    font-weight: 900;
}

.ecec-wa-action.is-whatsapp {
    border-color: rgba(37, 211, 102, .22);
    background: #f1fff6;
}

.ecec-wa-action.is-whatsapp .ecec-wa-action-icon {
    color: #148d43;
    background: #ddf8e7;
}

.ecec-wa-action.is-primary {
    border-color: rgba(255, 118, 0, .26);
    background: linear-gradient(135deg, #fff8f0, #fff1e3);
}

.ecec-wa-action.is-primary .ecec-wa-action-icon {
    color: #fff;
    background: linear-gradient(135deg, #ff8b00, #ff6e00);
}

.ecec-wa-section-title {
    margin: 0 0 10px;
    color: #24272a;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 820;
}

.ecec-wa-section-note {
    margin: -3px 0 11px;
    color: #777c81;
    font-size: 10.5px;
    line-height: 1.45;
}

.ecec-wa-solutions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.ecec-wa-solution {
    min-height: 61px;
    padding: 8px;
}

.ecec-wa-solution.is-context {
    border-color: rgba(255, 118, 0, .42);
    background: #fff4e8;
}

.ecec-wa-solution-copy strong {
    font-size: 10.5px;
}

.ecec-wa-solution-copy small {
    font-size: 8.7px;
}

.ecec-wa-back {
    margin: 0 0 11px;
    padding: 0;
    border: 0;
    color: #686d71;
    background: none;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 720;
}

.ecec-wa-back:hover {
    color: var(--ecec-wa-orange);
}

.ecec-wa-info-answer {
    padding: 14px;
    border: 1px solid #e5e7e4;
    border-radius: 16px;
    background: #fff;
}

.ecec-wa-info-answer small {
    display: block;
    margin-bottom: 7px;
    color: var(--ecec-wa-orange);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .7px;
}

.ecec-wa-info-answer h3 {
    margin: 0;
    color: #222528;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 820;
}

.ecec-wa-info-answer p {
    margin: 9px 0 0;
    color: #676c71;
    font-size: 11.5px;
    line-height: 1.6;
}

.ecec-wa-info-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.ecec-wa-small-btn {
    min-height: 43px;
    padding: 0 10px;
    border: 1px solid #dde0dd;
    border-radius: 12px;
    color: #33373b;
    background: #fff;
    cursor: pointer;
    font-size: 9.7px;
    font-weight: 780;
}

.ecec-wa-small-btn.primary {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #ff8a00, #ff7000);
}

.ecec-wa-small-btn.whatsapp {
    border-color: rgba(37, 211, 102, .24);
    color: #147a3d;
    background: #eefff4;
}

.ecec-wa-progress {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ecec-wa-progress span {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: #e1e3e0;
}

.ecec-wa-progress span.is-active {
    background: linear-gradient(90deg, #ff8a00, #ff7000);
}

.ecec-wa-progress small {
    color: #85898d;
    font-size: 9px;
    font-weight: 800;
}

.ecec-wa-form {
    display: grid;
    gap: 10px;
}

.ecec-wa-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ecec-wa-field label {
    display: block;
    margin-bottom: 5px;
    color: #34383c;
    font-size: 9.5px;
    line-height: 1.2;
    font-weight: 760;
}

.ecec-wa-field input,
.ecec-wa-field select,
.ecec-wa-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid #d9dcda;
    border-radius: 11px;
    outline: 0;
    color: #25292c;
    background: #fff;
    font-size: 11px;
    line-height: 1.35;
    box-shadow: none;
}

.ecec-wa-field textarea {
    min-height: 78px;
    resize: vertical;
}

.ecec-wa-field input:focus,
.ecec-wa-field select:focus,
.ecec-wa-field textarea:focus {
    border-color: rgba(255, 118, 0, .55);
    box-shadow: 0 0 0 3px rgba(255, 118, 0, .08);
}

.ecec-wa-field input.is-error,
.ecec-wa-field select.is-error,
.ecec-wa-field textarea.is-error {
    border-color: #c84848;
}

.ecec-wa-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #696e73;
    font-size: 9.3px;
    line-height: 1.45;
}

.ecec-wa-checkbox input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--ecec-wa-orange);
    flex: 0 0 16px;
}

.ecec-wa-checkbox a,
.ecec-wa-checkbox a:visited {
    color: var(--ecec-wa-orange) !important;
    font-weight: 760;
}

.ecec-wa-form-actions {
    margin-top: 2px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 7px;
}

.ecec-wa-form-btn {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #dde0dd;
    border-radius: 13px;
    color: #4f555a;
    background: #fff;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 800;
}

.ecec-wa-form-btn.primary {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #ff8b00, #ff6d00);
    box-shadow: 0 9px 18px rgba(255, 118, 0, .16);
}

.ecec-wa-form-btn[disabled] {
    opacity: .58;
    cursor: wait;
}

.ecec-wa-error {
    margin-bottom: 10px;
    padding: 10px 11px;
    border: 1px solid #f0c7c7;
    border-radius: 12px;
    color: #8b3636;
    background: #fff4f4;
    font-size: 10px;
    line-height: 1.45;
}

.ecec-wa-success {
    padding: 18px 15px;
    border: 1px solid #dce8df;
    border-radius: 18px;
    text-align: center;
    background: #fff;
}

.ecec-wa-success-mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #28d96b, #1aa452);
    font-size: 26px;
    font-weight: 900;
}

.ecec-wa-success small {
    display: block;
    color: #969a9e;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .65px;
}

.ecec-wa-success h3 {
    margin: 5px 0 0;
    color: #232629;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 830;
}

.ecec-wa-success p {
    margin: 9px auto 0;
    max-width: 320px;
    color: #686e73;
    font-size: 11px;
    line-height: 1.55;
}

.ecec-wa-success-id {
    margin: 12px auto 0;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #985000;
    background: #fff1df;
    font-size: 10px;
    font-weight: 850;
}

.ecec-wa-success-actions {
    margin-top: 14px;
    display: grid;
    gap: 7px;
}

.ecec-wa-success-actions a,
.ecec-wa-success-actions button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 10.5px;
    font-weight: 800;
}

.ecec-wa-success-actions a,
.ecec-wa-success-actions a:visited {
    color: #fff !important;
    background: linear-gradient(135deg, #2bd96c, #1eac55);
}

.ecec-wa-success-actions button {
    border: 1px solid #dde0dd;
    color: #555a5f;
    background: #fff;
    cursor: pointer;
}

.ecec-wa-foot {
    min-height: 39px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #e8e9e6;
    color: #989c9f;
    background: #fff;
    font-size: 8.5px;
    line-height: 1.3;
}

.ecec-wa-foot strong {
    color: #74787b;
    font-weight: 760;
}

@media (max-width: 680px) {
    #ecec-wa-root {
        right: 12px;
        bottom: 82px;
    }

    .ecec-wa-launcher {
        min-height: 55px;
        padding-left: 13px;
    }

    .ecec-wa-launcher-copy small {
        display: none;
    }

    .ecec-wa-launcher-copy strong {
        font-size: 11px;
    }

    .ecec-wa-launcher-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .ecec-wa-panel {
        position: fixed;
        right: 10px;
        left: 10px;
        bottom: 78px;
        width: auto;
        max-height: calc(100vh - 105px);
        border-radius: 23px;
    }

    .ecec-wa-head {
        min-height: 78px;
        padding: 13px;
    }

    .ecec-wa-body {
        padding: 12px;
    }

    .ecec-wa-solutions {
        grid-template-columns: 1fr;
    }

    .ecec-wa-grid-2 {
        grid-template-columns: 1fr;
    }

    .ecec-wa-info-actions,
    .ecec-wa-form-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecec-wa-panel.is-open {
        animation: none;
    }

    .ecec-wa-launcher,
    .ecec-wa-action,
    .ecec-wa-solution,
    .ecec-wa-small-btn,
    .ecec-wa-form-btn {
        transition: none;
    }
}


/* ============================================================
   EURO CEC · WHATSAPP & LEADS · V1.2 visual cleanup
============================================================ */
.ecec-wa-launcher {
    min-width: 212px !important;
    min-height: 82px !important;
    padding: 12px 14px 12px 16px !important;
    gap: 14px !important;
    align-items: center !important;
    border: 1px solid rgba(255,255,255,.52) !important;
    border-radius: 24px !important;
    background: rgba(17, 20, 24, .88) !important;
    color: #fff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 52px rgba(9, 13, 17, .34) !important;
}

.ecec-wa-launcher:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 24px 58px rgba(9, 13, 17, .4) !important;
}

.ecec-wa-launcher.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
}

.ecec-wa-launcher-copy {
    gap: 4px !important;
}

.ecec-wa-launcher-copy small {
    color: rgba(255,255,255,.68) !important;
    font-size: 11px !important;
    letter-spacing: .2px !important;
}

.ecec-wa-launcher-copy strong {
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
    font-weight: 850 !important;
}

.ecec-wa-launcher-copy em {
    display: block;
    color: rgba(255,255,255,.76);
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 600;
}

.ecec-wa-launcher-icon {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .3) !important;
}

.ecec-wa-launcher-icon svg {
    width: 28px !important;
    height: 28px !important;
}

.ecec-wa-panel {
    width: min(430px, calc(100vw - 28px)) !important;
    bottom: 96px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(15, 18, 22, .1) !important;
    box-shadow: 0 34px 90px rgba(13, 18, 23, .3) !important;
}

.ecec-wa-head {
    min-height: 90px !important;
    padding: 18px 18px 16px !important;
    gap: 14px !important;
}

.ecec-wa-brand {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
    border-radius: 16px !important;
}

.ecec-wa-brand img {
    width: 44px !important;
}

.ecec-wa-head-copy strong {
    font-size: 26px !important;
    line-height: 1.05 !important;
}

.ecec-wa-status {
    margin-top: 7px !important;
    font-size: 12px !important;
    color: rgba(255,255,255,.76) !important;
}

.ecec-wa-close {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.96) !important;
    font-size: 24px !important;
}

.ecec-wa-body {
    padding: 18px !important;
}

.ecec-wa-bubble {
    max-width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    line-height: 1.52 !important;
}

.ecec-wa-context {
    padding: 13px 14px !important;
    gap: 10px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
}

.ecec-wa-context-mark {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
}

.ecec-wa-section-title {
    margin: 2px 0 10px !important;
    font-size: 27px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
}

.ecec-wa-section-note {
    margin: 0 0 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.ecec-wa-actions,
.ecec-wa-solutions,
.ecec-wa-form {
    gap: 10px !important;
}

.ecec-wa-action,
.ecec-wa-solution {
    min-height: 94px !important;
    padding: 14px 14px !important;
    gap: 13px !important;
    border-radius: 18px !important;
    align-items: center !important;
}

.ecec-wa-action-icon,
.ecec-wa-solution-icon {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border-radius: 14px !important;
    font-size: 21px !important;
}

.ecec-wa-action-copy strong,
.ecec-wa-solution-copy strong {
    font-size: 21px !important;
    line-height: 1.16 !important;
}

.ecec-wa-action-copy small,
.ecec-wa-solution-copy small {
    margin-top: 5px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.ecec-wa-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0f1ef;
    color: #7d8287 !important;
    font-size: 20px !important;
    flex: 0 0 34px;
}

.ecec-wa-action.is-primary {
    background: linear-gradient(135deg, #fff8ef, #fff2e3) !important;
    border-color: rgba(255, 118, 0, .26) !important;
}

.ecec-wa-action.is-whatsapp {
    background: #f2fff6 !important;
}

.ecec-wa-back {
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
}

.ecec-wa-info-answer {
    padding: 16px !important;
    border-radius: 18px !important;
}

.ecec-wa-info-answer small {
    font-size: 10px !important;
}

.ecec-wa-info-answer h3 {
    font-size: 24px !important;
}

.ecec-wa-info-answer p {
    font-size: 15px !important;
}

.ecec-wa-info-actions {
    gap: 10px !important;
}

.ecec-wa-small-btn,
.ecec-wa-form-btn {
    min-height: 50px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.ecec-wa-progress small {
    font-size: 12px !important;
}

.ecec-wa-field label {
    margin-bottom: 6px !important;
    font-size: 13px !important;
}

.ecec-wa-field input,
.ecec-wa-field select,
.ecec-wa-field textarea {
    min-height: 48px !important;
    padding: 11px 12px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
}

.ecec-wa-field textarea {
    min-height: 100px !important;
}

.ecec-wa-checkbox {
    font-size: 12.5px !important;
}

.ecec-wa-error,
.ecec-wa-success {
    font-size: 13px !important;
    border-radius: 16px !important;
}

.ecec-wa-success h3 {
    font-size: 23px !important;
}

.ecec-wa-success p,
.ecec-wa-success-id,
.ecec-wa-success-list,
.ecec-wa-success-note {
    font-size: 14px !important;
}

.ecec-wa-foot {
    min-height: 46px !important;
    padding: 11px 16px !important;
    font-size: 11px !important;
}

@media (max-width: 680px) {
    #ecec-wa-root {
        right: 12px !important;
        bottom: 18px !important;
    }

    .ecec-wa-launcher {
        min-width: 188px !important;
        min-height: 76px !important;
        padding: 12px 12px 12px 14px !important;
    }

    .ecec-wa-launcher-copy small {
        display: block !important;
        font-size: 10px !important;
    }

    .ecec-wa-launcher-copy strong {
        font-size: 18px !important;
    }

    .ecec-wa-launcher-copy em {
        font-size: 11.5px !important;
    }

    .ecec-wa-launcher-icon {
        width: 50px !important;
        height: 50px !important;
        flex-basis: 50px !important;
    }

    .ecec-wa-panel {
        right: 12px !important;
        left: 12px !important;
        bottom: 104px !important;
        max-height: calc(100vh - 126px) !important;
        border-radius: 24px !important;
    }

    .ecec-wa-head-copy strong {
        font-size: 20px !important;
    }

    .ecec-wa-status {
        font-size: 11px !important;
    }

    .ecec-wa-body {
        padding: 14px !important;
    }

    .ecec-wa-bubble {
        font-size: 15px !important;
    }

    .ecec-wa-section-title {
        font-size: 22px !important;
    }

    .ecec-wa-section-note {
        font-size: 13px !important;
    }

    .ecec-wa-action,
    .ecec-wa-solution {
        min-height: 88px !important;
    }

    .ecec-wa-action-copy strong,
    .ecec-wa-solution-copy strong {
        font-size: 18px !important;
    }

    .ecec-wa-action-copy small,
    .ecec-wa-solution-copy small {
        font-size: 12px !important;
    }

    .ecec-wa-grid-2,
    .ecec-wa-info-actions,
    .ecec-wa-form-actions {
        grid-template-columns: 1fr !important;
    }

    .ecec-wa-foot {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 3px !important;
    }
}

/* ============================================================
   EURO CEC · WHATSAPP & LEADS · V1.2.1 COMPACT
   Objetivo: botón simple + panel completo visible sin scroll inicial.
============================================================ */

/* ----- Launcher: solo WhatsApp EURO CEC ----- */
.ecec-wa-launcher,
.ecec-wa-launcher:hover,
.ecec-wa-launcher:focus,
.ecec-wa-launcher:active {
    min-width: 176px !important;
    min-height: 56px !important;
    width: auto !important;
    padding: 7px 13px 7px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    border: 1px solid rgba(255,255,255,.65) !important;
    border-radius: 999px !important;
    background: rgba(16,19,22,.94) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(9,13,17,.28) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.ecec-wa-launcher:hover {
    transform: translateY(-2px) !important;
    background: #111519 !important;
}

.ecec-wa-launcher-icon {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    box-shadow: none !important;
}

.ecec-wa-launcher-icon svg {
    width: 23px !important;
    height: 23px !important;
}

.ecec-wa-launcher-label {
    display: block !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.ecec-wa-launcher-copy { display: none !important; }

/* ----- Panel compacto ----- */
.ecec-wa-panel {
    width: min(390px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 90px) !important;
    bottom: 72px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15,18,22,.10) !important;
    background: #fff !important;
    box-shadow: 0 26px 70px rgba(10,14,18,.30) !important;
}

.ecec-wa-head {
    min-height: 70px !important;
    padding: 11px 12px !important;
    gap: 10px !important;
}

.ecec-wa-brand {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 13px !important;
}

.ecec-wa-brand img { width: 36px !important; }

.ecec-wa-head-copy strong {
    font-size: 18px !important;
    line-height: 1.05 !important;
    letter-spacing: -.2px !important;
}

.ecec-wa-status {
    margin-top: 4px !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
}

.ecec-wa-close,
.ecec-wa-close:hover,
.ecec-wa-close:focus,
.ecec-wa-close:active {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 21px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.ecec-wa-body {
    padding: 12px !important;
    background: #fbfbfa !important;
}

/* Vista inicial: debe caber completa */
.ecec-wa-panel.is-home-view .ecec-wa-body {
    overflow: visible !important;
}

.ecec-wa-panel.is-home-view .ecec-wa-foot {
    min-height: 34px !important;
    padding: 8px 12px !important;
}

.ecec-wa-intro {
    padding: 11px 12px !important;
    display: grid !important;
    gap: 4px !important;
    border: 1px solid #e3e4e1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 5px 14px rgba(17,20,24,.04) !important;
}

.ecec-wa-intro strong {
    color: #24272a !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

.ecec-wa-intro span {
    color: #74797d !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
}

.ecec-wa-home-head {
    margin: 10px 1px 7px !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.ecec-wa-home-head strong {
    color: #202326 !important;
    font-size: 15px !important;
    font-weight: 850 !important;
}

.ecec-wa-home-head span {
    color: #909498 !important;
    font-size: 10.5px !important;
}

.ecec-wa-context-compact {
    min-height: 38px !important;
    margin-top: 8px !important;
    padding: 7px 9px !important;
    border-radius: 12px !important;
    font-size: 10.8px !important;
}

.ecec-wa-context-compact .ecec-wa-context-mark {
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
}

/* ----- 3 opciones compactas y uniformes ----- */
.ecec-wa-actions {
    display: grid !important;
    gap: 7px !important;
}

button.ecec-wa-action,
button.ecec-wa-action:hover,
button.ecec-wa-action:focus,
button.ecec-wa-action:active {
    width: 100% !important;
    min-height: 68px !important;
    padding: 8px 10px !important;
    display: grid !important;
    grid-template-columns: 36px minmax(0,1fr) 28px !important;
    align-items: center !important;
    gap: 9px !important;
    border-radius: 14px !important;
    color: #222528 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    text-align: left !important;
    box-shadow: none !important;
}

button.ecec-wa-action.is-primary,
button.ecec-wa-action.is-primary:hover,
button.ecec-wa-action.is-primary:focus,
button.ecec-wa-action.is-primary:active {
    border: 1px solid rgba(255,118,0,.30) !important;
    background: #fff7ee !important;
}

button.ecec-wa-action.is-info,
button.ecec-wa-action.is-info:hover,
button.ecec-wa-action.is-info:focus,
button.ecec-wa-action.is-info:active {
    border: 1px solid #e0e1de !important;
    background: #ffffff !important;
}

button.ecec-wa-action.is-whatsapp,
button.ecec-wa-action.is-whatsapp:hover,
button.ecec-wa-action.is-whatsapp:focus,
button.ecec-wa-action.is-whatsapp:active {
    border: 1px solid rgba(37,211,102,.24) !important;
    background: #f2fff6 !important;
}

.ecec-wa-action-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 11px !important;
    font-size: 17px !important;
}

.ecec-wa-action.is-info .ecec-wa-action-icon {
    color: #ff7600 !important;
    background: #fff1e3 !important;
}

.ecec-wa-action-copy strong {
    color: #222528 !important;
    font-size: 14px !important;
    line-height: 1.16 !important;
    font-weight: 820 !important;
}

.ecec-wa-action-copy small {
    margin-top: 3px !important;
    color: #858a8e !important;
    font-size: 10.4px !important;
    line-height: 1.35 !important;
}

.ecec-wa-arrow {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #8b9094 !important;
    background: #f0f1ef !important;
    font-size: 17px !important;
}

/* ----- Footer mínimo ----- */
.ecec-wa-foot {
    min-height: 34px !important;
    padding: 8px 12px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    background: #fff !important;
}

/* ----- Flujos posteriores: compactos pero con scroll si hace falta ----- */
.ecec-wa-panel.is-flow-view .ecec-wa-body {
    overflow-y: auto !important;
}

.ecec-wa-panel.is-flow-view .ecec-wa-section-title {
    font-size: 18px !important;
    line-height: 1.12 !important;
}

.ecec-wa-panel.is-flow-view .ecec-wa-section-note {
    font-size: 11.5px !important;
    margin-bottom: 10px !important;
}

.ecec-wa-solution {
    min-height: 62px !important;
    padding: 8px 10px !important;
    border-radius: 13px !important;
}

.ecec-wa-solution-icon {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
}

.ecec-wa-solution-copy strong { font-size: 13px !important; }
.ecec-wa-solution-copy small { font-size: 10px !important; }

.ecec-wa-field label { font-size: 11.5px !important; }
.ecec-wa-field input,
.ecec-wa-field select,
.ecec-wa-field textarea {
    min-height: 42px !important;
    padding: 9px 10px !important;
    font-size: 12.5px !important;
}
.ecec-wa-field textarea { min-height: 82px !important; }
.ecec-wa-small-btn,
.ecec-wa-form-btn { min-height: 44px !important; font-size: 12.5px !important; }

/* ----- Mobile ----- */
@media (max-width: 680px) {
    #ecec-wa-root {
        right: 10px !important;
        bottom: 18px !important;
    }

    .ecec-wa-launcher,
    .ecec-wa-launcher:hover,
    .ecec-wa-launcher:focus,
    .ecec-wa-launcher:active {
        min-width: 166px !important;
        min-height: 54px !important;
        padding: 6px 12px 6px 7px !important;
    }

    .ecec-wa-launcher-icon {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }

    .ecec-wa-launcher-label {
        font-size: 13px !important;
    }

    .ecec-wa-panel {
        right: 10px !important;
        left: 10px !important;
        bottom: 80px !important;
        width: auto !important;
        max-height: calc(100vh - 100px) !important;
        border-radius: 20px !important;
    }

    .ecec-wa-head {
        min-height: 64px !important;
        padding: 10px !important;
    }

    .ecec-wa-brand {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }

    .ecec-wa-brand img { width: 33px !important; }
    .ecec-wa-head-copy strong { font-size: 16.5px !important; }
    .ecec-wa-status { font-size: 9.5px !important; }
    .ecec-wa-close { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }

    .ecec-wa-body { padding: 10px !important; }
    .ecec-wa-intro { padding: 9px 10px !important; }
    .ecec-wa-intro strong { font-size: 12.6px !important; }
    .ecec-wa-intro span { font-size: 10.5px !important; }
    .ecec-wa-home-head { margin: 8px 1px 6px !important; }
    .ecec-wa-home-head strong { font-size: 14px !important; }

    button.ecec-wa-action,
    button.ecec-wa-action:hover,
    button.ecec-wa-action:focus,
    button.ecec-wa-action:active {
        min-height: 64px !important;
        grid-template-columns: 34px minmax(0,1fr) 26px !important;
        padding: 7px 9px !important;
        gap: 8px !important;
    }

    .ecec-wa-action-icon { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }
    .ecec-wa-action-copy strong { font-size: 13px !important; }
    .ecec-wa-action-copy small { font-size: 9.7px !important; }
    .ecec-wa-arrow { width: 26px !important; height: 26px !important; }

    .ecec-wa-panel.is-home-view .ecec-wa-foot { display: none !important; }
}
