/* Shared Zimbuyer storefront interaction refinements. */

#tvcmsdesktop-user-info {
    width: 100%;
}

#tvcmsdesktop-user-info .zb-account-entry {
    display: flex !important;
    width: 100%;
    min-height: 66px;
    padding: 10px 12px !important;
    align-items: flex-start;
    border: 1px solid #cde6d5 !important;
    border-radius: 12px;
    background: #f7fbf8;
    color: #172b4d !important;
    line-height: 1.2 !important;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#tvcmsdesktop-user-info .zb-account-entry:hover,
#tvcmsdesktop-user-info .zb-account-entry:focus-visible {
    border-color: #22a06b !important;
    background: #f0f9f3;
    box-shadow: 0 4px 14px rgba(34, 160, 107, 0.14);
    color: #172b4d !important;
    outline: none;
    transform: translateY(-1px);
}

#tvcmsdesktop-user-info .zb-account-entry-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cde6d5;
    border-radius: 50%;
    background: #fff;
}

#tvcmsdesktop-user-info .zb-account-entry-icon i {
    width: auto !important;
    margin: 0 !important;
    color: #22a06b !important;
    font-size: 22px !important;
    line-height: 1;
}

#tvcmsdesktop-user-info .zb-account-entry-copy {
    display: flex !important;
    min-width: 0;
    margin: 0 10px;
    flex: 1 1 auto;
    flex-direction: column;
}

#tvcmsdesktop-user-info .zb-account-entry-copy small {
    margin-bottom: 3px;
    color: #6b778c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

#tvcmsdesktop-user-info .zb-account-entry-copy strong {
    overflow: hidden;
    color: #173b2a;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tvcmsdesktop-user-info .zb-account-entry-arrow {
    width: auto !important;
    margin: 0 !important;
    flex: 0 0 auto;
    color: #5e6c84 !important;
    font-size: 18px !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(12, 102, 228, 0.28);
    outline-offset: 2px;
}

@media (max-width: 1199px) {
    #tvcmsdesktop-user-info .zb-account-entry {
        min-height: 58px;
    }
}

/* Support-panel rules live here as the final theme layer to avoid legacy overrides. */
#left-column .tvcmscustomer-services .zb-zimmy-support-link,
#right-column .tvcmscustomer-services .zb-zimmy-support-link,
#left-column .tvcmscustomer-services .zb-whatsapp-support-link,
#right-column .tvcmscustomer-services .zb-whatsapp-support-link {
    display: flex !important;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    min-height: 124px;
    height: auto !important;
    margin: 0 !important;
    padding: 16px 14px !important;
    align-items: center;
    border-radius: 10px !important;
    text-align: left !important;
    white-space: normal !important;
}

#left-column .tvcmscustomer-services button.zb-zimmy-support-link,
#right-column .tvcmscustomer-services button.zb-zimmy-support-link {
    appearance: none;
    position: relative;
    overflow: hidden;
    border: 2px solid #efd9bd !important;
    background:
        radial-gradient(circle at 90% 5%, rgba(255, 139, 0, 0.11), transparent 36%),
        linear-gradient(145deg, #fffaf3 0%, #f8fbf8 100%) !important;
    font: inherit;
}

#left-column .tvcmscustomer-services button.zb-zimmy-support-link:hover,
#right-column .tvcmscustomer-services button.zb-zimmy-support-link:hover {
    border-color: #d97800 !important;
    box-shadow: 0 8px 22px rgba(217, 120, 0, 0.14);
    transform: translateY(-1px);
}

#left-column .tvcmscustomer-services .zb-whatsapp-support-link,
#right-column .tvcmscustomer-services .zb-whatsapp-support-link {
    border: 2px solid #c7ead2 !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(37, 211, 102, 0.13), transparent 38%),
        linear-gradient(145deg, #f5fcf7 0%, #ecf9f0 100%) !important;
}

#left-column .tvcmscustomer-services .zb-whatsapp-support-link:hover,
#right-column .tvcmscustomer-services .zb-whatsapp-support-link:hover {
    border-color: #1fa855 !important;
    box-shadow: 0 8px 22px rgba(31, 168, 85, 0.16);
    transform: translateY(-1px);
}

