:root {
            --primary: #0d9488;
            --primary-dark: #0f766e;
            --accent: #0d9488;
            --gold: #eab308;
            --bg: #f7faf9;
            --surface: #ffffff;
            --sidebar-bg: #ffffff;
            --text: #0f172a;
            --muted: #64748b;
            --border: #e6ece9;
            --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
            --shadow: 0 4px 12px rgba(15,23,42,0.06);
            --shadow-lg: 0 20px 40px -10px rgba(15,23,42,0.15);
            --radius: 14px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html, body { background: var(--bg); overflow-x: hidden; }
        html { min-height: 100%; }
        body { font-family: 'Inter', sans-serif; color: var(--text); min-height: 100vh; min-height: 100dvh; }
        img:not([src]), img[src=""] { display: none !important; }
        .hidden { display: none !important; }
        a { color: inherit; }
        h1, h2, h3, .card-name, .logo, .modal h2, .hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; }

        /* --- SIDEBAR --- */
        .sidebar {
            position: fixed; width: 240px; height: 100vh;
            background: var(--sidebar-bg); border-right: 1px solid var(--border);
            padding: 28px 16px; display: flex; flex-direction: column;
            z-index: 100; overflow-y: auto;
        }
        .logo { font-size: 20px; font-weight: 800; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 0 8px; }
        .logo .logo-mark {
            width: 36px; height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            overflow: hidden;
            color: white; font-size: 16px;
        }
        .logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }
        .nav-section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; padding: 16px 14px 8px; }
        .nav-category { list-style: none; }
        .nav-item { width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 500; font-size: 14px; transition: 0.15s; margin-bottom: 2px; display: flex; align-items: center; gap: 12px; background: transparent; color: inherit; text-align: left; text-decoration: none; }
        .nav-item i { width: 18px; text-align: center; color: var(--muted); font-size: 14px; }
        .nav-item:hover { background: var(--bg); }
        .nav-item.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
        .nav-item.active i { color: white; }
        .nav-item .count { margin-left: auto; font-size: 11px; background: var(--bg); padding: 2px 8px; border-radius: 10px; color: var(--muted); }
        .nav-item.active .count { background: rgba(255,255,255,0.2); color: white; }

        /* --- MAIN --- */
        .main-content { margin-left: 240px; width: calc(100% - 240px); padding: 28px 36px 60px; max-width: 1500px; }

        /* --- BANNERS --- */
        .top-banner {
            background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
            border: 1px solid #dbe7e2; border-radius: var(--radius);
            min-height: 60px; display: flex; align-items: center; justify-content: center;
            margin-bottom: 24px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm);
        }
        .top-banner img { width: 100%; height: auto; object-fit: contain; display: block; }
        .top-banner .placeholder, .side-banner .placeholder { color: var(--muted); font-size: 13px; padding: 20px; text-align: center; }
        .top-banner .placeholder i, .side-banner .placeholder i { font-size: 22px; display: block; margin-bottom: 6px; opacity: 0.5; }
        .top-banner a.banner-link, .side-banner a.banner-link { width: 100%; min-height: 44px; height: 100%; display: block; }
        /* Preenchimento automático: fundo desfocado da própria imagem cobre o espaço que sobraria, sem cortar */
        .top-banner.has-fill, .side-banner.has-fill { position: relative; }
        .top-banner.has-fill::before, .side-banner.has-fill::before { content: ""; position: absolute; inset: 0; background-image: var(--bnr); background-size: cover; background-position: center; filter: blur(22px) saturate(1.15); transform: scale(1.3); z-index: 0; }
        .top-banner.has-fill > a, .top-banner.has-fill > img, .side-banner.has-fill > a, .side-banner.has-fill > img { position: relative; z-index: 1; }

        /* --- HERO --- */
        .hero { margin-bottom: 20px; }
        .hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
        .hero p { color: var(--muted); font-size: 15px; }
        .hero .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 4px 10px; border-radius: 20px; font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
        .hero .badge i { font-size: 10px; }
        .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
        .hero-actions .quick-btn { text-decoration: none; }
        .seo-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: -4px 0 18px; box-shadow: var(--shadow-sm); }
        .seo-summary h2 { font-size: 18px; margin-bottom: 6px; letter-spacing: 0; }
        .seo-summary p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
        .seo-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
        .seo-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--primary-dark); background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 700; text-decoration: none; }
        .seo-links a:hover { border-color: var(--primary); background: #e6fffb; }
        /* --- SEARCH --- */
        .search-row { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
        .search-box { position: relative; flex: 1; min-width: 280px; }
        .search-box > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
        .search-box input { width: 100%; padding: 14px 16px 14px 44px; border-radius: 12px; border: 1px solid var(--border); font-size: 15px; outline: none; background: var(--surface); font-family: inherit; }
        .search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,148,136,0.12); }

        .view-toggle { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
        .view-toggle button { background: none; border: none; padding: 9px 16px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-family: inherit; }
        .view-toggle button.active { background: var(--primary); color: white; }

        .quick-btn { min-height: 44px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; font-family: inherit; transition: 0.15s; color: var(--text); }
        .quick-btn:hover { border-color: var(--primary); color: var(--primary); }
        .quick-btn.accent { background: var(--accent); color: white; border-color: var(--accent); }

        /* --- Subcategoria pills --- */
        .subcat-row {
            display: flex; flex-wrap: wrap; gap: 8px;
            margin-bottom: 20px; padding-bottom: 14px;
            border-bottom: 1px solid var(--border);
        }
        .subcat-pill {
            min-height: 44px;
            padding: 6px 14px; border-radius: 20px;
            background: var(--surface); border: 1px solid var(--border);
            cursor: pointer; font-size: 13px; font-weight: 500;
            transition: 0.15s; color: var(--text);
        }
        .subcat-pill:hover { border-color: var(--primary); color: var(--primary); }
        .subcat-pill.active { background: var(--primary); color: white; border-color: var(--primary); }
        .subcat-pill .c { font-size: 11px; opacity: 0.7; margin-left: 4px; }

        /* --- CONTENT GRID --- */
        .content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
        .right-rail { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 28px; }
        /* Banner lateral no mesmo padrão das demais páginas: 4/3 com ajuste automático (imagem inteira) */
        .side-banner { background: #fff; border: 1px solid #dbe7e2; border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: var(--shadow-sm); }
        .side-banner img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; display: block; }

        /* --- CARDS --- */
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
        .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: 0.2s; position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
        .card:not(:has(.card-cover)) { padding-top: 20px; }
        .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
        .card.destacado { border-color: var(--gold); }

        .card-cover { width: calc(100% + 40px); margin: -20px -20px 14px; height: 140px; background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(13,148,136,0.04)); position: relative; overflow: hidden; }
        .card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .card-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 38px; opacity: 0.5; }
        .card-promo-badge { position: absolute; bottom: 10px; left: 10px; background: var(--accent); color: white; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; display: flex; align-items: center; gap: 5px; }

        .card.classified-card {
            padding: 0;
            border: 1px solid #dfe5df;
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 2px 8px rgba(15,23,42,.04);
            max-width: 320px;
            width: 100%;
            justify-self: center;
        }
        .classified-card:hover { transform: translateY(-2px); border-color: #cfd8cf; box-shadow: 0 8px 22px rgba(15,23,42,.08); }
        .classified-card-cover {
            width: 100%;
            height: 205px;
            border: 0;
            border-bottom: 1px solid #e6ebe6;
            padding: 0;
            background: #f1f4f1;
            display: grid;
            place-items: center;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            color: #b3bdb5;
        }
        .classified-card-cover img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f1f4f1; }
        .classified-card-cover.no-photo { font-size: 38px; color: #b3bdb5; }
        .classified-photo-count {
            position: absolute;
            right: 14px;
            bottom: 14px;
            background: rgba(49,61,53,.78);
            color: #fff;
            border-radius: 999px;
            padding: 6px 10px;
            font-size: 12px;
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }
        .classified-card-content { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; }
        .classified-card .card-cat { margin: 0 0 5px; color: #007a42; font-size: 10px; font-weight: 900; letter-spacing: .05em; }
        .classified-card .card-name { margin: 0 0 8px; color: #071c18; font-size: 19px; font-weight: 900; line-height: 1.13; }
        .classified-card-price { margin: 0 0 10px; color: #075b37; font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-size: 24px; font-weight: 900; letter-spacing: 0; }
        .classified-card .card-info { margin: 0 0 5px; color: #53665b; font-size: 14px; line-height: 1.22; align-items: center; }
        .classified-card .card-info i { color: #178047; opacity: 1; font-size: 13px; width: 16px; margin-top: 0; }
        .classified-card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; padding-top: 0; }
        .classified-card-actions .btn-action { min-height: 44px; border-radius: 10px; font-size: 14px; font-weight: 900; }
        .classified-card-actions .btn-store { background: #fff; color: #07462d; border: 1px solid #dfe5df; }
        .classified-card-actions .btn-store:hover { background: #f8faf8; border-color: #cfd8cf; }
        .classified-card-actions .btn-wa { grid-column: auto; background: #1fb354; color: #fff; border: 1px solid #1fb354; }
        .classified-card-actions .btn-wa:hover { background: #179946; }

        .card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .card-cat .open-badge { background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 10px; text-transform: none; font-weight: 600; }
        .card-cat .closed-badge { background: #fee2e2; color: #991b1b; padding: 2px 8px; border-radius: 10px; text-transform: none; font-weight: 600; }
        .card-name { font-size: 17px; font-weight: 700; cursor: pointer; line-height: 1.3; word-break: break-word; margin-bottom: 6px; }
        .card-name:hover { color: var(--primary); }
        .store-name-line { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
        .store-name-line .card-name { margin-bottom: 0; }
        .modal-store-name { align-items: center; margin: 0 0 8px; }
        .modal-store-name h2 { margin: 0; }
        .new-product-badge { display: inline-flex; align-items: center; gap: 5px; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; border-radius: 999px; padding: 4px 9px; font-size: 11px; line-height: 1.1; font-weight: 900; white-space: nowrap; }
        .new-product-badge i { font-size: 10px; color: #16a34a; }
        .card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
        .card-rating .stars { color: var(--gold); }
        .card-info { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
        .card-info i { width: 14px; margin-top: 3px; color: var(--primary); opacity: 0.7; font-size: 12px; }
        .card-desc { margin: 8px 0 2px; color: #475569; font-size: 12px; line-height: 1.45; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px; padding: 8px 10px; }
        .card-more-info { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
        .card-more-info span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: #f0fdfa; color: #0f766e; font-size: 11px; font-weight: 700; }
        .card-actions { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 6px; }
        .btn-action { min-height: 44px; padding: 9px 8px; border-radius: 8px; text-decoration: none; text-align: center; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 5px; transition: 0.2s; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .btn-wa { background: #22c55e; color: white; grid-column: 1 / -1; }
        .btn-wa:hover { background: #16a34a; }
        .btn-maps { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
        .btn-maps:hover { background: var(--border); }
        .btn-store { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
        .btn-store:hover { background: var(--border); }
        .btn-insta { background: linear-gradient(135deg, #0d9488, #0f766e); color: white; }
        .btn-share { background: #e0f2fe; color: #0369a1; }

        .home-classificados { margin-top: 30px; }
        .home-classificados-banner { background: linear-gradient(135deg,#ecfdf5,#f0fdfa); border: 1px solid #ccfbf1; border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #115e59; margin-bottom: 14px; }
        .home-classificados-banner strong { font-family: 'Plus Jakarta Sans'; }
        .home-classificados-banner .quick-btn { margin-left: auto; }
        .home-classificados-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
        .home-classificado-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
        .home-classificado-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
        .home-classificado-photo { aspect-ratio: 4/3; background: #eef7f5; display: grid; place-items: center; color: var(--primary); overflow: hidden; position: relative; }
        .home-classificado-photo img { width: 100%; height: 100%; object-fit: cover; }
        .home-classificado-badge { position: absolute; top: 8px; left: 8px; background: var(--gold); color: #fff; border-radius: 999px; padding: 3px 7px; font-size: 10px; font-weight: 900; }
        .home-classificado-body { padding: 10px; }
        .home-classificado-price { color: var(--primary-dark); font-weight: 900; font-family: 'Plus Jakarta Sans'; }
        .home-classificado-title { font-size: 13px; font-weight: 800; line-height: 1.3; margin: 4px 0; }
        .home-classificado-meta { color: var(--muted); font-size: 11px; }

        .classified-filter-panel { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: grid; gap: 12px; box-shadow: var(--shadow-sm); }
        .classified-filter-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .classified-filter-select { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
        .classified-filter-select span { white-space: nowrap; }
        .classified-filter-select select { min-width: 240px; width: auto; min-height: 38px; padding: 7px 32px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--text); background: #fff; }
        .classified-filter-group { display: grid; gap: 7px; padding-top: 10px; border-top: 1px solid #eef2f7; }
        .classified-filter-title { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
        .classified-filter-pills { display: flex; gap: 7px; flex-wrap: wrap; }
        .classified-filter-pill, .classified-clear { min-height: 36px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 7px 11px; color: var(--text); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
        .classified-filter-pill span { color: var(--muted); font-size: 11px; font-weight: 800; }
        .classified-filter-pill:hover, .classified-clear:hover { border-color: var(--primary); color: var(--primary); }
        .classified-filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
        .classified-filter-pill.active span { color: rgba(255,255,255,.82); }
        .classified-filter-pill.all { background: #f0fdfa; border-color: #ccfbf1; }
        .classified-filter-pill.all.active { background: var(--primary); border-color: var(--primary); }
        .classified-clear { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
        .classified-filter-empty { color: var(--muted); font-size: 13px; }

        /* --- MODAL --- */
        .modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
        .modal-overlay.show { display: flex; }
        .modal { background: var(--surface); border-radius: 18px; max-width: 620px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 0; position: relative; box-shadow: var(--shadow-lg); }
        .modal-cover { height: 200px; background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(13,148,136,0.05)); border-radius: 18px 18px 0 0; overflow: hidden; position: relative; }
        .modal-cover img { width: 100%; height: 100%; object-fit: cover; }
        .modal-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 60px; opacity: 0.4; }
        .modal-body { padding: 28px 32px 32px; }
        .modal-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.9); border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 16px; color: var(--text); z-index: 5; box-shadow: var(--shadow); }
        .modal h2 { font-size: 26px; margin-bottom: 4px; padding-right: 40px; line-height: 1.2; }
        .modal .modal-sub { color: var(--muted); margin-bottom: 16px; font-size: 13px; }
        .modal .card-cat { font-size: 11px; margin-bottom: 6px; }

        .modal-tabs { display: flex; gap: 4px; margin: 20px 0 16px; border-bottom: 1px solid var(--border); }
        .modal-tab { padding: 10px 16px; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; font-size: 13px; }
        .modal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

        .detail-row { display: grid; grid-template-columns: 22px minmax(88px, auto) minmax(0, 1fr); gap: 10px; padding: 12px; border: 1px solid #eef2f7; border-radius: 10px; background: #fbfefd; font-size: 14px; margin-bottom: 8px; }
        .detail-row:last-child { border-bottom: none; }
        .detail-row i { color: var(--primary); width: 18px; margin-top: 3px; }
        .detail-row .label { font-weight: 600; color: var(--muted); min-width: 100px; }
        .detail-row .value { flex: 1; word-break: break-word; }
        .detail-row a { color: var(--primary); text-decoration: none; }
        .detail-row a:hover { text-decoration: underline; }

        .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
        .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; cursor: pointer; }

        .modal:has(.classified-detail-body) { max-width: 980px; }
        .classified-detail-body { padding: 22px !important; }
        .classified-detail-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 20px; align-items: start; }
        .classified-detail-media { display: grid; gap: 10px; }
        .classified-detail-photo { border: 1px solid var(--border); border-radius: 14px; background: #f8fafc; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
        .classified-detail-photo img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f8fafc; }
        .classified-detail-photo.empty { color: rgba(13,148,136,.45); font-size: 64px; }
        .classified-detail-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
        .classified-detail-thumbs button { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 0; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
        .classified-detail-thumbs img { width: 100%; height: 100%; object-fit: contain; background: #f8fafc; display: block; }
        .classified-view-photos { min-height: 44px; border: 1px solid #ccfbf1; background: #f0fdfa; color: var(--primary-dark); border-radius: 10px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
        .classified-detail-info h2 { padding-right: 44px; }
        .classified-detail-price { color: var(--primary); font-family: 'Plus Jakarta Sans'; font-size: 32px; font-weight: 900; margin: 8px 0 14px; }
        .classified-detail-facts { display: grid; gap: 8px; }
        .classified-detail-description { margin: 12px 0; border: 1px solid #eef2f7; border-radius: 12px; background: #fbfefd; padding: 13px; }
        .classified-detail-description strong { display: block; margin-bottom: 5px; font-size: 13px; }
        .classified-detail-description p { margin: 0; color: #334155; line-height: 1.6; white-space: pre-wrap; }
        .classified-detail-actions { margin-top: 14px; }
        .classified-detail-actions .btn-store { grid-column: 1 / -1; background: #fff; color: #0f5132; border: 1px solid #dfe8e2; }
        .classified-manage-body { max-width: 620px; }
        .classified-back-btn { width: auto; margin-bottom: 14px; }
        .classified-manage-summary { border: 1px solid var(--border); border-radius: 12px; background: #fbfefd; padding: 13px; display: grid; gap: 4px; margin: 14px 0; }
        .classified-manage-summary strong { font-family: 'Plus Jakarta Sans'; font-size: 18px; }
        .classified-manage-summary span { color: var(--muted); font-size: 13px; }
        .classified-manage-form { display: grid; gap: 12px; }
        .classified-manage-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .classified-manage-note { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); padding: 12px; font-size: 13px; line-height: 1.45; }
        .classified-manage-status { color: var(--primary-dark); font-size: 13px; font-weight: 700; min-height: 18px; }
        .classified-forgot-password { border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; background: #fff; }
        .classified-forgot-password summary { cursor: pointer; color: #0f5132; font-weight: 800; font-size: 13px; }
        .classified-forgot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
        .classified-forgot-password .btn-store { width: 100%; min-height: 42px; margin-top: 2px; }

        .classified-photo-viewer { position: fixed; inset: 0; z-index: 1400; display: none; }
        .classified-photo-viewer.show { display: block; }
        .classified-lightbox-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.84); }
        .classified-lightbox { position: absolute; inset: 18px; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 12px; color: #fff; }
        .classified-lightbox-stage { min-height: 0; border-radius: 14px; background: rgba(15,23,42,.72); display: grid; place-items: center; position: relative; overflow: hidden; }
        .classified-lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
        .classified-lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.95); color: var(--text); cursor: pointer; box-shadow: var(--shadow); }
        .classified-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 58px; border: 0; background: rgba(255,255,255,.92); color: var(--text); border-radius: 12px; cursor: pointer; font-size: 18px; }
        .classified-lightbox-nav.prev { left: 12px; }
        .classified-lightbox-nav.next { right: 12px; }
        .classified-lightbox-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
        .classified-lightbox-meta strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .classified-lightbox-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
        .classified-lightbox-thumbs button { flex: 0 0 72px; width: 72px; aspect-ratio: 1; border: 2px solid transparent; border-radius: 10px; background: rgba(255,255,255,.12); overflow: hidden; padding: 0; cursor: pointer; }
        .classified-lightbox-thumbs button.active { border-color: var(--primary); }
        .classified-lightbox-thumbs img { width: 100%; height: 100%; object-fit: contain; background: #f8fafc; display: block; }

        .modal:has(.promo-detail-body) { max-width: 900px; }
        .promo-detail-body { padding: 22px !important; }
        .promo-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 20px; align-items: start; }
        .promo-detail-media { min-height: 300px; border: 1px solid var(--border); border-radius: 14px; background: #eef6f3; display: grid; place-items: center; overflow: hidden; color: var(--primary); font-size: 52px; }
        .promo-detail-media img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fffbeb; }
        .promo-detail-info h2 { padding-right: 44px; font-family: 'Plus Jakarta Sans'; font-size: 28px; line-height: 1.15; margin: 6px 0 10px; }

        .promo-card { background: linear-gradient(135deg, #f0fdfa, #ecfdf5); border: 1px solid #99f6e4; border-radius: 12px; padding: 16px; margin: 12px 0; }
        .promo-card h4 { font-family: 'Plus Jakarta Sans'; color: #115e59; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
        .promo-card p { color: #115e59; font-size: 13px; margin-bottom: 4px; }
        .promo-card .valid { font-size: 11px; color: #0f766e; font-weight: 600; }

        .reviews-list { margin-top: 12px; }
        .review { padding: 12px 0; border-bottom: 1px solid var(--border); }
        .review:last-child { border-bottom: none; }
        .review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
        .review-name { font-weight: 600; font-size: 14px; }
        .review-stars { color: var(--gold); font-size: 13px; }
        .review-date { font-size: 11px; color: var(--muted); }
        .review-text { font-size: 14px; color: var(--text); line-height: 1.5; }

        .review-form { margin-top: 16px; padding: 16px; background: var(--bg); border-radius: 12px; }
        .star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
        .star-input input { display: none; }
        .star-input label { font-size: 24px; color: #cbd5e1; cursor: pointer; }
        .star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

        .modal-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; margin-top: 20px; }
        .modal-actions .btn-action { min-width: 0; min-height: 44px; padding: 10px 11px; font-size: 13px; line-height: 1.2; white-space: normal; }
        .modal-actions .btn-wa { grid-column: auto; }
        .register-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
        .register-choice-card {
            border: 1px solid var(--border); background: var(--surface); border-radius: 12px;
            padding: 16px; cursor: pointer; text-align: left; font-family: inherit; color: var(--text);
            display: grid; gap: 8px; transition: 0.15s; min-height: 150px;
        }
        .register-choice-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
        .register-choice-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #f0fdfa; color: var(--primary); font-size: 17px; }
        .register-choice-card strong { font-family: 'Plus Jakarta Sans'; font-size: 15px; line-height: 1.25; }
        .register-choice-card span { color: var(--muted); font-size: 12px; line-height: 1.45; }

        /* --- ADMIN --- */
        #view-admin { max-width: 950px; margin: 0 auto; }
        .admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
        .admin-card h2 { font-size: 20px; margin-bottom: 4px; font-family: 'Plus Jakarta Sans'; }
        .admin-card .section-sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
        .admin-tabs { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
        .admin-tab { padding: 10px 18px; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px; display: flex; align-items: center; gap: 6px; }
        .admin-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
        .admin-tab .pill { background: var(--accent); color: white; padding: 1px 8px; border-radius: 10px; font-size: 11px; }
        .admin-tab.has-alert { color: #b91c1c; border-bottom-color: #ef4444; background: #fff7f7; border-radius: 8px 8px 0 0; }
        .admin-tab.has-alert .pill { background: #ef4444; color: #fff; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
        .admin-section-divider { height: 1px; background: var(--border); margin: 24px 0; }
        .admin-subtitle { font-family: 'Plus Jakarta Sans'; font-size: 16px; margin-bottom: 4px; }

        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
        .form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
        .form-group { margin-bottom: 14px; }
        label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
        input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; background: var(--surface); outline: none; }
        input[type="checkbox"], input[type="radio"] { width: auto; min-width: 16px; height: 16px; padding: 0; accent-color: var(--primary); }
        input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
        textarea { resize: vertical; min-height: 70px; }
        .field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
        .field-hint-box { min-height: 41px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; color: var(--muted); font-size: 12px; line-height: 1.35; }
        .checkbox-row { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--bg); border-radius: 8px; }
        .checkbox-row input { width: auto; }
        .product-accept {
            display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px;
            color: var(--muted); font-size: 13px; line-height: 1.45; font-weight: 500;
        }
        .product-accept input { flex: 0 0 16px; margin-top: 2px; }
        .product-accept span { min-width: 0; overflow-wrap: anywhere; }

        .btn-save { min-height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px; font-family: inherit; }
        .btn-secondary { min-height: 44px; background: var(--bg); color: var(--text); border: 1px solid var(--border); padding: 12px 24px; border-radius: 8px; cursor: pointer; font-weight: 600; font-family: inherit; }
        .btn-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; font-family: inherit; }
        .btn-edit { background: #ecfdf5; color: var(--primary-dark); border: 1px solid #d1fae5; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; font-family: inherit; }
        .btn-approve { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; font-family: inherit; }

        .admin-list-item { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: var(--surface); }
        .admin-list-item:hover { border-color: var(--primary); }
        .admin-list-item .ali-info { flex: 1; min-width: 0; }
        .admin-list-item .ali-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
        .admin-list-item .ali-name .gold-badge { background: var(--gold); color: white; padding: 1px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; }
        .admin-list-item .pill { background: #eef7f5; color: var(--primary-dark); border: 1px solid #ccfbf1; padding: 1px 8px; border-radius: 10px; font-size: 10px; font-weight: 800; }
        .admin-list-item .ali-sub { font-size: 12px; color: var(--muted); }
        .admin-list-item .ali-actions { display: flex; gap: 6px; flex-wrap: wrap; }
        .admin-list-thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--bg); overflow: hidden; flex: 0 0 48px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
        .admin-list-thumb img { width: 100%; height: 100%; object-fit: cover; }

        #admin-search-box { position: relative; margin-bottom: 14px; }
        #admin-search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
        #admin-search-box input { padding-left: 40px; }

        .banner-edit-row { display: grid; grid-template-columns: 80px 1fr 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; }
        .banner-preview { width: 80px; height: 60px; border-radius: 6px; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 10px; text-align: center; }
        .banner-preview img { width: 100%; height: 100%; object-fit: cover; }
        .info-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 24px; }

        

        /* --- ADMIN ANALYTICS --- */
        .analytics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
        .metric-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; background: #fff; box-shadow: var(--shadow-sm); }
        .metric-label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
        .metric-value { font-family: 'Plus Jakarta Sans'; font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--text); margin-top: 8px; }
        .metric-note { color: var(--muted); font-size: 12px; margin-top: 6px; }
        .analytics-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
        .report-box { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 16px; min-width: 0; }
        .report-box h3 { font-size: 15px; margin-bottom: 12px; font-family: 'Plus Jakarta Sans'; }
        .bar-row { display: grid; grid-template-columns: 76px 1fr 62px; gap: 10px; align-items: center; margin-bottom: 9px; font-size: 12px; color: var(--muted); }
        .bar-track { height: 9px; background: #edf4f2; border-radius: 999px; overflow: hidden; }
        .bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
        .report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
        .report-table th, .report-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
        .report-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
        .report-table td:last-child, .report-table th:last-child { text-align: right; }
        .analytics-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
        .analytics-muted { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 12px; }
/* --- BLOG --- */
        .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 12px; }
        .blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: 0.2s; display: flex; flex-direction: column; }
        .blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
        .blog-card-cover { width: 100%; height: 180px; background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(249,115,22,0.1)); overflow: hidden; position: relative; }
        .blog-card-cover img { width: 100%; height: 100%; object-fit: cover; }
        .blog-card-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 42px; opacity: 0.5; }
        .blog-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
        .blog-card-date { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
        .blog-card-title { font-family: 'Plus Jakarta Sans'; font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
        .blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
        .blog-post-cover { height: 250px; }
        .blog-post-content { font-size: 15px; line-height: 1.7; white-space: pre-wrap; }
        .blog-post-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }

        /* --- EVENTOS --- */
        .section-title { font-family: 'Plus Jakarta Sans'; font-size: 20px; font-weight: 700; margin: 28px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .section-title .right-actions { display: flex; gap: 8px; }
        .events-list { display: grid; gap: 12px; }
        .event-row {
            display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center;
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; padding: 14px 18px; cursor: pointer; transition: 0.2s;
        }
        .event-row:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow); }
        .event-date {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white; border-radius: 10px; text-align: center; padding: 8px 4px;
            min-width: 64px;
        }
        .event-date .d { font-size: 22px; font-weight: 800; line-height: 1; font-family: 'Plus Jakarta Sans'; }
        .event-date .m { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; opacity: 0.9; }
        .event-info .e-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; font-family: 'Plus Jakarta Sans'; }
        .event-info .e-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
        .event-info .e-meta i { color: var(--primary); margin-right: 4px; }
        .event-cat-pill { background: var(--accent); color: white; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
        .event-cat-pill.cultura { background: #8b5cf6; }
        .event-cat-pill.religioso { background: #06b6d4; }
        .event-cat-pill.esporte { background: #22c55e; }
        .event-cat-pill.gastronomia { background: var(--accent); }
        .event-cat-pill.feira { background: #eab308; }
        .event-cat-pill.outros { background: var(--muted); }

        /* --- GRUPOS WHATSAPP --- */
        .grupos-list { display: flex; flex-direction: column; gap: 28px; padding-bottom: 40px; }
        .grupos-categoria .section-title { font-size: 16px; margin: 0 0 10px; }
        .grupos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
        .grupo-card {
            background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
            padding: 18px; display: flex; flex-direction: column; gap: 12px;
            transition: 0.2s; position: relative;
        }
        .grupo-card:hover { border-color: #22c55e; box-shadow: 0 4px 18px rgba(34,197,94,0.12); }
        .grupo-main { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
        .grupo-icon { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #16a34a; flex-shrink: 0; overflow: hidden; }
        .grupo-icon-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
        .grupo-info { min-width: 0; }
        .grupo-nome { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 15px; margin-bottom: 3px; line-height: 1.25; overflow-wrap: anywhere; }
        .grupo-meta { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; background: #ecfdf5; color: #15803d; border: 1px solid #bbf7d0; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; margin-bottom: 8px; }
        .grupo-desc { font-size: 13px; color: var(--muted); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
        .grupo-desc-empty { color: #94a3b8; font-style: italic; }
        .grupo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
        .btn-whatsapp-join {
            display: inline-flex; align-items: center; gap: 6px;
            background: #22c55e; color: #fff; border-radius: 50px;
            padding: 9px 18px; font-weight: 700; font-size: 13px; text-decoration: none;
            transition: 0.15s; border: none; cursor: pointer;
        }
        .btn-whatsapp-join:hover { background: #16a34a; }
        .btn-share-group {
            display: inline-flex; align-items: center; gap: 6px;
            background: var(--bg); color: var(--text); border: 1px solid var(--border);
            border-radius: 50px; padding: 9px 14px; font-size: 12px; font-weight: 600;
            cursor: pointer; transition: 0.15s;
        }
        .btn-share-group:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); }

        /* --- PROMOCOES --- */
        .promo-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
        .promo-main-area { min-width: 0; }
        .promo-hero { background: transparent; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 18px; }
        .promo-hero h2 { color: var(--text); font-size: 30px; font-weight: 800; letter-spacing: 0; }
        .promo-hero p { max-width: 720px; }
        .promo-hero .badge { background: var(--surface); color: var(--primary); border-color: var(--border); }
        .promos-list { padding: 0 0 28px; }
        .promos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
        .promo-card-pub { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.2s; cursor: pointer; }
        .promo-card-pub:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary); }
        .promo-card-pub:focus-visible { outline: 3px solid rgba(13,148,136,.24); outline-offset: 3px; }
        .promo-card-cover { height: 160px; overflow: hidden; background: #eef6f3; border-bottom: 1px solid var(--border); }
        .promo-card-cover img { width: 100%; height: 100%; object-fit: cover; }
        .promo-cover-fallback { display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--primary); }
        .promo-card-body { padding: 16px; }
        .promo-empresa { font-size: 11px; font-weight: 800; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
        .promo-titulo { font-family: 'Plus Jakarta Sans'; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
        .promo-descricao { font-size: 13px; color: var(--muted); margin-bottom: 8px; line-height: 1.5; }
        .promo-valid { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--primary-dark); background: #ecfdf5; border: 1px solid #ccfbf1; border-radius: 50px; padding: 3px 10px; margin-bottom: 12px; font-weight: 700; }
        .promo-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
        .btn-promo-wa { display: inline-flex; align-items: center; gap: 6px; background: #22c55e; color: #fff; border-radius: 50px; padding: 8px 14px; font-size: 13px; font-weight: 700; text-decoration: none; transition: 0.15s; }
        .btn-promo-wa:hover { background: #16a34a; }
        .btn-promo-store { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 50px; padding: 8px 14px; font-size: 13px; font-weight: 600; text-decoration: none; transition: 0.15s; }
        .btn-promo-store:hover { border-color: var(--primary); color: var(--primary); }
        .promo-bottom-banner { margin-top: 4px; margin-bottom: 0; }
        @media (max-width: 1100px) { .promo-page-layout { grid-template-columns: 1fr; } .promo-right-rail { flex-direction: row; flex-wrap: wrap; position: static; } }
        @media (max-width: 520px) { .promos-list { padding: 0 0 24px; } .promos-grid { grid-template-columns: 1fr; } .promo-hero h2 { font-size: 24px; } }

        /* --- FOOTER FIXO --- */
        footer {
            position: fixed; bottom: 0; left: 240px; right: 0;
            padding: 6px 16px; border-top: 1px solid var(--border);
            background: var(--surface); font-size: 12px; color: var(--muted);
            display: grid; grid-template-columns: minmax(230px, 1fr) minmax(520px, 2.1fr);
            align-items: center; gap: 14px; z-index: 50;
            box-shadow: 0 -2px 8px rgba(15,23,42,0.04);
        }
        footer a { color: var(--primary); text-decoration: none; cursor: pointer; }
        footer a:hover { text-decoration: underline; }
        footer .quick-btn { min-height: 34px; padding: 6px 11px; font-size: 12px; }
        .site-footer-main { min-height: 62px; }
        .footer-brand { min-width: 0; }
        .footer-logo { width: fit-content; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--text); margin-bottom: 1px; font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; }
        .footer-logo:hover { text-decoration: none; }
        .footer-logo-mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
        .footer-logo-mark svg { width: 15px; height: 15px; display: block; fill: currentColor; }
        .footer-logo span { color: var(--primary); }
        .footer-logo > span:last-child { color: var(--text); }
        .footer-brand p { margin: 2px 0 1px; line-height: 1.16; }
        .footer-brand small { display: block; font-size: 10.5px; line-height: 1.1; color: var(--muted); }
        .footer-nav { display: grid; grid-template-columns: repeat(3, minmax(112px, 1fr)) auto; align-items: center; justify-content: flex-end; gap: 14px; }
        .footer-group { display: grid; gap: 1px; min-width: 0; }
        .footer-group strong { color: var(--text); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
        .footer-group a { font-size: 11.5px; line-height: 1.12; white-space: nowrap; }
        .footer-actions { display: flex; gap: 7px; flex-wrap: nowrap; align-items: center; }
        .footer-instagram { background: linear-gradient(135deg,#0d9488,#0f766e); color: white !important; border-color: transparent !important; }
        .footer-whatsapp { background:#22c55e; color:white !important; border-color:#22c55e !important; }
        .main-content { padding-bottom: 86px; }
        @media (max-width: 1180px) {
            footer { grid-template-columns: 1fr; gap: 7px; }
            .footer-nav { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
            .footer-actions { grid-column: 1 / -1; justify-content: flex-start; }
            .main-content { padding-bottom: 128px; }
        }

        /* --- TOAST --- */
        .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: white; padding: 12px 20px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); z-index: 2000; opacity: 0; transition: opacity 0.3s; }
        .toast.show { opacity: 1; }

        /* --- MOBILE HEADER --- */
        .mobile-header {
            display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 200;
            background: var(--surface); border-bottom: 1px solid var(--border);
            padding: 0 16px; height: 56px;
            align-items: center; justify-content: space-between;
            box-shadow: var(--shadow-sm);
        }
        .mobile-header .m-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
        .mobile-header .m-logo .logo-mark { width: 30px; height: 30px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 13px; }
        .hamburger { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text); padding: 8px; border-radius: 8px; }
        .hamburger:hover { background: var(--bg); }
        .sidebar-close-btn { display: none; width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); align-items: center; gap: 8px; margin-bottom: 16px; }

        /* --- SIDEBAR OVERLAY --- */
        .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.45); z-index: 155; backdrop-filter: blur(2px); }
        .sidebar-overlay.show { display: block; }

        /* --- MOBILE BOTTOM NAV --- */
        .mobile-bottom-nav {
            display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
            background: var(--surface); border-top: 1px solid var(--border);
            padding: 6px 0 env(safe-area-inset-bottom, 6px);
            min-height: 64px;
            box-shadow: 0 -2px 12px rgba(15,23,42,0.08);
        }
        .mobile-bottom-nav ul { display: flex; list-style: none; }
        .mobile-bottom-nav li { flex: 1; }
        .mobile-bottom-nav button,
        .mobile-bottom-nav a {
            width: 100%; background: none; border: none; cursor: pointer;
            display: flex; flex-direction: column; align-items: center; gap: 3px;
            padding: 6px 4px; font-family: inherit; color: var(--muted);
            font-size: 10px; font-weight: 600; transition: 0.15s;
            text-decoration: none;
        }
        .mobile-bottom-nav button i,
        .mobile-bottom-nav a i { font-size: 19px; }
        .mobile-bottom-nav button.active,
        .mobile-bottom-nav a.active { color: var(--primary); }

        /* --- RESPONSIVE --- */
        @media (max-width: 1100px) {
            .content-grid { grid-template-columns: 1fr; }
            .right-rail { flex-direction: row; flex-wrap: wrap; position: static; }
            .side-banner { flex: 1; min-width: 200px; max-width: 300px; }
        }
        @media (max-width: 768px) {
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .analytics-layout { grid-template-columns: 1fr; }
  .metric-value { font-size: 23px; }
  .bar-row { grid-template-columns: 64px 1fr 48px; }
            /* Mostrar elementos mobile */
            .mobile-header { display: flex; }
            .mobile-bottom-nav { display: block; }
            .mobile-bottom-nav .mob-search-item { display: none; }

            /* Prevenir scroll horizontal */
            body, .main-content { overflow-x: hidden; max-width: 100vw; }

            /* iOS: previne zoom ao focar em inputs (font-size < 16px causa zoom automático) */
            input, select, textarea { font-size: 16px !important; }

            /* Banner topo no mobile usa o mesmo padrão visual do desktop */
            .top-banner {
                width: 100%;
                min-height: 86px;
                height: clamp(86px, 24vw, 128px);
                aspect-ratio: auto;
                margin-bottom: 14px;
                background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
                border: 1px solid #dbe7e2;
                border-radius: 12px;
            }
            .top-banner.has-fill::before, .side-banner.has-fill::before { display: none; }
            .top-banner a.banner-link { height: 100%; display: flex; align-items: center; justify-content: center; }
            .top-banner img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; }

            /* Modal: evita overflow horizontal no "sugerir evento" e outros formulários */
            .modal { overflow-x: hidden; }
            .modal-body { overflow-x: hidden; max-width: 100%; }
            .modal-body .form-row,
            .modal-body .form-row-3 { grid-template-columns: 1fr !important; }

            /* Sidebar vira drawer */
            .sidebar {
                width: 280px !important;
                transform: translateX(-100%); transition: transform 0.25s ease;
                z-index: 160; box-shadow: var(--shadow-lg);
                overflow-y: auto; height: 100vh; height: 100dvh;
                padding: 16px 16px 80px;
            }
            .sidebar.open { transform: translateX(0); }
            .sidebar span,
            .sidebar .logo small,
            .sidebar .nav-section-label,
            .sidebar .nav-item .count { display: revert !important; }
            .sidebar .logo { justify-content: flex-start !important; margin-bottom: 16px; }
            /* Botão fechar dentro do drawer */
            .sidebar-close-btn { display: flex !important; }

            /* Layout principal */
            .main-content {
                margin-left: 0 !important; width: 100% !important;
                padding: 68px 14px calc(118px + env(safe-area-inset-bottom, 0px)) !important;
            }

            /* Footer desktop oculto no mobile */
            footer { display: none !important; }

            /* Hero centralizado */
            .hero { text-align: center; }
            .hero .badge { justify-content: center; }
            .hero h1 { font-size: 22px; }
            .hero p { font-size: 14px; }
            .seo-summary { text-align: left; padding: 14px; }
            .seo-links { gap: 6px; }

            /* Grid */
            .grid { grid-template-columns: 1fr; }
            .content-grid { grid-template-columns: 1fr; }
            .form-row, .form-row-3 { grid-template-columns: 1fr !important; }

            /* Search row */
            .search-row { flex-direction: column; align-items: stretch; gap: 10px; }
            .search-row .quick-btn { display: none; }
            .search-box { min-width: unset !important; }
            .hero-actions { display: none; }
            .hero-actions .quick-btn { width: 100%; justify-content: center; }

            /* City filter horizontal scroll */
            .city-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
            .city-filter::-webkit-scrollbar { display: none; }

            /* Card cover: evitar overflow */
            .card { overflow: hidden; }
            .card-cover { width: calc(100% + 40px); }

            /* Modal centralizado no mobile */
            .modal-overlay { align-items: center; justify-content: center; padding: 14px 14px calc(84px + env(safe-area-inset-bottom, 0px)); }
            .modal-overlay.show { display: flex; align-items: center; justify-content: center; }
            .modal {
                border-radius: 18px !important;
                max-height: 88vh; max-height: 88dvh;
                width: 100%; max-width: 520px;
                overflow-y: auto;
            }
            .modal-body { padding: 20px 16px 32px !important; }
            .modal-body form, .modal-body .form-group, .modal-body input, .modal-body select, .modal-body textarea { min-width: 0; max-width: 100%; }
            .modal-cover { height: 180px !important; border-radius: 18px 18px 0 0 !important; }
            .modal h2 { font-size: 20px !important; }
            .detail-row .label { min-width: 80px !important; font-size: 12px !important; }
            .detail-row .value { font-size: 13px !important; }
            .classified-filter-head { align-items: stretch; }
            .classified-filter-select { width: 100%; display: grid; gap: 5px; }
            .classified-filter-select select { width: 100%; min-width: 0; }
            .classified-card { border-radius: 12px; max-width: 355px; }
            .classified-card-cover { height: 185px; }
            .classified-photo-count { right: 12px; bottom: 12px; padding: 6px 9px; font-size: 12px; }
            .classified-card-content { padding: 13px 14px 14px; }
            .classified-card .card-cat { font-size: 10px; }
            .classified-card .card-name { font-size: 18px; }
            .classified-card-price { font-size: 22px; margin-bottom: 9px; }
            .classified-card .card-info { font-size: 14px; }
            .classified-card-actions { gap: 8px; margin-top: 12px; }
            .classified-card-actions .btn-action { min-height: 42px; font-size: 14px; }
            .classified-detail-body { padding: 14px !important; }
            .classified-detail-layout { grid-template-columns: 1fr; gap: 14px; }
            .promo-detail-body { padding: 14px !important; }
            .promo-detail-layout { grid-template-columns: 1fr; gap: 14px; }
            .promo-detail-media { min-height: 220px; }
            .promo-detail-info h2 { font-size: 23px; }
            .classified-detail-info h2 { padding-right: 42px; }
            .classified-detail-price { font-size: 25px; }
            .classified-detail-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
            .classified-lightbox { inset: 10px; grid-template-rows: minmax(0, 1fr) auto auto; }
            .classified-lightbox-nav { width: 42px; height: 50px; }
            .classified-lightbox-nav.prev { left: 8px; }
            .classified-lightbox-nav.next { right: 8px; }
            .classified-lightbox-thumbs button { flex-basis: 58px; width: 58px; }
            .classified-manage-actions { grid-template-columns: 1fr; }
            .classified-forgot-grid { grid-template-columns: 1fr; gap: 4px; }
            .modal-actions { grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 8px; }
            .modal-actions .btn-action {
                min-width: 0 !important; width: 100%; min-height: 48px; padding: 0 !important;
                border-radius: 10px; font-size: 0 !important; line-height: 1 !important;
            }
            .modal-actions .btn-action i { font-size: 18px; margin: 0; }
            .modal-actions .btn-action .action-label { display: none; }
            .modal-actions.classified-detail-actions { grid-template-columns: 1fr 1fr; }
            .modal-actions.classified-detail-actions .btn-action { font-size: 13px !important; line-height: 1.2 !important; padding: 10px 8px !important; }
            .modal-actions.classified-detail-actions .btn-action i { margin-right: 6px; }
            .register-choice-grid { grid-template-columns: 1fr; gap: 10px; }
            .register-choice-card { min-height: 0; grid-template-columns: 42px 1fr; align-items: center; }
            .register-choice-card span { grid-column: 2; }

            /* Admin */
            .admin-tabs { overflow-x: auto; flex-wrap: nowrap; }
            .banner-edit-row { grid-template-columns: 1fr 1fr !important; }
            .banner-edit-row .banner-preview { display: none; }

            .grupos-list { gap: 22px; padding: 0 2px 36px; }
            .grupos-grid { grid-template-columns: 1fr; gap: 12px; }
            .grupo-card { padding: 14px; border-radius: 12px; gap: 14px; }
            .grupo-main { grid-template-columns: 54px minmax(0, 1fr); gap: 10px; }
            .grupo-icon { width: 54px; height: 54px; }
            .grupo-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
            .btn-whatsapp-join, .btn-share-group { width: 100%; justify-content: center; border-radius: 10px; min-height: 44px; }

            /* Eventos */
            .event-row { grid-template-columns: 58px 1fr !important; }
            .event-cat-pill { display: none; }
        }
        @media (max-width: 400px) {
  .analytics-grid { grid-template-columns: 1fr; }
            .main-content { padding: 64px 10px calc(118px + env(safe-area-inset-bottom, 0px)) !important; }
            .hero h1 { font-size: 20px; }
            .card { padding: 14px; }
            .card-cover { width: calc(100% + 28px); margin: -14px -14px 12px; }
        }

        /* --- PATROCINADOS --- */
        .sponsored-section { margin-bottom: 28px; }
        .sponsored-section .section-title { margin-top: 0; margin-bottom: 12px; }
        .sponsored-grid {
            display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px;
            -webkit-overflow-scrolling: touch; scrollbar-width: none;
        }
        .sponsored-grid::-webkit-scrollbar { display: none; }
        .sponsored-card {
            min-width: 240px; max-width: 240px;
            background: linear-gradient(150deg, #ecfdf5, #ecfdf5);
            border: 2px solid var(--gold); border-radius: var(--radius);
            padding: 16px; position: relative; overflow: hidden;
            cursor: pointer; transition: 0.2s; flex-shrink: 0;
        }
        .sponsored-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(234,179,8,0.22); }
        .sponsored-ribbon {
            position: absolute; top: 12px; right: -26px;
            background: var(--gold); color: white; font-size: 9px; font-weight: 800;
            padding: 3px 30px; transform: rotate(35deg); letter-spacing: 1.5px;
        }
        .sponsored-cover {
            width: 100%; height: 80px; border-radius: 8px; margin-bottom: 10px;
            object-fit: cover; display: block;
        }
        .sponsored-cover-fallback {
            width: 100%; height: 80px; border-radius: 8px; margin-bottom: 10px;
            background: rgba(234,179,8,0.15); display: flex; align-items: center;
            justify-content: center; color: var(--gold); font-size: 28px;
        }
        .sponsored-cat { font-size: 10px; color: #0f766e; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
        .sponsored-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
        .sponsored-rating { color: var(--gold); font-size: 12px; margin-bottom: 4px; }
        .sponsored-addr { font-size: 12px; color: var(--muted); }
        .sponsored-wa { display: inline-flex; align-items: center; gap: 6px; background: #22c55e; color: white; padding: 7px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; margin-top: 10px; }
        .sponsored-wa:hover { background: #16a34a; }

        /* --- SELOS --- */
        .badge-verificado { background: #dbeafe; color: #1d4ed8; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
        .badge-top { background: #fef9c3; color: #0f766e; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

        /* --- CITY FILTER --- */
        .city-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; letter-spacing: 0.3px; white-space: nowrap; }
        .city-badge.df { background: #dbeafe; color: #1e40af; }
        .city-badge.go { background: #fef9c3; color: #0f766e; }
        .city-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
        .city-btn { min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); font-family: inherit; transition: 0.15s; white-space: nowrap; }
        .city-btn:hover { border-color: var(--primary); color: var(--primary); }
        .city-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
        .city-btn.go.active { background: #d97706; border-color: #d97706; }


.seo-business-list{background:#fff;border:1px solid var(--border);border-radius:8px;padding:16px 18px;margin:0 0 18px;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.seo-business-list h2{font-size:18px;margin:0 0 6px;font-family:"Plus Jakarta Sans",sans-serif}
.seo-business-list p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.5}
.seo-business-list ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 14px;margin:0;padding:0;list-style:none}
.seo-business-list li{display:flex;flex-direction:column;gap:2px;border-top:1px solid #eef2f7;padding-top:8px;min-width:0}
.seo-business-list a{font-weight:800;color:var(--text);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seo-business-list a:hover{color:var(--primary)}
.seo-business-list span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


.seo-footer-details{margin:22px 0 0;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--muted);box-shadow:0 4px 14px rgba(15,23,42,.03);overflow:hidden}
.seo-footer-details summary{cursor:pointer;padding:10px 14px;font-size:12px;font-weight:800;color:var(--muted);list-style:none}
.seo-footer-details summary::-webkit-details-marker{display:none}
.seo-footer-details summary:after{content:'+';float:right;color:var(--primary);font-weight:900}
.seo-footer-details[open] summary:after{content:'-'}
.seo-footer-details .seo-summary,.seo-footer-details .seo-business-list{box-shadow:none;border:0;border-top:1px solid var(--border);border-radius:0;margin:0}
.seo-footer-details .seo-summary h2,.seo-footer-details .seo-business-list h2{font-size:15px}
.seo-footer-details .seo-summary p,.seo-footer-details .seo-business-list p{font-size:12px}
.seo-footer-details .seo-links a{font-size:11px;padding:6px 8px}


/* Mobile refinements 2026 */
@media (max-width: 768px) {
  .main-content {
    padding: 70px 12px calc(118px + env(safe-area-inset-bottom, 0px)) !important;
    width: 100% !important;
  }
  html {
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .hero {
    padding: 18px 16px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: 24px;
    line-height: 1.12;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.45;
  }
  .search-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }
  .search-box {
    min-height: 46px;
  }
  .search-box input {
    font-size: 16px;
  }
  .city-filter,
  .subcat-row {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .city-btn,
  .subcat-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 44px;
  }
  .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .right-rail {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    position: static;
    margin-top: 4px;
  }
  .side-banner {
    width: 100%;
    max-width: none;
    min-width: 0;
    aspect-ratio: 4 / 3;
    max-height: none;
    border-radius: 10px;
    background: #fff;
  }
  .side-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
  }
  .side-banner .placeholder {
    font-size: 12px;
    line-height: 1.35;
  }
  .grid {
    gap: 12px;
  }
  .card {
    border-radius: 12px;
    padding: 14px;
  }
  .card-name {
    font-size: 16px;
    line-height: 1.25;
  }
  .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .card-actions .btn-wa {
    grid-column: 1 / -1;
  }
  .card-actions .btn-action {
    min-height: 44px;
    justify-content: center;
    padding: 9px 8px;
  }
  .sponsored-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .sponsored-card {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .mobile-bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100vw;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    transform: none !important;
  }
  .sidebar {
    max-width: 86vw;
  }
  .nav-item {
    min-height: 44px;
  }
}

@media (max-width: 400px) {
  .card-actions {
    grid-template-columns: 1fr 1fr;
  }
  .side-banner {
    aspect-ratio: 4 / 3;
  }
}
