/* PWA-only refinements; keeps the existing MecaMode visual language intact. */
html.mecamode-standalone {
    overscroll-behavior-y: none;
}

html.mecamode-standalone body {
    -webkit-user-select: none;
    user-select: none;
}

html.mecamode-standalone input,
html.mecamode-standalone textarea,
html.mecamode-standalone select,
html.mecamode-standalone [contenteditable="true"] {
    -webkit-user-select: text;
    user-select: text;
}

@media (max-width: 1023px) {
    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-menu {
        height: calc(72px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    html.mecamode-standalone .mobile-bottom-menu {
        background: rgba(255, 255, 255, 0.98);
        border-top-color: rgba(124, 58, 237, 0.12);
        box-shadow: 0 -8px 30px rgba(76, 29, 149, 0.09);
    }

    html.mecamode-standalone .bottom-nav-item {
        min-height: 52px;
        touch-action: manipulation;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bottom-nav-item,
    .bottom-nav-item .icon-wrap,
    .cart-badge-mobile {
        animation: none !important;
        transition: none !important;
    }
}
