     :root { --primary: #2563eb; --secondary: #0f172a; --bg-body: #f8f9fa; --sidebar-w: 260px; }
        body { background-color: var(--bg-body); font-family: 'Poppins', sans-serif; overflow-x: hidden; }
        
        /* --- SIDEBAR (Menu Lateral) --- */
        .sidebar { 
            position: fixed; top: 0; left: 0; bottom: 0; 
            width: var(--sidebar-w); background: #fff; 
            z-index: 1050; padding-top: 20px; border-right: 1px solid #e2e8f0;
            transition: transform 0.3s ease;
        }
        .sidebar-header { padding: 0 25px 20px; font-weight: 800; font-size: 1.5rem; color: #1e293b; }
        .nav-link { 
            color: #64748b; padding: 12px 25px; font-weight: 500; display: flex; align-items: center; 
            transition: 0.2s; font-size: 0.95rem;
        }
        .nav-link:hover, .nav-link.active { color: var(--primary); background: #eff6ff; border-right: 3px solid var(--primary); }
        .nav-link i { width: 24px; margin-right: 10px; font-size: 1.1rem; }

        /* --- ÁREA PRINCIPAL --- */
        .main-wrapper { margin-left: var(--sidebar-w); padding: 30px; transition: margin 0.3s ease; }

        /* --- HEADER MOBILE --- */
        .mobile-header { display: none; background: #fff; padding: 15px; border-bottom: 1px solid #eee; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1040; }

        /* --- RESPONSIVIDADE (MOBILE) --- */
        @media (max-width: 991px) {
            .sidebar { transform: translateX(-100%); } /* Esconde sidebar */
            .sidebar.active { transform: translateX(0); } /* Mostra quando ativo */
            .main-wrapper { margin-left: 0; padding: 15px; }
            .mobile-header { display: flex; }
            
            /* Overlay escuro quando menu abre */
            .overlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.5); z-index: 1045; display: none; }
            .overlay.show { display: block; }
        }

        /* ============================================================
           ESTILO 1: PARTE SUPERIOR (NORMAL / GRANDE) - IGUAL FOTO
           ============================================================ */
        
        /* Grid Onde Anunciar (Grande) */
        .media-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* Cards largos */
            gap: 20px; 
            margin-bottom: 30px;
        }
        .media-card { 
            background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; 
            padding: 25px 15px; text-align: center; cursor: pointer; 
            transition: all 0.3s ease; 
        }
        .media-card:hover, .media-card.active { 
            transform: translateY(-5px); 
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15); 
            border-color: var(--primary); 
            color: var(--primary); 
        }
        .media-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; } /* Ícone Grande */
        .media-title { font-weight: 600; font-size: 1rem; } /* Texto Normal */

        /* Busca Inteligente (Azul Grande) */
        .quick-search-section { 
            background: linear-gradient(135deg, #0061f2 0%, #0044aa 100%); 
            border-radius: 15px; padding: 3rem 2rem; color: white; 
            text-align: center; margin-bottom: 40px; 
            box-shadow: 0 10px 30px rgba(0, 97, 242, 0.25);
        }
        .search-input { 
            padding: 15px 25px; font-size: 1.1rem; border-radius: 50px; border: none; 
            width: 100%; max-width: 700px; margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .custom-select { 
            background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); 
            color: white; border-radius: 8px; padding: 10px 15px; 
        }
        .custom-select option { color: #333; }

        /* ============================================================
           ESTILO 2: PARTE INFERIOR (CARDS RÁDIO PEQUENOS)
           ============================================================ */
        
        /* Grid Compacto */
        .radio-grid-compact {
            display: grid;
            /* Mobile: 2 por linha | Desktop: 6 por linha (bem pequeno) */
            grid-template-columns: repeat(2, 1fr); 
            gap: 10px;
        }
        @media (min-width: 768px) { .radio-grid-compact { grid-template-columns: repeat(4, 1fr); } }
        @media (min-width: 1200px) { .radio-grid-compact { grid-template-columns: repeat(6, 1fr); } }

        /* Card de Rádio Compacto */
        .radio-card-small {
            background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
            overflow: hidden; transition: 0.2s; height: 100%; display: flex; flex-direction: column;
        }
        .radio-card-small:hover { border-color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
        
        .radio-img-small { 
            height: 80px; /* Altura pequena */
            background: #f8f9fa; display: flex; align-items: center; justify-content: center;
            border-bottom: 1px solid #f1f5f9; position: relative;
        }
        .radio-img-small img { max-height: 50px; max-width: 80%; }
        
        .radio-body-small { padding: 8px; flex-grow: 1; display: flex; flex-direction: column; }
        .radio-title-small { font-weight: 700; font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; color: #333; }
        .radio-loc-small { font-size: 0.7rem; color: #94a3b8; margin-bottom: 8px; }
        .btn-buy-small { font-size: 0.7rem; padding: 4px 0; width: 100%; border-radius: 20px; font-weight: 600; margin-top: auto; }

        /* ============================================================
           FLUXO DE COMPRA (Overlay)
           ============================================================ */
        .buying-flow-container { display: none; margin-top: 20px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; animation: fadeIn 0.3s; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        
        /* Carrinho Flutuante */
        .cart-float { 
            position: fixed; bottom: 30px; right: 30px; 
            width: 60px; height: 60px; 
            background: var(--primary); color: white; 
            border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; 
            font-size: 1.5rem; 
            box-shadow: 0 10px 30px rgba(37,99,235,0.4); 
            z-index: 2000; cursor: pointer; 
            transition: transform 0.2s; 
        }
        .cart-float:hover { transform: scale(1.1); }
        .cart-badge { 
            position: absolute; top: -5px; right: -5px; 
            background: #ef4444; color: white;
            width: 24px; height: 24px; 
            border-radius: 50%; 
            font-size: 0.75rem; 
            display: flex; align-items: center; justify-content: center; 
            font-weight: bold; border: 2px solid #fff; 
        }

        /* Offcanvas Carrinho Customizado */
        .cart-offcanvas {
            position: fixed; top: 0; right: -400px; bottom: 0;
            width: 350px; background: #fff; z-index: 2050;
            box-shadow: -5px 0 30px rgba(0,0,0,0.1);
            transition: right 0.3s ease;
            display: flex; flex-direction: column;
        }
        .cart-offcanvas.show { right: 0; }
        .cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #f8f9fa; }
        .cart-body { flex-grow: 1; overflow-y: auto; padding: 20px; }
        .cart-footer { padding: 20px; border-top: 1px solid #eee; background: #fff; }
        .cart-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 10px; margin-bottom: 10px; position: relative; }
        .cart-item-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
        .cart-item-desc { font-size: 0.75rem; color: #666; }
        .cart-item-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-top: 5px; }
        .cart-item-remove { position: absolute; top: 10px; right: 10px; color: #ef4444; cursor: pointer; font-size: 0.9rem; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }