/* Minimal styles - только layout, всё остальное в inline CSS */

#app {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: calc(var(--header-height) + var(--safe-area-top) + 16px) 16px calc(var(--bottom-nav-height) + 16px) 16px;
}

/* Catalog grid */
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Modal positioning */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Utility classes */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
