/* Alt mobil navbar — yalnızca < 768px (Bootstrap md breakpoint) */
@media (max-width: 767.98px) {
    body.es-mobile-bottom-nav {
        padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    }

    /* Sepet alt menüde; üst araç çubuğunda tekrar gösterme */
    body.es-mobile-bottom-nav .es-mobile-header-toolbar-cart {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .es-filter-bottom-nav {
        display: none !important;
    }
}

.es-filter-bottom-nav {
    --es-nav-fab: #1849a9;
    --es-nav-fab-shadow: rgba(24, 73, 169, 0.38);
    --es-nav-icon: #1a1a1a;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    padding: 0 8px calc(3px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
    overflow: visible;
}

.es-filter-bottom-nav__shell {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding-top: 28px;
    pointer-events: auto;
}

.es-filter-bottom-nav__shape {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 -8px 28px rgba(15, 23, 42, 0.14))
        drop-shadow(0 -2px 10px rgba(15, 23, 42, 0.06))
        drop-shadow(0 12px 28px rgba(24, 73, 169, 0.08))
        drop-shadow(0 4px 14px rgba(15, 23, 42, 0.1));
}

.es-filter-bottom-nav__shape-fill {
    fill: #fff;
}

.es-filter-bottom-nav__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 10px 10px;
    box-sizing: border-box;
}

.es-filter-bottom-nav__fab-gap {
    flex: 0 0 76px;
}

.es-filter-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    font: inherit;
    text-decoration: none;
    color: var(--es-nav-icon);
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 14px;
    transition: color 0.15s ease, transform 0.12s ease;
}

.es-filter-bottom-nav__item:active {
    transform: scale(0.94);
    color: var(--es-nav-icon);
}

.es-filter-bottom-nav__item.is-active {
    color: var(--es-nav-fab);
}

.es-filter-bottom-nav__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.es-filter-bottom-nav__count {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-sizing: border-box;
}

.es-filter-bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.es-filter-bottom-nav__icon svg {
    display: block;
}

.es-filter-bottom-nav__btn {
    appearance: none;
    -webkit-appearance: none;
}

.es-filter-bottom-nav__fab {
    position: absolute;
    left: 50%;
    top: 2px;
    z-index: 2;
    width: 58px;
    height: 58px;
    margin-left: -29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1849a9;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px var(--es-nav-fab-shadow), 0 4px 10px rgba(15, 23, 42, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.es-filter-bottom-nav__fab:active {
    transform: scale(0.94);
}

.es-filter-bottom-nav__fab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
