/* Обертка для позиционирования */
.urmall-fab-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9900;
}

/* Кнопка в стиле iOS */
.urmall-fab-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, #7f00d4 0%, #ff0077 100%);
    border: none;
    box-shadow: 0 12px 28px rgba(127, 0, 212, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0 16px;
    gap: 6px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Пружинный эффект при нажатии */
.urmall-fab-button:active {
    transform: scale(0.9);
    box-shadow: 0 6px 16px rgba(127, 0, 212, 0.3);
}

/* Линии бургера */
.urmall-fab-button .fab-line {
    display: block;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.urmall-fab-button .fab-line.top {
    width: 24px;
}

.urmall-fab-button .fab-line.bottom {
    width: 14px;
}

/* Эффект Glassmorphism для шторки меню */
#mainMenuSheet .glass-effect {
    background-color: rgba(248, 245, 252, 0.90); /* Фирменный #f8f5fc с прозрачностью */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}

/* Индикатор свайпа (handle) */
.sheet-drag-handle {
    width: 40px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    margin: 10px auto 0;
}

/* =========================================
   IOS APPLE STYLE MENU LIST
   ========================================= */
.urmall-sheet-nav {
    display: flex;
    flex-direction: column;
    //background: #ffffff;
    //border-radius: 16px;
    //margin: 16px 16px 32px; /* Отступы от краев шторки */
    //box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    overflow: hidden;
}

.urmall-sheet-link {
    display: flex;
    align-items: center;
    padding: 14px 0;
    text-decoration: none;
    color: #1c1c1e; /* Темно-серый цвет текста в стиле Apple */
    font-size: 17px;
    font-weight: 500;
    //background-color: #ffffff;
    transition: background-color 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* Защита от скрытия пунктов меню на мобилках из-за старых классов */
.urmall-sheet-link.hidden-mobile {
    display: flex !important;
}

/* Разделительная линия между пунктами (кроме последнего) */
.urmall-sheet-link:not(:last-child)::after {
    //content: '';
    //position: absolute;
    //bottom: 0;
    //left: 60px; /* Отступ ровно под иконкой */
    //right: 0;
    //height: 1px;
    //background-color: rgba(60, 60, 67, 0.1);
}

.urmall-sheet-link:active {
    background-color: #f2f2f7; /* Цвет активного нажатия (iOS state) */
}

/* Иконки в скругленных квадратах */
.urmall-sheet-link .link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 14px;
    flex-shrink: 0;
}

/* Чередование фирменных цветов для иконок */
.urmall-sheet-link:nth-child(odd) .link-icon {
    color: #7f00d4; 
    background-color: rgba(127, 0, 212, 0.08);
}
.urmall-sheet-link:nth-child(even) .link-icon {
    color: #ff0077;
    background-color: rgba(255, 0, 119, 0.08);
}

.urmall-sheet-link .link-text {
    flex-grow: 1;
}

/* Шеврон (стрелочка) навигации справа */
.urmall-sheet-link .link-arrow {
    display: flex;
    align-items: center;
    color: #c7c7cc; /* Стандартный серый цвет стрелочек iOS */
    margin-left: 10px;
}

/* Адаптив для маленьких экранов */
@media (max-width: 768px) {
    .urmall-fab-wrapper {
        bottom: 20px;
        right: 20px;
    }
}