/* developed by web-premium.ir */

.hmyt-mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    height: 60px;
    --blur: 2px;
    --sat: 125%;
    --innerTop: rgba(255,255,255,.46);
    --innerBottom: rgba(10,14,28,.02);
    background: radial-gradient(1px 1px at 18% 24%,rgba(255,255,255,.05) 50%,rgba(0,0,0,0) 51%),radial-gradient(1px 1px at 72% 78%,rgba(0,0,0,.02) 50%,rgba(0,0,0,0) 51%),radial-gradient(1px 1px at 42% 62%,rgba(255,255,255,.04) 50%,rgba(0,0,0,.01) 51%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,3%))!important;
    background-blend-mode: overlay,overlay,overlay,normal;
    border: 1px solid rgba(255,255,255,.38);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(var(--sat)) contrast(1.5);
    backdrop-filter: blur(var(--blur)) saturate(var(--sat)) contrast(1.5);
    box-shadow: 0 6px 10px 0 rgba(178,189,206,.05)!important;
    -webkit-box-shadow: 0 6px 10px 0 rgba(178,189,206,.05)!important;
    overflow: visible;
    border-radius: 15px;
    z-index: 999900;
}

.hmyt-mobile-bottom-nav:before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 15px;
    pointer-events: none;
    background: conic-gradient(from 35deg,rgba(255,255,255,6%) 0 8%,rgba(255,255,255,.03) 12% 36%,rgba(255,255,255,0) 40% 58%,rgba(0,0,0,.02) 62% 78%,rgba(255,255,255,.03) 84% 100%);
    -webkit-mask: radial-gradient(160% 160% at -10% -10%,#000 0 36%,transparent 56%),radial-gradient(150% 150% at 110% 110%,#000 0 42%,transparent 62%);
    mask: radial-gradient(160% 160% at -10% -10%,#000 0 36%,transparent 56%),radial-gradient(150% 150% at 110% 110%,#000 0 42%,transparent 62%);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .06;
}

.hmyt-mobile-bottom-nav:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: inherit;
    pointer-events: none;
    background: radial-gradient(150% 170% at 50% 0%,rgba(165,196,241,21%) 0%,rgba(255,255,255,.18) 34%,rgba(94,94,94,12%) 56%,rgba(255,255,255,0) 74%);
    -webkit-backdrop-filter: blur(0) saturate(140%) contrast(1.08);
    backdrop-filter: blur(0) saturate(140%) contrast(1.08);
    box-shadow: 0 -1px 0 rgba(255,255,255,.45) inset,0 14px 26px rgba(0,0,0,.08);
    border-radius: 15px;
}


@supports (corner-shape: squircle) {
    .hmyt-mobile-bottom-nav,
    .hmyt-mobile-bottom-nav:before,
    .hmyt-mobile-bottom-nav:after {
        border-radius: 40px !important;
        corner-shape: squircle !important;
    }
}

.hmyt-mobile-nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hmyt-mobile-nav-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    height: 100%;
    width: 100%;
    padding: 6px 4px;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.hmyt-mobile-nav-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    width: 28px;
    line-height: 1;
    color: #161616;
}

.hmyt-mobile-nav-icon svg {
    width: 100%;
    height: 100%;
    max-width: 26px;
    max-height: 26px;
    stroke: currentColor;
}


.hmyt-mobile-nav-icon svg path[stroke="currentColor"] {
    stroke: currentColor;
}

.hmyt-mobile-nav-icon svg path[fill="none"] {
    fill: none;
}


