/* Smart Mobile Bottom Bar v1.2.1 */
.smbb-wrap,
.smbb-drawer-root,
.smbb-wrap *,
.smbb-drawer-root * {
    box-sizing: border-box;
}

.smbb-wrap {
    position: fixed;
    left: 50%;
    bottom: calc(var(--smbb-bottom, 10px) + env(safe-area-inset-bottom, 0px));
    width: min(calc(100vw - (var(--smbb-side-gap, 16px) * 2)), var(--smbb-max-width, 420px));
    transform: translateX(-50%);
    z-index: var(--smbb-z-index, 99999);
    -webkit-tap-highlight-color: transparent;
}

.smbb-bar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 76px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: var(--smbb-height, 66px);
    padding: 6px 8px;
    overflow: visible;
    background: var(--smbb-background, #fff);
    border: 1px solid rgba(16, 24, 40, .035);
    border-radius: var(--smbb-radius, 22px);
    box-shadow:
        0 12px 35px var(--smbb-shadow, rgba(16, 24, 40, .18)),
        0 2px 8px rgba(16, 24, 40, .08);
    isolation: isolate;
}

.smbb-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 4px 2px;
    color: var(--smbb-label, #344054);
    text-align: center;
    text-decoration: none !important;
    background: transparent;
    border: 0;
    border-radius: 14px;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.smbb-item:hover,
.smbb-item:focus,
.smbb-item:active {
    color: var(--smbb-label, #344054);
    text-decoration: none !important;
}

.smbb-item:active {
    transform: scale(.94);
}

.smbb-item:focus-visible,
.smbb-center-action:focus-visible,
.smbb-drawer-close:focus-visible,
.smbb-drawer-link:focus-visible {
    outline: 3px solid rgba(0, 188, 57, .23);
    outline-offset: 2px;
}

.smbb-icon {
    position: relative;
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
}

.smbb-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.smbb-item-home .smbb-icon {
    color: var(--smbb-home, #ff5a00);
}

.smbb-item-menu .smbb-icon {
    color: var(--smbb-menu, #24364b);
}

.smbb-item-cart .smbb-icon {
    color: var(--smbb-cart, #00b89c);
}

.smbb-item-contact .smbb-icon {
    color: var(--smbb-contact, #00b85a);
}

.smbb-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smbb-center-spacer {
    display: block;
    width: 76px;
    height: 1px;
}

.smbb-center-action {
    position: absolute;
    left: 50%;
    top: -19px;
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    color: var(--smbb-center, #00bc39);
    text-decoration: none !important;
    background: var(--smbb-background, #fff);
    border: 1px solid rgba(16, 24, 40, .045);
    border-radius: 50%;
    box-shadow:
        0 10px 22px var(--smbb-shadow, rgba(16, 24, 40, .18)),
        0 2px 5px rgba(16, 24, 40, .08);
    z-index: 3;
    transition: transform .2s ease, box-shadow .2s ease;
}

.smbb-center-action:hover,
.smbb-center-action:focus {
    color: var(--smbb-center, #00bc39);
    text-decoration: none !important;
    transform: translateX(-50%) translateY(-2px);
}

.smbb-center-action:active {
    transform: translateX(-50%) translateY(1px) scale(.96);
}

.smbb-center-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.smbb-center-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: smbb-whatsapp-zoom 1.55s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@keyframes smbb-whatsapp-zoom {
    0%,
    100% {
        transform: scale(.9);
    }

    50% {
        transform: scale(1.12);
    }
}

.smbb-cart-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    display: inline-flex;
    min-width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    background: #ef4444;
    border: 2px solid var(--smbb-background, #fff);
    border-radius: 999px;
}

.smbb-cart-badge.is-empty {
    display: none;
}

.smbb-item.is-current {
    background: rgba(15, 23, 42, .045);
}


/* Reliable no-JavaScript drawer control */
.smbb-drawer-toggle {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.smbb-drawer-toggle:checked + .smbb-drawer-root,
.smbb-drawer-root.is-open,
.smbb-drawer-root[aria-hidden="false"] {
    visibility: visible !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
}

.smbb-drawer-toggle:checked + .smbb-drawer-root .smbb-drawer-overlay,
.smbb-drawer-root.is-open .smbb-drawer-overlay,
.smbb-drawer-root[aria-hidden="false"] .smbb-drawer-overlay {
    opacity: 1 !important;
}

.smbb-drawer-toggle:checked + .smbb-drawer-root .smbb-drawer-panel,
.smbb-drawer-root.is-open .smbb-drawer-panel,
.smbb-drawer-root[aria-hidden="false"] .smbb-drawer-panel {
    transform: translate3d(0, 0, 0) !important;
}

/* Fly-in drawer */
.smbb-drawer-root {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: calc(var(--smbb-z-index, 99999) + 20) !important;
    visibility: hidden;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    transition: visibility 0s linear .36s;
}

.smbb-drawer-root.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.smbb-drawer-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    background: rgba(8, 15, 30, .56);
    border: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity .32s ease;
    cursor: pointer;
}

.smbb-drawer-root.is-open .smbb-drawer-overlay {
    opacity: 1;
}

.smbb-drawer-panel {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: min(88vw, var(--smbb-drawer-width, 344px));
    max-width: calc(100vw - 34px);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    flex-direction: column;
    color: var(--smbb-drawer-text, #111827);
    background:
        radial-gradient(circle at 20% 0, rgba(0, 188, 57, .08), transparent 30%),
        var(--smbb-drawer-background, #fff);
    box-shadow: 18px 0 45px rgba(8, 15, 30, .22);
    transform: translate3d(-106%, 0, 0) !important;
    transition: transform .36s cubic-bezier(.22, .78, .28, 1);
    will-change: transform;
}

.smbb-drawer-root.is-open .smbb-drawer-panel {
    transform: translate3d(0, 0, 0) !important;
}

.smbb-drawer-header {
    position: relative;
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 18px;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.smbb-drawer-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.smbb-drawer-heading h2 {
    margin: 0;
    color: var(--smbb-drawer-text, #111827);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .12em;
}

.smbb-drawer-accent {
    display: inline-block;
    width: 5px;
    height: 29px;
    background: #6EC1E4;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(0, 188, 57, .23);
}

.smbb-drawer-close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #1f2937;
    background: #f3f5f7;
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 13px;
    box-shadow: 0 5px 13px rgba(17, 24, 39, .08);
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .18s ease, background-color .18s ease;
}

.smbb-drawer-close:hover,
.smbb-drawer-close:focus {
    color: #111827;
    background: #eaedf1;
}

.smbb-drawer-close:active {
    transform: scale(.93);
}

.smbb-drawer-close svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.smbb-drawer-nav {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 12px 18px 24px;
    overscroll-behavior: contain;
}

.smbb-drawer-link {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10px 0 6px;
    color: var(--smbb-drawer-text, #111827);
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: .01em;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(17, 24, 39, .075);
    transition: color .18s ease, padding-left .18s ease, background-color .18s ease;
}

.smbb-drawer-link:hover,
.smbb-drawer-link:focus {
    padding-left: 12px;
    color: var(--smbb-drawer-active, #1687ff);
    text-decoration: none !important;
    background: linear-gradient(90deg, rgba(22, 135, 255, .06), transparent 78%);
}

.smbb-drawer-link.is-current {
    padding-left: 12px;
    color: var(--smbb-drawer-active, #1687ff);
    font-weight: 750;
    background: linear-gradient(90deg, rgba(22, 135, 255, .08), transparent 78%);
}

.smbb-drawer-link.is-current::before {
    position: absolute;
    top: 50%;
    left: -18px;
    width: 4px;
    height: 28px;
    content: "";
    transform: translateY(-50%);
    background: var(--smbb-drawer-active, #1687ff);
    border-radius: 0 999px 999px 0;
}

.smbb-drawer-arrow {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: transform .18s ease, color .18s ease;
}

.smbb-drawer-arrow svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.smbb-drawer-link:hover .smbb-drawer-arrow,
.smbb-drawer-link:focus .smbb-drawer-arrow {
    color: var(--smbb-drawer-active, #1687ff);
    transform: translateX(3px);
}


body.smbb-drawer-open {
    overflow: hidden !important;
    touch-action: none;
}

@media (max-width: 360px) {
    .smbb-bar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 68px minmax(0, 1fr) minmax(0, 1fr);
        padding-inline: 5px;
    }

    .smbb-center-action {
        top: -16px;
        width: 74px;
        height: 74px;
    }

    .smbb-center-spacer {
        width: 68px;
    }

    .smbb-center-icon {
        width: 44px;
        height: 44px;
    }

    .smbb-icon {
        width: 23px;
        height: 23px;
    }

    .smbb-label {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .smbb-item,
    .smbb-center-action,
    .smbb-drawer-root,
    .smbb-drawer-overlay,
    .smbb-drawer-panel,
    .smbb-drawer-link,
    .smbb-drawer-arrow {
        transition: none !important;
    }

    .smbb-center-icon img {
        animation: none !important;
        transform: none !important;
    }
}