#left-column .tvcmscustomer-services .zb-zimmy-support-icon,
#right-column .tvcmscustomer-services .zb-zimmy-support-icon {
    display: inline-flex !important;
    width: 56px !important;
    height: 56px !important;
    margin: 13px 14px 0 0 !important;
    flex: 0 0 56px !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(99, 64, 25, 0.2);
}

#left-column .tvcmscustomer-services .zb-zimmy-support-icon img,
#right-column .tvcmscustomer-services .zb-zimmy-support-icon img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

#left-column .tvcmscustomer-services .tvservices-content-box,
#right-column .tvcmscustomer-services .tvservices-content-box {
    display: flex !important;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
}

#left-column .tvcmscustomer-services .tvservices-title,
#right-column .tvcmscustomer-services .tvservices-title,
#left-column .tvcmscustomer-services .tvservice-dec,
#right-column .tvcmscustomer-services .tvservice-dec {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

#left-column .tvcmscustomer-services .tvservices-title,
#right-column .tvcmscustomer-services .tvservices-title {
    display: block !important;
    margin: 0 0 5px !important;
    color: #173b2a !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    line-height: 1.25 !important;
    text-transform: none !important;
}

#left-column .tvcmscustomer-services .tvservice-dec,
#right-column .tvcmscustomer-services .tvservice-dec {
    display: block !important;
    margin: 0 !important;
    color: #4f5f57 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.45 !important;
    word-spacing: 0 !important;
}

#left-column .tvcmscustomer-services .zb-whatsapp-support-link .tvservices-img-conut,
#right-column .tvcmscustomer-services .zb-whatsapp-support-link .tvservices-img-conut {
    display: inline-flex !important;
    width: 56px !important;
    height: 56px !important;
    box-sizing: border-box;
    margin: 13px 14px 0 0 !important;
    padding: 0 !important;
    flex: 0 0 56px !important;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.24);
}

#left-column .tvcmscustomer-services .zb-whatsapp-support-link .tvservices-img,
#right-column .tvcmscustomer-services .zb-whatsapp-support-link .tvservices-img {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
}

#left-column .tvcmscustomer-services .zb-whatsapp-support-link .tvservices-img img,
#right-column .tvcmscustomer-services .zb-whatsapp-support-link .tvservices-img img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    object-fit: contain;
}

#left-column .tvcmscustomer-services .zb-support-availability,
#right-column .tvcmscustomer-services .zb-support-availability {
    display: flex;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 4px;
    align-items: center;
    gap: 7px;
    color: #5e6c84;
    font-size: 12px;
}

#left-column .tvcmscustomer-services .zb-support-availability-dot,
#right-column .tvcmscustomer-services .zb-support-availability-dot {
    display: block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #22a06b;
}

.tvcmscustomer-services .zb-support-channel-badge {
    display: inline-flex;
    max-width: 100%;
    width: fit-content;
    margin: 0 0 7px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap !important;
}

.tvcmscustomer-services .zb-support-channel-badge--ai {
    background: #fff0d6;
    color: #8f4b00;
}

.tvcmscustomer-services .zb-support-channel-badge--human {
    background: #dff5e6;
    color: #146b38;
}

.tvcmscustomer-services .zb-zimmy-support-arrow {
    align-self: center;
    margin-left: 8px;
    padding: 0 !important;
    flex: 0 0 auto;
    color: #d97800 !important;
    font-size: 25px !important;
    font-weight: 700;
}

.tvcmscustomer-services .zb-whatsapp-support-arrow {
    align-self: center;
    margin-left: 8px;
    padding: 0 !important;
    flex: 0 0 auto;
    color: #1fa855 !important;
    font-size: 25px !important;
    font-weight: 700;
}

/* Protected WhatsApp handoff page. */
.zb-whatsapp-handoff {
    position: relative;
    max-width: 760px;
    margin: 12px auto 32px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid #ccebd6;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 211, 102, 0.16), transparent 34%),
        linear-gradient(160deg, #fff 0%, #f5fcf7 100%);
    box-shadow: 0 18px 50px rgba(22, 74, 43, 0.11);
}

.zb-whatsapp-handoff::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #25d366, #128c7e);
    content: "";
}

.zb-whatsapp-handoff-hero {
    display: flex;
    align-items: center;
    gap: 22px;
}

