/* DNY mobile bottom navigation - compact, balanced, fast motion, 2026-10-01 */
@media (max-width: 767px) {
    body:not(.elementor-editor-active) {
        padding-bottom: calc(var(--dny-nav-reserve, 98px) + env(safe-area-inset-bottom)) !important;
    }

    .dny-mobile-bottom-nav {
        --dny-nav-s1: 6px;
        --dny-nav-s2: 10px;
        --dny-nav-s3: 16px;

        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 9990;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        height: 72px;
        padding: var(--dny-nav-s1) var(--dny-nav-s2) 7px;
        border: 1px solid rgba(246, 246, 246, 0.14);
        border-radius: 24px;
        background: rgba(28, 28, 29, 0.78);
        box-shadow: 0 14px 36px rgba(28, 28, 29, 0.20);
        -webkit-backdrop-filter: blur(20px) saturate(135%);
        backdrop-filter: blur(20px) saturate(135%);
        font-family: "Urbanist", sans-serif;
        isolation: isolate;
        transition:
            opacity 140ms cubic-bezier(.2,.8,.2,1),
            transform 140ms cubic-bezier(.2,.8,.2,1);
        transition-delay: 0ms;
    }

    /* Remove the decorative top shelf/tray entirely. */
    .dny-mobile-bottom-nav::before,
    .dny-mobile-bottom-nav::after {
        content: none !important;
        display: none !important;
    }

    .dny-mobile-bottom-nav__item {
        position: relative;
        min-width: 0;
        min-height: 58px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 3px 1px 2px;
        color: rgba(246, 246, 246, 0.70) !important;
        text-decoration: none !important;
        border: 0 !important;
        outline: 0;
        background: transparent !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition:
            color 125ms cubic-bezier(.2,.8,.2,1),
            transform 125ms cubic-bezier(.2,.8,.2,1),
            opacity 125ms cubic-bezier(.2,.8,.2,1);
        transition-delay: 0ms;
    }

    .dny-mobile-bottom-nav__item::before,
    .dny-mobile-bottom-nav__item::after {
        display: none !important;
        content: none !important;
    }

    .dny-mobile-bottom-nav__icon {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid transparent;
        border-radius: 17px;
        background: transparent;
        transform: translate3d(0,0,0) scale(1);
        transition:
            background-color 125ms cubic-bezier(.2,.8,.2,1),
            border-color 125ms cubic-bezier(.2,.8,.2,1),
            color 125ms cubic-bezier(.2,.8,.2,1),
            transform 125ms cubic-bezier(.2,.8,.2,1);
        transition-delay: 0ms;
        will-change: transform;
    }

    .dny-mobile-bottom-nav__item--home .dny-mobile-bottom-nav__icon {
        width: 38px;
        height: 38px;
        border-radius: 19px;
    }

    .dny-mobile-bottom-nav__icon svg {
        width: 19px;
        height: 19px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .dny-mobile-bottom-nav__item--home .dny-mobile-bottom-nav__icon svg {
        width: 20px;
        height: 20px;
    }

    .dny-mobile-bottom-nav__label {
        display: block;
        max-width: 100%;
        overflow: hidden;
        color: inherit;
        font-size: 10.25px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: -0.01em;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: opacity 125ms cubic-bezier(.2,.8,.2,1);
    }

    .dny-mobile-bottom-nav__item.is-active,
    .dny-mobile-bottom-nav__item.is-selecting {
        color: #CAA05C !important;
    }

    .dny-mobile-bottom-nav__item.is-active .dny-mobile-bottom-nav__icon,
    .dny-mobile-bottom-nav__item.is-selecting .dny-mobile-bottom-nav__icon {
        border-color: rgba(202, 160, 92, 0.34);
        background: rgba(202, 160, 92, 0.15);
    }

    .dny-mobile-bottom-nav__item--home.is-active .dny-mobile-bottom-nav__icon,
    .dny-mobile-bottom-nav__item--home.is-selecting .dny-mobile-bottom-nav__icon {
        border-color: rgba(202, 160, 92, 0.72);
        background: #CAA05C;
        color: #1C1C1D;
    }

    .dny-mobile-bottom-nav__item:active,
    .dny-mobile-bottom-nav__item.is-selecting {
        transform: translateY(1px);
    }

    .dny-mobile-bottom-nav__item:active .dny-mobile-bottom-nav__icon,
    .dny-mobile-bottom-nav__item.is-selecting .dny-mobile-bottom-nav__icon {
        transform: scale(0.93);
    }

    .dny-mobile-bottom-nav__item:focus-visible .dny-mobile-bottom-nav__icon {
        outline: 2px solid #CAA05C;
        outline-offset: 2px;
    }

    html.mobile-nav-active .dny-mobile-bottom-nav {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
        pointer-events: none;
    }

    /* Homepage Slider Revolution arrows: SR7 + legacy fallback, intentionally tiny on phones. */
    body.home sr7-arrow.hesperiden.sr7-arrows,
    body.home .hesperiden.sr7-arrows,
    body.home .hesperiden.tparrows,
    body.home .tparrows.hesperiden {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        border-radius: 50% !important;
        background: rgba(28, 28, 29, 0.34) !important;
        box-shadow: none !important;
        opacity: 0.86 !important;
        transition:
            background-color 110ms cubic-bezier(.2,.8,.2,1),
            opacity 110ms cubic-bezier(.2,.8,.2,1) !important;
        transition-delay: 0ms !important;
    }

    body.home sr7-arrow.hesperiden.sr7-arrows::before,
    body.home .hesperiden.sr7-arrows::before,
    body.home .hesperiden.tparrows::before,
    body.home .tparrows.hesperiden::before {
        margin: 0 !important;
        font-size: 10px !important;
        line-height: 24px !important;
        text-align: center !important;
    }

    body.home sr7-arrow.sr7-leftarrow::before,
    body.home .sr7-leftarrow::before,
    body.home .tp-leftarrow::before {
        margin-left: -1px !important;
    }

    body.home sr7-arrow.sr7-rightarrow::before,
    body.home .sr7-rightarrow::before,
    body.home .tp-rightarrow::before {
        margin-right: -1px !important;
    }
}

@media (max-width: 390px) {
    .dny-mobile-bottom-nav {
        left: 8px;
        right: 8px;
        height: 70px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .dny-mobile-bottom-nav__label {
        font-size: 9.75px;
    }

    body.home sr7-arrow.hesperiden.sr7-arrows,
    body.home .hesperiden.sr7-arrows,
    body.home .hesperiden.tparrows,
    body.home .tparrows.hesperiden {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
    }

    body.home sr7-arrow.hesperiden.sr7-arrows::before,
    body.home .hesperiden.sr7-arrows::before,
    body.home .hesperiden.tparrows::before,
    body.home .tparrows.hesperiden::before {
        font-size: 9px !important;
        line-height: 22px !important;
    }
}

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

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    @media (max-width: 767px) {
        .dny-mobile-bottom-nav {
            background: rgba(28, 28, 29, 0.96);
        }
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .dny-mobile-bottom-nav,
    .dny-mobile-bottom-nav__item,
    .dny-mobile-bottom-nav__icon,
    body.home .hesperiden.tparrows {
        transition-duration: 0.01ms !important;
    }
}
