.dmbm-mobile-bar {
    position: fixed;
    right: 12px;
    bottom: 0;
    left: 12px;
    z-index: 99999;
    display: grid;
    grid-template-columns: 1fr 92px 1fr;
    align-items: end;
    width: min(100% - 24px, 460px);
    margin: 0 auto;
    min-height: 74px;
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
    color: #ffffff;
    background: #062f78;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
    isolation: isolate;
    overflow: visible;
}

.dmbm-mobile-bar::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(37, 211, 102, .18), transparent 30%, transparent 70%, rgba(255, 255, 255, .16));
    content: "";
}

.dmbm-mobile-bar::after {
    position: absolute;
    top: 0;
    left: 7%;
    width: 86%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .7) 12%, rgba(255, 255, 255, .55) 36%, transparent 43%, transparent 57%, rgba(255, 255, 255, .55) 64%, rgba(255, 255, 255, .7) 88%, transparent 100%);
    animation: dmbm-bar-glow 3.2s ease-in-out infinite;
    content: "";
}

.dmbm-item,
.dmbm-home {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.dmbm-mobile-bar a,
.dmbm-mobile-bar a:visited,
.dmbm-mobile-bar a:hover,
.dmbm-mobile-bar a:focus,
.dmbm-mobile-bar a:active {
    color: #ffffff;
    text-decoration: none;
}

.dmbm-item {
    display: flex;
    min-width: 0;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    border-radius: 18px 18px 0 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    background: rgba(255, 255, 255, 0);
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.dmbm-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dmbm-label-stacked {
    flex-direction: column;
    gap: 2px;
}

.dmbm-label-stacked span:first-child {
    font-size: 13px;
}

.dmbm-label-stacked span:last-child {
    font-size: 10px;
    font-weight: 600;
    opacity: .86;
}

.dmbm-item:hover,
.dmbm-item:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.dmbm-item:active,
.dmbm-item.dmbm-is-tapping {
    transform: translateY(-3px);
    color: #ffffff;
    background: rgba(255, 255, 255, .16);
}

.dmbm-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.dmbm-icon svg,
.dmbm-home svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dmbm-camera .dmbm-icon {
    color: #ffffff;
}

.dmbm-contact .dmbm-icon {
    color: #ffffff;
}

.dmbm-whatsapp-desktop {
    display: none;
}

.dmbm-whatsapp-desktop .dmbm-icon {
    color: #ffffff;
}

.dmbm-home {
    position: relative;
    display: grid;
    place-items: center;
    width: 92px;
    height: 82px;
    margin: -34px auto 0;
    color: #ffffff;
    border-radius: 999px;
    outline: none;
    animation: dmbm-home-float 3.8s ease-in-out infinite;
}

.dmbm-home-ring {
    position: relative;
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    background: radial-gradient(circle at 50% 35%, #0b48aa 0%, #062f78 58%, #041f50 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .34), 0 0 0 9px rgba(255, 255, 255, .14);
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
}

.dmbm-home-ring::after {
    position: absolute;
    inset: -45%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%);
    transform: translateX(-55%) rotate(18deg);
    transition: transform .55s ease;
    content: "";
}

.dmbm-home img {
    position: relative;
    z-index: 1;
    display: block;
    width: 76%;
    max-height: 76%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .28));
}

.dmbm-home svg {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
}

.dmbm-home:active .dmbm-home-ring,
.dmbm-home:hover .dmbm-home-ring,
.dmbm-home:focus-visible .dmbm-home-ring,
.dmbm-home.dmbm-is-tapping .dmbm-home-ring {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .42), 0 0 0 11px rgba(255, 255, 255, .14);
}

.dmbm-home:active .dmbm-home-ring::after,
.dmbm-home:hover .dmbm-home-ring::after,
.dmbm-home:focus-visible .dmbm-home-ring::after,
.dmbm-home.dmbm-is-tapping .dmbm-home-ring::after {
    transform: translateX(55%) rotate(18deg);
}

@keyframes dmbm-home-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes dmbm-bar-glow {
    0%, 100% {
        opacity: .25;
        transform: scaleX(.86);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

body {
    --dmbm-bottom-space: 92px;
    padding-bottom: calc(var(--dmbm-bottom-space) + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
    .dmbm-contact-mobile {
        display: none;
    }

    .dmbm-whatsapp-desktop {
        display: flex;
    }

    .dmbm-label-stacked {
        flex-direction: row;
        gap: 4px;
    }

    .dmbm-label-stacked span:first-child,
    .dmbm-label-stacked span:last-child {
        font-size: 13px;
        font-weight: 700;
        opacity: 1;
    }
}

@media (max-width: 360px) {
    .dmbm-mobile-bar {
        right: 8px;
        left: 8px;
        grid-template-columns: 1fr 78px 1fr;
        padding-right: 8px;
        padding-left: 8px;
    }

    .dmbm-item {
        gap: 6px;
        font-size: 12px;
    }

    .dmbm-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .dmbm-home {
        width: 78px;
    }

    .dmbm-home-ring {
        width: 66px;
        height: 66px;
    }
}