.hmyt-mobile-nav-label {
    font-size: 11px;
    margin-top: 2px;
    color: #212121;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}


.hmyt-mobile-nav-item.active .hmyt-mobile-nav-icon,
.hmyt-mobile-nav-item:hover .hmyt-mobile-nav-icon {
    color: var(--hmyt-mm-icon-color-active, #0f3072);
}

.hmyt-mobile-nav-item.active .hmyt-mobile-nav-label,
.hmyt-mobile-nav-item:hover .hmyt-mobile-nav-label {
    color: var(--hmyt-mm-text-color-active, #0f3072);
}


@media (min-width: 769px) {
    .hmyt-mobile-bottom-nav.hmyt-mm-hide-desktop {
        display: none;
    }

   
    .hmyt-mobile-bottom-nav {
        max-width: 400px;
        width: 100%;
        
       
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}


.hmyt-mm-toggle-btn.show-navbar {
    position: fixed;
    transform: translateZ(1px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 5px 2px 31px rgb(0 0 0 / 13%) !important;
    width: 40px;
    height: 40px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}


.hmyt-mm-toggle-btn.hmyt-pos-left {
    left: 0;
    right: auto;
    border-radius: 0 25px 25px 0;
}


.hmyt-mm-toggle-btn.hmyt-pos-right {
    right: 0;
    left: auto;
    border-radius: 25px 0 0 25px;
}

.hmyt-mm-toggle-btn.show-navbar svg path {
    stroke: #333;
}


@media (min-width: 769px) {
    .hmyt-mm-hide-desktop ~ .hmyt-mm-toggle-btn {
        display: none;
    }
}


.hmyt-mobile-bottom-nav {
   
    transition: bottom 0.4s ease-in-out, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
}


.hmyt-mobile-bottom-nav.hmyt-menu-hidden {
    transform: translateY(150%) !important;
    opacity: 0;
    pointer-events: none;
}


@media (min-width: 769px) {
    .hmyt-mobile-bottom-nav.hmyt-menu-hidden {
       
        transform: translate(-50%, 150%) !important;
    }
}


.hmyt-menu-hidden ~ .hmyt-mm-toggle-btn {
    opacity: 0.8;
}

nav.hmyt-mobile-bottom-nav {
    user-select: none;
}

.hmyt-mm-toggle-btn.show-navbar > svg {
    width: 24px;
    height: 24px;
}

.hmyt-mm-contact-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background: var(--hmyt-cw-panel-bg, #ffffff);
    border-radius: 20px;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.08);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease, visibility 0.4s;
    z-index: -1;
    overflow: hidden;
    margin-bottom: 10px;
    pointer-events: none;
}

.hmyt-mobile-bottom-nav.show-contact-panel .hmyt-mm-contact-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hmyt-mm-contact-panel-inner {
    padding: 20px 15px;
    max-height: 50vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hmyt-mm-contact-panel-inner::-webkit-scrollbar {
    width: 4px;
}
.hmyt-mm-contact-panel-inner::-webkit-scrollbar-track {
    background: transparent;
}
.hmyt-mm-contact-panel-inner::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.hmyt-mm-contact-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f9fafb;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hmyt-mm-contact-item:hover {
    background: #f3f4f6;
}

.hmyt-mm-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.hmyt-mm-contact-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.hmyt-mm-contact-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.hmyt-mobile-bottom-nav {
    z-index: 99999;
}

.hmyt-mm-contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00052a30;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    cursor: pointer;
}

body.hmyt-mm-overlay-active .hmyt-mm-contact-overlay {
    opacity: 1;
    visibility: visible;
}

body.dark .hmyt-mm-contact-panel {
    background: #262631;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

body.dark .hmyt-mm-contact-item {
    background: #353542;
}

body.dark .hmyt-mm-contact-item:hover {
    background: #414150;
}

body.dark .hmyt-mm-contact-title {
    color: #e5e7eb;
}




body.dark .hmyt-mobile-bottom-nav {
   
    background: radial-gradient(circle at 50% 0%, rgba(65, 65, 80, 0.15), transparent 70%),
                linear-gradient(180deg, rgba(38, 38, 49, 0.90), rgba(38, 38, 49, 0.98)) !important;
    
   
    border-color: #414150 !important;
    
   
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}


body.dark .hmyt-mobile-bottom-nav:before {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent) !important;
    opacity: 0.3;
}
body.dark .hmyt-mobile-bottom-nav:after {
    display: none;
}


body.dark .hmyt-mobile-nav-icon {
    color: #e0e0e0;
}

body.dark .hmyt-mobile-nav-label {
    color: #cfcfcf;
}


body.dark .hmyt-mobile-nav-item.active .hmyt-mobile-nav-icon,
body.dark .hmyt-mobile-nav-item:hover .hmyt-mobile-nav-icon,
body.dark .hmyt-mobile-nav-item.active .hmyt-mobile-nav-label,
body.dark .hmyt-mobile-nav-item:hover .hmyt-mobile-nav-label {
    color: #ffffff;
}


body.dark .hmyt-mm-toggle-btn.show-navbar {
    background-color: #353542;
    box-shadow: 5px 2px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark .hmyt-mm-toggle-btn.show-navbar svg path {
    stroke: #ffffff;
}

