/* DK Contact Dock: standalone, sitewide. */
.dk-contact-dock, .dk-contact-dock * { box-sizing: border-box; }
.dk-contact-dock[hidden], .dk-contact-dock [hidden] { display: none !important; }
.dk-contact-dock {
    --dk-contact-css-ready: 1;
    --dk-contact-bottom: max(26px, env(safe-area-inset-bottom, 0px));
    position: fixed;
    z-index: 9990;
    right: max(22px, env(safe-area-inset-right, 0px));
    bottom: var(--dk-contact-bottom);
    font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #101828;
    text-align: left;
}
.dk-contact-dock button {
    margin: 0; min-height: 0; min-width: 0;
    font: inherit; letter-spacing: normal; text-transform: none;
    cursor: pointer;
}
.dk-contact-dock .dk-contact-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; min-width: 156px; padding: 0 18px;
    border: 1px solid #ee0033; border-radius: 10px;
    background: #ee0033; color: #fff;
    box-shadow: 0 10px 28px rgb(16 24 40 / 16%);
    font-size: 14px; font-weight: 700; line-height: 1;
}
.dk-contact-dock .dk-contact-toggle:hover { background: #d9002f; color: #fff; }
.dk-contact-dock svg { display: block; width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }
.dk-contact-dock .dk-contact-panel {
    position: absolute; right: 0; bottom: calc(100% + 12px);
    width: 330px; max-width: calc(100vw - 44px);
    max-height: calc(100vh - var(--dk-contact-bottom) - 100px);
    max-height: calc(100dvh - var(--dk-contact-bottom) - 100px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 20px; border: 1px solid #e4e7ec; border-radius: 14px;
    background: #fff; box-shadow: 0 20px 55px rgb(16 24 40 / 17%);
}
.dk-contact-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.dk-contact-panel__eyebrow { display: block; margin-bottom: 6px; color: #ee0033; font-size: 11px; font-weight: 700; }
.dk-contact-dock .dk-contact-panel h3 { margin: 0 0 6px; font: inherit; font-size: 19px; line-height: 1.35; font-weight: 700; color: #101828; }
.dk-contact-dock .dk-contact-panel p { margin: 0; color: #667085; font-size: 13px; line-height: 1.5; }
.dk-contact-dock .dk-contact-panel__close {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px;
    background: #f2f4f7; color: #344054; font-size: 25px; line-height: 1; box-shadow: none;
}
.dk-contact-panel__actions { display: grid; gap: 10px; }
.dk-contact-dock .dk-contact-action {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border: 1px solid #e4e7ec; border-radius: 10px;
    background: #fff; color: #101828; text-decoration: none;
}
.dk-contact-dock .dk-contact-action:hover { border-color: #ee0033; background: #fff5f7; }
.dk-contact-action__icon {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 9px;
    background: #fff0f3; color: #ee0033; font-size: 20px; font-weight: 800;
}
.dk-contact-action__icon--zalo { background: #edf4ff; color: #0068ff; }
.dk-contact-action small { display: block; margin: 0 0 3px; color: #667085; font-size: 11px; line-height: 1.4; }
.dk-contact-action strong { display: block; color: inherit; font-size: 14px; line-height: 1.4; font-weight: 700; }
.dk-contact-action__arrow { margin-left: auto; color: #667085; }
.dk-contact-dock .dk-contact-action--primary { border-color: #ffc2cf; background: #fff5f7; }
.dk-contact-dock :is(a, button):focus-visible { outline: 3px solid #0068ff; outline-offset: 3px; }
@media (max-width: 767px) {
    .dk-contact-dock {
        --dk-contact-bottom: max(16px, env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right, 0px));
    }
    .dk-contact-dock--service {
        --dk-contact-bottom: calc(var(--dk-contact-cta-height, 78px) + 16px);
    }
    .dk-contact-dock .dk-contact-toggle { width: 50px; min-width: 50px; padding: 0; border-radius: 50%; }
    .dk-contact-toggle__text { display: none; }
    .dk-contact-dock .dk-contact-panel {
        position: fixed;
        left: max(12px, env(safe-area-inset-left, 0px));
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: var(--dk-contact-bottom);
        width: auto; max-width: none;
        max-height: calc(100vh - var(--dk-contact-bottom) - 70px);
        max-height: calc(100dvh - var(--dk-contact-bottom) - 70px);
        border-radius: 18px; padding: 20px;
    }
    .dk-contact-dock.is-open .dk-contact-toggle { visibility: hidden; }
}