.zb-whatsapp-handoff-mark {
    position: relative;
    display: flex;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(145deg, #25d366, #128c7e);
    box-shadow: 0 12px 26px rgba(18, 140, 126, 0.24);
}

.zb-whatsapp-handoff-bubble {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.zb-whatsapp-handoff-status {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #22a06b;
}

.zb-whatsapp-handoff-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dff5e6;
    color: #146b38;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zb-whatsapp-handoff h2 {
    margin: 0 0 8px;
    color: #173b2a;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.15;
}

.zb-whatsapp-handoff-hero p {
    max-width: 560px;
    margin: 0;
    color: #52655a;
    font-size: 15px;
    line-height: 1.55;
}

.zb-whatsapp-handoff-account {
    display: flex;
    margin: 26px 0 18px;
    padding: 14px 16px;
    align-items: center;
    gap: 12px;
    border: 1px solid #d8eadf;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.zb-whatsapp-handoff-check {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #22a06b;
    color: #fff;
    font-weight: 800;
}

.zb-whatsapp-handoff-account span:last-child {
    display: flex;
    flex-direction: column;
}

.zb-whatsapp-handoff-account small {
    color: #6b778c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zb-whatsapp-handoff-account strong {
    color: #173b2a;
    font-size: 16px;
}

.zb-whatsapp-handoff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.zb-whatsapp-handoff-grid > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    padding: 16px;
    border: 1px solid #e1ebe4;
    border-radius: 14px;
    background: #fff;
}

.zb-whatsapp-handoff-grid > div > span {
    grid-row: 1 / 3;
    font-size: 22px;
}

.zb-whatsapp-handoff-grid strong {
    color: #173b2a;
    font-size: 14px;
}

.zb-whatsapp-handoff-grid small {
    margin-top: 3px;
    color: #6b778c;
    line-height: 1.4;
}

.zb-whatsapp-handoff-security {
    display: flex;
    margin: 18px 0 24px;
    padding: 14px 16px;
    gap: 11px;
    border-radius: 12px;
    background: #f4f5f7;
    color: #44546f;
}

.zb-whatsapp-handoff-security p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.zb-whatsapp-handoff-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.zb-whatsapp-handoff-primary {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.23);
    color: #fff;
    font-weight: 750;
}

.zb-whatsapp-handoff-primary:hover,
.zb-whatsapp-handoff-primary:focus {
    color: #fff;
    filter: brightness(0.97);
    transform: translateY(-1px);
}

