.tlc-wa-float,
.tlc-wa-overlay,
.tlc-wa-overlay * {
    box-sizing: border-box;
}

/* TLC brand palette */
.tlc-wa-overlay {
    --tlc-yellow: #ffb81c;
    --tlc-black: #171717;
    --tlc-dark: #252525;
    --tlc-card: #f5f5f3;
    --tlc-border: #e4e4df;
}

.tlc-wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99990;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px 0 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #25d366 !important;
    background-image: none !important;
    color: #fff !important;
    font: 700 14px/1.1 Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.tlc-wa-float:hover,
.tlc-wa-float:focus-visible {
    background: #25d366 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 11px 28px rgba(0, 0, 0, .24) !important;
    outline: none !important;
}

.tlc-wa-float-icon {
    width: 23px;
    height: 23px;
    display: inline-flex;
    flex: 0 0 23px;
}

.tlc-wa-float-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tlc-wa-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 16, 20, .68);
    backdrop-filter: blur(2px);
}

.tlc-wa-overlay.is-open {
    display: flex;
}

html.tlc-wa-modal-open,
html.tlc-wa-modal-open body {
    overflow: hidden;
}

.tlc-wa-modal-card {
    position: relative;
    width: min(720px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 184, 28, .35);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
    font-family: Arial, Helvetica, sans-serif;
    animation: tlcWaPop .18s ease-out;
}

.tlc-wa-modal-card:focus {
    outline: none;
}

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

/* Strongly scoped so the site's global button CSS cannot reshape the close control. */
button.tlc-wa-close {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    z-index: 3 !important;
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid rgba(23, 23, 23, .72) !important;
    border-radius: 50% !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--tlc-black) !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

button.tlc-wa-close svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    pointer-events: none;
}

button.tlc-wa-close:hover,
button.tlc-wa-close:focus-visible {
    border-color: var(--tlc-black) !important;
    background: var(--tlc-black) !important;
    color: var(--tlc-yellow) !important;
    box-shadow: none !important;
    transform: scale(1.04);
    outline: none !important;
}

.tlc-wa-modal-head {
    padding: 22px 64px 23px 30px;
    background: var(--tlc-yellow);
    color: var(--tlc-black);
}

.tlc-wa-eyebrow {
    margin-bottom: 2px;
    color: #5b4a12;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.tlc-wa-modal-head h2 {
    margin: 0;
    color: #030303;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.03;
    font-weight: 800;
}

.tlc-wa-modal-body {
    padding: 27px 28px 30px;
}

.tlc-wa-note {
    margin: 0 0 19px;
    color: #4a4f55;
    font-size: 14px;
    line-height: 1.5;
}

.tlc-wa-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

/* Use TLC yellow/black only. No blue focus/hover and no white hover state. */
button.tlc-wa-service {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 112px !important;
    margin: 0 !important;
    padding: 15px 12px 13px !important;
    border: 2px solid var(--tlc-border) !important;
    border-radius: 12px !important;
    background: var(--tlc-card) !important;
    background-image: none !important;
    color: var(--tlc-dark) !important;
    text-align: center !important;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .16s ease, transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

button.tlc-wa-service:hover,
button.tlc-wa-service:focus,
button.tlc-wa-service:focus-visible {
    border-color: var(--tlc-yellow) !important;
    background: var(--tlc-yellow) !important;
    background-image: none !important;
    color: var(--tlc-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .11) !important;
    outline: none !important;
}

.tlc-wa-service-icon {
    display: block;
    width: 27px;
    height: 27px;
    margin: 0 auto 8px;
    color: var(--tlc-yellow);
}

button.tlc-wa-service:hover .tlc-wa-service-icon,
button.tlc-wa-service:focus .tlc-wa-service-icon,
button.tlc-wa-service:focus-visible .tlc-wa-service-icon {
    color: var(--tlc-black) !important;
}

.tlc-wa-service-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tlc-wa-service-label,
.tlc-wa-service-price {
    display: block;
}

.tlc-wa-service-label {
    color: var(--tlc-dark) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.tlc-wa-service-price {
    margin-top: 3px;
    color: #b76c00 !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

button.tlc-wa-service:hover .tlc-wa-service-label,
button.tlc-wa-service:focus .tlc-wa-service-label,
button.tlc-wa-service:focus-visible .tlc-wa-service-label,
button.tlc-wa-service:hover .tlc-wa-service-price,
button.tlc-wa-service:focus .tlc-wa-service-price,
button.tlc-wa-service:focus-visible .tlc-wa-service-price {
    color: var(--tlc-black) !important;
}

@media (max-width: 767px) {
    .tlc-wa-float {
        right: 16px;
        bottom: 18px;
        width: 56px !important;
        min-width: 56px !important;
        height: 56px !important;
        min-height: 56px !important;
        justify-content: center;
        padding: 0 !important;
    }

    .tlc-wa-float-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .tlc-wa-float-text {
        display: none;
    }

    .tlc-wa-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .tlc-wa-modal-card {
        width: 100%;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        border-radius: 18px;
    }

    button.tlc-wa-close {
        top: 13px !important;
        right: 14px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
    }

    .tlc-wa-modal-head {
        padding: 20px 58px 20px 20px;
    }

    .tlc-wa-eyebrow {
        font-size: 12px;
    }

    .tlc-wa-modal-head h2 {
        font-size: 30px;
    }

    .tlc-wa-modal-body {
        padding: 20px;
    }

    .tlc-wa-services {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    button.tlc-wa-service {
        min-height: 76px !important;
        display: grid !important;
        grid-template-columns: 42px 1fr;
        grid-template-rows: auto auto;
        column-gap: 10px;
        align-items: center;
        padding: 11px 14px !important;
        text-align: left !important;
    }

    .tlc-wa-service-icon {
        grid-row: 1 / 3;
        grid-column: 1;
        margin: 0;
        width: 30px;
        height: 30px;
        justify-self: center;
    }

    .tlc-wa-service-label {
        grid-column: 2;
        align-self: end;
        font-size: 15px;
    }

    .tlc-wa-service-price {
        grid-column: 2;
        align-self: start;
        margin-top: 1px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tlc-wa-float,
    .tlc-wa-service,
    .tlc-wa-close,
    .tlc-wa-modal-card {
        transition: none;
        animation: none;
    }
}
