@media (max-width: 1400px) {
    .sidebar-right { position: fixed; right: 22px; top: 90px; bottom: 22px; z-index: 30; border-radius: 16px; transform: translateX(120%); }
    .sidebar-right.open { transform: none; box-shadow: var(--shadow); }
    .chat-toggle { display: inline-grid; place-items: center; }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1200px) {
    .top-stats, .top-links { display: none; }
    body.layout-main .top-actions { margin-left: auto; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-row, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    body.layout-main { padding: 0; }
    .app-window { height: 100vh; border-radius: 0; }
    .sidebar-left {
        position: fixed; left: 0; top: 68px; bottom: 0; z-index: 40; transform: translateX(-105%);
    }
    .sidebar-left.open { transform: none; }
    body.layout-main .nav-toggle { display: inline-grid; order: 20; }
    .float-gem, .float-cash { display: none; }
    .form-grid, .split, .stats-row { grid-template-columns: 1fr; }
    .top-search { display: none; }
}
@media (max-width: 768px) {
    .product-grid, .cat-row, .steps, .stats-row { grid-template-columns: 1fr 1fr; }
    .content { padding: 12px 12px 84px; }
    .bottom-nav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        display: grid; grid-template-columns: repeat(5, 1fr);
        background: #12121f; border: 0; padding: 8px 4px 10px;
    }
    .bottom-nav a { text-align: center; font-size: 11px; color: var(--muted); }
    .bottom-nav i { display: block; font-size: 16px; margin-bottom: 2px; }
    .hero h1 { font-size: 26px; }
    .hero-art { display: none; }
    .site-footer { grid-template-columns: 1fr; }
    .user-chip span { display: none; }
}
@media (min-width: 769px) {
    .bottom-nav { display: none; }
}
