/*! Mobile bottom navigation (elementor/widgets/header/jiawaz_bottom_nav.php, js/jiawaz-bottom-nav.js)
    Style controls write CSS variables on the widget wrapper; the rules below read them with the default of
    each style (preset class) as fallback, so presets never override a value set in Elementor.
    Shown up to the widget's breakpoint by an inline media query (display: none above it).
    Stacking: 90, under every dialog (backdrops 95+, drawers 1040+, the cart sheet 100000).
------------------------------------------------->*/
.jz-bnav{
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    padding: 0 var(--jz-bnav-gap, 0px) var(--jz-bnav-gap, 0px);
    pointer-events: none; /* only the bar itself takes clicks, not the space around a floating bar */
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
}
.jz-bnav.is-hidden{
    transform: translateY(calc(100% + var(--jz-bnav-hl-raise, 24px) + 12px));
}
.jz-bnav__bar{
    position: relative;
    pointer-events: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px); /* iPhone home indicator */
    filter: drop-shadow(0 -2px var(--jz-bnav-shadow-blur, 14px) var(--jz-bnav-shadow-color, rgba(17, 24, 39, .08)));
}
.jz-bnav__bg{
    position: absolute;
    inset: 0;
    border-top: 1px solid var(--jz-bnav-border, transparent);
    border-radius: var(--jz-bnav-radius, 0px) var(--jz-bnav-radius, 0px) 0 0;
    background-color: var(--colorBg, #fff);
    -webkit-backdrop-filter: blur(var(--jz-bnav-blur, 0px));
    backdrop-filter: blur(var(--jz-bnav-blur, 0px));
}
.jz-bnav__items{
    position: relative;
    display: flex;
    align-items: stretch;
    height: var(--jz-bnav-h, 64px);
    margin: 0;
    padding: 0 var(--jz-bnav-pad, 6px);
    list-style: none;
}
.jz-bnav__item{
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    transition: flex-grow 300ms cubic-bezier(.2, .8, .2, 1);
}
.jz-bnav__link{
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--jz-bnav-label-gap, 4px);
    min-width: 0;
    color: var(--jz-bnav-color, #8a94a6);
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: color 200ms;
}
.jz-bnav__link:focus-visible{
    outline: 2px solid currentColor;
    outline-offset: -4px;
    border-radius: 12px;
}
.jz-bnav__item.is-active .jz-bnav__link{
    color: var(--jz-bnav-color-a, var(--colorPrimary));
}
.jz-bnav__icon{
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    font-size: var(--jz-bnav-icon, 22px);
    line-height: 1;
}
.jz-bnav__glyph{
    display: inline-flex;
}
.jz-bnav__icon i{
    line-height: 1;
}
.jz-bnav__icon svg{
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.jz-bnav__glyph--active,
.jz-bnav__item.is-active .jz-bnav__icon:has(.jz-bnav__glyph--active) .jz-bnav__glyph--normal{
    display: none;
}
.jz-bnav__item.is-active .jz-bnav__glyph--active{
    display: inline-flex;
}
.jz-bnav__label{
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.jz-bnav__badge{
    position: absolute;
    top: -6px;
    inset-inline-end: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--jz-bnav-badge-bg, #ef4444);
    color: var(--jz-bnav-badge-color, #fff);
    box-shadow: 0 0 0 2px var(--jz-bnav-badge-ring, #fff);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}
.jz-bnav__badge.is-empty{
    display: none;
}

/* labels: "Only the active item" / "Never" (style default otherwise) */
.jz-bnav--labels-active .jz-bnav__item:not(.is-active) .jz-bnav__label,
.jz-bnav--pill:not([class*="jz-bnav--labels-"]) .jz-bnav__item:not(.is-active) .jz-bnav__label,
.jz-bnav--labels-none .jz-bnav__label,
.jz-bnav--minimal:not([class*="jz-bnav--labels-"]) .jz-bnav__label{
    display: none;
}
.jz-bnav--labels-always .jz-bnav__label{
    display: block;
}

/* active indicators: line, dot, background (style default otherwise) */
.jz-bnav--ind-line .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__link::before,
.jz-bnav--classic:not([class*="jz-bnav--ind-"]) .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__link::before{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 3px;
    margin-left: -12px;
    border-radius: 0 0 3px 3px;
    background: var(--jz-bnav-ind, currentColor);
}
.jz-bnav--ind-dot .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__link::after,
.jz-bnav--notch:not([class*="jz-bnav--ind-"]) .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__link::after,
.jz-bnav--minimal:not([class*="jz-bnav--ind-"]) .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__link::after{
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--jz-bnav-ind, currentColor);
}
.jz-bnav--ind-pill .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__icon::before,
.jz-bnav--floating:not([class*="jz-bnav--ind-"]) .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__icon::before{
    content: '';
    position: absolute;
    inset: -6px -14px;
    z-index: -1;
    border-radius: 999px;
    background: var(--jz-bnav-bg-a, rgba(var(--colorPrimaryRGB), .12));
}

/* highlighted item: a raised round button */
.jz-bnav__item.is-highlight .jz-bnav__icon{
    width: var(--jz-bnav-hl-size, 56px);
    height: var(--jz-bnav-hl-size, 56px);
    border-radius: 50%;
    background: var(--jz-bnav-hl-bg, var(--colorPrimary));
    color: var(--jz-bnav-hl-color, #fff);
    font-size: var(--jz-bnav-hl-icon, 24px);
    box-shadow: 0 0 0 var(--jz-bnav-hl-ring-w, 0px) var(--jz-bnav-hl-ring, transparent), 0 8px 18px var(--jz-bnav-hl-shadow, rgba(var(--colorPrimaryRGB), .35));
    translate: 0 calc(-1 * var(--jz-bnav-hl-raise, 20px));
    transition: scale 150ms;
}
.jz-bnav__item.is-highlight .jz-bnav__link:active .jz-bnav__icon{
    scale: .94;
}
.jz-bnav__item.is-highlight .jz-bnav__badge{
    top: 2px;
    inset-inline-end: 2px;
    box-shadow: 0 0 0 2px var(--jz-bnav-hl-bg, var(--colorPrimary));
}
.jz-bnav__item.is-highlight .jz-bnav__label{
    display: none;
}
.jz-bnav--hl-label .jz-bnav__item.is-highlight .jz-bnav__label{
    display: block;
    translate: 0 calc(-1 * var(--jz-bnav-hl-raise, 20px) + 2px);
}

/* ---- style: Classic (white, top line, line indicator) */
.jz-bnav--classic .jz-bnav__bg{
    border-top-color: var(--jz-bnav-border, rgba(17, 24, 39, .07));
}

/* ---- style: Notch (theme-colored bar, raised button in a notch drawn by the script) */
.jz-bnav--notch .jz-bnav__bg{
    border-radius: var(--jz-bnav-radius, 22px) var(--jz-bnav-radius, 22px) 0 0;
    background-color: var(--colorPrimary);
}
.jz-bnav--notch .jz-bnav__link{
    color: var(--jz-bnav-color, rgba(255, 255, 255, .78));
}
.jz-bnav--notch .jz-bnav__item.is-active .jz-bnav__link{
    color: var(--jz-bnav-color-a, #fff);
}
.jz-bnav--notch .jz-bnav__item.is-highlight .jz-bnav__icon{
    background: var(--jz-bnav-hl-bg, var(--colorText, #1f2937));
    box-shadow: 0 0 0 var(--jz-bnav-hl-ring-w, 0px) var(--jz-bnav-hl-ring, transparent), 0 8px 18px var(--jz-bnav-hl-shadow, rgba(0, 0, 0, .25));
    translate: 0 calc(-1 * var(--jz-bnav-hl-raise, 26px));
}
.jz-bnav--notch .jz-bnav__badge{
    --jz-bnav-badge-ring: var(--colorPrimary);
}
.jz-bnav--notch .jz-bnav__item.is-highlight .jz-bnav__badge{
    box-shadow: 0 0 0 2px var(--jz-bnav-hl-bg, var(--colorText, #1f2937));
}

/* ---- style: Floating (rounded card above the bottom edge, background behind the active icon) */
.jz-bnav--floating{
    padding: 0 var(--jz-bnav-gap, 12px) var(--jz-bnav-gap, 12px);
}
.jz-bnav--floating .jz-bnav__bar{
    filter: drop-shadow(0 6px var(--jz-bnav-shadow-blur, 18px) var(--jz-bnav-shadow-color, rgba(17, 24, 39, .14)));
}
.jz-bnav--floating .jz-bnav__bg{
    border-radius: var(--jz-bnav-radius, 22px);
}

/* ---- style: Pill (the active item grows into a pill with its label beside the icon) */
.jz-bnav--pill .jz-bnav__item.is-active:not(.is-highlight){
    flex-grow: 1.9;
}
.jz-bnav--pill .jz-bnav__link{
    flex-direction: row;
}
.jz-bnav--pill:not([class*="jz-bnav--ind-"]) .jz-bnav__item.is-active:not(.is-highlight) .jz-bnav__link::before{
    content: '';
    position: absolute;
    inset: 12px 4px;
    border-radius: 999px;
    background: var(--jz-bnav-bg-a, rgba(var(--colorPrimaryRGB), .12));
}
.jz-bnav--pill .jz-bnav__link > *{
    position: relative;
}
.jz-bnav--pill .jz-bnav__label{
    font-size: 12px;
    font-weight: 600;
}

/* editor: show the bar in every device view (Elementor previews widths with the iframe) */
.jz-bnav--editor{
    display: block !important;
}

/* page end above the bar ("Keep the end of the page above the bar"; --jz-bnav-space set by the script) */
body.jz-has-bnav{
    padding-bottom: var(--jz-bnav-space, 0px);
}

@media (prefers-reduced-motion: reduce) {
    .jz-bnav,
    .jz-bnav__item,
    .jz-bnav__link,
    .jz-bnav__icon{
        transition: none;
    }
}