.zb-whatsapp-handoff-secondary {
    color: #52655a;
    font-size: 13px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 575px) {
    .zb-whatsapp-handoff {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .zb-whatsapp-handoff-hero {
        align-items: flex-start;
        gap: 14px;
    }

    .zb-whatsapp-handoff-mark {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 18px;
    }

    .zb-whatsapp-handoff-grid {
        grid-template-columns: 1fr;
    }

    .zb-whatsapp-handoff-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .zb-whatsapp-handoff-primary {
        width: 100%;
    }

    .zb-whatsapp-handoff-secondary {
        text-align: center;
    }
}

/* WhatsApp handoff — professional final presentation. */
.zb-whatsapp-handoff,
.zb-whatsapp-handoff * {
    box-sizing: border-box;
}

.zb-whatsapp-handoff {
    max-width: 860px;
    margin: 24px auto 56px;
    padding: 40px;
    border-color: #c9e4d4;
    border-radius: 20px;
    background:
        radial-gradient(circle at 96% 2%, rgba(37, 211, 102, .12), transparent 31%),
        linear-gradient(145deg, #fff 0%, #f7fbf9 100%);
    box-shadow: 0 20px 55px rgba(15, 66, 43, .10);
    color: #183b2d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: normal;
}

.zb-whatsapp-handoff::before {
    height: 4px;
    background: linear-gradient(90deg, #25d366 0%, #17a668 55%, #128c7e 100%);
}

.zb-whatsapp-handoff-hero {
    align-items: center;
    gap: 24px;
}

.zb-whatsapp-handoff-mark {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    border-radius: 22px;
    box-shadow: 0 13px 28px rgba(18, 140, 126, .22);
}

.zb-whatsapp-handoff-logo {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.zb-whatsapp-handoff-status {
    width: 20px;
    height: 20px;
    border-width: 3px;
}

.zb-whatsapp-handoff-eyebrow {
    margin-bottom: 9px;
    padding: 5px 10px;
    background: #e5f5eb;
    color: #176a3d;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .075em;
}

.zb-whatsapp-handoff h2 {
    max-width: 620px;
    margin-bottom: 8px;
    color: #103527;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.zb-whatsapp-handoff-hero p {
    max-width: 610px;
    color: #5b6f65;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.6;
}

.zb-whatsapp-handoff-account {
    margin: 28px 0 16px;
    padding: 14px 16px;
    border-color: #d4e5dc;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 5px 16px rgba(19, 68, 47, .045);
}

.zb-whatsapp-handoff-check {
    background: #16895a;
}

.zb-whatsapp-handoff-check svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.zb-whatsapp-handoff-account small {
    color: #667b71;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .09em;
}

.zb-whatsapp-handoff-account strong {
    color: #173e30;
    font-size: 15px;
    font-weight: 700;
}

.zb-whatsapp-handoff-grid {
    gap: 14px;
}

.zb-whatsapp-handoff-grid > div {
    align-items: center;
    display: flex;
    gap: 13px;
    min-height: 82px;
    padding: 15px 16px;
    border-color: #d9e6df;
    border-radius: 13px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 15px rgba(19, 68, 47, .04);
}

.zb-whatsapp-handoff-grid > div > span {
    grid-row: auto;
    font-size: inherit;
}

.zb-whatsapp-handoff-feature-icon {
    align-items: center;
    background: #e9f7ef;
    border-radius: 10px;
    color: #128557;
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.zb-whatsapp-handoff-feature-icon svg,
.zb-whatsapp-handoff-security-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.zb-whatsapp-handoff-feature-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.zb-whatsapp-handoff-grid strong {
    color: #173e30;
    font-size: 14px;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.3;
}

.zb-whatsapp-handoff-grid small {
    color: #667a71;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.45;
}

.zb-whatsapp-handoff-security {
    align-items: flex-start;
    margin: 16px 0 26px;
    padding: 14px 16px;
    border: 1px solid #e0e5e2;
    background: #f5f7f6;
    color: #53665d;
}

.zb-whatsapp-handoff-security-icon {
    align-items: center;
    color: #477064;
    display: inline-flex;
    flex: 0 0 22px;
    height: 22px;
    justify-content: center;
}

.zb-whatsapp-handoff-security p {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.55;
}

.zb-whatsapp-handoff-security strong {
    color: #354f45;
    font-weight: 720;
}

.zb-whatsapp-handoff-actions {
    gap: 22px;
}

.zb-whatsapp-handoff-primary {
    min-height: 52px;
    padding: 13px 20px;
    gap: 24px;
    border-radius: 11px;
    background: linear-gradient(135deg, #20bd66, #118a70);
    box-shadow: 0 9px 22px rgba(18, 140, 126, .22);
    font-size: 14px;
    font-weight: 720;
    letter-spacing: 0;
    transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.zb-whatsapp-handoff-primary svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.zb-whatsapp-handoff-primary:hover,
.zb-whatsapp-handoff-primary:focus-visible {
    box-shadow: 0 12px 26px rgba(18, 140, 126, .28);
    filter: none;
    transform: translateY(-2px);
}

.zb-whatsapp-handoff-secondary {
    color: #426457;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
    text-decoration-color: #9ab5aa;
}

.zb-whatsapp-handoff-secondary:hover,
.zb-whatsapp-handoff-secondary:focus-visible {
    color: #126f4c;
    text-decoration-color: currentColor;
}

@media (max-width: 767px) {
    .zb-whatsapp-handoff {
        margin-top: 16px;
        padding: 30px 24px;
    }

    .zb-whatsapp-handoff h2 {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .zb-whatsapp-handoff {
        margin-bottom: 36px;
        padding: 26px 18px;
    }

    .zb-whatsapp-handoff-hero {
        align-items: flex-start;
        gap: 14px;
    }

    .zb-whatsapp-handoff-mark {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 16px;
    }

    .zb-whatsapp-handoff-logo {
        width: 31px;
        height: 31px;
    }

    .zb-whatsapp-handoff-eyebrow {
        white-space: normal;
    }

    .zb-whatsapp-handoff h2 {
        font-size: 26px;
    }

    .zb-whatsapp-handoff-grid {
        grid-template-columns: 1fr;
    }

    .zb-whatsapp-handoff-actions {
        gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zb-whatsapp-handoff-primary {
        transition: none;
    }
}
