.ahura-mobile-nav {
    position: fixed;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 9997;
}

.ahura-mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    background-color: var(--ahura-background);
    box-shadow: 0 -8px 30px rgba(138, 27, 227, .08);
}

.ahura-mnav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: var(--ahura-secondary);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color .3s ease;
}

.ahura-mnav-item svg {
    width: 22px;
    height: 22px;
}

.ahura-mnav-item.is-active {
    color: var(--ahura-primary);
}

.ahura-mnav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ahura-mnav-item.is-fab .ahura-mnav-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background-color: var(--ahura-primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(var(--ahura-primary-rgb), .4);
    transition: transform .3s ease;
}

.ahura-mnav-item.is-fab {
    margin-top: -35px;
}

.ahura-mnav-item.is-fab svg {
    width: 26px;
    height: 26px;
}

.ahura-mnav-item.is-fab:active .ahura-mnav-icon {
    transform: scale(.94);
}

.ahura-mnav-badge {
    position: absolute;
    top: -7px;
    inset-inline-end: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background-color: var(--ahura-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ahura-mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background-color: rgba(15, 23, 42, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}

.ahura-mobile-nav.ahura-sheet-open .ahura-mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
}

.ahura-mobile-nav-sheet {
    position: fixed;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 10000;
    max-height: 70vh;
    overflow-y: auto;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background-color: var(--ahura-background);
    transform: translateY(100%);
    transition: transform .35s ease;
}

.ahura-mobile-nav.ahura-sheet-open .ahura-mobile-nav-sheet.is-visible {
    transform: translateY(0);
}

.ahura-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ahura-sheet-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ahura-text);
}

.ahura-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: none;
    border: none;
    border-radius: 10px;
    background-color: rgba(var(--ahura-secondary-rgb), .1);
    color: var(--ahura-text);
    cursor: pointer;
}

.ahura-sheet-close svg {
    width: 18px;
    height: 18px;
}

.ahura-sheet-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ahura-sheet-list li {
    border-bottom: 1px solid rgba(var(--ahura-secondary-rgb), .08);
}

.ahura-sheet-list li:last-child {
    border-bottom: none;
}

.ahura-sheet-list a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 10px;
    color: var(--ahura-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
    
}

.ahura-sheet-list a:hover {
    background-color: rgba(var(--ahura-primary-rgb), .08);
    color: var(--ahura-primary);
}

@media (min-width: 768px) {
    .ahura-mnav-mobile.ahura-mnav-bp-767 {
        display: none;
    }
}

@media (min-width: 1024px) {
    .ahura-mnav-mobile.ahura-mnav-bp-1023 {
        display: none;
    }
}
/* ===== پاپ‌آپ دسته‌بندی‌ها با Drill-down ===== */
.ahura-sheet-categories .ahura-sheet-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(var(--ahura-secondary-rgb), .08);
}

.ahura-sheet-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 99px;
    background-color: rgba(var(--ahura-secondary-rgb), .08);
    color: var(--ahura-text);
    cursor: pointer;
    flex: none;
}

.ahura-sheet-back svg {
    width: 18px;
    height: 18px;
}

.ahura-sheet-categories .ahura-sheet-title {
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ahura-sheet-body {
    padding: 10px 0;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ahura-cat-level {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ahura-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--ahura-text);
    cursor: pointer;
    transition: background-color .2s ease;
}

.ahura-cat-item:hover {
    background-color: rgba(var(--ahura-secondary-rgb), .05);
}

.ahura-cat-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #f4f7fb;
    overflow: hidden;
    flex: none;
}

.ahura-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ahura-cat-thumb svg {
    width: 22px;
    height: 22px;
    color: rgba(var(--ahura-text-rgb), .35);
}

.ahura-cat-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ahura-cat-chevron {
    display: inline-flex;
    color: rgba(var(--ahura-text-rgb), .35);
    flex: none;
}

.ahura-cat-chevron svg {
    width: 16px;
    height: 16px;
}

.ahura-cat-viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 18px 16px;
    padding: 13px;
    border-radius: 14px;
    background-color: var(--ahura-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease;
}

.ahura-cat-viewall:hover {
    transform: translateY(-2px);
}

.ahura-cat-viewall svg {
    width: 16px;
    height: 16px;
}

.ahura-sheet-empty {
    padding: 40px 18px;
    text-align: center;
    color: rgba(var(--ahura-text-rgb), .55);
    font-size: 13px;
}