.zntech-mobile-bottom-menu {
    --znmb-bg: linear-gradient(180deg, #0e1522, #15223b);
    --znmb-panel-bg: #ffffff;
    --znmb-overlay: rgba(10, 15, 25, .62);
    --znmb-primary: #1e284b;
    --znmb-primary-strong: #10182d;
    --znmb-accent: #c01c54;
    --znmb-accent-soft: rgba(192, 28, 84, .11);
    --znmb-accent-strong: #a31647;
    --znmb-line: #d7dfeb;
    --znmb-surface: #f5f7fb;
    --znmb-text: #51627f;
    --znmb-white: #fff;
    position: relative;
    z-index: 960;
    font-family: "Normalidad", sans-serif;
}

.zntech-mobile-bottom-menu *,
.zntech-mobile-bottom-menu *::before,
.zntech-mobile-bottom-menu *::after {
    box-sizing: border-box;
}

.zntech-mobile-bottom-menu a {
    text-decoration: none;
}

.zntech-mobile-bottom-menu a:focus-visible {
    outline: 2px solid var(--znmb-accent);
    outline-offset: 3px;
}

.zntech-mobile-bottom-menu__overlay[hidden],
.zntech-mobile-bottom-menu__panel[hidden] {
    display: none !important;
}

.zntech-mobile-bottom-menu__overlay {
    position: fixed;
    inset: 0;
    z-index: 961;
    background: var(--znmb-overlay);
}

.zntech-mobile-bottom-menu__panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 962;
    max-height: calc(100dvh - 106px - env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: var(--znmb-panel-bg);
    box-shadow: 0 26px 60px rgba(5, 12, 27, .36);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .24s ease, transform .24s ease;
    overflow: hidden;
}

.zntech-mobile-bottom-menu__panel.is-open {
    opacity: 1;
    transform: translateY(0);
}

.zntech-mobile-bottom-menu__panel-head {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--znmb-line);
    background:
        radial-gradient(circle at top right, rgba(192, 28, 84, .07), transparent 40%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.zntech-mobile-bottom-menu__panel-title {
    display: grid;
    gap: 4px;
}

.zntech-mobile-bottom-menu__panel-title p {
    margin: 0;
    color: var(--znmb-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.zntech-mobile-bottom-menu__panel-title strong {
    color: var(--znmb-primary-strong);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 700;
}

.zntech-mobile-bottom-menu__close {
    width: 40px;
    height: 40px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 10px;
    background: var(--znmb-surface);
    border: 1px solid var(--znmb-line);
    color: var(--znmb-primary);
}

.zntech-mobile-bottom-menu__close span::before,
.zntech-mobile-bottom-menu__close span::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 12px;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.zntech-mobile-bottom-menu__close span::before {
    transform: rotate(45deg);
}

.zntech-mobile-bottom-menu__close span::after {
    transform: rotate(-45deg);
}

.zntech-mobile-bottom-menu__panel-body {
    min-height: 0;
    display: grid;
    gap: 18px;
    overflow-y: auto;
    padding: 16px 18px 18px;
    background:
        linear-gradient(180deg, rgba(245, 247, 251, .6), rgba(255, 255, 255, 0) 28%),
        var(--znmb-panel-bg);
}

.zntech-mobile-bottom-menu__section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--znmb-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f9fbff);
}

.zntech-mobile-bottom-menu__section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.zntech-mobile-bottom-menu__section-head h3 {
    margin: 4px 0 0;
    color: var(--znmb-primary-strong);
    font-size: 18px;
    line-height: 1.12;
    font-weight: 700;
}

.zntech-mobile-bottom-menu__section-head > a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--znmb-accent-soft);
    color: var(--znmb-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.zntech-mobile-bottom-menu__eyebrow {
    margin: 0;
    color: var(--znmb-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.zntech-mobile-bottom-menu__feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #182444, #24335c);
    color: var(--znmb-white);
}

.zntech-mobile-bottom-menu__feature--cards {
    background: linear-gradient(135deg, #40182a, #65304a);
}

.zntech-mobile-bottom-menu__feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

.zntech-mobile-bottom-menu__feature-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.zntech-mobile-bottom-menu__feature-copy {
    display: grid;
    gap: 6px;
}

.zntech-mobile-bottom-menu__feature-copy strong {
    color: inherit;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 700;
}

.zntech-mobile-bottom-menu__feature-copy span {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.4;
}

.zntech-mobile-bottom-menu__quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.zntech-mobile-bottom-menu__quick-grid--compact {
    grid-template-columns: 1fr;
}

.zntech-mobile-bottom-menu__quick-card {
    min-height: 100px;
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 14px 13px;
    border: 1px solid var(--znmb-line);
    border-radius: 14px;
    background: var(--znmb-surface);
    color: var(--znmb-primary);
}

.zntech-mobile-bottom-menu__quick-card strong {
    color: var(--znmb-primary-strong);
    font-size: 15px;
    line-height: 1.18;
    font-weight: 700;
}

.zntech-mobile-bottom-menu__quick-card span {
    color: var(--znmb-text);
    font-size: 13px;
    line-height: 1.38;
}

.zntech-mobile-bottom-menu__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zntech-mobile-bottom-menu__chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(30, 40, 75, .12);
    border-radius: 999px;
    background: #fff;
    color: var(--znmb-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.zntech-mobile-bottom-menu__bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 963;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--znmb-bg);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 -14px 28px rgba(5, 12, 27, .22);
    transform: translateY(0);
    transition: transform .24s ease;
}

.zntech-mobile-bottom-menu__bar.is-hidden {
    transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px)));
}

body.zntech-mobile-bottom-menu-open .zntech-mobile-bottom-menu__bar {
    transform: translateY(0);
}

.zntech-mobile-bottom-menu__action {
    min-height: 54px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    padding: 6px 4px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .92);
    background: transparent;
}

.zntech-mobile-bottom-menu__action.is-active {
    background: rgba(192, 28, 84, .18);
    color: var(--znmb-white);
}

.zntech-mobile-bottom-menu__icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zntech-mobile-bottom-menu__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.zntech-mobile-bottom-menu__label {
    min-height: 2.25em;
    display: grid;
    align-items: start;
    max-width: 100%;
    color: inherit;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.12;
    text-align: center;
    text-wrap: balance;
}

body.zntech-mobile-bottom-menu-open {
    overflow: hidden;
}

body.mmm-open .zntech-mobile-bottom-menu {
    display: none !important;
}

body.mmm-open .zntech-mobile-bottom-menu__bar,
body.mmm-open .zntech-mobile-bottom-menu__panel,
body.mmm-open .zntech-mobile-bottom-menu__overlay {
    display: none !important;
}

body.admin-bar .zntech-mobile-bottom-menu__panel {
    max-height: calc(100dvh - 138px - env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1025px) {
    .zntech-mobile-bottom-menu {
        display: none;
    }
}

@media (max-width: 420px) {
    .zntech-mobile-bottom-menu__panel {
        left: 10px;
        right: 10px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .zntech-mobile-bottom-menu__panel-head,
    .zntech-mobile-bottom-menu__panel-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .zntech-mobile-bottom-menu__section {
        padding: 14px;
    }

    .zntech-mobile-bottom-menu__section-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .zntech-mobile-bottom-menu__quick-grid {
        grid-template-columns: 1fr;
    }

    .zntech-mobile-bottom-menu__action {
        min-height: 50px;
        padding-left: 3px;
        padding-right: 3px;
    }

    .zntech-mobile-bottom-menu__label {
        font-size: 9px;
    }
}
