/* Floating support actions (outside .site, which has overflow:hidden). */
.gm-support-widget {
    position: fixed;
    z-index: 9998;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    width: min(292px, calc(100vw - 32px));
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    line-height: 1.5;
    isolation: isolate;
}
.gm-support-widget * { box-sizing: border-box; }
.gm-support-widget [hidden] { display: none !important; }
.gm-support-card {
    overflow: hidden;
    border: 1px solid #f0dfec;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 16px 54px rgba(54, 35, 60, .19);
}
.gm-support-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 14px 10px;
    background: linear-gradient(125deg, #fff6fb 0%, #fff 80%);
}
.gm-support-heading-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gm-support-heading-copy > div { display: grid; min-width: 0; }
.gm-support-bloom {
    display: grid;
    place-items: center;
    flex: none;
    width: 37px;
    height: 37px;
    border-radius: 14px;
    background: #f6e7f9;
    color: #9e5abd;
    font-size: 25px;
}
.gm-support-heading strong { color: #382d3c; font-size: 13px; font-weight: 800; }
.gm-support-heading small { color: #776c7b; font-size: 10px; line-height: 1.75; }
.gm-support-close {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f6f0f4;
    color: #665769;
}
.gm-support-close:hover, .gm-support-close:focus-visible { color: #fff; background: #9852b7; }
.gm-support-actions { display: grid; gap: 8px; padding: 0 12px 12px; }
.gm-support-widget .gm-support-action {
    display: flex;
    align-items: center;
    min-height: 51px;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}
.gm-support-widget .gm-support-whatsapp { color: #fff; background: #18a65b; }
.gm-support-widget .gm-support-phone { color: #563561; background: #f7eef9; border-color: #eedcf3; }
.gm-support-widget .gm-support-action:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(55,35,59,.10); }
.gm-support-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; }
.gm-support-action-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.gm-support-action-text strong { font-size: 12px; font-weight: 800; }
.gm-support-action-text small { font-size: 11px; font-weight: 500; unicode-bidi: isolate; }
.gm-support-arrow { flex: none; opacity: .7; }
.gm-support-reopen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 15px;
    border: 0;
    border-radius: 999px;
    background: #19a65b;
    color: #fff;
    box-shadow: 0 10px 30px rgba(20, 120, 63, .27);
    font-size: 12px;
    font-weight: 800;
}
.gm-support-reopen:hover { background: #11894b; }
.gm-support-widget :focus-visible { outline: 3px solid #9b6bcb; outline-offset: 3px; }
@media (max-width: 600px) {
    .gm-support-widget {
        bottom: max(14px, env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        width: min(260px, calc(100vw - 24px));
    }
    .gm-support-heading { padding: 11px 12px 9px; }
    .gm-support-actions { padding: 0 10px 10px; gap: 7px; }
    .gm-support-widget .gm-support-action { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .gm-support-widget .gm-support-action { transition: none; }
}
